@@ -1,17 +1,306 @@
11pandoc (0.47) UNRELEASED; urgency=low
22
3− [ Recai Oktaş ]
3+ [ Andrea Rossato ]
44
5− * Debian packaging changes:
6−
7− + Migrate to GHC 6.8.2. Closes: #461606
8− + Add new dependencies libghc6-regex-compat-dev and libghc6-uulib-dev.
9− + Remove the code in debian/rules which attempts to remove empty ghc6.6
10− include directory. This code may cause an installation failure for the
11− -dev package. Closes: #460658
12− + Fix doc-base to prevent a lintian warning.
5+ * Added new OpenDocument writer.
6+
7+ * Added support for SmallCaps inline element.
8+
9+ * Added support for integrating pandoc with citeproc-hs.
10+
11+ + Added Cite element to definition and writers.
12+ + Added Text.Pandoc.Biblio module
13+ + Note: This support is included only if the 'citeproc'
14+ Cabal configuration flag is set.
15+
16+ * Made Pandoc data structure an instance of Typeable.
17+ Added new processPandoc and queryPandoc functions, to query
18+ or transform matching elements in a Pandoc structure.
19+
20+ [ Peter Wang ]
21+
22+ * Added new Texinfo writer.
23+
24+ [ John MacFarlane ]
25+
26+ * Changes to Texinfo writer:
27+
28+ + No space between paragraph and following @verbatim (provides more
29+ pleasing appearance in text formats)
30+ + Blank line consistently after list environments.
31+ + Removed deVerb.
32+ + Use @code instead of @verb for inline code (this solves the character
33+ escaping problem for texi2dvi and texi2pdf).
34+ + Added news of Texinfo writer to README.
35+ + Added Texinfo to list of formats in man page, and removed extra 'groff'.
36+ + Added texi & texinfo extensions to Main.hs, and fixed bug in determining
37+ default output extension.
38+ + Modified disallowedInNode in Texinfo writer to correct list of disallowed characters.
39+
40+ * Added tests for OpenDocument writer.
41+
42+ * Added ODT writer (using zip-archive library to package output of
43+ OpenDocument writer). Added odt-styles directory with default ODT styles.
44+
45+ * Added new mediawiki writer and tests.
46+
47+ * Markdown reader: Added support for delimited code blocks, with optional
48+ syntax highlighting using highlighting-kate (if the 'highlighting'
49+ configuration option is selected).
50+
51+ + Currently highlighting is supported only in the HTML writer.
52+ + Delimited code blocks can have attributes; using the language name as
53+ class triggers highlighting.
54+ + New Attributes parameter in CodeBlock structure.
55+ + --version now indicates whether syntax highlighting support is compiled
56+ in, and prints a list of supported languages
57+
58+ * Removed debian directory. Pandoc is no longer a native debian package.
59+
60+ * Changes to build process: pandoc can now be built from the repository
61+ using Cabal. No unix tools are needed (so, pandoc can be built on Windows
62+ without Cygwin).
63+
64+ + Include shell scripts themselves in repo, rather than generating from wrappers.
65+ Removed wrappers directory and wrappers Makefile target.
66+ + Text/Pandoc/ASCIIMathML.hs, Text/Pandoc/DefaultHeaders.hs,
67+ and Text/Pandoc/Writers/S5.hs are no longer built in Makefile
68+ from templates in the templates/ directory. Instead, they use template
69+ haskell to read data at compile time from the relevant files in data/.
70+ Template haskell functions go in a new module, Text.Pandoc.TH.
71+ + man pages are now generated in Setup.hs hook, not by Makefile
72+ + Makefile 'tarball' target now calls Cabal's 'sdist'
73+ + Added "Extra-Source-Files" to pandoc.cabal, so sdist contains everything needed
74+ + Added "Build-Type" field to pandoc.cabal to avoid warning.
75+ + Added to "Extra-source-files" and "Extra-tmp-files" in pandoc.cabal,
76+ so 'sdist' and 'clean' will work properly.
77+ + Setup.hs now generates man pages in a postbuild hook.
78+ + Added dependency-checking to Setup.hs, so it only rebuilds things
79+ that need rebuilding.
80+ + Added 'library' and 'executable' configuration flags.
81+ Cabal can now be told to build just the library or just the executable.
82+ + CABALOPTS may now be specified with 'make' to pass Cabal configuration flags.
83+ For example: CABALOPTS=-fhighlighting make
84+
85+ * Rewrote test suite so it doesn't depend on perl or unix tools.
86+
87+ + Replaced old runtests.pl with a Haskell script RunTests.hs.
88+ + Added Diff.hs module to be used by RunTests.hs instead of unix 'diff'.
89+ + Added test hook to Setup.hs, so tests may be run from cabal.
90+ + Changed Makefile's 'test' target to run tests via cabal.
91+ + Removed old generate.sh.
92+ + Since we no longer have 'sed' to filter out raw HTML sections
93+ from the docbook writer test, or raw LaTeX sections from the
94+ context writer test, we now just include these sections.
95+ They can be taken out if it is necessary to process the files.
96+ + Updated latex and context writer tests to remove extra spaces
97+ after '\\item'
98+ + Added a markdown table reader test.
99+ + Added markdown-reader-more.txt to test suite, for additional test cases
100+ for raw ConTeXt environments and more.
101+
102+ * Compatibility fixes for CPP, Cabal, and haddock:
103+
104+ + Use CPP in "Extensions" field in pandoc.cabal.
105+ + Removed use of backslash string continuations in source files.
106+
107+ * Removed pandoc.cabal.ghc66. We now require Cabal >= 1.2, GHC >= 6.8,
108+ base >= 3.
109+
110+ * Require parsec < 3.
111+ The compatibility module in parsec 3.0.0 gives far worse performance than
112+ parsec 2.1. Eventually pandoc will be upgraded to use the new bytestring
113+ version of parsec, and then we'll go to parsec 3.0.0.
114+
115+ * Removed Text.Regex dependencies by rewriting using plain Haskell
116+ (Text.Pandoc.Writers.RTF, Text.Pandoc.Writers.HTML, Main.hs)
117+
118+ * Moved Text.Pandoc.Writers.DefaultHeaders -> Text.Pandoc.DefaultHeaders.
119+
120+ * Makefile:
121+
122+ + Added 'configure' as dependency of 'uninstall-all'.
123+ (It uses the Cabal build program.)
124+ + Makefile: only use --with-hc-pkg if GHC_PKG is defined.
125+ Note that Cabal will automatically choose the ghc-pkg appropriate
126+ for the compiler selected, so normally specifying GHC by itself
127+ is sufficient.
128+
129+ * Removed Text.Pandoc.UTF8 module; instead, depend on utf8-string and use
130+ its IO and conversion functions.
131+
132+ * Added -Wall to ghc-options in pandoc.cabal. Cleaned up modules so that
133+ everything is -Wall clean.
134+
135+ + Added pragma to HTML writer to avoid deprecation warning for use of "start" attribute.
136+ + Added pragma to Text/Pandoc/Shared.hs to get rid of "orphan instance" warnings.
137+ (These are caused by the Lift instance for ByteString.)
138+
139+ * Changed the comment used to replace unsafe HTML if sanitize-html option
140+ selected.
141+
142+ * Made -c/--css option repeatable on the command line (like -H, -A, -B).
143+
144+ * Moved XML-formatting functions to new unexported module Text.Pandoc.XML.
145+
146+ * Escape '\160' as " ", not " " in XML.
147+ "nbsp" isn't a predefined XML entity.
148+
149+ * Fixed bug in RST reader, which would choke on: "p. one\ntwo\n".
150+ Added some try's in ordered list parsers.
151+
152+ * Man writer: don't escape " as \".
153+
154+ * Allow newline before URL in markdown link references. Resolves Issue #81.
155+ Added tests for this issue in new "markdown-reader-more" tests.
156+ Changed RunTests.hs to run these tests.
157+
158+ * Support for display math. Resolves Issue #47.
159+
160+ + Added a DisplayMath/InlineMath selector to Math inlines.
161+ + Markdown parser yields DisplayMath for $$...$$.
162+ + LaTeX parser yields DisplayMath when appropriate. Removed
163+ mathBlock parsers, since the same effect is achieved by the math
164+ inline parsers, now that they handle display math.
165+ + Writers handle DisplayMath as appropriate for the format.
166+ + Modified tests accordingly; added new tests for display math.
167+
168+ * Use LaTeXMathML instead of ASCIIMathML. LaTeXMathML is closer
169+ to LaTeX in its display of math, and supports many non-math LaTeX environments.
170+
171+ + Changed -m option to use LaTeXMathML rather than ASCIIMathML.
172+ + Modified HTML writer to print raw TeX when LaTeXMathML is
173+ being used instead of suppressing it.
174+ + Removed ASCIIMathML files from data/ and added LaTeXMathML.
175+ + Replaced ASCIIMathML with LaTeXMathML in source files.
176+ + Modified README and pandoc man page source.
177+ + Added --latexmathml option (kept --asciimathml as a synonym
178+ for backwards compatibility)
179+
180+ * Markdown reader: Parse setext headers before atx headers.
181+ Test case:
182+ # hi
183+ ====
184+ parsed by Markdown.pl as an H1 header with contents "# hi".
185+
186+ * Markdown smart typography:
187+
188+ + Em dashes no longer eat surrounding whitespace. Resolves Issue #69.
189+ + Use nonbreaking spaces after known abbreviations in markdown parser.
190+ Thus, for example, "Mr. Brown" comes out as "Mr.~Brown" in LaTeX, and does
191+ not produce a sentence-separating space. Resolves Issue #75.
192+
193+ * Markdown writer: Print unicode \160 literally, rather than as .
194+
195+ * Treat '\ ' in (extended) markdown as nonbreaking space.
196+ Print nonbreaking space appropriately in each writer (e.g. ~ in LaTeX).
197+
198+ * The '--sanitize-html' option now examines URIs in markdown links
199+ and images, and in HTML href and src attributes. If the URI scheme
200+ is not on a whitelist of safe schemes, it is rejected. The main point
201+ is to prevent cross-site scripting attacks using 'javascript:' URIs.
202+ See http://www.mail-archive.com/markdown-discuss@six.pairlist.net/msg01186.html
203+ and http://ha.ckers.org/xss.html. Resolves Issue #62.
204+
205+ * HTML writer:
206+
207+ + Override Text.XHtml's stringToHtml function,
208+ so that characters below 0xff are not converted to numerical entity
209+ references. Also convert '\160' to " ". This should aid readability
210+ and editability of the HTML source. It does presuppose that the HTML
211+ will be served as UTF-8.
212+ + In code blocks, change leading newlines to <br /> tags.
213+ (Some browsers ignore them.) Resolves Issue #71.
214+ See http://six.pairlist.net/pipermail/markdown-discuss/2008-May/001297.html
215+ + Use style attributes rather than css classes for strikethrough
216+ and ordered list styles. This works better when fragments, rather than
217+ standalone documents, are generated.
13218
14− -- Recai Oktaş <roktas@debian.org> Sat, 09 Feb 2008 04:41:46 +0200
219+ * HTML reader: Count anything that isn't a known block (HTML) tag as an
220+ inline tag (rather than the other way around). Added "html", "head", and
221+ "body" to list of block tags. Resolves Issue #66, allowing
222+ <lj> to count as an inline tag.
223+
224+ * RTF writer: Fixed bug. Extra spaces were being printed after emphasized,
225+ boldface, and other inline elements. Resolves Issue #64.
226+
227+ * LaTeX reader: improvements in raw LaTeX parsing.
228+
229+ + "loose punctuation" (like {}) parsed as Space
230+ + Para elements must contain more than Str "" and Space elements
231+ + Added parser for "\ignore" command used in literate haskell.
232+ + Reworked unknownCommand and rawLaTeXInline: when not in "parse raw"
233+ mode, these parsers simply strip off the command part and allow
234+ the arguments to be parsed normally. So, for example,
235+ \blorg{\emph{hi}} will be parsed as Emph "hi" rather than
236+ Str "{\\emph{hi}}".
237+ + Parse lhs "code" environments as verbatim.
238+ Refactored parsers for verbatim environments.
239+ + Removed specialEnvironment parser.
240+ + parse '{}', if present, after \textless, \textgreater,
241+ \textbar, \textbackslash, \ldots.
242+ + Parse unescaped special characters verbatim rather than
243+ changing them to spaces. This way arguments of unknown
244+ commands will appear in braces.
245+
246+ * Parse raw ConTeXt environments as TeX in markdown reader.
247+ Resolves Issue #73.
248+
249+ * Moved BlockWrapper and wrappedBlocksToDoc from ConTeXt writer to Shared.
250+
251+ * Made some structural changes to parsing of raw LaTeX environments.
252+ Previously there was a special block parser for LaTeX environments.
253+ It returned a Para element containing the raw TeX inline. This has
254+ been removed, and the raw LaTeX environment parser is now used in the
255+ rawLaTeXInline parser. The effect is exactly the same, except that we
256+ can now handle consecutive LaTeX and ConTeXt environments not separated
257+ by spaces. This new flexibility is required by the example in
258+ Issue #73:
259+
260+ \placeformula \startformula
261+ L_{1} = L_{2}
262+ \stopformula
263+
264+ API change: The LaTeX reader now exports rawLaTeXEnvironment' (which
265+ returns a string) rather than rawLaTeXEnvironment (which returns a block
266+ element). This is more likely to be useful in other applications.
267+
268+ * Use \textsubscr instead of \textsubscript for LaTeX subscript macro.
269+ \textsubscript conflicts with a definition in the memoir class.
270+ Resolves Issue #65.
271+
272+ * Removed unneeded space after "\\item" in LaTeX and ConTeXt output.
273+
274+ * Added amsmath package to default LaTeX header. Resolves Issue #48.
275+
276+ * Added \setupitemize[autointro] to ConTeXt header, to prevent orphaned
277+ list introduction lines.
278+
279+ * Changed Float to Double in definition of Table element.
280+ (Double is more efficient in GHC.)
281+
282+ * Fixed bug in Markdown parser: regular $s triggering math mode.
283+ For example: "shoes ($20) and socks ($5)."
284+ The fix consists in two new restrictions:
285+
286+ + the $ that ends a math span may not be directly followed by a digit.
287+ + no blank lines may be included within a math span.
288+
289+ Thanks to Joseph Reagle for noticing the bug.
290+
291+ * Use Data.List's 'intercalate' instead of custom 'joinWithSep'.
292+ Removed 'joinWithSep' from Text.Pandoc.Shared.
293+
294+ * Updated README and man pages. Acknowledge contributors in README.
295+ Added paragraph to README about producing S5 with separate CSS/javascript.
296+
297+ * Updated INSTALL to reflect new build system (including configuration
298+ options) and document new dependencies. Added note to INSTALL that
299+ Cabal >= 1.2 is required for build. Resolves Issue #74.
300+
301+ * Fixed some haddock documentation errors.
302+
303+ * Small fix to markdown2pdf man page: only input needs to be piped through iconv.
15304
16305pandoc (0.46) unstable; urgency=low
17306
@@ -26,7 +315,7 @@ pandoc (0.46) unstable; urgency=low
26315 attributes will be removed. This option should be especially useful
27316 for those who want to use pandoc libraries in web applications, where
28317 users will provide the input.
29−
318+
30319 + Main.hs: Added --sanitize-html option.
31320
32321 + Text.Pandoc.Shared: Added stateSanitizeHTML to ParserState.
@@ -67,7 +356,7 @@ pandoc (0.46) unstable; urgency=low
67356 Resolves Issue #34.
68357
69358 + Disallowed links within links. (Resolves Issue #35.)
70− - Replaced inlinesInBalanced with inlinesInBalancedBrackets, which
359+ - Replaced inlinesInBalanced with inlinesInBalancedBrackets, which
71360 instead of hard-coding the inline parser takes an inline parser
72361 as a parameter.
73362 - Modified reference and inlineNote to use inlinesInBalancedBrackets.
@@ -77,7 +366,7 @@ pandoc (0.46) unstable; urgency=low
77366 - Added inlineParsers list and redefined inline and inlineNonLink parsers
78367 in terms of it.
79368 - Added failIfLink parser.
80−
369+
81370 + Better handling of parentheses in URLs and quotation marks in titles.
82371 - 'source' parser first tries to parse URL with balanced parentheses;
83372 if that doesn't work, it tries to parse everything beginning with
@@ -125,9 +414,9 @@ pandoc (0.46) unstable; urgency=low
125414 <div>
126415 the foo won't be treated as a code block, but in
127416 <div>
128−
417+
129418 foo
130−
419+
131420 </div>
132421 it will. This seems the right approach for least surprise.
133422
@@ -147,7 +436,7 @@ pandoc (0.46) unstable; urgency=low
147436 + Removed unnecessary check for following link in str.
148437 This is unnecessary now that link is above str in the definition of
149438 'inline'.
150−
439+
151440 * HTML reader:
152441
153442 + Modified rawHtmlBlock so it parses </html> and </body> tags.
@@ -197,7 +486,7 @@ pandoc (0.46) unstable; urgency=low
197486 + Use an interpreted text role to render math in restructuredText.
198487 See http://www.american.edu/econ/itex2mml/mathhack.rst for the
199488 strategy.
200−
489+
201490 [ Recai Oktaş ]
202491
203492 * Debian packaging changes:
@@ -258,7 +547,7 @@ pandoc (0.45) unstable; urgency=low
258547 math in HTML.
259548
260549 * HTML reader:
261−
550+
262551 + Fixed bug: parser for minimized attributes should not swallow
263552 trailing spaces.
264553 + Simplified HTML attribute parsing.
@@ -269,7 +558,7 @@ pandoc (0.45) unstable; urgency=low
269558 surrounded by <pre> now counts as inline HTML, not a code block.
270559 + Remove just one leading and one trailing newline from contents of
271560 <pre>...</pre> in codeBlock parser.
272−
561+
273562 * Markdown reader:
274563
275564 + Removed support for box-style block quotes.
@@ -288,13 +577,13 @@ pandoc (0.45) unstable; urgency=low
288577 Resolves Issue #27.
289578 + Allow field lists to be indented.
290579 + Parse the contents of field lists instead of treating as a raw string.
291− + Represent field lists as definition lists instead of blockquotes.
580+ + Represent field lists as definition lists instead of blockquotes.
292581 + Fixed bug in which metadata would be overridden if the document
293582 contained multiple field lists.
294583 + Parse fields associated with '.. image::' blocks, and use 'alt'
295− field, if given, for image alt and title attributes.
584+ field, if given, for image alt and title attributes.
296585
297− * LaTeX reader:
586+ * LaTeX reader:
298587
299588 + Modified specialChar so that '"' characters are parsed.
300589 + Fixed a bug in parsing of \[ \] math blocks (thanks to Mark Kalderon).
@@ -306,7 +595,7 @@ pandoc (0.45) unstable; urgency=low
306595 no headers. (This would be an empty list, which is invalid XHTML.)
307596
308597 * Markdown writer:
309−
598+
310599 + Don't print title attribute if title is empty. (This differs from
311600 the behavior of Markdown.pl, and agrees with PHP Markdown. But John
312601 Gruber has indicated that he prefers this behavior.) Adjusted test
@@ -317,18 +606,18 @@ pandoc (0.45) unstable; urgency=low
317606 a marker greater than 3 characters in width, and the item took more
318607 than one line, it would appear on the line after the list marker,
319608 e.g.:
320−
609+
321610 (12)
322611 My list item.
323612 Multiline.
324−
613+
325614 Now it works as follows:
326−
615+
327616 (12) My list item.
328617 Multiline.
329−
618+
330619 * RST writer
331−
620+
332621 + Fixed bug in RST writer's handling of ordered lists. Previously,
333622 list items with multiple lines would not always line up with
334623 single-line list items. Now, list items are nested the length of
@@ -371,7 +660,7 @@ pandoc (0.45) unstable; urgency=low
371660 the appropriate scheme can be used.
372661 + Changed \useurl to \useURL.
373662 + Changed link color from red to blue.
374− + Use \subsubsubsubsection etc., since these are supported
663+ + Use \subsubsubsubsection etc., since these are supported
375664 (up to at least sub x 5).
376665
377666 * Text.Pandoc.Shared:
@@ -433,14 +722,14 @@ pandoc (0.45) unstable; urgency=low
433722 pandoc.cabal.orig but otherwise unmodified. This way, the Makefile
434723 will work properly with either GHC 6.6 or 6.8.
435724 + Changed BUILDCONF to point to dist/setup-config, not .setup-config.
436− This is where current versions of Cabal put it.
725+ This is where current versions of Cabal put it.
437726 + Added $(BUILDCMD) target, so setup doesn't get compiled every time.
438727 + Removed dependency of templates on ./templates, which is circular
439728 now that templates is a subdirectory of the top-level.
440729
441730 * MacPorts Portfile:
442731
443− + Modified to install the pandoc library in addition to programs.
732+ + Modified to install the pandoc library in addition to programs.
444733 + Installation must be done manually rather than using Makefile's
445734 install-all.
446735 + Note that the library must be registered in the activate phase,
@@ -508,7 +797,7 @@ pandoc (0.43) unstable; urgency=low
508797
509798 * The focus of this release is performance. The markdown parser
510799 is about five times faster than in 0.42, based on benchmarks
511− with the TextMate manual.
800+ with the TextMate manual.
512801
513802 * Main.hs: Replaced CRFilter and tabFilter with single function
514803 tabFilter, which operates on the whole string rather than breaking
@@ -667,7 +956,7 @@ pandoc (0.42) unstable; urgency=low
667956 + Removed check for a following setext header in endline.
668957 A full test is too inefficient (doubles benchmark time), and the
669958 substitute we had before is not 100% accurate.
670− + Don't use Code elements for autolinks if --strict specified.
959+ + Don't use Code elements for autolinks if --strict specified.
671960
672961 * LaTeX writer: When a footnote ends with a Verbatim environment, the
673962 close } of the footnote cannot occur on the same line or an error occurs.
@@ -750,7 +1039,7 @@ pandoc (0.4) unstable; urgency=low
7501039 list number style, list number delimiter, and starting number.
7511040 + The readers parse this information when possible.
7521041 + The writers use this information to style ordered lists.
753− + The enhancement can be disabled using the --strict option.
1042+ + The enhancement can be disabled using the --strict option.
7541043
7551044 * Added support for tables (with a new Table block element). Two kinds
7561045 of tables are supported: a simple table with one-line rows, and a
@@ -811,7 +1100,7 @@ pandoc (0.4) unstable; urgency=low
8111100 is now the only module that uses them. NoteTable is now exported
8121101 in Text.Pandoc.Shared.
8131102 + Added stateKeys and stateNotes to ParserState; removed stateKeyBlocks,
814− stateKeysUsed, stateNoteBlocks, stateNoteIdentifiers, stateInlineLinks.
1103+ stateKeysUsed, stateNoteBlocks, stateNoteIdentifiers, stateInlineLinks.
8151104 + Added writerNotes and writerReferenceLinks to WriterOptions.
8161105
8171106 * Added Text.Pandoc module that exports basic readers, writers,
@@ -849,7 +1138,7 @@ pandoc (0.4) unstable; urgency=low
8491138 * Changed handling of XML entities. Entities are now parsed (and unicode
8501139 characters returned) in the Markdown and HTML readers, rather than being
8511140 handled in the writers. In HTML and Docbook writers, UTF-8 is now used
852− instead of entities for characters above 128. This makes the HTML and
1141+ instead of entities for characters above 128. This makes the HTML and
8531142 DocBook output much more readable and more easily editable.
8541143
8551144 + Removed sgmlHexEntity, sgmlDecimalEntity, sgmlNamedEntity, and
@@ -858,16 +1147,16 @@ pandoc (0.4) unstable; urgency=low
8581147 Moved both functions to Text.Pandoc.Writers.Docbook.
8591148 + Added characterReference parser to Text.Pandoc.CharacterReferences.
8601149 This parses a string and return a unicode character.
861− + Rewrote decodeCharacterReferences to use the new parser instead of
1150+ + Rewrote decodeCharacterReferences to use the new parser instead of
8621151 Text.Regex.
8631152 + Added new charRef parser for Markdown and HTML, which replaces the
8641153 old 'entity' parser. Added '&' as a special character in Markdown reader.
8651154 + Modified HTML and Markdown readers to call decodeEntities on all raw
866− strings (e.g. authors, dates, link titles), to ensure that no
1155+ strings (e.g. authors, dates, link titles), to ensure that no
8671156 unprocessed entities are included in the native representation of
868− the document. (In the HTML reader, most of this work is done by a
1157+ the document. (In the HTML reader, most of this work is done by a
8691158 change in extractAttributeName.)
870− + In XML and Markdown output, escape unicode nonbreaking space as ' ',
1159+ + In XML and Markdown output, escape unicode nonbreaking space as ' ',
8711160 since a unicode non-breaking space is impossible to distinguish visually
8721161 from a regular space. (Resolves Issue #3.)
8731162 + Removed encodeEntitiesNumerical.
@@ -915,10 +1204,10 @@ pandoc (0.4) unstable; urgency=low
9151204 may cause documents to be parsed differently. Users should take
9161205 care in upgrading.
9171206 + Changed autoLink parsing to conform better to Markdown.pl's
918− behavior. <google.com> is not treated as a link, but
1207+ behavior. <google.com> is not treated as a link, but
9191208 <http://google.com>, <ftp://google.com>, and <mailto:google@google.com>
9201209 are.
921− + Cleaned up handling of embedded quotes in link titles. Now these are
1210+ + Cleaned up handling of embedded quotes in link titles. Now these are
9221211 stored as a '"' character, not as '"'.
9231212 + Use lookAhead parser for the 'first pass' (looking for reference keys),
9241213 instead of parsing normally, then using setInput to reset input. This
@@ -931,7 +1220,7 @@ pandoc (0.4) unstable; urgency=low
9311220 lines in links and reference keys. They can be on separate lines but
9321221 can't have blank lines between them.
9331222 + Correctly handle bracketed text inside inline footnotes and links,using
934− new function inlinesInBalanced. Resolves Issue #14.
1223+ new function inlinesInBalanced. Resolves Issue #14.
9351224 + Fixed bug in footnotes: links in footnotes were not being
9361225 processed. Solution: three-stage parse. First, get all the
9371226 reference keys and add information to state. Next, get all the
@@ -947,7 +1236,7 @@ pandoc (0.4) unstable; urgency=low
9471236 + Added 'try' in front of 'string', where needed, or used a different
9481237 parser. This fixes a bug where ````` would not be correctly parsed as
9491238 a verbatim `.
950− + Fixed slow performance in parsing inline literals in RST reader. The
1239+ + Fixed slow performance in parsing inline literals in RST reader. The
9511240 problem was that ``#`` was seen by 'inline' as a potential link or image.
9521241 Fix: inserted 'notFollowedBy (char '`')' in link parsers.
9531242 Resolves Issue #8.
@@ -974,7 +1263,7 @@ pandoc (0.4) unstable; urgency=low
9741263 other projects, like wikis, which use Text.XHtml. Two functions are
9751264 now provided, writeHtml and writeHtmlString: the former outputs an
9761265 Html structure, the latter a rendered string. The S5 writer is also
977− changed, in parallel ways (writeS5, writeS5String).
1266+ changed, in parallel ways (writeS5, writeS5String).
9781267 + The Html header is now written programmatically, so it has been
9791268 removed from the 'headers' directory. The S5 header is still
9801269 needed, but the doctype and some of the meta declarations have
@@ -1013,7 +1302,7 @@ pandoc (0.4) unstable; urgency=low
10131302 + Links in markdown output are now printed as inline links by default,
10141303 rather than reference links. A --reference-links option has been added
10151304 that forces links to be printed as reference links. Resolves Issue #4.
1016− + Use autolinks when possible. Instead of [site.com](site.com),
1305+ + Use autolinks when possible. Instead of [site.com](site.com),
10171306 use <site.com>.
10181307
10191308 * LaTeX writer:
@@ -1051,7 +1340,7 @@ pandoc (0.4) unstable; urgency=low
10511340 for processing header blocks for a table of contents, since notes on
10521341 headers should not appear in the TOC.
10531342 + Added prettyprinting for native Table format.
1054− + Removed some unneeded imports.
1343+ + Removed some unneeded imports.
10551344 + Moved escape and nullBlock parsers from
10561345 Text.ParserCombinators.Pandoc, since the latter is for
10571346 general-purpose parsers that don't depend on Text.Pandoc.Definition.
@@ -1075,8 +1364,8 @@ pandoc (0.4) unstable; urgency=low
10751364 string "", but it should fail on an empty string, or we get an error
10761365 when it is used inside "many" combinators.
10771366 + Removed followedBy' parser, replacing it with the lookAhead parser from
1078− Parsec.
1079− + Added some needed 'try's before multicharacter parsers, especially in
1367+ Parsec.
1368+ + Added some needed 'try's before multicharacter parsers, especially in
10801369 'option' contexts.
10811370 + Removed the 'try' from the 'end' parser in 'enclosed', so that
10821371 'enclosed' behaves like 'option', 'manyTill', etc.
@@ -1093,18 +1382,18 @@ pandoc (0.4) unstable; urgency=low
10931382 + Fixed bug in normalizeSpaces: Space:Str "":Space should compress to
10941383 Space.
10951384
1096− * Refactored runtests.pl; added separate tests for tables.
1385+ * Refactored runtests.pl; added separate tests for tables.
10971386
10981387 * Shell scripts:
10991388
11001389 + Added -asxhtml flag to tidy in html2markdown. This will
11011390 perhaps help the parser, which expects closing tags.
11021391 + Modified markdown2pdf to run pdflatex a second time if --toc or
1103− --table-of-contents was specified; otherwise the table of
1392+ --table-of-contents was specified; otherwise the table of
11041393 contents won't appear.
11051394 + Modified markdown2pdf to print a helpful message if the 'ulem'
11061395 LaTeX package is required and not found.
1107−
1396+
11081397 * Changes to build process:
11091398
11101399 + Dropped support for compilation with GHC 6.4. GHC 6.6 or higher
@@ -1112,7 +1401,7 @@ pandoc (0.4) unstable; urgency=low
11121401 + Removed cabalize and Pandoc.cabal.in. The repository now contains
11131402 pandoc.cabal itself.
11141403 + Pandoc.cabal has been changed to pandoc.cabal, because HackageDB
1115− likes the cabal file to have the same name as the tarball.
1404+ likes the cabal file to have the same name as the tarball.
11161405 + Expanded and revised the package description in pandoc.cabal.
11171406 Revised the package synopsis.
11181407 + The tarball built by 'make tarball' now contains files built from
@@ -1129,7 +1418,7 @@ pandoc (0.4) unstable; urgency=low
11291418
11301419 + Updated README and man pages with information on new features.
11311420 + Updated INSTALL instructions with some useful clarifications and
1132− links.
1421+ links.
11331422 + Updated web content.
11341423
11351424 * Added FreeBSD port.
@@ -1243,7 +1532,7 @@ pandoc (0.3) unstable; urgency=low
12431532
12441533 * Minor improvements to LaTeX reader:
12451534
1246− + '\thanks' now treated like a footnote.
1535+ + '\thanks' now treated like a footnote.
12471536 + Simplified parsing of LaTeX command arguments and options.
12481537 commandArgs now returns a list of arguments OR options (in
12491538 whatever order they appear). The brackets are included, and
@@ -1299,11 +1588,11 @@ pandoc (0.3) unstable; urgency=low
12991588 for Markdown.pl. hsmarkdown calls pandoc with the '--strict'
13001589 option and disables other options.
13011590
1302− * Added code to html2markdown that tries to determine the character
1591+ * Added code to html2markdown that tries to determine the character
13031592 encoding of an HTML file, by parsing the "Content-type" meta tag.
13041593
13051594 + If the encoding can't be determined, then if the content is local,
1306− the local encoding is used; if it comes from a URL, UTF-8 is used
1595+ the local encoding is used; if it comes from a URL, UTF-8 is used
13071596 by default.
13081597 + If input is from STDIN, don't try to determine character encoding.
13091598 + Encoding can be specified explicitly using '-e' option.
@@ -1316,7 +1605,7 @@ pandoc (0.3) unstable; urgency=low
13161605
13171606 * Code cleanup:
13181607
1319− + Renamed 'Text/Pandoc/HtmlEntities' module to
1608+ + Renamed 'Text/Pandoc/HtmlEntities' module to
13201609 'Text/Pandoc/Entities'. Also changed function names so as
13211610 not to be HTML-specific.
13221611 + Refactored SGML string escaping functions from HTML and Docbook
@@ -1357,7 +1646,7 @@ pandoc (0.3) unstable; urgency=low
13571646 * Refactored template processing (fillTemplates.pl).
13581647
13591648 * Modified wrapper scripts to make them more robust and portable.
1360− To avoid code duplication and ensure consistency, wrappers are
1649+ To avoid code duplication and ensure consistency, wrappers are
13611650 generated via a templating system from templates in src/wrappers.
13621651
13631652 + Wrappers now accept multiple filenames, when appropriate.
@@ -1376,6 +1665,6 @@ pandoc (0.2) unstable; urgency=low
13761665
13771666pandoc (0.1) unstable; urgency=low
13781667
1379− * Initial creation of debian package
1668+ * Initial creation of debian package
13801669
13811670 -- John MacFarlane <jgm@berkeley.edu> Mon, 14 Aug 2006 00:00:00 -0400