@@ -39,6 +39,25 @@
3939 `pandoc --print-default-data-file reference.odt` will print
4040 `reference.odt`.)
4141
42+ * Added syntax for "pauses" in slide shows:
43+
44+ This gives
45+
46+ . . .
47+
48+ a pause.
49+
50+ * New markdown extensions:
51+
52+ + `ignore_line_breaks`: causes intra-paragraph line breaks to be ignored,
53+ rather than being treated as hard line breaks or spaces. This is useful
54+ for some East Asian languages, where spaces aren't used between words,
55+ but text is separated into lines for readability.
56+ + `yaml_metadata_block`: Parse YAML metadata blocks. (Default.)
57+ + `ascii_identifiers`: This will force `auto_identifiers` to use ASCII
58+ only. (Default for `markdown_github`.) (#807)
59+ + `lists_without_preceding_blankline`: Allow lists to start without
60+ preceding blank space. (Default for `markdown_github`.) (#972)
4261
4362 [behavior changes]
4463
@@ -53,14 +72,34 @@
5372 which URLs it is fetching, but not giving the full header). In
5473 addition, there are better error messages when fetching a URL fails.
5574
75+ * Better error reporting in some readers, due to changes in `readWith`:
76+ the line in which the error occured is printed, with a caret pointing
77+ to the column.
78+
5679 * All slide formats now support incremental slide view for definition lists.
5780
5881 * Parse `\(..\)` and `\[..\]` as math in MediaWiki reader.
5982 Parse `:<math>...</math>` as display math. These notations are used with
6083 the MathJax MediaWiki extension.
6184
62− * `Text.Pandoc.ImageSize`: Handle EPS (#903). This change will make
63− EPS images properly sized on conversion to Word.
85+ * Man writer: The `title`, `section`, `header`, and `footer` can now
86+ all be set individually in metadata. The `description` variable has been
87+ removed. Quotes have been added so that spaces are allowed in the
88+ title. If you have a title that begins
89+
90+ COMMAND(1) footer here | header here
91+
92+ pandoc will still parse it into a title, section, header, and
93+ footer. But you can also specify these elements explicitly (#885).
94+
95+ * Markdown writer
96+
97+ + Allow simple tables to be printed as grid tables,
98+ if other table options are disabled. This means you can do
99+ `pandoc -t markdown-pipe_tables-simple_tables-multiline_tables`
100+ and all tables will render as grid tables.
101+ + Support YAML title block (render fields in alphabetical order
102+ to make output predictable).
64103
65104 [API changes]
66105
@@ -79,6 +118,28 @@
79118 * New module `Text.Pandoc.Readers.Haddock` (David Lazar).
80119 This is based on Haddock's own lexer/parser.
81120
121+ * New module `Text.Pandoc.Writers.Custom`.
122+
123+ * In `Text.Pandoc.Shared`, `openURL` and `fetchItem` now return an
124+ Either, for better error handling.
125+
126+ * Made `stringify` polymorphic in `Text.Pandoc.Shared`.
127+
128+ * Removed `stripTags` from `Text.Pandoc.XML`.
129+
130+ * `Text.Pandoc.Templates`:
131+
132+ + Simplified `Template` type to a newtype.
133+ + Removed `Empty`.
134+ + Changed type of `renderTemplate`: it now takes a JSON context
135+ and a compiled template.
136+ + Export `compileTemplate`.
137+ + Export `renderTemplate'` that takes a string instead of a compiled
138+ template.
139+ + Export `varListToJSON`.
140+
141+ * `Text.Pandoc.PDF` exports `makePDF` instead of `tex2pdf`.
142+
82143 [bug fixes]
83144
84145 * In markdown, don't autolink a bare URI that is followed by `</a>`
@@ -101,6 +162,13 @@
101162 This seems to be needed for some formats (e.g. slideous) and won't
102163 hurt in others (#966).
103164
165+ * `Text.Pandoc.PDF`
166+
167+ + On Windows, create temdir in working directory, since the system
168+ temp directory path may contain tildes, which can cause
169+ problems in LaTeX (#777).
170+ + Put temporary output directory in `TEXINPUTS` (see #917).
171+
104172 * Produce automatic header identifiers in parsing textile, RST,
105173 and LaTeX, unless `auto_identifiers` extension is disabled (#967).
106174
@@ -110,6 +178,12 @@
110178 <http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/>
111179 (#739). Handle `src` in `embed`, `audio`, `source`, `input` tags.
112180
181+ * `Text.Pandoc.Parsing`: `uri` parser no longer treats punctuation before
182+ percent-encoding, or a `+` character, as final punctuation.
183+
184+ * `Text.Pandoc.ImageSize`: Handle EPS (#903). This change will make
185+ EPS images properly sized on conversion to Word.
186+
113187 * Slidy: Use slidy.js rather than slidy.js.gz.
114188 Reason: some browsers have trouble with the gzipped js file,
115189 at least on the local file system (#795).
@@ -261,12 +335,23 @@
261335 + Only autolink absolute URIs. This fixes a regression, #830.
262336 + Don't wrap attributes in fenced code blocks.
263337 + Write full metadata in MMD style title blocks.
338+ + Put multiple authors on separate lines in pandoc titleblock.
339+ Also, don't wrap long author entries, as new lines get treated
340+ as new authors.
264341
265− * `Text.Pandoc.Templates`: Fixed bug retrieving default template
266− for markdown variants.
342+ * `Text.Pandoc.Templates`:
343+
344+ + Fixed bug retrieving default template for markdown variants.
345+ + Templates can now contain "record lookups" in variables;
346+ for example, `author.institution` will retrieve the `institution`
347+ field of the `author` variable.
348+ + More consistent behavior of `$for$`. When `foo` is not a list,
349+ `$for(foo)$...$endfor$` should behave like $if(foo)$...$endif$.
350+ So if `foo` resolves to "", no output should be produced.
351+ See pandoc-templates#39.
267352
268353 [template changes]
269−
354+
270355 * DocBook: Use DocBook 4.5 doctype.
271356
272357 * Org: '#+TITLE:' is inserted before the title.
@@ -297,6 +382,12 @@
297382
298383 [under-the-hood improvements]
299384
385+ * Markdown reader:Improved strong/emph parsing, using the strategy of
386+ <https://github.com/jgm/Markdown>. The new parsing algorithm requires
387+ no backtracking, and no keeping track of nesting levels. It will give
388+ different results in some edge cases, but these should not affect normal
389+ uses.
390+
300391 * Added `Text.Pandoc.Compat.Monoid`.
301392 This allows pandoc to compile with `base` < 4.5, where `Data.Monoid`
302393 doesn't export `<>`. Thanks to Dirk Ullirch for the patch.
@@ -354,29 +445,6 @@
354445 requires at least GHC 7.2 for GHC generics.
355446
356447
357−------------------
358−
359−
360− Added `lists_without_preceding_blankline` extension.
361− * Added `Ext_lists_without_preceding_blankline` to
362− `Extension` in `Options`. Added this option to
363− `githubMarkdownExtensions`.
364− * Made markdown reader sensitive to this.
365− * Closes #972.
366−
367− Markdown: Allow backtick code blocks not to be preceded by blank line.
368−
369− Closes #975.
370−
371− Templates: more consistent behavior of `$for$`.
372−
373− When `foo` is not a list, `$for(foo)$...$endfor$` should behave like
374− $if(foo)$...$endif$. So if `foo` resolves to "", no output should
375− be produced.
376−
377− See pandoc-templates#39.
378−
379−
380448------------------
381449
382450 * citeproc support has been removed from core pandoc (API changes).
@@ -413,14 +481,6 @@
413481 as markdown citations, it is redundant to have a bibliography,
414482 since one will be generated automatically.)
415483
416− * Added syntax for "pauses" in slide shows:
417−
418− This gives
419−
420− . . .
421−
422− a pause.
423−
424484 * Use new flexible metadata type.
425485
426486 + Depend on `pandoc-types` 1.12. This changes the type of
@@ -459,14 +519,7 @@
459519 the generic traversals `bottomUp` and `queryWith`.
460520 (API change.)
461521
462− * `Text.Pandoc.Shared`
463−
464− + `openURL` and `fetchItem` now return an Either, for
465− better error handling. (API change.)
466−
467− * `Text.Pandoc.Shared`
468−
469− + `stringify`: Generalized type.
522+
470523
471524 * `Text.Pandoc.Biblio`
472525
@@ -494,75 +547,34 @@
494547 pandoc types. They use GHC generics and should be faster than the
495548 old JSON serialization using `Data.Aeson.Generic`.
496549
497− * Added `Text.Pandoc.Writers.Custom` and custom output formats.
498−
499− * Added OPML reader and writer.
500550
501551 * Markdown reader
502552
503− + Added `ignore_line_breaks` markdown extension.
504− This causes intra-paragraph line breaks to be ignored,
505− rather than being treated as hard line breaks or spaces.
506− This is useful for some East Asian languages, where spaces
507− aren't used between words, but text is separated into lines
508− for readability.
509553 + Properly handle blank line at beginning of input (#882).
510554 + Fixed bug in unmatched reference links. The input
511555 `[*infile*] [*outfile*]` was getting improperly parsed:
512556 "infile" was emphasized, but "*outfile*" was literal (#883).
513557 + Check for blank lines first in blocks. (And skip them. This
514558 might speed things up in some cases.)
515− + Implemented `Ext_ascii_identifiers` (#807).
516559 + Allow internal `+` in citation identifiers (#856).
517− + Added support for YAML metadata blocks, which can come anywhere
518− in the document (not just at the beginning). A document can contain
519− multiple YAML metadata blocks.
520− + Improved strong/emph parsing, using the strategy of
521− <https://github.com/jgm/Markdown>. The new parsing algorithm requires
522− no backtracking, and no keeping track of nesting levels.
523− It will give different results in some edge cases, but these should
524− not affect normal uses.
525560 + Allow `.` or `)` after `#` in ATX headers if no `fancy_lists`.
526561 + Do not generate blank title, author, or date metadata elements.
527562 Leave these out entirely if they aren't present.
528− + HTML span and div tags are parsed as pandoc Span and Div elements.
529−
530− * Man writer
563+ + Allow backtick code blocks not to be preceded by blank line (#975).
531564
532− + Offer more fine-grained control in template.
533− Now the `title`, `section`, `header`, and `footer` can all be set
534− individually in metadata. The `description` variable has been
535− removed. Quotes have been added so that spaces are allowed in the title.
536− If you have a title that begins
537−
538− COMMAND(1) footer here | header here
565+ * Markdown reader
539566
540− pandoc will parse it as before into a title, section, header, and
541− footer. But you can also specify these elements explicitly (#885).
567+ + Added support for YAML metadata blocks, which can come anywhere
568+ in the document (not just at the beginning). A document can contain
569+ multiple YAML metadata blocks.
570+ + HTML span and div tags are parsed as pandoc Span and Div elements.
542571
543− * Markdown writer
544572
545− + Allow simple tables to be printed as grid tables,
546− if other table options are disabled. This means you can do
547− `pandoc -t markdown-pipe_tables-simple_tables-multiline_tables`
548− and all tables will render as grid tables.
549− + Put multiple authors on separate lines in pandoc titleblock.
550− Also, don't wrap long author entries, as new lines get treated
551− as new authors.
552− + Support YAML title block (render fields in alphabetical order
553− to make output predictable).
554−
573+
574+
575+
555576 * `Text.Pandoc.PDF`
556577
557− + On Windows, create temdir in working directory.
558− Reason: the path to the system temp directory may contain tildes,
559− which causes problems in LaTeX when the username is more than
560− eight characters (#777).
561− + Put temporary output directory in `TEXINPUTS`.
562− This will help later when we try to download external resources.
563− We can put them in the temp directory (see #917).
564− + `Text.Pandoc.PDF` exports `makePDF` instead of `tex2pdf`.
565− (API change.)
566578 + `makePDF` walks the pandoc AST and checks for the existence of
567579 images in the local directory. If they are not found, it attempts
568580 to find them, either in the directory containing the first source
@@ -571,24 +583,20 @@
571583 + If compiling with `pdflatex` yields an encoding error, offer
572584 the suggestion to use `--latex-engine=xelatex`.
573585
586+
574587 * `Text.Pandoc.Parsing`
575588
576− + Further improvements to URI parser.
577− Don't treat punctuation before percent-encoding as final punctuation.
578− Don't treat '+' as final punctuation.
579589 + Generalized state type on `readWith` (API change).
580− + Specialize readWith to `String` input.
581− + Better error reporting in `readWith`: On error have it print the line
582− in which the error occurred, with a caret pointing to the column.
590+ + Specialize readWith to `String` input. (API change).
583591 + In `ParserState`, replace `stateTitle`, `stateAuthors`, `stateDate`
584592 with `stateMeta` and `stateMeta'`.
585593
586− * `Text.Pandoc.XML`
587−
588− + Removed `stripTags`. (API change.)
589−
590594 * `Text.Pandoc.Options`
591−
595+ * Added `Ext_lists_without_preceding_blankline` to
596+ `Extension` in `Options`. Added this option to
597+ `githubMarkdownExtensions`.
598+ + Implemented `Ext_ascii_identifiers`.
599+ + Ext_ignore_line_breaks.
592600 + Added `Ext_yaml_metadata_block`. (API change.)
593601 + Added `Ext_ascii_identifiers`. (API change.)
594602 This will force `Ext_auto_identifiers` to use ASCII only.
@@ -609,20 +617,6 @@
609617 the first file argument, you'll need to make that the current
610618 directory before running pandoc. API change (#942).
611619
612− * `Text.Pandoc.Templates`
613−
614− + Changed type of `renderTemplate`: it now takes a JSON context
615− and a compiled template. (API change.)
616− + Export `compileTemplate`. (API change.)
617− + Export `renderTemplate'` that takes a string instead of a compiled
618− template. (API change.)
619− + Export `varListToJSON`. (API change.)
620− + Removed `Empty`.
621− + Simplified `Template` type to a newtype.
622− + Templates can now contain "record lookups" in variables;
623− for example, `author.institution` will retrieve the `institution`
624− field of the `author` variable.
625−
626620pandoc (1.11.1)
627621
628622 * Markdown reader: