git.iko.soy/typeable/pandoc
on master help sign in
Updaet changelog.
ad2b442John MacFarlane
changelog.md+80−7
@@ -72,8 +72,15 @@
72
72
73 * Docx reader: Add handling of vml image objects (#7257, mbrackeantidot).
73 * Docx reader: Add handling of vml image objects (#7257, mbrackeantidot).
74
74
75+ * HTML reader:
76+
75− * HTML reader: Don't fail on unmatched closing "script" tag
77+ + Don't fail on unmatched closing "script" tag (Albert Krenkel, #7282).
76− (Albert Krenkel, #7282).
78+ + Keep h1 tags as normal headers (#2293, Albert Krewinkel).
79+ The tags `<title>` and `<h1 class="title">` often contain the same
80+ information, so the latter was dropped from the document. However, as
81+ this can lead to loss of information, the heading is now always
82+ retained. Use `--shift-heading-level-by=-1` to turn the `<h1>`
83+ into the document title, or a filter to restore the previous behavior.
77
84
78 * DocBook/JATS readers:
85 * DocBook/JATS readers:
79
86
@@ -90,6 +97,11 @@
90 + For beamer output, support `exampleblock` and `alertblock` (#7278).
97 + For beamer output, support `exampleblock` and `alertblock` (#7278).
91 A block will be rendered as an `exampleblock` if the heading
98 A block will be rendered as an `exampleblock` if the heading
92 has class `example` and an `alertblock` if it has class `alert`.
99 has class `example` and an `alertblock` if it has class `alert`.
100+ + Separate successive quote chars with thin space (#6958,
101+ Albert Krewinkel). Successive quote characters are separated with
102+ a thin space to improve readability and to prevent unwanted ligatures.
103+ Detection of these quotes sometimes had failed if the second quote
104+ was nested in a span element.
93
105
94 * EPUB Writer: Fix belongs-to-collection XML id choice (#7267, nuew).
106 * EPUB Writer: Fix belongs-to-collection XML id choice (#7267, nuew).
95 The epub writer previously used the same XML id for both the book
107 The epub writer previously used the same XML id for both the book
@@ -97,8 +109,23 @@
97
109
98 * BibTeX/BibLaTeX writer: Handle `annote` field (#7266).
110 * BibTeX/BibLaTeX writer: Handle `annote` field (#7266).
99
111
112+ * ConTeXt writer:
113+
100− * ConTeXt writer: support blank lines in line blocks (#6564,
114+ + Support blank lines in line blocks (#6564, Albert Krewinkel,
101− Albert Krewinkel, thanks to @denismaier).
115+ thanks to @denismaier).
116+ + Use span identifiers as reference anchors (#7246, Albert Krewinkel).
117+
118+ * HTML writer:
119+
120+ + Keep attributes from code nested below `pre` tag (#7221,
121+ Albert Krewinkel). If a code block is defined with `<pre><code
122+ class="language-x">…</code></pre>`, where the `<pre>` element has no
123+ attributes, then the attributes from the `<code>` element are used
124+ instead. Any leading `language-` prefix is dropped in the code's
125+ `class` attribute are dropped to improve syntax highlighting.
126+ + Ensure headings only have valid attribs in HTML4 (#5944, Albert
127+ Krewinkel).
128+ + Parse `<header>` as a Div (Albert Krewinkel).
102
129
103 * Org writer:
130 * Org writer:
104
131
@@ -146,6 +173,19 @@
146 sets `w:proofState` for spelling or grammar to `dirty`,
173 sets `w:proofState` for spelling or grammar to `dirty`,
147 so that spell/grammar checking will be triggered on the
174 so that spell/grammar checking will be triggered on the
148 generated docx.
175 generated docx.
176+ + Copy over more settings from reference.docx (#7240). From settings.xml
177+ in the reference-doc, we now include: `zoom`, `embedSystemFonts`,
178+ `doNotTrackMoves`, `defaultTabStop`, `drawingGridHorizontalSpacing`,
179+ `drawingGridVerticalSpacing`, `displayHorizontalDrawingGridEvery`,
180+ `displayVerticalDrawingGridEvery`, `characterSpacingControl`,
181+ `savePreviewPicture`, `mathPr`, `themeFontLang`, `decimalSymbol`,
182+ `listSeparator`, `autoHyphenation`, `compat`.
183+ + Set zoom to 100% by default in settings.xml.
184+ + Align math options more with current Word defaults (e.g.
185+ Cambria Math font).
186+ + Remove `rsid`s from default settings.xml. Word will add these
187+ when revisions are made.
188+
149
189
150 * Markdown writer:
190 * Markdown writer:
151
191
@@ -157,6 +197,9 @@
157 were needed. So we got spurious quotes in some cases and
197 were needed. So we got spurious quotes in some cases and
158 didn't get necessary quotes in others.
198 didn't get necessary quotes in others.
159 + Use `@{..}` syntax for citations when needed.
199 + Use `@{..}` syntax for citations when needed.
200+ + Use fewer unneeded escapes for `#` (see #6259).
201+ + Improve escaping of `@`. We need to escape literal `@` before
202+ `{` because of the new citation syntax.
160
203
161 * Commonmark writer: Use backslash escapes for `<` and `|`...
204 * Commonmark writer: Use backslash escapes for `<` and `|`...
162 instead of entities (#7208).
205 instead of entities (#7208).
@@ -172,12 +215,32 @@
172 + List of figures before list of tables (#7235, Julien Dutant).
215 + List of figures before list of tables (#7235, Julien Dutant).
173 + Move CSL macro definitions before header-includes so they can be
216 + Move CSL macro definitions before header-includes so they can be
174 overridden (#7286).
217 overridden (#7286).
218+ + Improve treatment of CSL `entry-spacing` (#7296).
219+ Previously with the default template settings (`indent` variable
220+ not set), we would get interparagraph spaces separating bib
221+ entries even with `entry-spacing="0"`. On the other hand,
222+ setting `entry-spacing="2"` gave ridiculously large spacing.
223+ This change makes the spacing caused by `entry-spacing` a multiple
224+ of `\parskip` by default, which gives aesthetically reasonable
225+ output. Those who want a larger or smaller unit (e.g. because
226+ they use `indent` which sets `\parskip` to 0) may
227+ `\setlength{\cslentryspacingunit}{10pt}` in header-includes
228+ to override the defaults.
229+ + Move title, author, date up to top of preamble (#7295).
230+ This allows header-includes to use them, and puts them
231+ in a position where you can see them immediately.
232+ + Define commands for zero width non-joiner character
233+ (#6639, Albert Krewinkel). The zero-width non-joiner character
234+ is used to avoid ligatures (e.g. in German).
175
235
176 * ConTeXt template: List of figures before list of tables (#7235,
236 * ConTeXt template: List of figures before list of tables (#7235,
177 Julien Dutant).
237 Julien Dutant).
178
238
179 * reveal.js template: Support `toc-title` (#7171, Florian Kohrt).
239 * reveal.js template: Support `toc-title` (#7171, Florian Kohrt).
180
240
241+ * HTML-based slide shows: add support for `institute` (#7289, Thomas
242+ Hodgson).
243+
181 * Text.Pandoc.XML.Light: add Eq, Ord instances for Content,
244 * Text.Pandoc.XML.Light: add Eq, Ord instances for Content,
182 Element, Attr, CDataKind [API change].
245 Element, Attr, CDataKind [API change].
183
246
@@ -200,8 +263,13 @@
200 syntax map, but that's okay in that context, since
263 syntax map, but that's okay in that context, since
201 `--syntax-definition` won't create new listings styles.
264 `--syntax-definition` won't create new listings styles.
202
265
266+ * Text.Pandoc.Citeproc:
267+
268+ + Ensure that CSL-related attributes are passed on to a Div
269+ with id 'refs'. Otherwise things like `entry-spacing`
270+ won't work when such Divs are used.
203− * Use metadata's `lang` for the lang parameter of citeproc, overriding
271+ + Use metadata's `lang` for the lang parameter of citeproc, overriding
204− `localeLanguage`.
272+ `localeLanguage`.
205
273
206 * Remove Text.Pandoc.BCP47 module [API change].
274 * Remove Text.Pandoc.BCP47 module [API change].
207 Use types and functions from UnicodeCollation.Lang instead.
275 Use types and functions from UnicodeCollation.Lang instead.
@@ -233,7 +301,12 @@
233
301
234 * Use latest xml-conduit.
302 * Use latest xml-conduit.
235
303
304+ * MANUAL:
305+
236− * MANUAL: Add information about `lang` and bibliography sorting.
306+ + Add information about `lang` and bibliography sorting.
307+ + Add info about YAML escape sequences, link to spec (#7152,
308+ Albert Krewinkel).
309+ + Note that `institute` variable works for HTML-based slides.
237
310
238 * Updated and fixed typos in documentation (Charanjit Singh,
311 * Updated and fixed typos in documentation (Charanjit Singh,
239 Anti-Distinctlyminty, Tatiana Porras, obcat).
312 Anti-Distinctlyminty, Tatiana Porras, obcat).