Debian Codegraph @

texk/dvipng/dvipng-src/readme.texi

raw
1 @c readme.texi
2 @c
3 @c Part of the dvipng distribution
4
5 @ifclear man
6 @include macros.texi
7 @ifset rawfile
8 @chapter dvipng
9
10 @end ifset
11 @end ifclear
12 @c -----------------------
13
14 This program makes PNG and/or GIF graphics from DVI files as obtained
15 from @TeX{} and its relatives.
16
17 If GIF support is enabled, GIF output is chosen by using the
18 @samp{dvigif} binary or with the @samp{--gif} option.
19
20 @ifclear man
21
22 It is intended to produce anti-aliased screen-resolution images as fast
23 as is possible. The target audience is people who need to generate and
24 regenerate many images again and again. The primary target is the
25 @previewlatex{} (X)Emacs package, a package to preview formulas from
26 within (X)Emacs. Yes, you get to see your formulas in the (X)Emacs
27 buffer, see @url{http://www.gnu.org/software/auctex/preview-latex.html}.
28
29 It is also used in MediaWiki, the software behind Wikipedia and many
30 other wikis out there. Dvipng is used to render mathematical formulae
31 (in image mode) from version 1.8.0 of MediaWiki, see
32 @url{http://www.mediawiki.org}.
33
34 Other applications may also benefit, like web applications as latex2html
35 and WYSIWYG editors like LyX.
36
37 @ifset rawfile
38 @section Benefits of dvipng
39 @end ifset
40 @end ifclear
41
42 The benefits of @samp{dvipng}/@samp{dvigif} include
43
44 @itemize @bullet
45 @item
46 Speed. It is a very fast bitmap-rendering code for DVI files, which
47 makes it suitable for generating large amounts of images on-the-fly,
48 as needed in @previewlatex{}, WeBWorK and others.
49
50 @item
51 It does not read the postamble, so it can be started before @TeX{}
52 finishes. There is a @samp{--follow} switch that makes dvipng wait at
53 end-of-file for further output, unless it finds the POST marker that
54 indicates the end of the DVI.
55
56 @item
57 Interactive query of options. dvipng can read options interactively
58 through stdin, and all options are usable. It is even possible to change
59 the input file through this interface.
60
61 @item
62 Supports PK, VF, PostScript Type1, and TrueType fonts, subfonts (i.e.,
63 as used in CJK-@LaTeX{}), color specials, and inclusion of PostScript,
64 PNG, JPEG or GIF images.
65
66 @item
67 and more...
68
69 @end itemize
70
71 @ifset rawfile
72 @section Installation
73
74 Read @file{INSTALL}, included in the distribution.
75
76 @section Usage
77
78 To use dvipng at its simplest, simply type
79
80 @example
81 dvipng foo
82 @end example
83
84 @noindent
85 where @file{foo.dvi} is the output of @TeX{} that you want to convert to
86 PNG format. If there are four pages in @file{foo.dvi}, those pages will
87 be output as @file{foo1.png}, @file{foo2.png}, @file{foo3.png}, and
88 @file{foo4.png}, respectively.
89
90 Many options are available (see the info manual). For a brief summary
91 of available options, just type
92
93 @example
94 dvipng --help
95 @end example
96
97 @section Availability
98
99 The dvipng package is available at Savannah, the GNU project site. Since
100 dvipng is not part of the GNU project, although released under the GNU
101 GPL, the web address is
102 @url{http://savannah.nongnu.org/projects/dvipng}. Instructions for
103 anonymous CVS access can be found at
104 @url{http://savannah.nongnu.org/cvs/?group=dvipng}.
105
106 @section Contacts
107
108 Bug reports should be sent to @email{dvipng@@nongnu.org}.
109
110 Questions, suggestions for new features, pleas for help, and/or praise
111 should go to @email{dvipng@@nongnu.org}. For more information on this
112 mailing list, send a message with just the word `help' as subject or
113 body to @email{dvipng-request@@nongnu.org} or look at
114 @url{http://lists.nongnu.org/mailman/listinfo/dvipng}.
115
116 Offers to support further development will be appreciated. For developer
117 access, ask on @email{dvipng@@nongnu.org}.
118
119 @section Copying
120
121 This program is released under the GNU Lesser General Public License
122 version 3, see the COPYING file in the dvipng distribution or
123 @url{http://www.gnu.org/licenses/}.
124
125 Copyright @copyright{} 2002-2014 Jan-@AA{}ke Larsson
126
127 @section Todo
128
129 @itemize @bullet
130 @item
131 Use gs interpreter library for speed and possibly for functionality.
132
133 @item
134 Add more color models for xcolor compatibility
135
136 @item
137 Enable a named pipe as DVI
138
139 @item
140 Further speed improvements.
141
142 @item
143 Other output specials and source specials.
144
145 @item
146 Clean internal structures. Overhaul file handling.
147
148 @item
149 Fix the SELFAUTO stuff at runtime rather than at build time
150 @end itemize
151
152
153 @end ifset