@@ -3,17 +3,17 @@ pandoc (0.3) unstable; urgency=low
3 [ John MacFarlane ]
3 [ John MacFarlane ]
5 * Changes in pandoc options:
5 * Changes in pandoc options:
6 + Allow options to follow or precede arguments.
7 + Allow options to follow or precede arguments.
7 + Changed '--smartypants' to '--smart' and adjusted symbols accordingly.
8 + Changed '--smartypants' to '--smart' and adjusted symbols accordingly.
8− + Added '--strict' option for maximum compatibility with official
9+ + Added '--strict' option.
10− + Added '-o/--output' option to send output to a file.
10+ + Added '-o/--output' option.
11 + Added '--dump-args' and '--ignore-args' options (for use in wrappers).
11 + Added '--dump-args' and '--ignore-args' options (for use in wrappers).
12 + Modified '-v' and '-h' output to go to STDERR, not STDOUT, and return
12 + Modified '-v' and '-h' output to go to STDERR, not STDOUT, and return
13− error condition (2). This is helpful for writing wrappers.
13+ error conditions. This is helpful for writing wrappers.
14+ + Added copyright message to '-v' output, modeled after FSF messages.
14 + Reformatted usage message so that it doesn't wrap illegibly.
15 + Reformatted usage message so that it doesn't wrap illegibly.
15 + Removed extra blanks after '-h' and '-D' output.
16 + Removed extra blanks after '-h' and '-D' output.
16− + Added copyright message to '-v' output, modeled after FSF messages.
18 * Added docbook writer.
18 * Added docbook writer.
@@ -40,6 +40,7 @@ pandoc (0.3) unstable; urgency=low
40 HTML header.
40 HTML header.
42 * Bug fixes:
42 * Bug fixes:
43 + Fixed a serious bug in the markdown, LaTeX, and RST readers.
44 + Fixed a serious bug in the markdown, LaTeX, and RST readers.
44 These readers ran 'runParser' on processed chunks of text to handle
45 These readers ran 'runParser' on processed chunks of text to handle
45 embedded block lists in lists and quotation blocks. But then
46 embedded block lists in lists and quotation blocks. But then
@@ -70,9 +71,6 @@ pandoc (0.3) unstable; urgency=low
70 which will end with the same number of `s. For example, to
71 which will end with the same number of `s. For example, to
71 have two backticks as code, write ``` `` ```. Modified Markdown
72 have two backticks as code, write ``` `` ```. Modified Markdown
72 writer accordingly.
73 writer accordingly.
73− + Modified HTML reader to skip a newline following a <br> tag.
74− Otherwise the newline will be treated as a space at the beginning
76 + Fixed bug in text-wrapping routine in Markdown and RST writers.
74 + Fixed bug in text-wrapping routine in Markdown and RST writers.
77 Now LineBreaks no longer cause wrapping problems.
75 Now LineBreaks no longer cause wrapping problems.
78 + Supported hexadecimal numerical entity references as well as
76 + Supported hexadecimal numerical entity references as well as
@@ -81,6 +79,13 @@ pandoc (0.3) unstable; urgency=low
81 inline formatting markers inside reference labels: for example,
79 inline formatting markers inside reference labels: for example,
82 in '[A_B]: /url/a_b', the material between underscores was being
80 in '[A_B]: /url/a_b', the material between underscores was being
83 parsed as emphasized inlines.
81 parsed as emphasized inlines.
82+ + Changed Markdown reader's handling of backslash escapes so that
83+ only non-alphanumeric characters can be escaped. Strict mode
84+ follows Markdown.pl in only allowing a select group of punctuation
85+ characters to be escaped.
86+ + Modified HTML reader to skip a newline following a <br> tag.
87+ Otherwise the newline will be treated as a space at the beginning
85 * Made handling of code blocks more consistent. Previously, some
90 * Made handling of code blocks more consistent. Previously, some
86 readers allowed trailing newlines, while others stripped them.
91 readers allowed trailing newlines, while others stripped them.
@@ -90,6 +95,7 @@ pandoc (0.3) unstable; urgency=low
90 * Modified readers to make spacing at the end of output more consistent.
95 * Modified readers to make spacing at the end of output more consistent.
92 * Minor improvements to LaTeX reader:
97 * Minor improvements to LaTeX reader:
93 + '\thanks' now treated like a footnote.
99 + '\thanks' now treated like a footnote.
94 + Simplified parsing of LaTeX command arguments and options.
100 + Simplified parsing of LaTeX command arguments and options.
95 commandArgs now returns a list of arguments OR options (in
101 commandArgs now returns a list of arguments OR options (in
@@ -99,17 +105,11 @@ pandoc (0.3) unstable; urgency=low
99 and \newenvironment.
105 and \newenvironment.
101 * Revised RTF writer:
107 * Revised RTF writer:
102 + Default font is now Helvetica.
109 + Default font is now Helvetica.
103 + An '\f0' is added to each '\pard', so that font resizing works
110 + An '\f0' is added to each '\pard', so that font resizing works
104 correctly.
111 correctly.
106− * Improved handling of dashes in LaTeX writer:
107− + Recognize a double hyphen as an Em-dash, even when it occurs next
108− to punctuation (e.g. a quotation mark).
109− + Collapse space around Em-dashes.
110− + Process quotes before dashes. This way (foo -- 'bar') will turn into
111− (foo---`bar') instead of (foo---'bar').
113 * Moved handling of "smart typography" from the writers to the Markdown
113 * Moved handling of "smart typography" from the writers to the Markdown
114 and LaTeX readers. This allows great simplification of the writers
114 and LaTeX readers. This allows great simplification of the writers
115 and more accurate smart quotes, dashes, and ellipses. DocBook can
115 and more accurate smart quotes, dashes, and ellipses. DocBook can
@@ -119,6 +119,7 @@ pandoc (0.3) unstable; urgency=low
119 EmDash, EnDash.
119 EmDash, EnDash.
121 * Changes in HTML writer:
121 * Changes in HTML writer:
122 + Include title block in header even when title is null.
123 + Include title block in header even when title is null.
123 + Made javascript obfuscation of emails even more obfuscatory,
124 + Made javascript obfuscation of emails even more obfuscatory,
124 by combining it with entity obfuscation.
125 by combining it with entity obfuscation.
@@ -126,11 +127,13 @@ pandoc (0.3) unstable; urgency=low
126 * Changed default ASCIIMathML text color to black.
127 * Changed default ASCIIMathML text color to black.
128 * Test suite:
129 * Test suite:
129 + Added --strip-trailing-cr option to diff in runtests.pl, for
131 + Added --strip-trailing-cr option to diff in runtests.pl, for
130 compatibility with Windows.
132 compatibility with Windows.
131 + Added regression tests with footnotes in quote blocks and lists.
133 + Added regression tests with footnotes in quote blocks and lists.
133 * Makefile changes:
135 * Makefile changes:
134 + osx-pkg target creates a Mac OS X package (directory). New osx
137 + osx-pkg target creates a Mac OS X package (directory). New osx
135 directory contains files needed for construction of the package.
138 directory contains files needed for construction of the package.
136 + osx-dmg target creates a compressed disk image containing the package.
139 + osx-dmg target creates a compressed disk image containing the package.
@@ -151,6 +154,7 @@ pandoc (0.3) unstable; urgency=low
152 * Added code to html2markdown that tries to determine the character
155 * Added code to html2markdown that tries to determine the character
153 encoding of an HTML file, by parsing the "Content-type" meta tag.
156 encoding of an HTML file, by parsing the "Content-type" meta tag.
154 + If the encoding can't be determined, then if the content is local,
158 + If the encoding can't be determined, then if the content is local,
155 the local encoding is used; if it comes from a URL, UTF-8 is used
159 the local encoding is used; if it comes from a URL, UTF-8 is used
156 by default.
160 by default.
@@ -158,11 +162,13 @@ pandoc (0.3) unstable; urgency=low
158 + Encoding can be specified explicitly using '-e' option.
162 + Encoding can be specified explicitly using '-e' option.
160 * Improved warning messages in wrappers:
164 * Improved warning messages in wrappers:
161 + Print warning if iconv not available
166 + Print warning if iconv not available
162 + More user-friendly error messages in markdown2pdf, when
167 + More user-friendly error messages in markdown2pdf, when
163 pdflatex fails.
168 pdflatex fails.
165 * Code cleanup:
170 * Code cleanup:
166 + Renamed 'Text/Pandoc/HtmlEntities' module to
172 + Renamed 'Text/Pandoc/HtmlEntities' module to
167 'Text/Pandoc/Entities'. Also changed function names so as
173 'Text/Pandoc/Entities'. Also changed function names so as
168 not to be HTML-specific.
174 not to be HTML-specific.
@@ -194,6 +200,7 @@ pandoc (0.3) unstable; urgency=low
194 a proper debian package. Closes: #391666.
200 a proper debian package. Closes: #391666.
196 * Modified build process to support GHC 6.6.
202 * Modified build process to support GHC 6.6.
197 + The package can still be compiled using GHC 6.4.2, though because
204 + The package can still be compiled using GHC 6.4.2, though because
198 of dependencies the "make deb" target works only with GHC 6.6+.
205 of dependencies the "make deb" target works only with GHC 6.6+.
199 + The script 'cabalize' is used to create an appropriate
206 + The script 'cabalize' is used to create an appropriate
@@ -205,6 +212,7 @@ pandoc (0.3) unstable; urgency=low
205 * Modified wrapper scripts to make them more robust and portable.
212 * Modified wrapper scripts to make them more robust and portable.
206 To avoid code duplication and ensure consistency, wrappers are
213 To avoid code duplication and ensure consistency, wrappers are
207 generated via a templating system from templates in src/wrappers.
214 generated via a templating system from templates in src/wrappers.
208 + Wrappers now accept multiple filenames, when appropriate.
216 + Wrappers now accept multiple filenames, when appropriate.
209 + Spaces and tabs allowed in filenames.
217 + Spaces and tabs allowed in filenames.
210 + getopts shell builtin is used for portable option parsing.
218 + getopts shell builtin is used for portable option parsing.