diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-1.3')
10 files changed, 39 insertions, 39 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/CommandLine.cpp b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/CommandLine.cpp index e615ac8eb25..7f3ca4a0e63 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/CommandLine.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/CommandLine.cpp @@ -4,11 +4,11 @@ // See file COPYING for further details. // (C) 2009-2013 Martin Gieseking <martin.gieseking@uos.de> +#include "CommandLine.h" #include <cstdio> #include <iostream> #include <iomanip> #include "InputReader.h" -#include "CommandLine.h" using namespace std; diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/EPSToSVG.cpp b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/EPSToSVG.cpp index 1bf0c81e9b2..0a5e03f33e4 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/EPSToSVG.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/EPSToSVG.cpp @@ -18,16 +18,6 @@ ** along with this program; if not, see <http://www.gnu.org/licenses/>. ** *************************************************************************/ -#include <fstream> -#include <istream> -#include <sstream> -#include "EPSFile.h" -#include "EPSToSVG.h" -#include "Message.h" -#include "MessageException.h" -#include "PsSpecialHandler.h" -#include "SVGOutputBase.h" - #ifdef HAVE_CONFIG_H #include "config.h" #ifdef TARGET_SYSTEM @@ -39,6 +29,16 @@ #define VERSION_STR "" #endif +#include <fstream> +#include <istream> +#include <sstream> +#include "EPSFile.h" +#include "EPSToSVG.h" +#include "Message.h" +#include "MessageException.h" +#include "PsSpecialHandler.h" +#include "SVGOutputBase.h" + using namespace std; diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/FileFinder.cpp b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/FileFinder.cpp index 8c9aaf5bacb..69f72206280 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/FileFinder.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/FileFinder.cpp @@ -18,6 +18,14 @@ ** along with this program; if not, see <http://www.gnu.org/licenses/>. ** *************************************************************************/ +#ifdef MIKTEX + #include "MessageException.h" + #include "MiKTeXCom.h" + static MiKTeXCom *miktex=0; +#else + #include <kpathsea/kpathsea.h> +#endif + #include <cstdlib> #include <fstream> #include <map> @@ -27,14 +35,6 @@ #include "FontMap.h" #include "Message.h" -#ifdef MIKTEX - #include "MessageException.h" - #include "MiKTeXCom.h" - static MiKTeXCom *miktex=0; -#else - #include <kpathsea/kpathsea.h> -#endif - // --------------------------------------------------- static bool _initialized = false; diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/FileSystem.cpp b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/FileSystem.cpp index 67e48595db9..ea45b65a7ee 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/FileSystem.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/FileSystem.cpp @@ -18,16 +18,16 @@ ** along with this program; if not, see <http://www.gnu.org/licenses/>. ** *************************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <cstdlib> #include <cstring> #include <fstream> #include "FileSystem.h" #include "macros.h" -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #ifdef HAVE_UNISTD_H #include <unistd.h> #endif diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PSInterpreter.cpp b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PSInterpreter.cpp index f1fad9448d8..eadf5e8be9c 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PSInterpreter.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PSInterpreter.cpp @@ -18,6 +18,7 @@ ** along with this program; if not, see <http://www.gnu.org/licenses/>. ** *************************************************************************/ +#include "PSInterpreter.h" #include <cstring> #include <fstream> #include <iostream> @@ -25,7 +26,6 @@ #include "FileFinder.h" #include "InputReader.h" #include "Message.h" -#include "PSInterpreter.h" #include "SignalHandler.h" using namespace std; diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PSInterpreter.h b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PSInterpreter.h index 4e46732a420..a3f5fbb99fc 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PSInterpreter.h +++ b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PSInterpreter.h @@ -21,11 +21,11 @@ #ifndef PSINTERPRETER_H #define PSINTERPRETER_H +#include "Ghostscript.h" #include <cstring> #include <istream> #include <string> #include <vector> -#include "Ghostscript.h" #include "InputReader.h" #include "MessageException.h" diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PsSpecialHandler.cpp b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PsSpecialHandler.cpp index 91020b9f28c..8e615a9db7c 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PsSpecialHandler.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/PsSpecialHandler.cpp @@ -18,13 +18,13 @@ ** along with this program; if not, see <http://www.gnu.org/licenses/>. ** *************************************************************************/ +#include "Ghostscript.h" #include <cmath> #include <fstream> #include <iostream> #include <sstream> #include "EPSFile.h" #include "FileFinder.h" -#include "Ghostscript.h" #include "Message.h" #include "PSPattern.h" #include "PsSpecialHandler.h" diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/System.cpp b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/System.cpp index 80c71ec7b4c..40ee98a130c 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/System.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/System.cpp @@ -18,13 +18,13 @@ ** along with this program; if not, see <http://www.gnu.org/licenses/>. ** *************************************************************************/ -#include <ctime> -#include "System.h" - #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include <ctime> +#include "System.h" + #if defined (HAVE_SYS_TIME_H) #include <sys/time.h> #elif defined (HAVE_SYS_TIMEB_H) diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/Terminal.cpp b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/Terminal.cpp index 43deb73f448..82c91d575be 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/Terminal.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/Terminal.cpp @@ -18,12 +18,12 @@ ** along with this program; if not, see <http://www.gnu.org/licenses/>. ** *************************************************************************/ -#include "Terminal.h" - #ifdef HAVE_CONFIG_H #include <config.h> #endif +#include "Terminal.h" + #ifdef HAVE_TERMIOS_H #include <termios.h> #endif diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/dvisvgm.cpp b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/dvisvgm.cpp index 1ed18e007fb..8a60e6b31f7 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.3/src/dvisvgm.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-1.3/src/dvisvgm.cpp @@ -18,6 +18,14 @@ ** along with this program; if not, see <http://www.gnu.org/licenses/>. ** *************************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#include "PSInterpreter.h" +#endif +#ifndef TARGET_SYSTEM +#define TARGET_SYSTEM "" +#endif + #include <cmath> #include <fstream> #include <iomanip> @@ -46,14 +54,6 @@ #include "SVGOutputBase.h" #include "System.h" -#ifdef HAVE_CONFIG_H -#include "config.h" -#include "PSInterpreter.h" -#endif -#ifndef TARGET_SYSTEM -#define TARGET_SYSTEM "" -#endif - #ifdef __MSVC__ #include <potracelib.h> #else |