@@ -10,7 +10,41 @@ pandoc (0.45) unstable; urgency=low
1010 that error messages will give the correct line number. This yields
1111 cleaner (and slightly faster) code, with more accurate parsing error
1212 messages.
13−
13+
14+ * Added new Math inline element:
15+
16+ + Markdown and LaTeX readers now convert TeX math into Math elements,
17+ not TeX.
18+ + This allows math to be treated differently from raw TeX in output.
19+ TeX elements are no longer printed in output formats other than
20+ Markdown, LaTeX, and ConTeXt. But Math elements are always printed.
21+
22+ * New default handling of math in writers:
23+
24+ + New module Text.Pandoc.Readers.TeXMath exports readTeXMath, which
25+ parses raw TeX math and outputs a string of Pandoc inlines that
26+ tries to render it as far as possible using unicode characters,
27+ lapsing into literal TeX when needed.
28+ + readTeXMath is now used for default HTML output in HTML, S5, RTF,
29+ and Docbook, if no other method for displaying math in HTML is
30+ specified. Enclosing $'s are no longer printed by default.
31+ + By default, math is put inside <span class="math">. This way it can be
32+ distinguished from the surrounding text, e.g. put in a different
33+ font.
34+
35+ * New --gladtex and --mimetex options for display of math in HTML:
36+
37+ + If --gladtex is specified, math is output between <eq> tags, so
38+ it can be processed by gladTeX.
39+ + If --mimetex is specified, math is put in <img> tags with a link
40+ to the mimetex CGI script (or any other script that takes TeX math
41+ as input and outputs an image). The URL of the script may be
42+ specified, but defaults to /cgi-bin/mimetex.cgi.
43+ + HTMLMathMethod structure in WriterOptions keeps track of how to
44+ display math in HTML output.
45+ + Updated README with a description of the four options for displaying
46+ math in HTML.
47+
1448 * HTML reader:
1549
1650 + Fixed bug: parser for minimized attributes should not swallow
@@ -52,8 +86,11 @@ pandoc (0.45) unstable; urgency=low
5286 + Modified specialChar so that '"' characters are parsed.
5387 + Fixed a bug in parsing of \[ \] math blocks (thanks to Mark Kalderon).
5488
55− * HTML writer: Don't produce HTML for table of contents if there are
56− no headers. (This would be an empty list, which is invalid XHTML.)
89+ * HTML writer:
90+
91+ + Changes in handling of math (see above).
92+ + Don't produce HTML for table of contents if there are
93+ no headers. (This would be an empty list, which is invalid XHTML.)
5794
5895 * Markdown writer:
5996
@@ -98,23 +135,27 @@ pandoc (0.45) unstable; urgency=low
98135 a parameter.
99136 + Text wrapping now provided, using wrapTeXIfNeeded.
100137
101− * ConTeXt writer: many improvements for more idiomatic ConTeXt output.
138+ * ConTeXt writer: many improvements for more idiomatic ConTeXt output
139+ (thanks to Idris Samawi Hamid for suggestions).
102140
103141 + PrettyPrint module now used for output.
104142 + Writer options are now in state, so they don't have to be passed as
105143 a parameter.
106144 + Text wrapping now provided, using wrapTeXIfNeeded.
107− + Better treatment of footnotes: footnotes are always on lines by themselves.
145+ + Better treatment of footnotes: footnotes are always on lines by
146+ themselves, and the final } is on a line by itself only when
147+ it needs to be (after \stoptyping).
108148 + Use \subject, \subsubject, ... or \section, \subsection, ... for headings,
109149 depending on whether --number-sections option is selected.
110150 + Extra blank line inserted after \stopitemize
111151 + Use new, "official" definition of blockquote environment. Also, use
112152 blank line after \startblockquote to balance blank line at the end.
113− + Both itemized and enumerated lists are now generated using \start-stopitemize,
114− with appropriate options. Removed definitions of ltxenum and ltxitem,
115− which are no longer needed. Provided defaults for itemized lists in
116− the preamble. State keeps track of ordered list level, so that
117− when default numbering is specified, the appropriate scheme can be used.
153+ + Both itemized and enumerated lists are now generated using
154+ \start-stopitemize, with appropriate options. Removed definitions
155+ of ltxenum and ltxitem, which are no longer needed. Provided
156+ defaults for itemized lists in the preamble. State keeps track of
157+ ordered list level, so that when default numbering is specified,
158+ the appropriate scheme can be used.
118159 + Changed \useurl to \useURL.
119160 + Changed link color from red to blue.
120161 + Use \subsubsubsubsection etc., since these are supported
@@ -171,6 +212,19 @@ pandoc (0.45) unstable; urgency=low
171212 '--enable-(executable|library)-profiling' is specified. Updated
172213 PROFILING instructions accordingly.
173214
215+ * Makefile:
216+
217+ + Makefile now checks GHC version. If GHC is 6.6, pandoc.cabal.ghc66
218+ is copied to pandoc.cabal, and the old pandoc.cabal is copied
219+ to pandoc.cabal.orig. Otherwise, pandoc.cabal is copied to
220+ pandoc.cabal.orig but otherwise unmodified. This way, the Makefile
221+ will work properly with either GHC 6.6 or 6.8.
222+ + Changed BUILDCONF to point to dist/setup-config, not .setup-config.
223+ This is where current versions of Cabal put it.
224+ + Added $(BUILDCMD) target, so setup doesn't get compiled every time.
225+ + Removed dependency of templates on ./templates, which is circular
226+ now that templates is a subdirectory of the top-level.
227+
174228 * MacPorts Portfile:
175229
176230 + Modified to install the pandoc library in addition to programs.
@@ -184,16 +238,24 @@ pandoc (0.45) unstable; urgency=low
184238 libghc6-mtl-dev as dependencies for libghc6-pandoc-dev.
185239 Closes: #445235
186240
241+ * debian/rules: Converted to UTF-8.
242+
187243 * Changed pandoc home page to http://johnmacfarlane.net/pandoc/.
188244
189− [ Recai Oktaş ]
245+ * Updated ASCIIMathML.js to latest version.
190246
191− * Revised debian/rules to use pandoc.cabal.ghc66, as a transition
192− measure until GHC 6.8 gets into debian. Modified debian/control
193− to require GHC 6.6, as a safety measure.
247+ * Directory structure:
248+
249+ + Moved everything from src into the top-level directory.
250+ + Changed references to source directory in Makefile and
251+ pandoc.cabal.*.
252+ + Moved ASCIIMathML.js, headers, and ui into templates directory.
253+ + Modified fillTemplates.pl to reflect new paths.
254+
255+ [ Recai Oktaş ]
194256
195− * Fixed the issue of having two copies of the library documentation
196− under some usage scenarios.
257+ * Makefile: Fixed the issue of having two copies of the library
258+ documentation under some usage scenarios.
197259
198260 * Replaced 'ghc' with '$(GHC)' in Makefile, and made GHC
199261 and GHC_PKG configurable through the environment, to support