git.iko.soy/typeable/pandoc
on master help sign in
Updated changelog.
ab24871John MacFarlane
changelog+173−2
@@ -1,4 +1,33 @@
1−pandoc (1.10.1.1)
1+pandoc (1.11)
2+
3+ * Added `--number-offset` option and `writerNumberOffset` field
4+ in `WriterOptions`. The offset is a list of numbers (0 by default).
5+ These are added to the section, subsection, etc.
6+ numbers that would have been generated automatically. This
7+ can be used e.g. when generating separate web pages
8+ for each section of a document.
9+
10+ * `Text.Pandoc.Parsing` no longer exposed. (API change.)
11+
12+ * `Text.Pandoc.Shared`: Changed type of `Element`.
13+ `Sec` now includes a field for `Attr` rather than just `String`.
14+ (API change.)
15+
16+ * `Text.Pandoc.Parsing`: Allow `&` in emails (for entities).
17+ Added tests for entities in titles and links. Resolve entities.
18+ A markdown link `<http://g&ouml;ogle.com>` should
19+ be a link to http://göogle.com. Closes #723.
20+
21+ * `Text.Pandoc.Pretty`:
22+
23+ + Fixed `chomp` so it works inside `Prefixed` elements.
24+ + Changed `Show` instance so it is better for debugging.
25+
26+ * `Text.Pandoc.ImageSize`: Added `Pdf` to `ImageType`.
27+ So far we have no function to determine PDF's size.
28+
29+ * Added `markdown_github` as input format. This was an accidental
30+ omission in 1.10.
2
31
3 * Windows installer improvements:
32 * Windows installer improvements:
4
33
@@ -7,12 +36,16 @@ pandoc (1.10.1.1)
7 standard msi file.
36 standard msi file.
8 + The version number is now auto-detected, and need not be
37 + The version number is now auto-detected, and need not be
9 updated separately.
38 updated separately.
39+ + Thanks to Fyodor Sheremetyev for several improvements to
40+ the WiX installer.
10
41
11 * OSX installer improvements:
42 * OSX installer improvements:
12
43
13 + The package and pandoc executable are now signed with a
44 + The package and pandoc executable are now signed with a
14 certificate.
45 certificate.
15 + RTF version of license is used.
46 + RTF version of license is used.
47+ + Use full path for sysctl in `InstallationCheck` script (jonahbull).
48+ Closes #580.
16
49
17 * Converted COPYING to markdown.
50 * Converted COPYING to markdown.
18
51
@@ -26,7 +59,22 @@ pandoc (1.10.1.1)
26 for different output formats. Currently only works for input in
59 for different output formats. Currently only works for input in
27 markdown and LaTeX.
60 markdown and LaTeX.
28
61
62+ * Beamer template:
63+
29− * Beamer template: Fixed captions with longtable. Thanks to Joost Kremers.
64+ + Fixed captions with longtable. Thanks to Joost Kremers.
65+ + Provide `\Oldincludegraphics` as in LaTeX template.
66+ The template redefines `\includegraphics` to give special treatment
67+ for too-wide images. But this causes problems for literal uses
68+ of `\includegraphics`. This change allows authors to use
69+ `\Oldincludegraphics`, as in the latex template. (Benjamin Bannier)
70+
71+ * LaTeX template:
72+
73+ + Load microtype after fonts. Microtype needs to know
74+ what fonts are being used. Thanks to dfc for the patch.
75+ + Set `secnumdepth` to 5 if `--number-sections` specified.
76+ This yields behavior equivalent to the other writers, numbering
77+ level 4 and 5 headers too. Closes #753.
30
78
31 * `Text.Pandoc.Parsing`: Optimized `oneOfStringsCI`.
79 * `Text.Pandoc.Parsing`: Optimized `oneOfStringsCI`.
32 This dramatically reduces the speed penalty that comes from enabling the
80 This dramatically reduces the speed penalty that comes from enabling the
@@ -36,6 +84,129 @@ pandoc (1.10.1.1)
36
84
37 * HTML reader: Handle `<colgroup>` tag.
85 * HTML reader: Handle `<colgroup>` tag.
38
86
87+ * LaTeX reader:
88+
89+ + Parse `\hrule` as `HorizontalRule`. Closes #746.
90+ + Parse starred variants of `\section` etc. as headers with
91+ attribute `unnumbered`.
92+ + Read optional attributes in `lstlisting` environment.
93+ We convert these to pandoc standard names, e.g. `numberLines`
94+ for `numbers=left`, `startFrom=100` from `firstnumber=100`.
95+ Still need to add code to convert the language names.
96+
97+ * Markdown reader:
98+
99+ + Fixed bug parsing key/value attributes. Parsing failed if you
100+ had an unquoted attribute immediately before the final '}'.
101+ + Make backslash escape work in attributes.
102+ + Fix title block parsing. Now if `mmd_title_blocks` is specified,
103+ pandoc will parse a MMD title block if it sees one, even if
104+ `pandoc_title_blocks` is enabled.
105+ + Refactoring: `litChar` now includes entities, so we don't need
106+ to use `fromEntities` e.g. on titles.
107+ + Cleaned up attribute parsing code.
108+ + Allow spaces around borders in pipe tables. Closes #772.
109+ + Allow all punctuation in angle-bracket autolinks. Previously
110+ things like `----` were disallowed, because the uri parser
111+ treated them as trailing punctuation. Closes #768.
112+ + Make `implicit_header_references` work properly when
113+ headers are given explicit identifiers.
114+ + Check for tables before line blocks. Otherwise some pipe
115+ tables get treated as line blocks.
116+
117+ * HTML reader: Preserve all header attributes.
118+
119+ * Textile reader: Handle attributes on headers.
120+
121+ * LaTeX reader:
122+
123+ + Add `fig:` as title for images with captions.
124+ This is needed for them to be rendered as figures. Closes #766.
125+ + Don't emit empty paragraph. See #761.
126+ + Handle `\caption` for images in figures. Closes #766.
127+ + Parse `\section*`, etc. as unnumbered sections.
128+
129+ * HTML writer:
130+
131+ + Support header attributes. The attributes go on
132+ the enclosing `section` or `div` tag if `--section-divs` is specified.
133+ + Fixed a regression (only now noticed) in html+lhs output.
134+ Previously the bird tracks were being omitted.
135+ + Refactored adding attributes to html element.
136+
137+ * LaTeX writer:
138+
139+ + Omit lists with no items to avoid LaTeX errors.
140+ + Support line numbering with `--listings`.
141+ If `numberLines` class is present, we add `numbers=left`;
142+ if `startFrom` is present, we add `firstnumber=`.
143+ Partially addresses #763.
144+
145+ * ConTeXt writer:
146+
147+ + Removed `\placecontent`. This produced a duplicate toc,
148+ in conjunction with `\placelist`.
149+ + Now sensitive to `unnumbered` class in headers. In this case
150+ `\title`, `\subject` are used instead of `\chapter`, `\section`.
151+
152+ * Textile writer: Support header attributes.
153+
154+ * Markdown writer: Use grid tables when needed, and if enabled.
155+ Closes #740.
156+
157+ * Docx writer:
158+
159+ + Better treatment of display math. Display math inside a
160+ paragraph is now put in a separate paragraph, so it will render
161+ properly (centered and without extra blank lines around it).
162+ Partially addresses #742.
163+ + Content types and document rels xml files are now created from
164+ scratch, rather than being taken over from `reference.docx`.
165+ This fixes problems that arise when you edit the `reference.docx`
166+ with Word. Word tends to remove things from the `[Content_Types].xml`
167+ and `word/_rels/document.xml.rels` files that are needed (e.g.
168+ references to the `footnotes.xml` file and image default mime types).
169+ So we regenerate these completely rather than taking them from
170+ the `reference.docx`.
171+ + We also now encode mime types for each individual image rather
172+ than using defaults. This should allow us to handle a wider
173+ range of image types (including PDF). Closes #414.
174+ + Changed style names in `reference docx`.
175+ `FootnoteReference` -> `FootnoteRef`, `Hyperlink` -> `Link`.
176+ Why? Because the old names got changed by Word when the
177+ `reference.docx` was edited. I don't understand why, but this
178+ fixes things. Closes #414.
179+
180+ * EPUB writer:
181+
182+ + Improved behavior with `--number-sections`.
183+ Headers with "unnumbered" attribute are not numbered.
184+ (Nor do they cause an increment in running numbering.)
185+ Section numbers now work properly, even when there is
186+ material before the first numbered section.
187+ + Include HTML TOC, even in epub2.
188+ The TOC is included in `<spine>`, but `linear` is set
189+ to `no` unless the `--toc` option is specified.
190+ Include `<guide>` element in OPF. This should allow the TOC to
191+ be useable in Kindles when converted with kindlegen. Closes #773.
192+ + Minor section numbering tweaks:
193+ If we need to add an initial section, make it unnumbered.
194+ Don't add extra space before unnumbered section titles in TOC.
195+ + Fix section numbering. Previously the numbering restarted from 1
196+ in each chapter (with `--number-sections`), though the numbers in
197+ the table of contents were correct.
198+
199+ * `Text.Pandoc.Shared`: hierarchicalize will not number section
200+ with class "unnumbered". Unnumbered sections get [] for their
201+ section number.
202+
203+ * Headers with class `unnumbered` will not be numbered, even when
204+ `--number-sections` is specified.
205+
206+ * '-' in an attribute context = '.unnumbered'. The point of this
207+ is to provide a way to specify unnumbered headers in non-English
208+ documents:
209+
39pandoc (1.10.1)
210pandoc (1.10.1)
40
211
41 * Markdown reader: various optimizations, leading to a
212 * Markdown reader: various optimizations, leading to a