@@ -1,3 +1,490 @@
5+ * Added a Microsoft Word `docx` writer. The writer includes support
6+ for highlighted code and for math (which is converted from TeX to OMML,
7+ Office's native math markup language, using texmath's new OMML module).
8+ A new option `--reference-docx` allows the user to customize the
9+ styles in the standard `reference.docx`.
11+ * Added an `asciidoc` writer (<http://www.methods.co.nz/asciidoc/>).
13+ * Better support for slide shows:
15+ + Added a `dzslides` writer. DZSlides is a lightweight HTML5/javascript
16+ slide show format due to Paul Rouget (<http://paulrouget.com/dzslides/>).
18+ + Added a LaTeX `beamer` writer. Beamer is a LaTeX package for creating
21+ + New, flexible rules for dividing documents into sections and slides
22+ (see the "Structuring the slide show" in the User's Guide). These
23+ are backward-compatible with the old rules, but they allow slide
24+ shows to be organized into sections and subsections containing
27+ + Added a `--slide-level` option to override defaults and select a slide
28+ level below the first header level with content. Note that content
29+ in sections above the slide level will not appear in slides (either in
30+ beamer or in HTML slide shows). This is primarily useful for creating
31+ documents that can be made into both slides and handouts (which contain
32+ additional content outside the slides).
34+ * New `--self-contained` option tries to create HTML output that does not
35+ depend on an internet connection or the presence of any external
36+ files. Linked images, CSS, and javascript is downloaded and encoded in
37+ `data:` URIs. This is useful for making portable HTML slide shows. The
38+ `--offline` option has been deprecated and is now treated as a synonym or
41+ * Support for PDF output:
43+ + Removed the old `markdown2pdf`.
44+ + `pandoc` can now create PDFs (assuming you have latex and a set of
45+ appropriate packages installed): just specify an output file with the
47+ + A new option `--latex-engine` allows you to specify `pdflatex`,
48+ `xelatex`, or `lualatex` as the processor.
50+ * Highlighting changes:
52+ + Syntax highlighting is now a standard feature; pandoc no longer
53+ need be compiled with a `highlighting` flag to enable it.
54+ + A new `--no-highlight` option allows it to be selectively disabled.
55+ + Highlighting now works in `docx`, `latex`, and `epub`, as well as
56+ `html`, `html5`, `dzslides`, `s5`, and `slidy`.
57+ + A new `--highlight-style` option selects between various highlighting
60+ * Internal links to sections now work in ConTeXt and LaTeX as well as HTML
61+ (thanks to B. Scott Michel).
65+ + Internal and external links now work in EPUB.
66+ + Raw HTML is allowed.
67+ + New `--epub-embed-font` option.
68+ + Customizable templates for EPUB pages, giving more control over
69+ formatting: `epub-page.html`, `epub-coverimage.html`,
70+ `epub-titlepage.html`.
72+ * `--mathml` now works with DocBook as well as HTML.
74+ * Support for math in RST reader and writer. Inline math uses the
75+ `` :math:`...` `` construct. Display math uses
79+ or if the math is multiline,
85+ These constructions seem to be supported now by `rst2latex.py`.
87+ * Github syntax for fenced code blocks is now understood in pandoc's
88+ markdown. You can now write
100+ * Easier scripting: a new `ToJsonFilter` class makes it easier to
101+ write Haskell scripts to manipulate the Pandoc AST.
105+ * Fixed parsing of consecutive lists in markdown.
106+ Pandoc previously behaved like Markdown.pl for consecutive
107+ lists of different styles. Thus, the following would be parsed
108+ as a single ordered list, rather than an ordered list followed
109+ by an unordered list:
117+ This change makes pandoc behave more sensibly, parsing this as
118+ two lists. Any change in list type (ordered/unordered) or in
119+ list number style will trigger a new list. Thus, the following
120+ will also be parsed as two lists:
128+ Since we regard this as a bug in Markdown.pl, and not something
129+ anyone would ever rely on, we do not preserve the old behavior
130+ even when `--strict` is selected.
132+ * Allow links in markdown image captions. This change also means that
134+ [link with [link](/url)](/url)
138+ <p><a href="/url">link with link</a></p>
142+ <p><a href="/url">link with [link](/url)</a></p>
144+ * Improved handling of citations using `citeproc-hs-0.3.4`.
145+ Added `--citation-abbreviations` option (Andrea Rossato).
147+ * Disallow punctuation as the last letter of a citation key.
148+ This means that '@item1.' will be parsed as a citation, 'item1',
149+ followed by a period, instead of a citation 'item1.', as was the
152+ * In HTML output, citations are now put in a span with class `citation`.
154+ * The markdown reader now recognizes DocBook block and inline tags.
155+ It was always possible to include raw DocBook tags in a markdown
156+ document, but now pandoc will be able to distinguish block from
157+ inline tags and behave accordingly. Thus, for example,
163+ will not be wrapped in `<para>` tags.
165+ * Dashes work differently with `--smart`: `---` is always em-dash,
166+ and `--` is always en-dash. Pandoc no longer tries to guess when
167+ `-` should be en-dash. *Note:* This may change how existing documents
168+ look when processed with pandoc. A new option, `--old-dashes`,
169+ is provided for legacy documents.
171+ * `--smart` is no longer selected automatically with `man` output.
173+ * The deprecated `--xetex` option has been removed.
175+ * The `--html5`/`-5` option has been deprecated. Use `-t html5`
176+ instead. `html5` and `html5+lhs` are now separate output formats.
178+ * `'` is no longer escaped in HTML output. It does not need to be
179+ escaped outside of attributes.
181+ * The `--ascii` option has been removed, because of differences
182+ in blaze-html's and xhtml's escaping.
184+ * Pandoc will no longer transform leading newlines in code
185+ blocks to `<br/>` tags.
187+ * The ODT writer now sizes images appropriately, using the image
188+ size and DPI information embedded in the image.
190+ * `--standalone` is once again implicitly for a non-text output format
191+ (ODT, EPUB). You can again do `pandoc test.txt -o test.odt`
192+ and get a standalone ODT file.
194+ * The Docbook writer now uses `<sect1>`, `<sect2>`, etc. instead of
197+ * The HTML writer now uses `<del>` for strikeout.
199+ * In HTML output with `--section-divs`, the classes `section` and
200+ `level[1,2,..6]` are put on the `div` tags so they can be styled.
201+ In HTML 5 output with `--section-divs`, the classes
202+ `level[1,2,...6]` are put on `section` tags.
204+ * EPUB writer changes:
206+ + The `lang` variable now sets the language
207+ in the metadata (if it is not set, we default to the locale
209+ + EPUB: UTF-8 is used rather than decimal entities.
211+ * Added `titleslide` class to title slide in S5 template.
213+ * In HTML, EPUB, and docx metadata, the date is normalized into
214+ YYYY-MM-DD format if possible. (This is required for validation.)
216+ * Attributes in highlighted code blocks are now preserved in HTML.
217+ The container element will have the classes, id, and key-value attributes
218+ you specified in the delimited code block. Previously these were stripped
221+ * The reference backlink in the HTML writer no longer has a special
222+ `footnoteBacklink` class.
224+ * The HTML template has been split into `html` and `html5` templates.
226+ * Author and date are treated more consistently in HTML templates.
227+ Authors are now `<h2>`, date `<h3>`.
229+ * URLs are hyphenated in the ConTeXt writer (B. Scott Michel).
231+ * The markdown writer now uses setext headers for levels 1-2.
232+ The old behavior (ATX headers for all levels) can be restored
233+ using the new `--atx-headers` option.
237+ * Better support for combining characters and East Asian wide characters
238+ in markdown and reST.
240+ * Better handling of single quotes with `--smart`.
241+ Previously `D'oh l'*aide*` would be parsed with left and right single
242+ quotes instead of apostrophes. This kind of error is now fixed.
244+ * Highlighting: Use `reads` instead of `read` for better error handling.
245+ Fixes crash on `startNum="abc"`.
247+ * Added blank comment after directives in rst template.
249+ * Unescape entities in citation `refId`. The `refId`s coming
250+ from citeproc contain XML numeric entities, and these don't match with the
251+ citation keys parsed by pandoc. Solution is to unescape them.
253+ * HTML reader: Fixed bug parsing tables with both thead and tbody.
257+ + Better handling of escapes in link URLs and titles.
258+ + Fixed backslash escapes in reference links.
259+ + Fixed bug in table/hrule parsing, by checking that the top
260+ line of a table is not followed by a blank line. This bug caused
261+ slowdowns on some files with hrules and tables, as pandoc tried to
262+ interpret the hrules as the tops of multiline tables.
263+ + Fixed bug in code block attribute parser. Previously the ID attribute
264+ got lost if it didn't come first. Now attributes can come in any order.
266+ * RST reader: allow footnotes followed by newline without space chars
267+ (patch from Masayoshi Takahashi).
271+ + Ignore empty groups {}, { }.
272+ + LaTeX reader: Handle \@.
273+ + LaTeX reader: Don't crash on commands like `\itemsep`.
274+ + LaTeX reader: Better handling of letter environments.
276+ * RST writer: Fixed bug involving empty table cells. isSimple was being
277+ calculated in a way that assumed there were no non-empty cells.
281+ + Made `--toc` work even without `--number-sections`.
282+ + Escape # in link URLs.
283+ + Use buffering for footnotes containing code blocks.
284+ + Changed 'descr' to 'description', fixed alignment.
288+ + Escape euro character.
289+ + Don't escape ~ inside href{...}.
290+ + Escape # in href URLs.
291+ + Improved detection of book classes. We now check the
292+ `documentclass` variable, and if that is not set, we look through
293+ the template itself. Also, we have added the KOMA classes scrreprt
294+ and scrbook. You can now make a book using
295+ `pandoc -V documentclass:book mybook.txt -o mybook.pdf`
296+ + LHS files now set the "listings" variable, so that the definition
297+ of the `code` environment will be included in the template.
298+ + Links are colored blue by default (this can be changed by
299+ modifying `hyperref` settings in the template).
300+ + Added `lang` variable to LaTeX template.
304+ + Fixed bug in HTML template with html5 and mathml.
305+ + Don't use self-closing img, br, hr tags for HTML5.
306+ + Use `<section>` for footnotes if HTML5.
307+ + Update HTML templates to use Content-Style-Type meta tag.
308+ + Use separate variables for meta-date, meta-author.
309+ This makes footnotes work in author and date fields.
310+ + Use 'vertical-align:middle' in WebTeX math for better alignment.
312+ * S5/slidy writer: Make footnotes appear on separate slide at end.
314+ * MIME: Added 'layout-cache' to getMimeType. This ensures that the
315+ META-INF/manifest.xml for ODT files will have everything it needs, so
316+ that ODT files modified by LibreOffice can be used as `--reference-odt`.
318+ * Templates: Return empty string for json template.
320+ * `Text.Pandoc.Biblio`:
322+ + Expand citations recursively inside nested inlines.
323+ + Treat \160 as space when parsing locator and suffix.
324+ This fixes a bug with "p. 33" when `--smart` is used. Previously
325+ the whole "p. 33" would be included in the suffix, with no locator.
326+ + Put whole author-in-text citation in a Cite. Previously just the
327+ date and other info went in the Cite.
328+ + Don't add comma+space to prefix if it ends in punctuation.
331+ * Updated chicago-author-date.csl. The old version did not work
332+ properly for edited volumes with no author.
336+ + Add date to EPUB titlepage and metadata.
337+ + Added TOC identifier in EPUB page template.
338+ + Don't generate superfluous file `cover-image.jpg`.
340+ [under the hood improvements]
342+ * Modified make_osx_package.sh to use cabal-dev.
344+ * Modified windows installer generater to use cabal-dev.
346+ * Fixed make_osx_package.sh. Items no longer installed as root.
347+ Man page zipped and given proper permissions.
349+ * Setup: Making man pages now works with cabal-dev. In Setup.hs we now
350+ invoke 'runghc' in a way that points it to the correct package databases,
351+ instead of always falling back to the default user package db. (Thanks to
354+ * Updated to work with GHC 7.4 (Antoine Latter).
356+ * Removed dependency on old-time.
358+ * DZSlides: Added dzslides/template.html. This is the unaltered file from
359+ the dzslides repository. Pandoc now reads it, looking for the core part,
360+ and includes this in the new dzslides template via the 'dzslides-core'
361+ variable. When dzslides is updated, you can just put the new template.html
362+ in your `~/.pandoc/dzslides` directory, and things should work -- provided
363+ the core part can be identified as everything from
365+ <!-- {{{{ dzslides core
367+ to the end of the file. This should make it a bit easier to keep up
370+ * New slidy directory for "self-contained."
372+ * LaTeX parser completely rewritten; it is now much more accurate,
373+ robust, and extensible.
375+ * Simplified `Text.Pandoc.Biblio`, removed `procInlines`, used
378+ * TeXMath writer: Use unicode thin spaces for thin spaces.
379+ Partially resolves issue #333.
381+ * Markdown citations: don't strip off initial space in locator.
385+ * Removed `Apostrophe`, `EmDash`, `EnDash`, and `Ellipses`
386+ from the native `Inline` type in pandoc-types. Now we use `Str`
387+ elements with unicode.
389+ * Improvements to `Text.Pandoc.Builder`:
391+ + `Inlines` and `Blocks` are now newtypes (not synonyms for
393+ + Instances are defined for `IsString`, `Show`, `Read`, `Monoid`,
394+ and a new `Listable` class, which allows these to be manipulated
395+ to some extent like lists. Monoid append includes automatic
397+ + `+++` has been replaced by `<>` (mappend).
399+ * Use blaze-html instead of xhtml for HTML generation.
400+ This changes the type of `writeHtml`.
402+ * `Text.Pandoc.Shared`:
404+ + Added `warn` and `err`.
405+ + Removed `unescapeURI`, modified `escapeURI`.
406+ (See under [behavior changes], above.)
408+ * Changes in URI escaping: Previously the readers escaped URIs by
409+ converting unicode characters to octets and then percent encoding.
410+ Now unicode characters are left as they are, and `escapeURI` only
411+ percent-encodes space characters. This gives more readable
412+ URIs, and works well with modern user agents. URIs are no longer unescaped
413+ at all on conversion to `markdown`, `asciidoc`, `rst`, `org`.
415+ * New module `Text.Pandoc.SelfContained`.
417+ * New module `Text.Pandoc.Docx`.
419+ * New module `Text.Pandoc.PDF`.
421+ * Added `writerBeamer` to `WriterOptions`.
423+ * Added `normalizeDate` to `Text.Pandoc.Shared`.
425+ * Added `splitStringWithIndices` in `Text.Pandoc.Shared`.
426+ This is like `splitWithIndices`, but it is sensitive to distinctions
427+ between wide, combining, and regular characters.
429+ * `Text.Pandoc.Pretty`:
431+ + Added `chomp` combinator.
432+ + Added `beforeNonBreak` combinator. This allows you to include
433+ something conditionally on it being before a nonblank.
434+ Used for RST inline math.
435+ + Added `charWidth` function. All characters marked W or F in the unicode
436+ spec EastAsianWidth.txt get width 2.
437+ + Added `realLength`, based on `charWidth`. `realLength` is now
438+ used in calculating offsets.
440+ * New module `Text.Pandoc.Slides`, for common functions for breaking
441+ a document into slides.
443+ * Removed `Text.Pandoc.S5`, which is no longer needed.
445+ * Added `Text.Pandoc.ImageSize`. This is intened for use
446+ in `docx` and `odt` writers, so the size and dpi of images
449+ * Removed `writerAscii` in `WriterOptions`.
451+ * Added `writerHighlight` to `WriterOptions`.
453+ * Added `DZSlides` to `HTMLSlideVariant`.
455+ * `writeEPUB` has a new argument for font files to embed.
457+ * Added `stateLastStrPos` to `ParserState`. This lets us keep track
458+ of whether we're parsing the position immediately after a regular
459+ (non-space, non-symbol) string, which is useful for distinguishing
460+ apostrophes from single quote starts.
462+ * `Text.Pandoc.Parsing`:
464+ + `escaped` now returns a `Char`.
465+ + Removed `charsInBalanced'`, added a character parser as
466+ a parameter of `charsInBalanced`. This is needed for
467+ proper handling of escapes, etc.
470+ * Added `toEntities` to `Text.Pandoc.XML`.
472+ * `Text.Pandoc.Readers.LaTeX`:
474+ + Export `handleIncludes`.
475+ + Export `rawLaTeXBlock` instead of `rawLaTeXEnvironment'`.
477+ * Added `ToJsonFilter` class and `toJsonFilter` function to
478+ `Text.Pandoc`, deprecating the old `jsonFilter` function.
480+ * `Text.Pandoc.Highlighting`:
482+ + Removed `highlightHtml`, `defaultHighlightingCss`.
483+ + Export `formatLaTeXInline`, `formatLaTeXBlock`, and `highlight`, plus
484+ key functions from highlighting-kate.
485+ + Changed types of highlighting function. `highlight` returns a
486+ `Maybe`, not an `Either`.
1pandoc (1.8.2.1)
488pandoc (1.8.2.1)
3 * Relaxed cabal consntraints for test-framework (S. Trofimovich).
490 * Relaxed cabal consntraints for test-framework (S. Trofimovich).