diff --git a/trunk/INSTALL b/INSTALL similarity index 100% rename from trunk/INSTALL rename to INSTALL diff --git a/trunk/Makefile.am b/Makefile.am similarity index 100% rename from trunk/Makefile.am rename to Makefile.am diff --git a/trunk/NEWS b/NEWS similarity index 100% rename from trunk/NEWS rename to NEWS diff --git a/trunk/README b/README similarity index 100% rename from trunk/README rename to README diff --git a/trunk/configure.ac b/configure.ac similarity index 100% rename from trunk/configure.ac rename to configure.ac diff --git a/trunk/doc/Makefile b/doc/Makefile similarity index 100% rename from trunk/doc/Makefile rename to doc/Makefile diff --git a/trunk/doc/Makefile.am b/doc/Makefile.am similarity index 100% rename from trunk/doc/Makefile.am rename to doc/Makefile.am diff --git a/trunk/doc/Makefile.in b/doc/Makefile.in similarity index 100% rename from trunk/doc/Makefile.in rename to doc/Makefile.in diff --git a/trunk/doc/dvisvgm.1 b/doc/dvisvgm.1 similarity index 100% rename from trunk/doc/dvisvgm.1 rename to doc/dvisvgm.1 diff --git a/trunk/doc/dvisvgm.1.in b/doc/dvisvgm.1.in similarity index 100% rename from trunk/doc/dvisvgm.1.in rename to doc/dvisvgm.1.in diff --git a/trunk/gzstream/COPYING.LIB b/gzstream/COPYING.LIB similarity index 100% rename from trunk/gzstream/COPYING.LIB rename to gzstream/COPYING.LIB diff --git a/trunk/gzstream/Makefile b/gzstream/Makefile similarity index 100% rename from trunk/gzstream/Makefile rename to gzstream/Makefile diff --git a/trunk/gzstream/README b/gzstream/README similarity index 100% rename from trunk/gzstream/README rename to gzstream/README diff --git a/trunk/gzstream/gzstream.cpp b/gzstream/gzstream.cpp similarity index 100% rename from trunk/gzstream/gzstream.cpp rename to gzstream/gzstream.cpp diff --git a/trunk/gzstream/gzstream.h b/gzstream/gzstream.h similarity index 100% rename from trunk/gzstream/gzstream.h rename to gzstream/gzstream.h diff --git a/trunk/gzstream/index.html b/gzstream/index.html similarity index 100% rename from trunk/gzstream/index.html rename to gzstream/index.html diff --git a/trunk/gzstream/logo.gif b/gzstream/logo.gif similarity index 100% rename from trunk/gzstream/logo.gif rename to gzstream/logo.gif diff --git a/trunk/gzstream/test_gunzip.C b/gzstream/test_gunzip.C similarity index 100% rename from trunk/gzstream/test_gunzip.C rename to gzstream/test_gunzip.C diff --git a/trunk/gzstream/test_gzip.C b/gzstream/test_gzip.C similarity index 100% rename from trunk/gzstream/test_gzip.C rename to gzstream/test_gzip.C diff --git a/trunk/gzstream/version b/gzstream/version similarity index 100% rename from trunk/gzstream/version rename to gzstream/version diff --git a/trunk/header.txt b/header.txt similarity index 100% rename from trunk/header.txt rename to header.txt diff --git a/trunk/makehead b/makehead similarity index 100% rename from trunk/makehead rename to makehead diff --git a/trunk/makeheader b/makeheader similarity index 100% rename from trunk/makeheader rename to makeheader diff --git a/trunk/map/cork-lm.map b/map/cork-lm.map similarity index 100% rename from trunk/map/cork-lm.map rename to map/cork-lm.map diff --git a/trunk/potracelib/Makefile.am b/potracelib/Makefile.am similarity index 100% rename from trunk/potracelib/Makefile.am rename to potracelib/Makefile.am diff --git a/trunk/potracelib/auxiliary.h b/potracelib/auxiliary.h similarity index 100% rename from trunk/potracelib/auxiliary.h rename to potracelib/auxiliary.h diff --git a/trunk/potracelib/bitmap.h b/potracelib/bitmap.h similarity index 100% rename from trunk/potracelib/bitmap.h rename to potracelib/bitmap.h diff --git a/trunk/potracelib/curve.c b/potracelib/curve.c similarity index 100% rename from trunk/potracelib/curve.c rename to potracelib/curve.c diff --git a/trunk/potracelib/curve.h b/potracelib/curve.h similarity index 100% rename from trunk/potracelib/curve.h rename to potracelib/curve.h diff --git a/trunk/potracelib/decompose.c b/potracelib/decompose.c similarity index 100% rename from trunk/potracelib/decompose.c rename to potracelib/decompose.c diff --git a/trunk/potracelib/decompose.h b/potracelib/decompose.h similarity index 100% rename from trunk/potracelib/decompose.h rename to potracelib/decompose.h diff --git a/trunk/potracelib/lists.h b/potracelib/lists.h similarity index 100% rename from trunk/potracelib/lists.h rename to potracelib/lists.h diff --git a/trunk/potracelib/potracelib.c b/potracelib/potracelib.c similarity index 100% rename from trunk/potracelib/potracelib.c rename to potracelib/potracelib.c diff --git a/trunk/potracelib/potracelib.h b/potracelib/potracelib.h similarity index 100% rename from trunk/potracelib/potracelib.h rename to potracelib/potracelib.h diff --git a/trunk/potracelib/progress.h b/potracelib/progress.h similarity index 100% rename from trunk/potracelib/progress.h rename to potracelib/progress.h diff --git a/trunk/potracelib/trace.c b/potracelib/trace.c similarity index 100% rename from trunk/potracelib/trace.c rename to potracelib/trace.c diff --git a/trunk/potracelib/trace.h b/potracelib/trace.h similarity index 100% rename from trunk/potracelib/trace.h rename to potracelib/trace.h diff --git a/trunk/homepage/down.html b/trunk/homepage/down.html deleted file mode 100644 index 81919c55..00000000 --- a/trunk/homepage/down.html +++ /dev/null @@ -1,68 +0,0 @@ - -
-Welcome to the Home of dvisvgm |
- Home - Examples - Options - Downloads - Links - |
- Downloadable Files-
Building from Source- The dvisvgm sources should smoothly compile with g++. Probably other C++ compilers work as well but - have not been tested yet. Additionally to the above sources you need recent versions of the - following free libraries: -
Found a Bug?- Please let me know if you found a bug. You can either send me an email (martin.gieseking at uos.de) - or preferably use the bug reporting facilities at sourceforge.net. - You'll find them here. - |
- ![]() |
-
Welcome to the Home of dvisvgm |
- Home - Examples - Options - Downloads - Links - |
-
|
- ![]() |
-
Welcome to the Home of dvisvgm | -- - | -
- Home - Examples - Options - Downloads - Links - |
- What is dvisvgm?- The command line utility dvisvgm is a tool for TeX/LaTeX users. - It converts DVI files to the XML-based Scalable Vector Graphics format.- SVG files can be displayed with - Adobe's SVG browser plug-in or the - Java-based Batik Squiggle viewer for example. - Current Version- The current version 0.4.3 provides basic conversion functionality. -
Planned Features-
Author and License- dvisvgm is developed by Martin Gieseking and published under the - GNU General Public License. - |
- ![]() |
-
Welcome to the Home of dvisvgm |
- Home - Examples - Options - Downloads - Links - |
- This and the other pages will be completed in the next weeks- |
- ![]() |
-
- |
- dvisvgm − converts DVI files to Scalable Vector -Graphics (SVG) - |
-
- |
- dvisvgm [options] file[.dvi] - |
-
- |
- The program dvisvgm generates an -SVG file from a given DVI -file. DVI is the device independent output -format produced by TeX. Output from groff can be -converted to DVI using grodvi. - -The recent version of dvisvgm provides basic -conversion functionality. Currently only one page can be -converted even if the DVI file is made up of -multiple pages. You can select the page to be processed with -option −p. dvisvgm should properly convert all -pages that are made up of fonts and rules only. -\special commands are ignored by the current -version. - -As SVG is a vector based graphics format -dvisvgm tries to convert the glyph outlines of all -used fonts into scalable path descriptions. The fastest way -to do that is extracting the path information from -PFB (PostScript Type 1) files. So if -dvisvgm is able to find a PFB file for -a used font it will read the necessary information from -it. - -Because TeX’s main source for font descriptions is -Metafont which produces bitmap output, not all -obtainable TeX fonts are available in PFB -format. In these cases dvisvgm tries to vectorize -Metafont’s output by tracing the glyph bitmaps. The -results are not as perfect as most (manually optimized) -PFB outlines but are nonetheless really nice -in most cases (thanks to the potrace library). - |
-
- |
- −b, −−bbox-format=fmt |
-
- |
- Sets the bounding box of the generated graphic to the -specified format. The argument fmt is argument a -case-insensitive string that denotes the paper size. -Following size names are supported: |
-
- |
- International DIN/ISO paper sizes: |
-
- |
- An, Bn, Cn, -Dn, where n is a non-negative integer, -e.g. A4 or a4 for DIN/ISO A4 format (210mm -× 297mm). |
-
- |
- North American paper sizes: |
-
- |
- invoice, executive, legal, -letter, ledger |
-
- |
- Special bounding box sizes: |
-
- |
- dvi − the page size stored in the DVI file -will be used - |
-
- |
- min − the minimal bounding box will be -computed and assigned |
-
- |
- none − no bounding box will be -assigned |
-
- |
- The default page orientation for DIN/ISO and American -paper sizes is portrait, i.e. width < height. -Appending −landscape or simply −l -to the format string switches to landscape mode -(width > height). For symmetry reasons you can also -explicitly add −portrait or −p to -indicate the default portrait format. Note that these -suffixes are part of the size string and not separate -options. Thus they must directly follow the above mentioned -size specifiers without additional blanks. Furthermore, the -orientation suffixes can’t be used with dvi, -min and none. - -This option only affects the bounding box and -doesn’t transform the page content. Hence if you -choose a landscape format the page won’t be -rotated. |
-
- |
- −c, −−scale=sx[,sy] |
-
- |
- Scales page content horizontally by sx and -vertically by sy. This option is equivalent to -−TSsx,sy. - |
-
- |
- −m, −−mag=factor |
-
- |
- Sets the maginfication factor used for Metafont calls -prior tracing the glyphs. The larger this value the better -the tracing results. Nevertheless large magnification values -can cause Metafont arithmetic errors due to number -overflows. So use this option with care. The default setting -usually produces nice results. - |
-
- |
- −o, −−output=file |
-
- |
- Sets name of output file. - |
-
- |
- −p, −−page=number |
-
- |
- With this option you can choose the page to be processed. -Please consider that the parameter of this option denotes -the actual page count and not the number printed on that -page. This is because the latter can be ambiguous, i.e. -different pages may have the same page number (e.g. in cases -where multiple DVI files have been merged). If this option -is omitted, the first page will be selected. - |
-
- |
- −r, −−rotate=angle |
-
- |
- Rotates page content clockwise by angle degrees -around the page center. This option is equivalent to -−TRangle. - |
-
- |
- −s, −−stdout |
-
- |
- Don’t write output to a file but redirect it to -stdout. - |
-
- |
- −S −−specials |
-
- |
- Enable processing of \special commands. The recent -version of dvisvgm doesn’t evaluate \specials -so the default behavior is to ignore them. Option -−S was implemented for debugging purposes. It -forces the processing of \special commands which will merely -lead to warning messages. - |
-
- |
- −t, −−translate=tx[,ty] |
-
- |
- Translates (moves) page content in direction of vector -(tx,ty). This option is equivalent to -−TTtx,ty. - |
-
- |
- −T, -−−transform=commands |
-
- |
- Applies a sequence of transformations to the SVG content. -Each transformation is described by a command that -begins with a capital letter followed by a list of -comma-separated parameters. Following transformation -commands are supported: |
-
- |
- T tx[,ty] |
-
- |
- Translates (moves) page in direction of vector -(tx,ty). If ty is omitted, ty=0 -is assumed. The expected unit length of tx and -ty are TeX points (1pt = 1/72.27in). However, there -are several constants defined to simplify the unit -conversion (see below). - |
-
- |
- S sx[,sy] |
-
- |
- Scales page horizontally by sx and vertically by -sy. If sy is omitted sy = sx is -assumed. - |
-
- |
- R angle[,x,y] |
-
- |
- Rotates page clockwise by angle degrees around -point (x,y). If the optional arguments -x and y are omitted the page will be rotated -around its center depending on the chosen page format. When -option -bnone is given, the rotation center is origin -(0,0). - |
-
- |
- KX angle |
-
- |
- Skews page along the x-axis by angle -degrees. Argument angle can take any value except -90+180k, where k is an integer. - |
-
- |
- KY angle |
-
- |
- Skews page along the y-axis by angle -degrees. Argument angle can take any value except -90+180k, where k is an integer. - |
-
- |
-
- FH [y] - |
-
-
- Mirrors (flips) page at the horizontal line through -point (0,y). Omitting the optional argument leads to -y=h/2, where h denotes the page height (see -pre-defined constants below). - |
-
- |
-
- FV [x] - |
-
-
- Mirrors (flips) page at the vertical line through point -(x,0). Omitting the optional argument leads to x=w/2, -where w denotes the page width (see pre-defined -constants below). - |
-
- |
- M m1,...,m6 |
-
- |
- Applies a transformation described by the 3×3 -matrix -((m1,m2,m3),(m4,m5,m6),(0,0,1)), -where the inner triples denote the rows. |
-
- |
- All commands are "executed" in the order of -their appearance. Multiple commands can optionally be -separated by spaces. In this case the whole transformation -string has to be enclosed in double quotes. All parameters -are expressions of floating point type. You can either give -plain numbers or arithmetic terms combined by the operators -+ (addition), − (substraction), * -(multiplication), / (division) or % (modulo) -with common associativity and precedence rules. Parentheses -may be used as well. - -Additionally, some pre-defined constants are -provided: |
-
- |
- ux − horizontal position of upper left page -corner in TeX point units |
-
- |
- uy − vertical position of upper left page -corner in TeX point units |
-
- |
- h − page height in TeX point units (0 in -case of -bnone) |
-
- |
- w − page width in TeX point units (0 in case -of -bnone) |
-
- |
- Furthermore, you can use the length constants pt, -mm, cm and in, e.g. 2cm or 1.6in. Thus, -option -TT1in,0R45 moves the page content 1 inch to the -right and rotates it by 45 degrees around the page center -afterwards. - -For single transformations you can also use options -−c, −t and −r. Note -that the order in which these options are given is not -significant, i.e. you can’t use them to describe -transformation sequences. They are simply independent -shorthand options for common transformations. |
-
- |
- −v, −−verbosity=level |
-
- |
- Controls the type of messages printed during a -dvisvgm run: |
-
- |
- 0 − no message output |
-
- |
- 1 − informal output only |
-
- |
- 2 − warning messages only |
-
- |
- 4 − error messages only |
-
- |
- By adding these values you can combine the categories. -The default level is 7, i.e. all messages are -printed. |
-
- |
- −z, −−zip[=level] |
-
- |
- Creates a compressed SVG file with suffix -.svgz. The optional argument specifies the compression -level. Valid values are in the range of 1 to 9 (default is -3). Larger values cause better compression results but take -more computation time. If −f is given in -conjunction with −z the font file will be -compressed too. - -This option cannot be combined with −s or -−−stdout, respectively. - |
-
- |
- dvisvgm file |
-
- |
- Converts first page of file.dvi to -file.svg. |
-
- |
- dvisvgm −z file |
-
- |
- Converts first page of file.dvi to -file.svgz with default compression level 3. |
-
- |
- dvisvgm −p5 −z9 −ba4−l -−onewfile file |
-
- |
- Converts fifth page of file.dvi to -newfile.svgz with maximum compression level 9. The -bounding box is set to DIN/ISO A4 in landscape -format. |
-
- |
- dvisvgm −−transform="R20,w/3,2h/5 -T1cm,1cm S2,3" file |
-
- |
- Converts first page of file.dvi to file.svg -where three transformations are applied. - |
-
- |
- dvisvgm uses the kpathsea library for -locating the files that it opens. Hence, the environment -variables described in the library’s documentation -influence the converter. - |
-
- |
- The location of the following files is determined by the -kpathsea library. To check the actual kpathsea configuration -you can use the kpsewhich utility. |
-
- |
-
- *.pfb - |
-- |
-
- PostScript Type 1 font files - |
-- | -
- |
-
- *.mf - |
-- |
-
- Metafont input files - |
-- | -
- |
-
- *.tfm - |
-- |
-
- TeX font metric files - |
-- | -
- |
- tex(1), mf(1), grodvi(1), -potrace(1), and the "kpathsea -library" info documentation. - |
-
- |
- 0.4.2 - |
-
- |
- Martin Gieseking <martin.gieseking@uos.de> - |
-
Welcome to the Home of dvisvgm | -- - | -
- Home - Examples - Options - Downloads - Links - |
- These are the currently provided options-- Usage: dvisvgm [OPTIONS] dvifile - - Input options: - -p, --page=number choose page to convert (default=`1') - - SVG output options: - -b, --bbox-format=fmt set format of bounding box (default=`min') - -o, --output=filename set name of output file - -s, --stdout write SVG output to stdout - -z, --zip[=level] create compressed .svgz file (default=`3') - - SVG transformations: - -r, --rotate=angle rotate page content clockwise - -c, --scale=sx[,sy] scale page content - -t, --translate=tx[,ty] shift page content - -T, --transform=commands transform page content - - Processing options: - -m, --mag=factor magnification of Metafont output (default=`4') - -S, --specials process \specials (default=off) - - Message options: - -h, --help print this help and exit - -v, --verbosity=level set verbosity level (0-7) (default=`7') - -V, --version print version and exit -- For a more detailed description see the manual page. - |
- ![]() |
-