@@ -1,3 +1,203 @@
1+pandoc (2.0.6)
2+
3+ * Added `jats` as an output format.
4+
5+ + Add Text.Pandoc.Readers.JATS, exporting `readJATS` (API
6+ change) (Hamish Mackenzie).
7+ + Improved citation handling in JATS reader. JATS citations
8+ are now converted to pandoc citations, and JATS ref-lists
9+ are converted into a `references` field in metadata, suitable
10+ for use with pandoc-citeproc. Thus a JATS article with embedded
11+ bibliographic information can be processed with pandoc and
12+ pandoc-citeproc to produce a formatted bibliography.
13+
14+ * Markdown reader:
15+
16+ + Preserve original whitespace between blocks.
17+ + Recognize `\placeformula` as context.
18+ + Be pickier about table captions. A caption starts with a `:` which
19+ can't be followed by punctuation. Otherwise we can falsely interpret
20+ the start of a fenced div, or even a table header line like
21+ `:--:|:--:`, as a caption.
22+ + Always use four space rule for example lists. It would be awkward
23+ to indent example list contents to the first non-space character after
24+ the label, since example list labels are often long. Thanks to
25+ Bernhard Fisseni for the suggestion.
26+ + Improve raw tex parsing. Note that the Markdown reader is also
27+ affected by the `latex_macros` extension changes described below
28+ under the LaTeX reader.
29+
30+ * LaTeX reader:
31+
32+ + `latex_macros` extension changes (#4179). Don't pass through macro
33+ definitions themselves when `latex_macros` is set. The macros
34+ have already been applied. If `latex_macros` is enabled, then
35+ `rawLaTeXBlock` in Text.Pandoc.Readers.LaTeX will succeed in parsing
36+ a macro definition, and will update pandoc's internal macro map
37+ accordingly, but the empty string will be returned.
38+ + Export `tokenize`, `untokenize` (API change).
39+ + Use `applyMacros` in `rawLaTeXBlock`, `rawLaTeXInline`.
40+ + Refactored `inlineCommand`.
41+ + Fix bug in tokenizer. Material following `^^` was
42+ dropped if it wasn't a character escape. This only affected
43+ invalid LaTeX, so we didn't see it in the wild, but it appeared
44+ in a QuickCheck test failure.
45+ + Fix regression in LateX tokenization (#4159). This mainly affects the
46+ Markdown reader when parsing raw LaTeX with escaped spaces.
47+ + Add tests of LaTeX tokenizer.
48+
49+ * Muse reader (Alexander Krotov):
50+
51+ + Parse anchors immediately after headings as IDs.
52+ + Require that note references does not start with 0.
53+ + Parse empty comments correctly.
54+
55+ * Org reader (Albert Krewinkel):
56+
57+ + Fix asterisks-related parsing error (#4180).
58+
59+ * OPML reader:
60+
61+ + Enable raw HTML and other extensions by default for notes
62+ (#4164). This fixes a regression in 2.0. Note that extensions can
63+ now be individually disabled, e.g. `-f opml-smart-raw_html`.
64+
65+ * RST reader:
66+
67+ + Allow empty list items (#4193).
68+ + More accurate parsing of references (#4156). Previously we erroneously
69+ included the enclosing backticks in a reference ID (#4156). This
70+ change also disables interpretation of syntax inside references, as
71+ in docutils. So, there is no emphasis in `` `my *link*`_ ``.
72+
73+ * Docx reader:
74+
75+ + Continue lists after interruption (#4025, Jesse Rosenthal).
76+ Docx expects that lists will continue where they left off after an
77+ interruption and introduces a new id if a list is starting again. So
78+ we keep track of the state of lists and use them to define a "start"
79+ attribute, if necessary.
80+
81+ * Plain writer:
82+
83+ + Don't linkify table of contents.
84+
85+ * RST writer:
86+
87+ + Fix anchors for headers (#4188). We were missing an `_`.
88+
89+ * PowerPoint writer (Jesse Rosenthal):
90+
91+ + Treat lists inside BlockQuotes as lists. We don't yet produce
92+ incremental lists in PowerPoint, but we should at least treat lists
93+ inside BlockQuotes as lists, for compatibility with other slide formats.
94+ + Add ability to force size. This replaces the more specific
95+ `blockQuote runProp`, which only affected the size of blockquotes. We
96+ can use this for notes, etc.
97+ + Implement notes. This currently prints all notes on a final slide.
98+ Note that at the moment, there is a danger of text overflowing the
99+ note slide, since there is no logic for adding further slides.
100+ + Implement basic definition list functionality to PowerPoint writer.
101+ + Don't look for default template file for Powerpoint (#4181).
102+ + Add pptx to isTextFormat list. This is used to check standalone
103+ and not writing to the terminal.
104+
105+ * Docx writer:
106+
107+ + Ensure that `distArchive` is the one that comes with pandoc
108+ (#4182). Previously a `reference.docx` in `~/.pandoc` (or the user data
109+ dir) would be used instead, and this could cause problems because a
110+ user-modified docx sometimes lacks vital sections that we count
111+ on the `distArchive` to supply.
112+
113+ * Org writer:
114+
115+ + Do not wrap "-" to avoid accidental bullet lists (Alexander Krotov).
116+ + Don't allow fn refs to wrap to beginning of line (#4171, with help from
117+ Alexander Krotov). Otherwise they can be interpreted as footnote
118+ definitions.
119+
120+ * Muse writer (Alexander Krotov):
121+
122+ + Don't wrap note references to the next line (#4172).
123+
124+ * LaTeX writer:
125+
126+ + Use `\renewcommand` for `\textlatin` with babel (#4161).
127+ This avoids a clash with a deprecated `\textlatin` command defined
128+ in Babel.
129+
130+ * JATS writer (Hamish Mackenzie):
131+
132+ + Support writing `<fig>` and `<table-wrap>` elements
133+ with `<title>` and `<caption>` inside them by using Divs with class set
134+ to one of `fig`, `table-wrap` or `caption` (Hamish Mackenzie). The
135+ title is included as a Heading so the constraint on where Heading can
136+ occur is also relaxed.
137+ + Leave out empty alt attributes on links.
138+ + Deduplicate image mime type code.
139+ + Make `<p>` optional in `<td>` and `<th>` (#4178).
140+ + Self closing tags for empty xref (#4187).
141+ + Improve support for code language.
142+
143+ * Custom writer (Albert Krewinkel):
144+
145+ + Use init file to setup Lua interpreter (Albert Krewinkel).
146+ The same init file (`data/init`) that is used to setup the Lua
147+ interpreter for Lua filters is also used to setup the interpreter of
148+ custom writers.lua.
149+ + Define instances for newtype wrapper. The custom writer used its own
150+ `ToLuaStack` instance definitions, which made it difficult to share
151+ code with Lua filters, as this could result in conflicting instances.
152+ A `Stringify` wrapper is introduced to avoid this problem.
153+
154+ * Fixed regression: when target is PDF, writer extensions were being
155+ ignored. So, for example, `pandoc -t latex-smart -o file.pdf`
156+ did not work properly.
157+
158+ * Lua modules (Albert Krewinkel):
159+
160+ + Add `pandoc.utils` module, to hold utility functions.
161+ + Create a Haskell module Text.Pandoc.Lua.Module.Pandoc to
162+ define the `pandoc` lua module.
163+ + Make a Haskell module for each Lua module. Move definitions for the
164+ `pandoc.mediabag` modules to a separate Haskell module.
165+ + Move `sha1` from the main `pandoc` module to `pandoc.utils`.
166+ + Add function `pandoc.utils.hierarchicalize` (convert list of
167+ Pandoc blocks into (hierarchical) list of Elements).
168+ + Add function `pandoc.utils.normalize_date` (parses a date and
169+ converts it (if possible) to "YYYY-MM-DD" format).
170+ + Add function `pandoc.utils.to_roman_numeral` (allows conversion
171+ of numbers below 4000 into roman numerals).
172+ + Add function `pandoc.utils.stringify` (converts any AST element
173+ to a string with formatting removed).
174+ + `data/init.lua`: load `pandoc.utils` by default
175+ + Turn pipe, read into full Haskell functions. The `pipe` and `read`
176+ utility functions are converted from hybrid lua/haskell functions
177+ into full Haskell functions. This avoids the need for intermediate
178+ `_pipe`/`_read` helper functions, which have dropped.
179+ + pandoc.lua: re-add missing MetaMap function. This was a bug
180+ introduced in version 2.0.4.
181+
182+ * Text.Pandoc.Shared: export `blocksToInlines'` (API change, Maura Bieg).
183+
184+ * Update latex template to work with recent versions of beamer.
185+ The old template produced numbered sections with some recent
186+ versions of beamer. Thanks to Thomas Hodgson.
187+
188+ * Removed `default.theme` data file (#4096). It is no longer needed now
189+ that we have `--print-highlight-style`.
190+
191+ * MANUAL.txt:
192+
193+ + Add note on what formats have `+smart` by default.
194+ + Use native syntax for custom-style (#4174, Mauro Bieg).
195+
196+ * filters.md: say that Text.Pandoc.JSON comes form pandoc-types.
197+ Closes jgm/pandoc-website#16.
198+
199+ * epub.md: Delete removed `-S` option from command (#4151, Georger Araújo).
200+
1201pandoc (2.0.5)
2202
3203 * Fix a bug in 2.0.4, whereby pandoc could not read the theme files