| 1 |
This is dvipng.info, produced by makeinfo version 6.7 from dvipng.texi. |
| 2 |
|
| 3 |
INFO-DIR-SECTION TeX |
| 4 |
START-INFO-DIR-ENTRY |
| 5 |
* DVI-to-PNG: (dvipng). Translating TeX DVI files to Portable Network Graphics (PNG). |
| 6 |
* dvipng: (dvipng). A DVI-to-PNG translator. |
| 7 |
END-INFO-DIR-ENTRY |
| 8 |
|
| 9 |
|
| 10 |
File: dvipng.info, Node: Top, Next: Introduction, Up: (dir) |
| 11 |
|
| 12 |
dvipng |
| 13 |
****** |
| 14 |
|
| 15 |
This manual documents dvipng, a program to translate a DVI (DeVice |
| 16 |
Independent) file into PNG (Portable Network Graphics). |
| 17 |
|
| 18 |
This file documents dvipng version 1.17 |
| 19 |
|
| 20 |
Corrections or perhaps rewrites of sections are _very welcome_. |
| 21 |
|
| 22 |
Jan-Åke Larsson |
| 23 |
|
| 24 |
* Menu: |
| 25 |
|
| 26 |
* Introduction:: Introduction |
| 27 |
* Installation:: How to compile and install dvipng |
| 28 |
* Basic usage:: First things first |
| 29 |
* Command-line options:: Advanced usage |
| 30 |
* Graphics:: Including PostScript and/or bitmaps |
| 31 |
* Color:: Using color with dvipng |
| 32 |
* Diagnosing problems:: Problems? |
| 33 |
* Credits:: People who have contributed |
| 34 |
* Copying:: GNU Lesser General Public License |
| 35 |
* Index:: General index |
| 36 |
|
| 37 |
|
| 38 |
File: dvipng.info, Node: Introduction, Next: Installation, Prev: Top, Up: Top |
| 39 |
|
| 40 |
1 Introduction |
| 41 |
************** |
| 42 |
|
| 43 |
This program makes PNG and/or GIF graphics from DVI files as obtained |
| 44 |
from TeX and its relatives. |
| 45 |
|
| 46 |
If GIF support is enabled, GIF output is chosen by using the 'dvigif' |
| 47 |
binary or with the '--gif' option. |
| 48 |
|
| 49 |
It is intended to produce anti-aliased screen-resolution images as |
| 50 |
fast as is possible. The target audience is people who need to generate |
| 51 |
and regenerate many images again and again. The primary target is the |
| 52 |
preview-latex (X)Emacs package, a package to preview formulas from |
| 53 |
within (X)Emacs. Yes, you get to see your formulas in the (X)Emacs |
| 54 |
buffer, see <http://www.gnu.org/software/auctex/preview-latex.html>. |
| 55 |
|
| 56 |
It is also used in MediaWiki, the software behind Wikipedia and many |
| 57 |
other wikis out there. Dvipng is used to render mathematical formulae |
| 58 |
(in image mode) from version 1.8.0 of MediaWiki, see |
| 59 |
<http://www.mediawiki.org>. |
| 60 |
|
| 61 |
Other applications may also benefit, like web applications as |
| 62 |
latex2html and WYSIWYG editors like LyX. |
| 63 |
|
| 64 |
The benefits of 'dvipng'/'dvigif' include |
| 65 |
|
| 66 |
* Speed. It is a very fast bitmap-rendering code for DVI files, |
| 67 |
which makes it suitable for generating large amounts of images |
| 68 |
on-the-fly, as needed in preview-latex, WeBWorK and others. |
| 69 |
|
| 70 |
* It does not read the postamble, so it can be started before TeX |
| 71 |
finishes. There is a '--follow' switch that makes dvipng wait at |
| 72 |
end-of-file for further output, unless it finds the POST marker |
| 73 |
that indicates the end of the DVI. |
| 74 |
|
| 75 |
* Interactive query of options. dvipng can read options |
| 76 |
interactively through stdin, and all options are usable. It is |
| 77 |
even possible to change the input file through this interface. |
| 78 |
|
| 79 |
* Supports PK, VF, PostScript Type1, and TrueType fonts, subfonts |
| 80 |
(i.e., as used in CJK-LaTeX), color specials, and inclusion of |
| 81 |
PostScript, PNG, JPEG or GIF images. |
| 82 |
|
| 83 |
* and more... |
| 84 |
|
| 85 |
|
| 86 |
File: dvipng.info, Node: Installation, Next: Basic usage, Prev: Introduction, Up: Top |
| 87 |
|
| 88 |
2 Installation |
| 89 |
************** |
| 90 |
|
| 91 |
Installing dvipng should be simple: merely './configure', 'make', and |
| 92 |
'make install'. |
| 93 |
|
| 94 |
* Menu: |
| 95 |
|
| 96 |
* Prerequisites:: |
| 97 |
* Configure:: |
| 98 |
* Build/install:: |
| 99 |
* Installation outside the texmf tree:: |
| 100 |
* Advice for non-privileged users:: |
| 101 |
|
| 102 |
|
| 103 |
File: dvipng.info, Node: Prerequisites, Next: Configure, Up: Installation |
| 104 |
|
| 105 |
2.1 Prerequisites |
| 106 |
================= |
| 107 |
|
| 108 |
* The GD Graphics Draw library, libgd |
| 109 |
|
| 110 |
The drawing library 'libgd' is necessary, and is downloadable at |
| 111 |
<https://bitbucket.org/libgd/gd-libgd/downloads>, and there are |
| 112 |
binary packages for most operating systems from their respective |
| 113 |
distributors. In any case, the library installs using 'autoconf' |
| 114 |
so it should not be difficult for you to install it from source, |
| 115 |
and then proceed with installing dvipng. |
| 116 |
|
| 117 |
* The path-searching library kpathsea |
| 118 |
|
| 119 |
Kpathsea is most likely included in your LaTeX installation, but it |
| 120 |
may happen that ./configure does not find it; see below. If you do |
| 121 |
not have it, download it from <http://www.ctan.org> and compile it. |
| 122 |
I have no experience with this, so I cannot help much here. |
| 123 |
|
| 124 |
* The font-rendering library FreeType 2 |
| 125 |
|
| 126 |
While not strictly necessary, a recent FreeType 2 is recommended |
| 127 |
since dvipng currently will produce better-quality images when this |
| 128 |
library is available. To take advantage of this, you should have |
| 129 |
at least FreeType 2.1.9. |
| 130 |
|
| 131 |
FreeType 2 will enable direct support for PostScript and TrueType |
| 132 |
fonts, so that dvipng will not need to generate bitmapped variants |
| 133 |
on disk of the TeX fonts since modern TeX distributions include |
| 134 |
PostScript versions of them. Then, you can render images at |
| 135 |
different (and unusual) resolutions without cluttering the disk |
| 136 |
with lots of bitmapped fonts. |
| 137 |
|
| 138 |
Finally, it will enable subfont support in dvipng. That is, if you |
| 139 |
want to render CJK-LaTeX characters, you must have FreeType 2 |
| 140 |
installed. |
| 141 |
|
| 142 |
* libpng and libz |
| 143 |
|
| 144 |
To be able to compress and write PNG files to disk, dvipng (or |
| 145 |
really libgd) uses libpng which in turn uses libz. These should be |
| 146 |
available on any modern system, if not, download them and install |
| 147 |
them. |
| 148 |
|
| 149 |
* The 'texinfo' package |
| 150 |
|
| 151 |
This is needed for building the documentation. |
| 152 |
|
| 153 |
|
| 154 |
File: dvipng.info, Node: Configure, Next: Build/install, Prev: Prerequisites, Up: Installation |
| 155 |
|
| 156 |
2.2 Configure |
| 157 |
============= |
| 158 |
|
| 159 |
The first step is to configure the source code, telling it where various |
| 160 |
files will be. To do so, run |
| 161 |
|
| 162 |
./configure OPTIONS |
| 163 |
|
| 164 |
(Note: if you have fetched dvipng from CVS rather than a regular |
| 165 |
release, you will have to first generate './configure' by running |
| 166 |
'autoconf' 2.53 or later.) |
| 167 |
|
| 168 |
On many machines, you will not need to specify any options, but if |
| 169 |
'configure' cannot determine something on its own, you'll need to help |
| 170 |
it out. For a list of the options type |
| 171 |
|
| 172 |
./configure --help |
| 173 |
|
| 174 |
On some machines, the libraries will be installed in directories that |
| 175 |
are not in the linker's search path. This will generate an error when |
| 176 |
running './configure', indicating that it cannot find libgd or |
| 177 |
libkpathsea (most likely). You then need to specify the path to the |
| 178 |
respective library's object files. They are typically called e.g., |
| 179 |
'libgd.a' or 'libgd.so'. If they are located in e.g., '/sw/local/lib', |
| 180 |
do |
| 181 |
|
| 182 |
./configure LDFLAGS=-L/sw/local/lib |
| 183 |
|
| 184 |
If the library is available as a shared object file ('.so'), the |
| 185 |
runtime linker may also need to be told where to find the library, then |
| 186 |
use |
| 187 |
|
| 188 |
./configure LDFLAGS='-L/sw/local/lib -R/sw/local/lib' |
| 189 |
|
| 190 |
When either of these is necessary, it is likely that the C header |
| 191 |
files are also installed in directories that are not in the C |
| 192 |
preprocessor's search path. This will also generate an error when |
| 193 |
running './configure', indicating that it cannot find e.g., 'gd.h' or |
| 194 |
'kpathsea.h' (most likely). You then need to specify the path to the |
| 195 |
respective library's C header files. If they are located in e.g., |
| 196 |
'/sw/local/include', do |
| 197 |
|
| 198 |
./configure CPPFLAGS=-I/sw/local/include |
| 199 |
|
| 200 |
On my SUN Solaris workstation, I had to combine this into |
| 201 |
|
| 202 |
./configure CPPFLAGS='-I/sw/local/include -I/sw/tex/teTeX/1.0/include'\ |
| 203 |
LDFLAGS='-L/sw/local/lib -R/sw/local/lib -L/sw/tex/teTeX/1.0/lib/' |
| 204 |
|
| 205 |
where the backslash denotes a continuation of the line. |
| 206 |
|
| 207 |
|
| 208 |
File: dvipng.info, Node: Build/install, Next: Installation outside the texmf tree, Prev: Configure, Up: Installation |
| 209 |
|
| 210 |
2.3 Build/install |
| 211 |
================= |
| 212 |
|
| 213 |
Once 'configure' has been run, simply enter |
| 214 |
|
| 215 |
make |
| 216 |
|
| 217 |
at the prompt to compile the C code, and build the documentation files. |
| 218 |
To install the files into the locations chosen earlier, type |
| 219 |
|
| 220 |
make install |
| 221 |
|
| 222 |
You may need special privileges to install, e.g., if you are installing |
| 223 |
into system directories. |
| 224 |
|
| 225 |
|
| 226 |
File: dvipng.info, Node: Installation outside the texmf tree, Next: Advice for non-privileged users, Prev: Build/install, Up: Installation |
| 227 |
|
| 228 |
2.4 Installation outside the texmf tree |
| 229 |
======================================= |
| 230 |
|
| 231 |
In some cases, a dvipng binary installed outside the texmf tree will not |
| 232 |
be able to find virtual fonts, or the PostScript font maps (normally |
| 233 |
used by dvips). This may be because _only_ $SELFAUTOLOC, $SELFAUTODIR, |
| 234 |
and $SELFAUTOPARENT are used in the texmf tree configuration file |
| 235 |
'texmf.cnf'. If so, give the switch '--enable-selfauto-set' to |
| 236 |
'./configure'. This will make dvipng adjust these three internally so |
| 237 |
that kpathsea thinks that dvipng _is_ installed in the texmf tree. |
| 238 |
|
| 239 |
|
| 240 |
File: dvipng.info, Node: Advice for non-privileged users, Prev: Installation outside the texmf tree, Up: Installation |
| 241 |
|
| 242 |
2.5 Installation for non-privileged users |
| 243 |
========================================= |
| 244 |
|
| 245 |
Often people without system administration privileges want to install |
| 246 |
software for their private use. In that case you need to specify more |
| 247 |
options to the 'configure' script, usually this is done by using the |
| 248 |
'--prefix' option to the 'configure' script, and let it point to the |
| 249 |
personal home directory. In that way, resulting binaries will be |
| 250 |
installed under the 'bin' subdirectory of your home directory, manual |
| 251 |
pages under 'man' and so on. That way, it is reasonably easy to |
| 252 |
maintain a bunch of additional packages, since the prefix argument is |
| 253 |
supported by most 'configure' scripts. |
| 254 |
|
| 255 |
You'll have to add something like '/home/myself/bin' to your 'PATH' |
| 256 |
shell variable, if it isn't there already, and similarly set the |
| 257 |
'INFOPATH' and 'MANPATH' variables to be able to access the |
| 258 |
documentation. |
| 259 |
|
| 260 |
|
| 261 |
File: dvipng.info, Node: Basic usage, Next: Command-line options, Prev: Installation, Up: Top |
| 262 |
|
| 263 |
3 Basic usage of dvipng |
| 264 |
*********************** |
| 265 |
|
| 266 |
To use dvipng at its simplest, simply type |
| 267 |
|
| 268 |
dvipng foo |
| 269 |
|
| 270 |
where 'foo.dvi' is the output of TeX that you want to convert to PNG |
| 271 |
format. If there are four pages in 'foo.dvi', those pages will be |
| 272 |
output as 'foo1.png', 'foo2.png', 'foo3.png', and 'foo4.png', |
| 273 |
respectively. |
| 274 |
|
| 275 |
If you have enabled the PostScript font support (via FreeType), fonts |
| 276 |
will be rendered as they are needed. Otherwise, dvipng will use |
| 277 |
bitmapped (PK) fonts, and if you use PK fonts that have not been used on |
| 278 |
your system before, they may be automatically generated; this process |
| 279 |
can take a few minutes, so progress reports appear by default. The next |
| 280 |
time the same font is used, it will have been saved on disk, so |
| 281 |
rendering will go much faster. (If dvipng tries to endlessly generate |
| 282 |
the same fonts over and over again, something is wrong. *Note |
| 283 |
(kpathsea)Unable to generate fonts::.) |
| 284 |
|
| 285 |
Many options are available (see the next section). For a brief |
| 286 |
summary of available options, just type |
| 287 |
|
| 288 |
dvipng --help |
| 289 |
|
| 290 |
|
| 291 |
File: dvipng.info, Node: Command-line options, Next: Graphics, Prev: Basic usage, Up: Top |
| 292 |
|
| 293 |
4 Command-line options |
| 294 |
********************** |
| 295 |
|
| 296 |
dvipng has a plethora of command line options. Reading through this |
| 297 |
section will give a good idea of the capabilities of the driver. |
| 298 |
|
| 299 |
* Menu: |
| 300 |
|
| 301 |
* Option summary:: Quick listing, from dvipng -help. |
| 302 |
* Option details:: More information about each option. |
| 303 |
|
| 304 |
|
| 305 |
File: dvipng.info, Node: Option summary, Next: Option details, Up: Command-line options |
| 306 |
|
| 307 |
4.1 Option summary |
| 308 |
================== |
| 309 |
|
| 310 |
Here is a handy summary of the options; it is printed out when you run |
| 311 |
dvipng with no arguments or with the standard '--help' option. |
| 312 |
|
| 313 |
This is ./dvipng 1.18 Copyright 2002-2015, 2019 Jan-Ake Larsson |
| 314 |
|
| 315 |
Usage: ./dvipng [OPTION]... FILENAME[.dvi] |
| 316 |
Options are chosen to be similar to dvips' options where possible: |
| 317 |
-d # Debug (# is the debug bitmap, 1 if not given) |
| 318 |
-D # Output resolution |
| 319 |
-l # Last page to be output |
| 320 |
-o f Output file, '%d' is pagenumber |
| 321 |
-O c Image offset |
| 322 |
-p # First page to be output |
| 323 |
-pp #,#.. Page list to be output |
| 324 |
-q* Quiet operation |
| 325 |
-T c Image size (also accepts '-T bbox' and '-T tight') |
| 326 |
-v* Verbose operation |
| 327 |
- Interactive query of options |
| 328 |
|
| 329 |
These do not correspond to dvips options: |
| 330 |
-bd # Transparent border width in dots |
| 331 |
-bd s Transparent border fallback color (TeX-style color) |
| 332 |
-bg s Background color (TeX-style color or 'Transparent') |
| 333 |
--depth* Output the image depth on stdout |
| 334 |
--dvinum* Use TeX page numbers in output filenames |
| 335 |
-fg s Foreground color (TeX-style color) |
| 336 |
--follow* Wait for data at end-of-file |
| 337 |
--freetype* FreeType font rendering (preferred, default on) |
| 338 |
--gamma # Control color interpolation |
| 339 |
--gif Output GIF images (dvigif default) |
| 340 |
--height* Output the image height on stdout |
| 341 |
--nogs* Don't use ghostscript for PostScript specials |
| 342 |
--nogssafer* Don't use -dSAFER in ghostscript calls |
| 343 |
--norawps* Don't convert raw PostScript specials |
| 344 |
--palette* Force palette output |
| 345 |
--picky When a warning occurs, don't output image |
| 346 |
--png Output PNG images (dvipng default) |
| 347 |
--strict When a warning occurs, exit |
| 348 |
--truecolor* Truecolor output |
| 349 |
-Q # Quality (PK subsampling) |
| 350 |
--width* Output the image width on stdout |
| 351 |
-z # PNG compression level |
| 352 |
|
| 353 |
# = number f = file s = string * = suffix, '0' to turn off |
| 354 |
c = comma-separated dimension pair (e.g., 3.2in,-32.1cm) |
| 355 |
|
| 356 |
|
| 357 |
|
| 358 |
File: dvipng.info, Node: Option details, Prev: Option summary, Up: Command-line options |
| 359 |
|
| 360 |
4.2 Option details |
| 361 |
================== |
| 362 |
|
| 363 |
Many of the parameterless options listed here can be turned off by |
| 364 |
suffixing the option with a zero ('0'); for instance, to turn off page |
| 365 |
reversal, use '-r0'. Such options are marked with a trailing '*'. |
| 366 |
|
| 367 |
'-' |
| 368 |
Read additional options from standard input after processing the |
| 369 |
command line. |
| 370 |
|
| 371 |
'--help' |
| 372 |
Print a usage message and exit. |
| 373 |
|
| 374 |
'--version' |
| 375 |
Print the version number and exit. |
| 376 |
|
| 377 |
'-bd NUM' |
| 378 |
'-bd COLOR_SPEC' |
| 379 |
'-bd 'NUM COLOR_SPEC'' |
| 380 |
Set the pixel width of the transparent border (default 0). Using |
| 381 |
this option will make the image edges transparent, but it only |
| 382 |
affects pixels with the background color. Giving a COLOR_SPEC will |
| 383 |
set the fallback color, to be used in viewers that cannot handle |
| 384 |
transparency (the default is the background color). The color spec |
| 385 |
should be in TeX color \special syntax, e.g., 'rgb 1.0 0.0 0.0'. |
| 386 |
Setting the fallback color makes the default border width 1 px. |
| 387 |
*Note Color::. |
| 388 |
|
| 389 |
'--bdpi NUM' |
| 390 |
This option only has an effect when using bitmapped (PK) fonts. |
| 391 |
The option sets the base (Metafont) resolution, both horizontal and |
| 392 |
vertical, to NUM dpi (dots per inch). This option is necessary |
| 393 |
when manually selecting Metafont mode with the -mode option (see |
| 394 |
below). |
| 395 |
|
| 396 |
'-bg COLOR_SPEC' |
| 397 |
Choose background color for the images. This option will be |
| 398 |
ignored if there is a background color \special in the DVI. The |
| 399 |
color spec should be in TeX color \special syntax, e.g., 'rgb 1.0 |
| 400 |
0.0 0.0'. You can also specify 'Transparent' or 'transparent' |
| 401 |
which will give you a transparent background with the normal |
| 402 |
background as a fallback color. A capitalized 'Transparent' will |
| 403 |
give a full-alpha transparency, while an all-lowercase |
| 404 |
'transparent' will give a simple fully transparent background with |
| 405 |
non-transparent antialiased pixels. The latter would be suitable |
| 406 |
for viewers who cannot cope with a true alpha channel. GIF images |
| 407 |
do not support full alpha transparency, so in case of GIF output, |
| 408 |
both variants will use the latter behaviour. *Note Color::. |
| 409 |
|
| 410 |
'-d NUM' |
| 411 |
Set the debug flags, showing what dvipng (thinks it) is doing. |
| 412 |
This will work unless dvipng has been compiled without the 'DEBUG' |
| 413 |
option (not recommended). Set the flags as you need them, use '-d |
| 414 |
-1' as the first option for maximum output. *Note Debug options::. |
| 415 |
|
| 416 |
'-D NUM' |
| 417 |
Set the output resolution, both horizontal and vertical, to NUM dpi |
| 418 |
(dots per inch). |
| 419 |
|
| 420 |
One may want to adjust this to fit a certain text font size (e.g., |
| 421 |
on a web page), and for a text font height of FONT_PX pixels (in |
| 422 |
Mozilla) the correct formula is |
| 423 |
DPI = FONT_PX * 72.27 / 10 [px * TeXpt/in / TeXpt] |
| 424 |
The last division by ten is due to the standard font height 10pt in |
| 425 |
your document, if you use 12pt, divide by 12. Unfortunately, some |
| 426 |
proprietary browsers have font height in pt (points), not pixels. |
| 427 |
You have to rescale that to pixels, using the screen resolution |
| 428 |
(default is usually 96 dpi) which means the formula is |
| 429 |
FONT_PX = FONT_PT * 96 / 72 [pt * px/in / (pt/in)] |
| 430 |
On some high-res screens, the value is instead 120 dpi. Good luck! |
| 431 |
|
| 432 |
'--depth*' |
| 433 |
Report the depth of the image. This only works reliably when the |
| 434 |
LaTeX style 'preview.sty' from preview-latex is used with the |
| 435 |
'active' option. It reports the number of pixels from the bottom |
| 436 |
of the image to the baseline of the image. This can be used for |
| 437 |
vertical positioning of the image in, e.g., web documents, where |
| 438 |
one would use (Cascading StyleSheets 1) |
| 439 |
<IMG SRC="FILENAME.PNG" STYLE="vertical-align: -DEPTHpx"> |
| 440 |
The depth is a negative offset in this case, so the minus sign is |
| 441 |
necessary, and the unit is pixels (px). |
| 442 |
|
| 443 |
'--dvinum*' |
| 444 |
Set this option to make the output page number be the TeX page |
| 445 |
numbers rather than the physical page number. See the '-o' switch. |
| 446 |
|
| 447 |
'-fg COLOR_SPEC' |
| 448 |
Choose foreground color for the images. This option will be |
| 449 |
ignored if there is a foreground color \special in the DVI. The |
| 450 |
color spec should be in TeX color \special syntax, e.g., 'rgb 1.0 |
| 451 |
0.0 0.0'. *Note Color::. |
| 452 |
|
| 453 |
'--follow*' |
| 454 |
Wait for data at end-of-file. One of the benefits of dvipng is |
| 455 |
that it does not read the postamble, so it can be started before |
| 456 |
TeX finishes. This switch makes dvipng wait at end-of-file for |
| 457 |
further output, unless it finds the POST marker that indicates the |
| 458 |
end of the DVI. This is similar to 'tail -f' but for DVI-to-PNG |
| 459 |
conversion. |
| 460 |
|
| 461 |
'--freetype*' |
| 462 |
Enable/disable FreeType font rendering (default on). This option |
| 463 |
is available if the FreeType2 font library was present at |
| 464 |
compilation time. If this is the case, dvipng will have direct |
| 465 |
support for PostScript Type1 and TrueType fonts internally, rather |
| 466 |
than using 'gsftopk' for rendering the fonts. If you have |
| 467 |
PostScript versions of Computer Modern installed, there will be no |
| 468 |
need to generate bitmapped (PK) variants on disk of these. Then, |
| 469 |
you can render images at different (and unusual) resolutions |
| 470 |
without cluttering the disk with lots of bitmapped fonts. One |
| 471 |
reason to disable FreeType font rendering would be to generate |
| 472 |
identical output on different platforms, since FreeType uses the |
| 473 |
native renderer and therefore can give slightly different output on |
| 474 |
each platform. |
| 475 |
|
| 476 |
'--gamma NUM' |
| 477 |
Control the interpolation of colors in the greyscale anti-aliasing |
| 478 |
color palette. Default value is 1.0. For 0 < NUM < 1, the fonts |
| 479 |
will be lighter (more like the background), and for NUM > 1, the |
| 480 |
fonts will be darker (more like the foreground). |
| 481 |
|
| 482 |
'--gif*' |
| 483 |
The images are output in the GIF format, if GIF support is enabled. |
| 484 |
This is the default for the 'dvigif' binary, which only will be |
| 485 |
available when GIF support is enabled. GIF images are palette |
| 486 |
images (see the '--palette' option) and does not support true alpha |
| 487 |
channels (see the '--bg' option). See also the '--png' option. |
| 488 |
|
| 489 |
'--height*' |
| 490 |
Report the height of the image. This only works reliably when the |
| 491 |
LaTeX style 'preview.sty' from preview-latex is used with the |
| 492 |
'active' option. It reports the number of pixels from the top of |
| 493 |
the image to the baseline of the image. The total height of the |
| 494 |
image is obtained as the sum of the values reported from '--height' |
| 495 |
and '--depth'. |
| 496 |
|
| 497 |
'-l [=]NUM' |
| 498 |
The last page printed will be the first one numbered NUM. Default |
| 499 |
is the last page in the document. If NUM is prefixed by an equals |
| 500 |
sign, then it (and the argument to the '-p' option, if specified) |
| 501 |
is treated as a physical (absolute) page number, rather than a |
| 502 |
value to compare with the TeX '\count0' values stored in the DVI |
| 503 |
file. Thus, using '-l =9' will end with the ninth page of the |
| 504 |
document, no matter what the pages are actually numbered. |
| 505 |
|
| 506 |
'--mode MODE' |
| 507 |
This option only has an effect when using bitmapped (PK) fonts. |
| 508 |
Use MODE as the Metafont device name for the PK fonts (both for |
| 509 |
path searching and font generation). This needs to be augmented |
| 510 |
with the base device resolution, given with the '--bdpi' option. |
| 511 |
See the file <ftp://ftp.tug.org/tex/modes.mf> for a list of |
| 512 |
resolutions and mode names for most devices. *Note |
| 513 |
(kpathsea)Unable to generate fonts::. |
| 514 |
|
| 515 |
'-M*' |
| 516 |
This option only has an effect when using bitmapped (PK) fonts. It |
| 517 |
turns off automatic PK font generation ('mktexpk'). |
| 518 |
|
| 519 |
'--nogs*' |
| 520 |
This switch prohibits the internal call to GhostScript for |
| 521 |
displaying PostScript specials. '--nogs0' turns the call back on. |
| 522 |
|
| 523 |
'--nogssafer*' |
| 524 |
Normally, if GhostScript is used to render PostScript specials, the |
| 525 |
GhostScript interpreter is run with the option '-dSAFER'. The |
| 526 |
'--nogssafer' option runs GhostScript without '-dSAFER'. The |
| 527 |
'-dSAFER' option in Ghostscript disables PostScript operators such |
| 528 |
as deletefile, to prevent possibly malicious PostScript programs |
| 529 |
from having any effect. |
| 530 |
|
| 531 |
'--norawps*' |
| 532 |
Some packages generate raw PostScript specials, even non-rendering |
| 533 |
such specials. This switch turns off the internal call to |
| 534 |
GhostScript intended to display these raw PostScript specials. |
| 535 |
'--norawps0' turns the call back on. |
| 536 |
|
| 537 |
'-o NAME' |
| 538 |
Send output to the file NAME. A single occurrence of '%d' or |
| 539 |
'%01d', ..., '%09d' will be exchanged for the physical page number |
| 540 |
(this can be changed, see the '--dvinum' switch). The default |
| 541 |
output filename is 'FILE%d.png' where the input DVI file was |
| 542 |
'FILE.dvi'. |
| 543 |
|
| 544 |
'-O X-OFFSET,Y-OFFSET' |
| 545 |
Move the origin by X-OFFSET,Y-OFFSET, a comma-separated pair of |
| 546 |
dimensions such as '.1in,-.3cm'. The origin of the page is shifted |
| 547 |
from the default position (of one inch down, one inch to the right |
| 548 |
from the upper left corner of the paper) by this amount. |
| 549 |
|
| 550 |
'-p [=]NUM' |
| 551 |
The first page printed will be the first one numbered NUM. Default |
| 552 |
is the first page in the document. If NUM is prefixed by an equals |
| 553 |
sign, then it (and the argument to the '-l' option, if specified) |
| 554 |
is treated as a physical (absolute) page number, rather than a |
| 555 |
value to compare with the TeX '\count0' values stored in the DVI |
| 556 |
file. Thus, using '-p =3' will start with the third page of the |
| 557 |
document, no matter what the pages are actually numbered. |
| 558 |
|
| 559 |
'--palette*' |
| 560 |
When an external image is included, 'dvipng' will automatically |
| 561 |
switch to truecolor mode, to avoid unnecessary delay and quality |
| 562 |
reduction, and enable the EPS translator to draw on a transparent |
| 563 |
background and outside of the boundingbox. This switch will force |
| 564 |
palette (256-color) output and make 'dvipng' revert to opaque |
| 565 |
clipped image inclusion. This will also override the '--truecolor' |
| 566 |
switch if present. |
| 567 |
|
| 568 |
'--picky*' |
| 569 |
No images are output when a warning occurs. Normally, dvipng will |
| 570 |
output an image in spite of a warning, but there may be something |
| 571 |
missing in this image. One reason to use this option would be if |
| 572 |
you have a more complete but slower fallback converter. Mainly, |
| 573 |
this is useful for failed figure inclusion and unknown \special |
| 574 |
occurrences, but warnings will also occur for missing or unknown |
| 575 |
color specs and missing PK fonts. |
| 576 |
|
| 577 |
'--png*' |
| 578 |
The images are output in the PNG format. This is the default for |
| 579 |
the 'dvipng' binary. See also the '--gif' option. |
| 580 |
|
| 581 |
'-pp FIRSTPAGE-LASTPAGE' |
| 582 |
Print pages FIRSTPAGE through LASTPAGE; but not quite equivalent to |
| 583 |
'-p FIRSTPAGE -l LASTPAGE'. For example, when rendering a book, |
| 584 |
there may be several instances of a page in the DVI file (one in |
| 585 |
'\frontmatter', one in '\mainmatter', and one in '\backmatter'). |
| 586 |
In case of several pages matching, '-pp FIRSTPAGE-LASTPAGE' will |
| 587 |
render _all_ pages that matches the specified range, while '-p |
| 588 |
FIRSTPAGE -l LASTPAGE' will render the pages from the _first_ |
| 589 |
occurrence of FIRSTPAGE to the _first_ occurrence of LASTPAGE. |
| 590 |
This is the (undocumented) behaviour of dvips. In dvipng you can |
| 591 |
give both kinds of options, in which case you get all pages that |
| 592 |
matches the range in '-pp' between the pages from '-p' to '-l'. |
| 593 |
Also multiple '-pp' options accumulate, unlike '-p' and '-l'. The |
| 594 |
'-' separator can also be ':'. Note that '-pp -1' will be |
| 595 |
interpreted as "all pages up to and including 1", if you want a |
| 596 |
page numbered -1 (only the table of contents, say) put '-pp -1--1', |
| 597 |
or more readable, '-pp -1:-1'. |
| 598 |
|
| 599 |
'-q*' |
| 600 |
Run quietly. Don't chatter about pages converted, etc. to standard |
| 601 |
output; report no warnings (only errors) to standard error. |
| 602 |
|
| 603 |
'-Q NUM' |
| 604 |
Set the quality to NUM. That is, choose the number of antialiasing |
| 605 |
levels for bitmapped fonts (PK), to be NUM*NUM+1. The default |
| 606 |
value is 4 which gives 17 levels of antialiasing for antialiased |
| 607 |
fonts from these two. If FreeType is available, its rendering is |
| 608 |
unaffected by this option. |
| 609 |
|
| 610 |
'-r*' |
| 611 |
Toggle output of pages in reverse/forward order. By default, the |
| 612 |
first page in the DVI is output first. |
| 613 |
|
| 614 |
'--strict*' |
| 615 |
The program exits when a warning occurs. Normally, dvipng will |
| 616 |
output an image in spite of a warning, but there may be something |
| 617 |
missing in this image. One reason to use this option would be if |
| 618 |
you have a more complete but slower fallback converter. See the |
| 619 |
'--picky' option above for a list of when warnings occur. |
| 620 |
|
| 621 |
'-T IMAGE_SIZE' |
| 622 |
Set the image size to IMAGE_SIZE which can be either of 'bbox', |
| 623 |
'tight', or a comma-separated pair of dimensions HSIZE,VSIZE such |
| 624 |
as '.1in,.3cm'. The default is 'bbox' which produces a PNG that |
| 625 |
includes all ink put on the page and in addition the DVI origin, |
| 626 |
located 1in from the top and 1in from the left edge of the paper. |
| 627 |
This usually gives whitespace above and to the left in the produced |
| 628 |
image. The value 'tight' will make dvipng only include all ink put |
| 629 |
on the page, producing neat images. |
| 630 |
|
| 631 |
'--truecolor*' |
| 632 |
This will make 'dvipng' generate truecolor output. Note that |
| 633 |
truecolor output is automatic if you include an external image in |
| 634 |
your DVI, e.g., via a PostScript special (i.e., the 'graphics' or |
| 635 |
'graphicx' package). This switch is overridden by the '--palette' |
| 636 |
switch. |
| 637 |
|
| 638 |
'-v*' |
| 639 |
Enable verbose operation. This will currently indicate what fonts |
| 640 |
is used, in addition to the usual output. |
| 641 |
|
| 642 |
'--width*' |
| 643 |
Report the width of the image. See also '--height' and '--depth'. |
| 644 |
|
| 645 |
'-x NUM' |
| 646 |
This option is deprecated; it should not be used. It is much |
| 647 |
better to select the output resolution directly with the '-D' |
| 648 |
option. This option sets the magnification ratio to NUM/1000 and |
| 649 |
overrides the magnification specified in the DVI file. Must be |
| 650 |
between 10 and 100000. It is recommended that you use standard |
| 651 |
magstep values (1095, 1200, 1440, 1728, 2074, 2488, 2986, and so |
| 652 |
on) to help reduce the total number of PK files generated. NUM may |
| 653 |
be a real number, not an integer, for increased precision. |
| 654 |
|
| 655 |
'-z NUM' |
| 656 |
Set the PNG compression level to NUM. This option is enabled if |
| 657 |
your 'libgd' is new enough. The default compression level is 1, |
| 658 |
which selects maximum speed at the price of slightly larger PNGs. |
| 659 |
For an older 'libgd', the hard-soldered value 5 is used. The |
| 660 |
include file 'png.h' says |
| 661 |
Currently, valid values range from 0 - 9, corresponding |
| 662 |
directly to the zlib compression levels 0 - 9 (0 - no |
| 663 |
compression, 9 - "maximal" compression). Note that tests have |
| 664 |
shown that zlib compression levels 3-6 usually perform as well |
| 665 |
as level 9 for PNG images, and do considerably fewer |
| 666 |
calculations. In the future, these values may not correspond |
| 667 |
directly to the zlib compression levels. |
| 668 |
|
| 669 |
|
| 670 |
File: dvipng.info, Node: Graphics, Next: Color, Prev: Command-line options, Up: Top |
| 671 |
|
| 672 |
5 Graphics |
| 673 |
********** |
| 674 |
|
| 675 |
'dvipng' attempts to handle graphics as included by the 'graphicx' and |
| 676 |
'graphics' packages, without the need of specifying a driver to these |
| 677 |
packages. This means that it recognizes the encapsulated postscript |
| 678 |
inclusion meant for 'dvips', but is also able (from version 1.8) to |
| 679 |
include bitmapped graphics. It also tries to handle some of the raw |
| 680 |
PostScript that is output from various packages. Some of the |
| 681 |
possibilities and problems are mentioned below. |
| 682 |
|
| 683 |
* Menu: |
| 684 |
|
| 685 |
* Encapsulated PostScript:: An internal call to GhostScript |
| 686 |
* Bitmapped graphics:: PNG, JPEG and GIF |
| 687 |
* Raw PostScript:: Ignore or give to GhostScript |
| 688 |
|
| 689 |
|
| 690 |
File: dvipng.info, Node: Encapsulated PostScript, Next: Bitmapped graphics, Up: Graphics |
| 691 |
|
| 692 |
5.1 Encapsulated PostScript |
| 693 |
=========================== |
| 694 |
|
| 695 |
When an EPS file is included, a call to GhostScript is performed to |
| 696 |
produce a bitmapped image that can be included. The default is to |
| 697 |
produce an image with transparent background, at the same size as the |
| 698 |
DVI page currently being converted to PNG, and include that as |
| 699 |
foreground on the PNG. Of course, if the image is to be cropped, that is |
| 700 |
done. The included image will be a truecolor image, so for maximum |
| 701 |
performance the output PNG will be in truecolor mode as well. |
| 702 |
|
| 703 |
This conversion needs the 'pngalpha' output device to be present in |
| 704 |
your copy of GhostScript. If that device is not present, or you use the |
| 705 |
'--palette' switch or request GIF output, the fallback is to use the |
| 706 |
'png16m' device to produce a cropped opaque image for inclusion. Other |
| 707 |
relevant switches are '--noghostscript' and '--nogssafer'. *Note Option |
| 708 |
details::. |
| 709 |
|
| 710 |
The most common problem with including graphics is an incorrect |
| 711 |
bounding box. Complain to whoever wrote the software that generated the |
| 712 |
file if the bounding box is indeed incorrect. An adjusted boundingbox |
| 713 |
can be specified in the '\includegraphics' call, as in this example |
| 714 |
(using 'graphicx'): |
| 715 |
|
| 716 |
\includegraphics[bb=10 20 100 200]{imagename.eps} |
| 717 |
|
| 718 |
|
| 719 |
File: dvipng.info, Node: Bitmapped graphics, Next: Raw PostScript, Prev: Encapsulated PostScript, Up: Graphics |
| 720 |
|
| 721 |
5.2 Bitmapped graphics |
| 722 |
====================== |
| 723 |
|
| 724 |
dvipng can include PNG, JPEG and GIF graphics. When including such |
| 725 |
images via '\includegraphics' you need to specify the bounding box since |
| 726 |
TeX itself cannot read them from the files in question. The bounding |
| 727 |
box size should be given as '0 0 w h' in pixels, e.g., if the file |
| 728 |
'imagename.png' is 300x400 pixels, the inclusion would read |
| 729 |
|
| 730 |
\includegraphics[bb=0 0 300 400]{imagename.png} |
| 731 |
|
| 732 |
The default size is the image size in bp ("big points" in TeX |
| 733 |
nomenclature or PostScript points as other people have it, 72 per inch). |
| 734 |
That is, default resolution will be 72 dpi for included bitmaps, which |
| 735 |
is the default size in the few other bitmap-capable drivers that are |
| 736 |
known to me (dvipdfm and PDFLaTeX). |
| 737 |
|
| 738 |
If you want 100 dpi you need to specify the width accordingly. You |
| 739 |
just divide your image width by 100: a 135 pixel wide image at 100 dpi |
| 740 |
will take up 1.35 inches. If you want 200 dpi you divide by 200, and so |
| 741 |
on. Simple, eh? The example above at 200 dpi would be 1.5 inches wide: |
| 742 |
|
| 743 |
\includegraphics[bb=0 0 300 400,witdh=1.5in]{imagename.png} |
| 744 |
|
| 745 |
|
| 746 |
File: dvipng.info, Node: Raw PostScript, Prev: Bitmapped graphics, Up: Graphics |
| 747 |
|
| 748 |
5.3 Raw PostScript |
| 749 |
================== |
| 750 |
|
| 751 |
dvipng attempts to handle raw PostScript. Rendering raw PostScript |
| 752 |
specials is done on top of the page by including a transparent image |
| 753 |
generated by the 'pngalpha' device in GhostScript (automatically |
| 754 |
selecting 'truecolor' mode in dvipng). |
| 755 |
|
| 756 |
Included PostScript headers are respected, and if the header |
| 757 |
'tex.pro' is included, dvipng also throws in 'color.pro' and |
| 758 |
'special.pro'. The package 'xcolor' includes its own headers with color |
| 759 |
names, and this is not only kept as a PostScript header, but is also |
| 760 |
read and interpreted by dvipng itself. An attempt is also made to |
| 761 |
respect the PGF header. The non-rendering specials from 'hyperref' are |
| 762 |
handled via some heuristics and do not give an error. |
| 763 |
|
| 764 |
Really rendering and moving things with raw PostScript specials is |
| 765 |
more troublesome. The \rotatebox macro serves as a good example. The |
| 766 |
dvips driver of the graphicx package surrounds DVI glyphs with |
| 767 |
PostScript code so that after conversion by dvips, the glyphs (now |
| 768 |
themselves in PostScript) will be rotated in the desired way. dvipng |
| 769 |
does not handle this, at present. An attempt has been made to handle |
| 770 |
the rendering specials output by PGF (tikz), and also PSTricks. Some |
| 771 |
things work, but others do not. This is especially clear when mixing |
| 772 |
PostScript and DVI rendering commands such as glyphs. dvipng cannot at |
| 773 |
present detect if PostScript code moves 'currentpoint' or rotates the |
| 774 |
frame since GhostScript does not return such information. A |
| 775 |
recommendation would be to produce images from these packages as EPS |
| 776 |
files and include them into your document in the standard manner. |
| 777 |
|
| 778 |
Another way to handle this would be to use a slower fallback (with |
| 779 |
dvips and gs, for example). If you want to disable raw PostScript |
| 780 |
handling in dvipng, use the switch '--norawps'. This switch turns off |
| 781 |
the internal call to GhostScript intended to display these raw |
| 782 |
PostScript specials. Further, when dvipng encounters raw PostScript and |
| 783 |
the gs call is turned off, it gives a warning. It is now possible to |
| 784 |
use the switch '--picky' to disable page rendering of pages with |
| 785 |
warnings, and use the slower fallback for these pages. |
| 786 |
|
| 787 |
|
| 788 |
File: dvipng.info, Node: Color, Next: Diagnosing problems, Prev: Graphics, Up: Top |
| 789 |
|
| 790 |
6 Color |
| 791 |
******* |
| 792 |
|
| 793 |
To support color, dvipng recognizes a certain set of specials as |
| 794 |
generated by the 'color' and 'xcolor' style files. These specials start |
| 795 |
with the keyword 'color' or the keyword 'background', followed by a |
| 796 |
color specification. |
| 797 |
|
| 798 |
* Menu: |
| 799 |
|
| 800 |
* Color specifications:: |
| 801 |
* Color specials:: |
| 802 |
|
| 803 |
|
| 804 |
File: dvipng.info, Node: Color specifications, Next: Color specials, Up: Color |
| 805 |
|
| 806 |
6.1 Color specifications |
| 807 |
======================== |
| 808 |
|
| 809 |
The color specification supported by dvipng is by-value or by-name. The |
| 810 |
by-value spec starts with the name of a color model (one of 'rgb', |
| 811 |
'hsb', 'cmy', 'cmyk', or 'gray') followed by the appropriate number of |
| 812 |
parameters. Thus, the color specification 'rgb 0.3 0.4 0.5' would |
| 813 |
correspond to the color that is '0.3 0.4 0.5' in its red, blue and green |
| 814 |
values. The color model used internally in dvipng is 'RGB' (discretized |
| 815 |
to 256 levels), for details on the formulas used in conversion, see the |
| 816 |
'xcolor' documentation. |
| 817 |
|
| 818 |
By-name color specifications are single (case-dependent) words and |
| 819 |
are compared with color names defined in 'dvipsnam.def' (from the |
| 820 |
'graphics' bundle), 'svgnam.def' and 'xcolor.sty' (from the 'xcolor' |
| 821 |
bundle). See the 'xcolor' documentation for a list of names and the |
| 822 |
corresponding colors. |
| 823 |
|
| 824 |
On the command-line, the name 'Transparent' can also be used as an |
| 825 |
argument to '--bg' to choose transparent background. *Note Option |
| 826 |
details::. |
| 827 |
|
| 828 |
|
| 829 |
File: dvipng.info, Node: Color specials, Prev: Color specifications, Up: Color |
| 830 |
|
| 831 |
6.2 Color specials |
| 832 |
================== |
| 833 |
|
| 834 |
We will describe 'background' first, since it is the simplest. The |
| 835 |
'background' keyword must be followed by a color specification. That |
| 836 |
color specification is used as a fill color for the background. The |
| 837 |
last 'background' special on a page is the one that gets used, and is |
| 838 |
used for the whole of the page image. (This is possible because the |
| 839 |
prescan phase of dvipng notices all of the color specials so that the |
| 840 |
appropriate information can be written out during the second phase.) |
| 841 |
|
| 842 |
The 'color' special itself has three forms. The first is just |
| 843 |
'color' followed by a color specification. In this case, the current |
| 844 |
global color is set to that color; the color stack must be empty when |
| 845 |
such a command is executed. |
| 846 |
|
| 847 |
The second form is 'color push' followed by a color specification. |
| 848 |
This saves the current color on the color stack and sets the color to be |
| 849 |
that given by the color specification. This is the most common way to |
| 850 |
set a color. |
| 851 |
|
| 852 |
The final form of the 'color' special is just 'color pop', with no |
| 853 |
color specification; this says to pop the color last pushed on the color |
| 854 |
stack from the color stack and set the current color to be that color. |
| 855 |
|
| 856 |
dvipng correctly handles these color specials across pages, even when |
| 857 |
the pages are rendered repeatedly or in reverse order. |
| 858 |
|
| 859 |
|
| 860 |
File: dvipng.info, Node: Diagnosing problems, Next: Credits, Prev: Color, Up: Top |
| 861 |
|
| 862 |
7 Diagnosing problems |
| 863 |
********************* |
| 864 |
|
| 865 |
You've gone through all the trouble of installing dvipng, carefully read |
| 866 |
all the instructions in this manual, and still can't get something to |
| 867 |
work. The following sections provide some helpful hints if you find |
| 868 |
yourself in such a situation. |
| 869 |
|
| 870 |
* Menu: |
| 871 |
|
| 872 |
* Contact information:: Who to ask. |
| 873 |
* Debug options:: Getting diagnostics. |
| 874 |
|
| 875 |
|
| 876 |
File: dvipng.info, Node: Contact information, Next: Debug options, Up: Diagnosing problems |
| 877 |
|
| 878 |
7.1 Contact information |
| 879 |
======================= |
| 880 |
|
| 881 |
Bug reports should be sent to <[email protected]>. |
| 882 |
|
| 883 |
Questions, suggestions for new features, pleas for help, and/or |
| 884 |
praise should go to <[email protected]>. For more information on this |
| 885 |
mailing list, send a message with just the word 'help' as subject or |
| 886 |
body to <[email protected]> or look at |
| 887 |
<http://lists.nongnu.org/mailman/listinfo/dvipng>. |
| 888 |
|
| 889 |
Offers to support further development will be appreciated. For |
| 890 |
developer access, ask on <[email protected]>. |
| 891 |
|
| 892 |
For details on the TeX path-searching library, and 'mktexpk' |
| 893 |
problems, *note (kpathsea)Common problems::. |
| 894 |
|
| 895 |
|
| 896 |
File: dvipng.info, Node: Debug options, Prev: Contact information, Up: Diagnosing problems |
| 897 |
|
| 898 |
7.2 Debug options |
| 899 |
================= |
| 900 |
|
| 901 |
The '-d' flag to dvipng helps in tracking down certain errors. The |
| 902 |
parameter to this flag is an integer that tells what errors are |
| 903 |
currently being tracked. To track a certain class of debug messages, |
| 904 |
simply provide the appropriate number given below; if you wish to track |
| 905 |
multiple classes, sum the numbers of the classes you wish to track. To |
| 906 |
track all classes, you can use '-1'. |
| 907 |
|
| 908 |
Some of these debugging options are actually provided by Kpathsea |
| 909 |
(*note (kpathsea)Debugging::). |
| 910 |
|
| 911 |
The classes are: |
| 912 |
1 |
| 913 |
Normal dvi op-codes |
| 914 |
2 |
| 915 |
Virtual fonts |
| 916 |
4 |
| 917 |
PK fonts |
| 918 |
8 |
| 919 |
TFM files |
| 920 |
16 |
| 921 |
Glyph rendering |
| 922 |
32 |
| 923 |
FreeType calls |
| 924 |
64 |
| 925 |
Encoding loads |
| 926 |
128 |
| 927 |
Color specials |
| 928 |
256 |
| 929 |
GhostScript specials |
| 930 |
512 |
| 931 |
Kpathsea 'stat' calls |
| 932 |
1024 |
| 933 |
Kpathsea hash table lookups |
| 934 |
2048 |
| 935 |
Kpathsea path element expansion |
| 936 |
4096 |
| 937 |
Kpathsea path searches |
| 938 |
|
| 939 |
|
| 940 |
File: dvipng.info, Node: Credits, Next: Copying, Prev: Diagnosing problems, Up: Top |
| 941 |
|
| 942 |
8 Credits |
| 943 |
********* |
| 944 |
|
| 945 |
A number of persons have contributed, if I forget to mention someone, I |
| 946 |
apologize. First and foremost we have David Kastrup whose preview-latex |
| 947 |
project provided the incentive to write this program. There is also a |
| 948 |
number of people who have contributed by reporting bugs and suggesting |
| 949 |
improvements as the thing has evolved. These include but is perhaps not |
| 950 |
limited to (in semi-random order): Thomas Esser (teTeX), Christian |
| 951 |
Schenk (MIKTeX), Brian R Furry (debian package), Angus Leeming (LyX), |
| 952 |
Thomas Boutell (libgd), John Jones (first user report), Uwe Kern |
| 953 |
(xcolor), Karl Berry and Peter Breitenlohner (TeX Live), David Harvey |
| 954 |
(hinting in Freetype), Neal Harmon, Alan Shutko, Reiner Stieb, Nick |
| 955 |
Alcock, Adam Buchbinder, Svend Tollak Munkejord, James Longstreet, |
| 956 |
Bernhard Simon, Bob McElrath, Georg Schwarz, Jason Farmer, Brian V. |
| 957 |
Smith, Samuel Hathaway, Thomas R. Shemanske, Stephen Gibson, Christian |
| 958 |
Ridderström, Ezra Peisach, William H Wheeler, Thomas Klausner, Harald |
| 959 |
Koenig, Adrian Bunk, Kevin Smith, Jason Riedy, Wolfram Krause, Reinhard |
| 960 |
Kotucha, Takeshi Abe, Waldeck Schutzer, Ahzo, and Andy Nguyen. |
| 961 |
|
| 962 |
|
| 963 |
File: dvipng.info, Node: Copying, Next: Index, Prev: Credits, Up: Top |
| 964 |
|
| 965 |
9 Copying |
| 966 |
********* |
| 967 |
|
| 968 |
This program is free software: you can redistribute it and/or modify it |
| 969 |
under the terms of the GNU Lesser General Public License as published by |
| 970 |
the Free Software Foundation, either version 3 of the License, or (at |
| 971 |
your option) any later version. |
| 972 |
|
| 973 |
This program is distributed in the hope that it will be useful, but |
| 974 |
WITHOUT ANY WARRANTY; without even the implied warranty of |
| 975 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser |
| 976 |
General Public License for more details. |
| 977 |
|
| 978 |
You should have received a copy of the GNU Lesser General Public |
| 979 |
License along with this program. If not, see |
| 980 |
<http://www.gnu.org/licenses/>. |
| 981 |
|
| 982 |
|
| 983 |
|
| 984 |
Copyright (C) 2002-2015, 2019 Jan-Åke Larsson |
| 985 |
|
| 986 |
|
| 987 |
File: dvipng.info, Node: Index, Prev: Copying, Up: Top |
| 988 |
|
| 989 |
Index |
| 990 |
***** |
| 991 |
|
| 992 |
|