@@ -5,11 +5,11 @@
55 to set the TOC level for in the book navigation.
66
77 * `--help` now prints in and out formats in alphabetical order, and
8− says something about PDF output. Closes #720.
8+ says something about PDF output (#720).
99
10− * Less verbose output from `--self-contained`.
11− Now one gets "Fetching [URL]..." for each URL fetched, but not
12− the full header.
10+ * `--self-contained` now returns less verbose output (telling you
11+ which URLs it is fetching, but not giving the full header). In
12+ addition, there are better error messages when fetching a URL fails.
1313
1414 * All slide formats: Support incremental slide view for definition lists.
1515
@@ -26,7 +26,7 @@
2626
2727 * Slidy: Use slidy.js rather than slidy.js.gz.
2828 Reason: some browsers have trouble with the gzipped js file,
29− at least on the local file system. Closes #795.
29+ at least on the local file system (#795).
3030
3131 * Added `revealjs` output format, for reveal.js HTML 5 slide shows.
3232 Thanks to Jamie F. Olson for the initial patch.
@@ -42,19 +42,55 @@
4242 + Variables completely shadow metadata.
4343 If many variables with the same name are set, a list is created.
4444
45+ * `Text.Pandoc`
46+
47+ + Make `toJsonFilter` an alias for `toJSONFilter` from `Text.Pandoc.JSON`.
48+ + Removed `ToJsonFilter` typeclass. `ToJSONFilter` from
49+ `Text.Pandoc.JSON` should be used instead. (Compiling against
50+ pandoc-types instead of pandoc will also produce smaller executables.)
51+ * Removed the deprecated `jsonFilter` function.
52+ + Added `readJSON`, `writeJSON` to the API (#817).
53+
4554 * `Text.Pandoc.Shared`
4655
47− + `openURL` now follows redirects. Closes #701.
56+ + `openURL` now follows redirects (#701).
57+ + `openURL` and `fetchItem` now return an Either, for
58+ better error handling. (API change.)
4859 + `readDefaultDataFile`: normalize the paths.
4960 This fixes bugs in `--self-contained` on pandoc compiled with
50− `embed_data_files`. Closes #833.
61+ `embed_data_files` (#833).
5162 + Fixed `readDefaultDataFile` so it works on Windows.
5263 + URL-escape pipe characters.
5364 Even though these are legal, `Network.URI` doesn't regard them
54− as legal in URLs. So we escape them first. Closes #535.
65+ as legal in URLs. So we escape them first (#535).
5566 + `openURL`: Print diagnostic output to stderr, not stdout.
5667 + `openURL`: Properly handle `data:` URIs.
5768
69+ * `Text.Pandoc.Biblio`
70+
71+ + Override citeproc-hs's `endWithPunct`.
72+ The new version correctly sees a sentence ending in '.)' as ending
73+ with punctuation. This fixes a bug which led such sentences to receive
74+ an extra period at the end: '.).'. Thanks to Steve Petersen for
75+ reporting.
76+ + Don't interfere with Notes that aren't citation notes.
77+ This fixes a bug in which notes not generated from citations were
78+ being altered (e.g. first letter capitalized) (#898).
79+ + Changes in suffix parsing. A suffix beginning with a digit gets 'p'
80+ inserted before it before passing to citeproc-hs, so that bare numbers
81+ are treated as page numbers by default. A suffix not beginning with
82+ punctuation has a space added at the beginning (rather than a comma and
83+ space, as was done before for not-author-in-text citations).
84+ The result of these changes (and the last commit) is that
85+ `\citep[23]{item1}` in LaTeX will be interpreted properly,
86+ with '23' treated as a locator of type 'page'.
87+
88+ * New module `Text.Pandoc.JSON` in pandoc-types.
89+
90+ + This provides `ToJSON` and `FromJSON` instances for the basic
91+ pandoc types. They use GHC generics and should be faster than the
92+ old JSON serialization using `Data.Aeson.Generic`.
93+
5894 * New module `Text.Pandoc.Writers.Shared` for shared functions used
5995 only in writers.
6096
@@ -66,6 +102,9 @@
66102
67103 * Added `Text.Pandoc.Asciify` utility module.
68104 This exports functions to create ASCII-only versions of identifiers.
105+
106+ * `Text.Pandoc.ImageSize`: Handle EPS (#903). This change will make
107+ EPS images properly sized on conversion to Word.
69108
70109 * `Text.Pandoc.SelfContained`
71110
@@ -73,7 +112,7 @@
73112 a filename. This fixes `--self-contained` when used with CSS
74113 files that include web fonts using the method described here:
75114 <http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/>
76− Closes #739.
115+ (#739).
77116 + Handle `src` in `embed`, `audio`, `source`, `input` tags.
78117
79118 * Added `Text.Pandoc.Writers.Custom` and custom output formats.
@@ -100,15 +139,27 @@
100139
101140 * Markdown reader
102141
103− + Properly handle blank line at beginning of input. Closes #882.
142+ + Added `ignore_line_breaks` markdown extension.
143+ This causes intra-paragraph line breaks to be ignored,
144+ rather than being treated as hard line breaks or spaces.
145+ This is useful for some East Asian languages, where spaces
146+ aren't used between words, but text is separated into lines
147+ for readability.
148+ + Properly handle blank line at beginning of input (#882).
104149 + Fixed bug in unmatched reference links. The input
105150 `[*infile*] [*outfile*]` was getting improperly parsed:
106− "infile" was emphasized, but "*outfile*" was literal. Closes #883.
151+ "infile" was emphasized, but "*outfile*" was literal (#883).
107152 + Check for blank lines first in blocks. (And skip them. This
108153 might speed things up in some cases.)
109− + Implemented `Ext_ascii_identifiers`. Closes #807.
110− + Allow internal `+` in citation identifiers. Closes #856.
154+ + Implemented `Ext_ascii_identifiers` (#807).
155+ + Allow internal `+` in citation identifiers (#856).
111156 + Added support for YAML metadata block at the beginning of document.
157+ + Improved strong/emph parsing, using the strategy of
158+ <https://github.com/jgm/Markdown>. The new parsing algorithm requires
159+ no backtracking, and no keeping track of nesting levels.
160+ It will give different results in some edge cases, but these should
161+ not affect normal uses.
162+ + Allow `.` or `)` after `#` in ATX headers if no `fancy_lists`.
112163
113164 * RST reader
114165
@@ -116,7 +167,7 @@
116167 `rst2html` doesn't add `<p>` tags to list items (even when they are
117168 separated by blank lines) unless there are multiple paragraphs in the
118169 list. This commit changes the RST reader to conform more closely to
119− what docutils does. Closes #880.
170+ what docutils does (#880).
120171 + Improved metadata. Treat initial field list as metadata when
121172 standalone specified. Previously ALL fields "title", "author",
122173 "date" in field lists were treated as metadata, even if not at
@@ -127,29 +178,27 @@
127178 * Textile reader
128179
129180 + Correctly handle entities.
181+ + Improved handling of `<pre>` blocks.
182+ + Fixed a bug in which `<pre>` in certain contexts was
183+ not recognized as a code block (#927).
184+ + Remove internal HTML tags in code blocks, rather than printing
185+ them verbatim.
186+ * Parse attributes on `<pre>` tag for code blocks.
130187
131− * LaTeX reader
132−
133− + Support alltt environment. Closes #892.
134− + Support `\textasciitilde`, `\textasciicircum`. Closes #810.
135− + Treat `\textsl` as emphasized text reader. Closes #850.
136− + Skip positional options after `\begin{figure}`.
188+ * HTML reader
137189
138− * LaTeX writer
190+ + Handle non-simple tables (#893). Column widths are read from
191+ `col` tags if present, otherwise divided equally.
139192
140− + Don't use ligatures in escaping inline code.
141− + Fixed footnote numbers in LaTeX/PDF tables. This fixes a bug
142− wherein notes were numbered incorrectly in tables. Closes #827.
143− + Always create labels for sections. Previously the labels were only
144− created when there were links to the section in the document.
145− Closes #871.
146− + Stop escaping `|` in LaTeX math.
147− This caused problems with array environments. Closes #891.
148−
149− * ConTeXt writer
193+ * LaTeX reader
150194
151− + Properly handle tables without captions. The old output only
152− worked in MkII. This should work in MkIV as well. Closes #837.
195+ + Support alltt environment (#892).
196+ + Support `\textasciitilde`, `\textasciicircum` (#810).
197+ + Treat `\textsl` as emphasized text reader (#850).
198+ + Skip positional options after `\begin{figure}`.
199+ + Support `\v{}` for hacek (#926).
200+ + Don't add spurious ", " to citation suffixes.
201+ This is added when needed in `Text.Pandoc.Biblio` anyway.
153202
154203 * MediaWiki reader
155204
@@ -164,10 +213,42 @@
164213 rows had attributes, now we ignore them.
165214 + Ignore attributes on headers.
166215
216+ * LaTeX writer
217+
218+ + Don't use ligatures in escaping inline code.
219+ + Fixed footnote numbers in LaTeX/PDF tables. This fixes a bug
220+ wherein notes were numbered incorrectly in tables (#827).
221+ + Always create labels for sections. Previously the labels were only
222+ created when there were links to the section in the document (#871).
223+ + Stop escaping `|` in LaTeX math.
224+ This caused problems with array environments (#891).
225+ + Change `\` to `/` in paths. `/` works even on Windows in LaTeX.
226+ `\` will cause major problems if unescaped.
227+
228+ * Beamer writer
229+
230+ + When creating beamer slides, add `allowframebreaks` option
231+ to the slide if it is one of the header classes. It's recommended
232+ that your bibliography slide have this attribute:
233+
234+ # References {.allowframebreaks}
235+
236+ This causes multiple slides to be created if necessary, depending
237+ on the length of the bibliography.
238+
239+ * ConTeXt writer
240+
241+ + Properly handle tables without captions. The old output only
242+ worked in MkII. This should work in MkIV as well (#837).
243+
244+ * MediaWiki writer
245+
246+ + Use native mediawiki tables instead of HTML (#720).
247+
167248 * HTML writer
168249
169250 + Fixed `--no-highlight` (Alexander Kondratskiy).
170− + Don't convert to lowercase in email obfuscation. Closes #839.
251+ + Don't convert to lowercase in email obfuscation (#839).
171252
172253 * Man writer
173254
@@ -180,8 +261,7 @@
180261 COMMAND(1) footer here | header here
181262
182263 pandoc will parse it as before into a title, section, header, and
183− footer. But you can also specify these elements explicitly.
184− Closes #885.
264+ footer. But you can also specify these elements explicitly (#885).
185265
186266 * AsciiDoc writer
187267
@@ -192,7 +272,7 @@
192272 * ODT writer
193273
194274 + Fixing wrong numbered-list indentation in open document format
195− (Alexander Kondratskiy). Closes #369.
275+ (Alexander Kondratskiy) (#369).
196276
197277 * Docx writer
198278
@@ -200,11 +280,11 @@
200280 In 1.11 and 1.11.1, display math in lists rendered as a new list
201281 item. Now it always appears centered, just as outside of lists,
202282 and in proper display math style, no matter how far indented the
203− containing list item is. Closes #784.
283+ containing list item is (#784).
204284 + Use `w:br` with `w:type` `textWrapping` for linebreaks.
205− Previously we used `w:cr`. Closes #873.
285+ Previously we used `w:cr` (#873).
206286 + Use Compact style for Plain block elements.
207− This differentiates between tight and loose lists. Closes #775.
287+ This differentiates between tight and loose lists (#775).
208288 + Ignore most components of `reference.docx`.
209289 We take the `word/styles.xml`, `docProps/app.xml`,
210290 `word/theme/theme1.xml`, and `word/fontTable.xml` from
@@ -216,7 +296,7 @@
216296 * EPUB writer
217297
218298 + Don't add `dc:creator` tags if present in EPUB metadata.
219− + Add `id="toc-title"` to `h1` in `nav.xhtml`. Closes #799.
299+ + Add `id="toc-title"` to `h1` in `nav.xhtml` (#799).
220300 + Don't put blank title page in reading sequence.
221301 Set `linear="no"` if no title block. Addresses #797.
222302 + Download webtex images and include as data URLs.
@@ -226,6 +306,7 @@
226306 are no longer needed, since styles are added by the HTML
227307 writer according to `--highlighting-style`). Simplified
228308 margin fields.
309+ + If resource not found, skip it, as in Docx writer (#916).
229310
230311 * Markdown writer
231312
@@ -254,12 +335,22 @@
254335 + On Windows, create temdir in working directory.
255336 Reason: the path to the system temp directory may contain tildes,
256337 which causes problems in LaTeX when the username is more than
257− eight characters. Closes #777.
338+ eight characters (#777).
339+ + Put temporary output directory in `TEXINPUTS`.
340+ This will help later when we try to download external resources.
341+ We can put them in the temp directory (see #917).
342+ + `Text.Pandoc.PDF` exports `makePDF` instead of `tex2pdf`.
343+ (API change.)
344+ + `makePDF` walks the pandoc AST and checks for the existence of
345+ images in the local directory. If they are not found, it attempts
346+ to find them, either in the directory containing the first source
347+ file, or at an absolute URL, or at a URL relative to the base URL
348+ of the first command line argument (#917).
258349
259350 * `Text.Pandoc.UTF8`
260351
261352 + Use strict bytestrings in reading. The use of lazy bytestrings seemed
262− to cause problems using pandoc on 64-bit Windows 7/8. Closes #874.
353+ to cause problems using pandoc on 64-bit Windows 7/8 (#874).
263354
264355 * `Text.Pandoc.Parsing`
265356
@@ -306,23 +397,26 @@
306397 Previously the writer did this.
307398 + LaTeX: Changes to make mathfont work with xelatex.
308399 We need the mathspec library, not just fontspec, for this.
309− We also need to set options for setmathfont. Closes #734.
400+ We also need to set options for setmathfont (#734).
310401 + LaTeX: Use `tex-ansi` mapping for `monofont`.
311402 This ensures that straight quotes appear as straight, rather than
312403 being treated as curly. See #889.
313404 + Made `\includegraphics` more flexible in LaTeX template.
314405 Now it can be used with options, if needed. Thanks to Bernhard Weichel.
406+ + LaTeX/Beamer: Added `classoption` variable.
407+ This is intended for class options like `oneside`; it may
408+ be repeated with different options. (Thanks to Oliver Matthews.)
409+ + LaTeX: Added `biblio-style` variable (#920).
315410 + DZSlides: title attribute on title section.
316411
317412 * Removed `blaze_html_0_5` flag, require `blaze-html` >= 0.5.
318413 Reason: < 0.5 does not provide a monoid instance for Attribute,
319− which is now needed by the HTML writer.
320− Closes #803.
414+ which is now needed by the HTML writer (#803).
321415
322416 * Added `http-conduit` flag, which allows fetching https resources.
323417 It also brings in a large number of dependencies (`http-conduit`
324− and its dependencies), which is why for now it is an optional flag.
325− Closes #820.
418+ and its dependencies), which is why for now it is an optional flag
419+ (#820).
326420
327421 * Added CONTRIBUTING.md.
328422
@@ -335,7 +429,13 @@
335429 * Set default stack size to 16M. This is needed for some large
336430 conversions, esp. if pandoc is compiled with 64-bit ghc.
337431
338−
432+ * Various small documentation improvements.
433+ Thanks to achalddave and drothlis for patches.
434+
435+ * Removed comment that chokes recent versions of CPP (#933).
436+
437+ * Removed support for GHC version < 7.2, since pandoc-types now
438+ requires at least GHC 7.2 for GHC generics.
339439
340440pandoc (1.11.1)
341441