diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-03-04 10:02:28 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-03-04 10:02:28 -0800 |
commit | ab24871cc057862611edfc1bf4262921715f78c0 (patch) | |
tree | 5f59f6569f831a9395656f8620b4544476cc97a2 | |
parent | 3692e371a75483398b6844cb289b09f311b4c2c1 (diff) | |
download | pandoc-ab24871cc057862611edfc1bf4262921715f78c0.tar.gz |
Updated changelog.
It still needs a lot of cleaning up before a release.
-rw-r--r-- | changelog | 175 |
1 files changed, 173 insertions, 2 deletions
@@ -1,4 +1,33 @@ -pandoc (1.10.1.1) +pandoc (1.11) + + * Added `--number-offset` option and `writerNumberOffset` field + in `WriterOptions`. The offset is a list of numbers (0 by default). + These are added to the section, subsection, etc. + numbers that would have been generated automatically. This + can be used e.g. when generating separate web pages + for each section of a document. + + * `Text.Pandoc.Parsing` no longer exposed. (API change.) + + * `Text.Pandoc.Shared`: Changed type of `Element`. + `Sec` now includes a field for `Attr` rather than just `String`. + (API change.) + + * `Text.Pandoc.Parsing`: Allow `&` in emails (for entities). + Added tests for entities in titles and links. Resolve entities. + A markdown link `<http://göogle.com>` should + be a link to http://göogle.com. Closes #723. + + * `Text.Pandoc.Pretty`: + + + Fixed `chomp` so it works inside `Prefixed` elements. + + Changed `Show` instance so it is better for debugging. + + * `Text.Pandoc.ImageSize`: Added `Pdf` to `ImageType`. + So far we have no function to determine PDF's size. + + * Added `markdown_github` as input format. This was an accidental + omission in 1.10. * Windows installer improvements: @@ -7,12 +36,16 @@ pandoc (1.10.1.1) standard msi file. + The version number is now auto-detected, and need not be updated separately. + + Thanks to Fyodor Sheremetyev for several improvements to + the WiX installer. * OSX installer improvements: + The package and pandoc executable are now signed with a certificate. + RTF version of license is used. + + Use full path for sysctl in `InstallationCheck` script (jonahbull). + Closes #580. * Converted COPYING to markdown. @@ -26,7 +59,22 @@ pandoc (1.10.1.1) for different output formats. Currently only works for input in markdown and LaTeX. - * Beamer template: Fixed captions with longtable. Thanks to Joost Kremers. + * Beamer template: + + + Fixed captions with longtable. Thanks to Joost Kremers. + + Provide `\Oldincludegraphics` as in LaTeX template. + The template redefines `\includegraphics` to give special treatment + for too-wide images. But this causes problems for literal uses + of `\includegraphics`. This change allows authors to use + `\Oldincludegraphics`, as in the latex template. (Benjamin Bannier) + + * LaTeX template: + + + Load microtype after fonts. Microtype needs to know + what fonts are being used. Thanks to dfc for the patch. + + Set `secnumdepth` to 5 if `--number-sections` specified. + This yields behavior equivalent to the other writers, numbering + level 4 and 5 headers too. Closes #753. * `Text.Pandoc.Parsing`: Optimized `oneOfStringsCI`. This dramatically reduces the speed penalty that comes from enabling the @@ -36,6 +84,129 @@ pandoc (1.10.1.1) * HTML reader: Handle `<colgroup>` tag. + * LaTeX reader: + + + Parse `\hrule` as `HorizontalRule`. Closes #746. + + Parse starred variants of `\section` etc. as headers with + attribute `unnumbered`. + + Read optional attributes in `lstlisting` environment. + We convert these to pandoc standard names, e.g. `numberLines` + for `numbers=left`, `startFrom=100` from `firstnumber=100`. + Still need to add code to convert the language names. + + * Markdown reader: + + + Fixed bug parsing key/value attributes. Parsing failed if you + had an unquoted attribute immediately before the final '}'. + + Make backslash escape work in attributes. + + Fix title block parsing. Now if `mmd_title_blocks` is specified, + pandoc will parse a MMD title block if it sees one, even if + `pandoc_title_blocks` is enabled. + + Refactoring: `litChar` now includes entities, so we don't need + to use `fromEntities` e.g. on titles. + + Cleaned up attribute parsing code. + + Allow spaces around borders in pipe tables. Closes #772. + + Allow all punctuation in angle-bracket autolinks. Previously + things like `----` were disallowed, because the uri parser + treated them as trailing punctuation. Closes #768. + + Make `implicit_header_references` work properly when + headers are given explicit identifiers. + + Check for tables before line blocks. Otherwise some pipe + tables get treated as line blocks. + + * HTML reader: Preserve all header attributes. + + * Textile reader: Handle attributes on headers. + + * LaTeX reader: + + + Add `fig:` as title for images with captions. + This is needed for them to be rendered as figures. Closes #766. + + Don't emit empty paragraph. See #761. + + Handle `\caption` for images in figures. Closes #766. + + Parse `\section*`, etc. as unnumbered sections. + + * HTML writer: + + + Support header attributes. The attributes go on + the enclosing `section` or `div` tag if `--section-divs` is specified. + + Fixed a regression (only now noticed) in html+lhs output. + Previously the bird tracks were being omitted. + + Refactored adding attributes to html element. + + * LaTeX writer: + + + Omit lists with no items to avoid LaTeX errors. + + Support line numbering with `--listings`. + If `numberLines` class is present, we add `numbers=left`; + if `startFrom` is present, we add `firstnumber=`. + Partially addresses #763. + + * ConTeXt writer: + + + Removed `\placecontent`. This produced a duplicate toc, + in conjunction with `\placelist`. + + Now sensitive to `unnumbered` class in headers. In this case + `\title`, `\subject` are used instead of `\chapter`, `\section`. + + * Textile writer: Support header attributes. + + * Markdown writer: Use grid tables when needed, and if enabled. + Closes #740. + + * Docx writer: + + + Better treatment of display math. Display math inside a + paragraph is now put in a separate paragraph, so it will render + properly (centered and without extra blank lines around it). + Partially addresses #742. + + Content types and document rels xml files are now created from + scratch, rather than being taken over from `reference.docx`. + This fixes problems that arise when you edit the `reference.docx` + with Word. Word tends to remove things from the `[Content_Types].xml` + and `word/_rels/document.xml.rels` files that are needed (e.g. + references to the `footnotes.xml` file and image default mime types). + So we regenerate these completely rather than taking them from + the `reference.docx`. + + We also now encode mime types for each individual image rather + than using defaults. This should allow us to handle a wider + range of image types (including PDF). Closes #414. + + Changed style names in `reference docx`. + `FootnoteReference` -> `FootnoteRef`, `Hyperlink` -> `Link`. + Why? Because the old names got changed by Word when the + `reference.docx` was edited. I don't understand why, but this + fixes things. Closes #414. + + * EPUB writer: + + + Improved behavior with `--number-sections`. + Headers with "unnumbered" attribute are not numbered. + (Nor do they cause an increment in running numbering.) + Section numbers now work properly, even when there is + material before the first numbered section. + + Include HTML TOC, even in epub2. + The TOC is included in `<spine>`, but `linear` is set + to `no` unless the `--toc` option is specified. + Include `<guide>` element in OPF. This should allow the TOC to + be useable in Kindles when converted with kindlegen. Closes #773. + + Minor section numbering tweaks: + If we need to add an initial section, make it unnumbered. + Don't add extra space before unnumbered section titles in TOC. + + Fix section numbering. Previously the numbering restarted from 1 + in each chapter (with `--number-sections`), though the numbers in + the table of contents were correct. + + * `Text.Pandoc.Shared`: hierarchicalize will not number section + with class "unnumbered". Unnumbered sections get [] for their + section number. + + * Headers with class `unnumbered` will not be numbered, even when + `--number-sections` is specified. + + * '-' in an attribute context = '.unnumbered'. The point of this + is to provide a way to specify unnumbered headers in non-English + documents: + pandoc (1.10.1) * Markdown reader: various optimizations, leading to a |