git.iko.soy/typeable/pandoc
on master help sign in
Updaet changelog.
commitad2b4423ef350b7b8eaed67edcf500b58a487529 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 18 May 2021, 22:14 (5 years ago) parenteb3dff1
1 file changed+80−7
changelog.md+80−7
changelog.md+80−7
@@ -72,8 +72,15 @@
7272
7373 * Docx reader: Add handling of vml image objects (#7257, mbrackeantidot).
7474
75− * HTML reader: Don't fail on unmatched closing "script" tag
76− (Albert Krenkel, #7282).
75+ * HTML reader:
76+
77+ + Don't fail on unmatched closing "script" tag (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.
7784
7885 * DocBook/JATS readers:
7986
@@ -90,6 +97,11 @@
9097 + For beamer output, support `exampleblock` and `alertblock` (#7278).
9198 A block will be rendered as an `exampleblock` if the heading
9299 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.
93105
94106 * EPUB Writer: Fix belongs-to-collection XML id choice (#7267, nuew).
95107 The epub writer previously used the same XML id for both the book
@@ -97,8 +109,23 @@
97109
98110 * BibTeX/BibLaTeX writer: Handle `annote` field (#7266).
99111
100− * ConTeXt writer: support blank lines in line blocks (#6564,
101− Albert Krewinkel, thanks to @denismaier).
112+ * ConTeXt writer:
113+
114+ + Support blank lines in line blocks (#6564, Albert Krewinkel,
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).
102129
103130 * Org writer:
104131
@@ -146,6 +173,19 @@
146173 sets `w:proofState` for spelling or grammar to `dirty`,
147174 so that spell/grammar checking will be triggered on the
148175 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+
149189
150190 * Markdown writer:
151191
@@ -157,6 +197,9 @@
157197 were needed. So we got spurious quotes in some cases and
158198 didn't get necessary quotes in others.
159199 + 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.
160203
161204 * Commonmark writer: Use backslash escapes for `<` and `|`...
162205 instead of entities (#7208).
@@ -172,12 +215,32 @@
172215 + List of figures before list of tables (#7235, Julien Dutant).
173216 + Move CSL macro definitions before header-includes so they can be
174217 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).
175235
176236 * ConTeXt template: List of figures before list of tables (#7235,
177237 Julien Dutant).
178238
179239 * reveal.js template: Support `toc-title` (#7171, Florian Kohrt).
180240
241+ * HTML-based slide shows: add support for `institute` (#7289, Thomas
242+ Hodgson).
243+
181244 * Text.Pandoc.XML.Light: add Eq, Ord instances for Content,
182245 Element, Attr, CDataKind [API change].
183246
@@ -200,8 +263,13 @@
200263 syntax map, but that's okay in that context, since
201264 `--syntax-definition` won't create new listings styles.
202265
203− * Use metadata's `lang` for the lang parameter of citeproc, overriding
204− `localeLanguage`.
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.
271+ + Use metadata's `lang` for the lang parameter of citeproc, overriding
272+ `localeLanguage`.
205273
206274 * Remove Text.Pandoc.BCP47 module [API change].
207275 Use types and functions from UnicodeCollation.Lang instead.
@@ -233,7 +301,12 @@
233301
234302 * Use latest xml-conduit.
235303
236− * MANUAL: Add information about `lang` and bibliography sorting.
304+ * MANUAL:
305+
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.
237310
238311 * Updated and fixed typos in documentation (Charanjit Singh,
239312 Anti-Distinctlyminty, Tatiana Porras, obcat).