@@ -1,4 +1,6 @@
1−pandoc (2.8 PROVISIONAL)
1+# Revision history for pandoc
2+
3+## pandoc 2.8 PROVISIONAL (DATE)
24
35 * Add `-L` option as shortcut for `--lua-filter`.
46
@@ -555,8 +557,7 @@ pandoc (2.8 PROVISIONAL)
555557 * CONTRIBUTING.md: add information on tests (Agustín Martín
556558 Barbero, #5652).
557559
558−
559−pandoc (2.7.3)
560+## pandoc 2.7.3 (11 June 2019)
560561
561562 * Add `jira` (Atlassian's Jira wiki markup) as output format (#2497,
562563 Albert Krewinkel).
@@ -879,7 +880,7 @@ pandoc (2.7.3)
879880 Otherwise `stack ghci` fails.
880881
881882
882−pandoc (2.7.2)
883+## pandoc 2.7.2 ( 5 April 2019)
883884
884885 * Add XWiki writer (#1800, Derek Chen-Becker).
885886 Add `Text.Pandoc.Writers.XWiki`, exporting `writeXWiki` [API change].
@@ -1044,7 +1045,7 @@ pandoc (2.7.2)
10441045 * linux build process: Remove clone of pandoc-citeproc (#5366).
10451046 It wasn't being used; cabal.project specifies the version to use.
10461047
1047−pandoc (2.7.1)
1048+## pandoc 2.7.1 (14 March 2019)
10481049
10491050 * Add tectonic as an option for --pdf-engine (#5345, Cormac Relf).
10501051 Runs tectonic on STDIN instead of a temporary .tex file, so that it
@@ -1120,7 +1121,7 @@ pandoc (2.7.1)
11201121 * Use latest pandoc-citeproc, texmath.
11211122
11221123
1123−pandoc (2.7)
1124+## pandoc 2.7 ( 3 March 2019)
11241125
11251126 * Use XDG data directory for user data directory (#3582). Instead of
11261127 `$HOME/.pandoc`, the default user data directory is now
@@ -1138,7 +1139,7 @@ pandoc (2.7)
11381139 the title slide (for beamer). This change makes possible
11391140 2D reveal.js slideshows with content in the top slide on
11401141 each stack (#4317, #5237).
1141−
1142+
11421143 * Add command line option `--ipynb-output=all|none|best` (#5339).
11431144 Output cells in ipynb notebooks often contain several different
11441145 versions of an output, with different MIME types, e.g. an HTML
@@ -1285,7 +1286,7 @@ pandoc (2.7)
12851286 `utils`, and `text`, respectively.
12861287
12871288 * Text.Pandoc.Lua (Albert Krewinkel):
1288−
1289+
12891290 + Split `StackInstances` into smaller Marshaling modules.
12901291 + Get `CommonState` from Lua global. This allows more control over
12911292 the common state from within Lua scripts.
@@ -1365,7 +1366,7 @@ pandoc (2.7)
13651366 Agustín Martín Barbero).
13661367 + Reorder custom-styles section (#5324, Mauro Bieg).
13671368
1368−pandoc (2.6)
1369+## pandoc 2.6 (30 January 2019)
13691370
13701371 * Support ipynb (Jupyter notebook) as input and output format.
13711372
@@ -1717,7 +1718,7 @@ pandoc (2.6)
17171718
17181719 * trypandoc: Fix CSS and viewport.
17191720
1720−pandoc (2.5)
1721+## pandoc 2.5 (27 November 2018)
17211722
17221723 * Text.Pandoc.App: split into several unexported submodules (Albert
17231724 Krewinkel): Text.Pandoc.App.FormatHeuristics,
@@ -1911,13 +1912,13 @@ pandoc (2.5)
19111912 * doc/customizing-pandoc.md: various improvements (Mauro Bieg).
19121913
19131914
1914−pandoc (2.4)
1915+## pandoc 2.4 ( 3 November 2018)
19151916
1916− [new features]
1917+### New features
19171918
19181919 * New input format `man` (Yan Pashkovsky, John MacFarlane).
19191920
1920− [behavior changes]
1921+### Behavior changes
19211922
19221923 * `--ascii` is now implemented in the writers, not in Text.Pandoc.App,
19231924 via the new `writerPreferAscii` field in `WriterOptions`.
@@ -2063,7 +2064,7 @@ pandoc (2.4)
20632064 marshaled on-demand, performance of scripts not accessing the
20642065 fields remains unaffected.
20652066
2066− [API changes]
2067+### API changes
20672068
20682069 * Text.Pandoc.Options: add `writerPreferAscii` to `WriterOptions`.
20692070
@@ -2118,7 +2119,7 @@ pandoc (2.4)
21182119 + Remove `runLuaFilter`, merging this into Text.Pandoc.Filter.Lua's
21192120 `apply` (Albert Krewinkel).
21202121
2121− [bug fixes and under-the-hood improvements]
2122+### Bug fixes and under-the-hood improvements
21222123
21232124 * Text.Pandoc.Parsing
21242125
@@ -2326,7 +2327,7 @@ pandoc (2.4)
23262327 when a field is accessed. Filters which do not traverse the full
23272328 element contents tree become faster as a result.
23282329
2329− [default template changes]
2330+### Default template changes
23302331
23312332 * LaTeX template:
23322333
@@ -2346,7 +2347,7 @@ pandoc (2.4)
23462347 * data/sample.lua: replace custom pipe function with pandoc.utils.pipe
23472348 (Albert Krewinkel).
23482349
2349− [documentation improvements]
2350+### Documentation improvements
23502351
23512352 * INSTALL.md
23522353
@@ -2366,7 +2367,7 @@ pandoc (2.4)
23662367 * doc/lua-filters.md: merge type references into main document,
23672368 fix description of Code.text (Albert Krewinkel).
23682369
2369− [build infrastructure improvements]
2370+### Build infrastructure improvements
23702371
23712372 * Makefile
23722373
@@ -2392,7 +2393,7 @@ pandoc (2.4)
23922393
23932394 * Added test/grofftest.sh for testing the man reader on real man pages.
23942395
2395−pandoc (2.3.1)
2396+## pandoc 2.3.1 (28 September 2018)
23962397
23972398 * RST reader:
23982399
@@ -2497,7 +2498,7 @@ pandoc (2.3.1)
24972498 * Build Windows binary using ghc 8.6.1 and cabal new-build. This
24982499 fixes issues with segfaults in the 32-bit Windows binaries (#4283).
24992500
2500−pandoc (2.3)
2501+## pandoc 2.3 (16 September 2018)
25012502
25022503 * Add `--metadata-file` option (Mauro Bieg, #1960), which allows
25032504 users to specify metadata in a YAML file, regardless of the
@@ -2552,9 +2553,6 @@ pandoc (2.3)
25522553
25532554 * LaTeX reader:
25542555
2555− + Split some general-purpose definitions into a separate, unexported
2556− module, Text.Pandoc.Readers.LaTeX.Parsing. This is to avoid
2557− out-of-memory errors compiling the LaTeX reader.
25582556 + Handle parameter patterns for `\def` (#4768, #4771).
25592557 For example: `\def\foo#1[#2]{#1 and #2}`.
25602558 + Allow `%` characters in URLs. This affects `\href` and `\url` (#4832).
@@ -2737,7 +2735,7 @@ pandoc (2.3)
27372735
27382736 * Added additional compiler warnings in Makefile and CI builds.
27392737
2740−pandoc (2.2.3.2)
2738+## pandoc 2.2.3.2 (7 August 2018)
27412739
27422740 * Markdown reader: Properly handle boolean values in YAML metadata (#4819).
27432741 This fixes a regression in 2.2.3, which cause boolean values to
@@ -2747,13 +2745,13 @@ pandoc (2.2.3.2)
27472745 numerical metadata fields are now parsed as MetaInlines rather than
27482746 MetaString.
27492747
2750−pandoc (2.2.3.1)
2748+## pandoc 2.2.3.1 (6 August 2018)
27512749
27522750 * Markdown reader: Fix parsing of embedded mappings in YAML metadata
27532751 (#4817). This fixes a regression in 2.2.3 which caused embedded
27542752 mappings (e.g. mappings in sequences) not to work in YAML metadata.
27552753
2756−pandoc (2.2.3)
2754+## pandoc 2.2.3 (5 August 2018)
27572755
27582756 * RST reader: improve parsing of inline interpreted text roles (#4811).
27592757
@@ -2839,7 +2837,7 @@ pandoc (2.2.3)
28392837 effect (see #4527).
28402838
28412839
2842−pandoc (2.2.2.1)
2840+## pandoc 2.2.2.1 (19 July 2018)
28432841
28442842 * Fix regression finding templates in user data directory (#4777).
28452843 Under version 2.2.1 and prior pandoc found latex templates in the
@@ -2861,7 +2859,7 @@ pandoc (2.2.2.1)
28612859 * Add missing `rollingLinks` option to revealjs template (#4778,
28622860 Igor Khorlo).
28632861
2864−pandoc (2.2.2)
2862+## pandoc 2.2.2 (16 July 2018)
28652863
28662864 * Use HsYAML instead of yaml for translations and YAML metadata (#4747).
28672865 yaml wraps a C library; HsYAML is pure Haskell. Advances #4535.
@@ -3033,7 +3031,9 @@ pandoc (2.2.2)
30333031 * Require cabal-version >= 2.0. This is needed for haddock-library.
30343032
30353033
3036−pandoc (2.2.1)
3034+
3035+
3036+## pandoc 2.2.1 (10 May 2018)
30373037
30383038 * Restored and undeprecated gladtex for HTML math (#4607).
30393039
@@ -3103,7 +3103,8 @@ pandoc (2.2.1)
31033103 * Use texmath 0.11, allowing better translation of non-ASCII
31043104 characters in math (#4642).
31053105
3106−pandoc (2.2)
3106+
3107+## pandoc 2.2 (27 April 2018)
31073108
31083109 * New input format: `fb2` (FictionBook2) (Alexander Krotov).
31093110
@@ -3140,9 +3141,9 @@ pandoc (2.2)
31403141 + Parse sloppypar environment (#4517, Marc Schreiber).
31413142 + Improve handling of raw LaTeX (for markdown etc.) (#4589, #4594).
31423143 Previously there were some bugs in how macros were handled.
3143− + Support `\MakeUppercase`, `\MakeLowercase', `\uppercase`, `\lowercase`,
3144− and also `\MakeTextUppercase` and `\MakeTextLowercase` from textcase
3145− (#4959).
3144+ + Support `\MakeUppercase`, `\MakeLowercase`, `\uppercase`,
3145+ `\lowercase`, and also `\MakeTextUppercase` and
3146+ `\MakeTextLowercase` from textcase (#4959).
31463147
31473148 * Textile reader:
31483149
@@ -3386,7 +3387,7 @@ pandoc (2.2)
33863387
33873388 * Create 64- and 32-bit versions of Windows binary packages.
33883389
3389−pandoc (2.1.3)
3390+## pandoc 2.1.3 (18 March 2018)
33903391
33913392 * Docx reader (Jesse Rosenthal):
33923393
@@ -3406,14 +3407,11 @@ pandoc (2.1.3)
34063407
34073408 * Muse reader (Alexander Krotov):
34083409
3410+ + Various internal improvements.
34093411 + Require closing tag to have the same indentation as opening.
34103412 + Do not reparse blocks inside unclosed block tag (#4425).
34113413 + Parse `<class>` tag (supported by Emacs Muse).
34123414 + Do not produce empty Str element for unindented verse lines.
3413− + Don't allow footnote references inside links.
3414− + Allow URL to be empty.
3415− + Require that comment semicolons are in the first column (#4551).
3416− + Various internal improvements.
34173415
34183416 * LaTeX reader:
34193417
@@ -3467,7 +3465,7 @@ pandoc (2.1.3)
34673465 * JATS writer: Remove extraneous, significant whitespace (#4335,
34683466 Nokome Bentley).
34693467
3470− * html2pdf: inject base tag with current working directory (#4413, Mauro
3468+ * html2pdf: inject base tag wih current working directory (#4413, Mauro
34713469 Bieg). This helps ensure that linked resources are included.
34723470
34733471 * Add Semigroup instances for everything for which we defined a
@@ -3535,8 +3533,7 @@ pandoc (2.1.3)
35353533
35363534 * appveyor: use VS 2013 environment instead of VS 2015 for Windows builds.
35373535
3538−
3539−pandoc (2.1.2)
3536+## pandoc 2.1.2 (2 March, 2018)
35403537
35413538 * Markdown reader:
35423539
@@ -3615,7 +3612,7 @@ pandoc (2.1.2)
36153612 * Docx reader (Jesse Rosenthal, except where noted):
36163613
36173614 + Handle nested sdt tags (#4415).
3618− + Don't look up dependent run styles if `+styles` is enabled.
3615+ + Don't look up dependant run styles if `+styles` is enabled.
36193616 + Move pandoc inline styling inside custom-style span.
36203617 + Read custom styles (#1843). This will read all paragraph and
36213618 character classes as divs and spans, respectively. Dependent styles
@@ -3807,8 +3804,7 @@ pandoc (2.1.2)
38073804 * Update default.nix to current nixpkgs-unstable for hslua-0.9.5 (#4348,
38083805 jarlg).
38093806
3810−
3811−pandoc (2.1.1)
3807+## pandoc 2.1.1 (18 January 2018)
38123808
38133809 * Markdown reader:
38143810
@@ -3993,7 +3989,7 @@ pandoc (2.1.1)
39933989
39943990 * Reduce compiler noise (exact paths for compiled modules).
39953991
3996−pandoc (2.1)
3992+## pandoc 2.1 ( 7 January 2018)
39973993
39983994 * Allow filters and lua filters to be interspersed (#4196). Previously
39993995 we ran all lua filters before JSON filters. Now we run filters in
@@ -4157,7 +4153,7 @@ pandoc (2.1)
41574153
41584154 * Update copyright notices to include 2018 (Albert Krewinkel).
41594155
4160−pandoc (2.0.6)
4156+## pandoc 2.0.6 (28 December 2017)
41614157
41624158 * Added `jats` as an input format.
41634159
@@ -4425,7 +4421,7 @@ pandoc (2.0.6)
44254421
44264422 * epub.md: Delete removed `-S` option from command (#4151, Georger Araújo).
44274423
4428−pandoc (2.0.5)
4424+## pandoc 2.0.5 (12 December 2017)
44294425
44304426 * Fix a bug in 2.0.4, whereby pandoc could not read the theme files
44314427 generated with `--print-highlight-style` (#4133). Improve JSON
@@ -4465,7 +4461,7 @@ pandoc (2.0.5)
44654461 + Revert "Docx reader: don't strip out empty paragraphs."
44664462 This reverts commit d6c58eb836f033a48955796de4d9ffb3b30e297b.
44674463 + Implement `empty_paragraphs` extension in docx reader and writer,
4468− opendocument writer, HTML reader and writer.
4464+ opendocument writer, html reader and writer.
44694465 + Add tests for `empty_paragraphs` extension.
44704466
44714467 * Markdown reader:
@@ -4523,7 +4519,7 @@ pandoc (2.0.5)
45234519 error on linux).
45244520
45254521
4526−pandoc (2.0.4)
4522+## pandoc 2.0.4 (03 December 2017)
45274523
45284524 * Add `--print-highlight-style` option. This generates a JSON version
45294525 of a highlighting style, which can be saved as a `.theme` file, modified,
@@ -4683,7 +4679,7 @@ pandoc (2.0.4)
46834679
46844680 * Bump bounds for binary, http-types, tasty-hunit
46854681
4686−pandoc (2.0.3)
4682+## pandoc 2.0.3 (20 November 2017)
46874683
46884684 * Lua filters: preload text module (Albert Krewinkel, #4077).
46894685 The `text` module is preloaded in lua. The module contains some UTF-8
@@ -4745,8 +4741,6 @@ pandoc (2.0.3)
47454741 + Allow spaces after `\(` and before `\)` with `tex_math_single_backslash`.
47464742 Previously `\( \frac{1}{a} < \frac{1}{b} \)` was not parsed as math in
47474743 `markdown` or `html` `+tex_math_single_backslash`.
4748− + Parse div with class `line-block` as LineBlock.
4749− + Don't fail with block-level content in figcaption (Mauro Bieg, #4183).
47504744
47514745 * MANUAL: clarify that math extensions work with HTML.
47524746 Clarify that `tex_math_dollars` and `tex_math_single_backslash`
@@ -4778,7 +4772,7 @@ pandoc (2.0.3)
47784772 * Added examples to lua filters documentation.
47794773
47804774
4781−pandoc (2.0.2)
4775+## pandoc 2.0.2 (12 November 2017)
47824776
47834777 * Deprecated ancient HTML math methods: `--latexmathml`, `--gladtex`,
47844778 `--mimetex`, `--jsmath`.
@@ -4840,7 +4834,7 @@ pandoc (2.0.2)
48404834 * Update commands to extract deb archive on Linux (#4043, Salim B).
48414835
48424836
4843−pandoc (2.0.1.1)
4837+## pandoc 2.0.1.1 (04 November 2017)
48444838
48454839 * Improved fix to #3989 (parsing of HTML tags containing
48464840 `>` in an attribute or comment). The previous fix (in 2.0.1) only
@@ -4888,10 +4882,6 @@ pandoc (2.0.1.1)
48884882
48894883 * Improve `pandoc-template-mode.el` (Vaclav Haisman).
48904884
4891− * Issue INFO, not WARNING, when a .sty file cannot be
4892− read in LaTeX reader. It is normally not an issue requiring
4893− a fix from the user if .sty files are not found.
4894−
48954885 * INSTALL.md: MacOS instructions needed xar -f (adam234).
48964886
48974887 * MANUAL.txt:
@@ -4903,7 +4893,8 @@ pandoc (2.0.1.1)
49034893 Also added mention of other templates affecting PDF output
49044894 with different settings.
49054895
4906−pandoc (2.0.1)
4896+
4897+## pandoc 2.0.1 (31 October 2017)
49074898
49084899 * Fixed regression in parsing of HTML comments in markdown and other
49094900 non-HTML formats (`Text.Pandoc.Readers.HTML.htmlTag`) (#4019).
@@ -4962,7 +4953,7 @@ pandoc (2.0.1)
49624953 Also documented this feature in MANUAL.txt.
49634954
49644955
4965−pandoc (2.0.0.1)
4956+## pandoc 2.0.0.1 (30 Oct 2017)
49664957
49674958 * EPUB writer:
49684959
@@ -4986,9 +4977,10 @@ pandoc (2.0.0.1)
49864977
49874978 * trypandoc: add native, ms.
49884979
4989−pandoc (2.0)
49904980
4991− [new features]
4981+## pandoc 2.0 (29 Oct 2017)
4982+
4983+### New features
49924984
49934985 * New output format `ms` (groff ms). Complete support, including
49944986 tables, math, syntax highlighting, and PDF bookmarks. The writer uses
@@ -5065,7 +5057,7 @@ pandoc (2.0)
50655057 * Added lua filters (Albert Krewinkel, #3514). The new `--lua-filter`
50665058 option works like `--filter` but takes pathnames of special lua filters
50675059 and uses the lua interpreter baked into pandoc, so that no external
5068− interpreter is needed. Note that lua filters are all applied before
5060+ interpreter is needed. Note that lua filters are all applied after
50695061 regular filters, regardless of their position on the command line.
50705062 For documentation of lua filters, see `doc/lua-filters.md`.
50715063
@@ -5109,8 +5101,8 @@ pandoc (2.0)
51095101 directory. However, the working directory must be explicitly
51105102 specified if the `--resource-path` option is used.
51115103
5112− * Added `--abbreviations=FILE` option for custom abbreviations file
5113− (#256). Default abbreviations file (`data/abbreviations`) contains
5104+ * Added --abbreviations=FILE option for custom abbreviations file
5105+ (#256). Dfault abbreviations file (`data/abbreviations`) contains
51145106 a list of strings that will be recognized by pandoc's
51155107 Markdown parser as abbreviations. (A nonbreaking space will
51165108 be inserted after the period, preventing a sentence space in
@@ -5182,13 +5174,13 @@ pandoc (2.0)
51825174
51835175 [b]: url
51845176
5185− This was previously enabled by default; it is now forbidden by default.
5177+ This was previously enabled by default; now it is forbidden by default.
51865178
51875179 * Add `space_in_atx_header` extension (#3512). This is enabled by default
51885180 in pandoc and GitHub markdown but not the other flavors.
5189− This requires a space between the opening #'s and the header
5181+ This requirse a space between the opening #'s and the header
51905182 text in ATX headers (as CommonMark does but many other implementations
5191− do not). This is desirable to avoid falsely capturing things like
5183+ do not). This is desirable to avoid falsely capturing things ilke
51925184
51935185 #hashtag
51945186
@@ -5214,7 +5206,7 @@ pandoc (2.0)
52145206 ```
52155207
52165208
5217− [behavior changes]
5209+### Behavior changes
52185210
52195211 * Reader functions no longer presuppose that CRs have been
52205212 stripped from the input. (They strip CRs themselves, before
@@ -5318,7 +5310,7 @@ pandoc (2.0)
53185310
53195311 * Removed `hard_line_breaks` extension from `markdown_github` (#3594).
53205312 GitHub has two Markdown modes, one for long-form documents like READMEs
5321− and one for short things like issue comments. In issue comments, a line
5313+ and one for short things like issue coments. In issue comments, a line
53225314 break is treated as a hard line break. In README, wikis, etc., it is
53235315 treated as a space as in regular Markdown. Since pandoc is more likely to
53245316 be used to convert long-form documents from GitHub Markdown,
@@ -5451,11 +5443,6 @@ pandoc (2.0)
54515443 (since the two-space version of a line break doesn't work inside ATX
54525444 headers, and neither version works inside Setext headers).
54535445
5454− + A space between the opening # and the header is now required for
5455− pandoc and GitHub markdown (but not the other flavors). Disable
5456− the `space_in_atx_header` extension (#3512) to restore the
5457− original behavior.
5458−
54595446
54605447 * Org reader (Albert Krewinkel, unless noted):
54615448
@@ -5519,7 +5506,7 @@ pandoc (2.0)
55195506 * HTML reader: parse a span with class `smallcaps` as `SmallCaps`.
55205507
55215508 * LaTeX reader:
5522−
5509+
55235510 + Implemented `\graphicspath` (#736).
55245511 + Properly handle column prefixes/suffixes. For example, in
55255512 `\begin{tabular}{>{$}l<{$}>{$}l<{$} >{$}l<{$}}`
@@ -5537,7 +5524,7 @@ pandoc (2.0)
55375524 A figure with two subfigures turns into two pandoc
55385525 figures; the subcaptions are used and the main caption
55395526 ignored, unless there are no subcaptions.
5540− + Add support for \vdots (Marc Schreiber, #3607).
5527+ + Add support for `\vdots` (Marc Schreiber, #3607).
55415528 + Add basic support for hyphenat package (Marc Schreiber, #3603).
55425529 + Add basic `\textcolor` support (Marc Schreiber).
55435530 + Add support for `tabularx` environment (Marc Schreiber, #3632).
@@ -5559,7 +5546,7 @@ pandoc (2.0)
55595546 `ExpansionPoint` field to `Macro` to track this difference.
55605547 + Support simple `\def` macros. Note that we still don't support
55615548 macros with fancy parameter delimiters, like `\def\foo#1..#2{...}`.
5562− + Support \chaptername, \partname, \abstractname, etc. (#3559,
5549+ + Support `\chaptername`, `\partname`, `\abstractname`, etc. (#3559,
55635550 obsoletes #3560).
55645551 + Put content of `\ref`, `\label`, `\eqref` commands into `Span` with
55655552 attributes, so they can be handled in filters (Marc Schreiber, #3639)
@@ -5636,7 +5623,7 @@ pandoc (2.0)
56365623 your template, you needn't change anything.)
56375624
56385625
5639− [API changes]
5626+### API changes
56405627
56415628 * New module `Text.Pandoc.Class` (Jesse Rosenthal, John MacFarlane).
56425629 This contains definitions of the `PandocMonad` typeclass, the
@@ -5676,7 +5663,7 @@ pandoc (2.0)
56765663 top-level `Text.Pandoc` module.
56775664
56785665 + Changed `StringWriter` -> `TextWriter`.
5679− + `getWriter` now returns a pair of a reader and
5666+ + `getWriter` now retuns a pair of a reader and
56805667 `Extensions`, instead of building the extensions into the
56815668 reader (#3659). The calling code must explicitly set
56825669 `readerExtensions` using the `Extensions` returned. The
@@ -5860,7 +5847,7 @@ pandoc (2.0)
58605847 polymorphic in state.)
58615848
58625849
5863− [bug fixes and under-the-hood improvements]
5850+### Bug fixes and under-the-hood improvements
58645851
58655852 * TEI writer: Added identifiers on `<div>` elements.
58665853
@@ -5987,7 +5974,7 @@ pandoc (2.0)
59875974 interpreted using Markdown rules.
59885975 + Preserve classes in JS obfuscated links (Timm Albers, #2989).
59895976 HTML links containing classes originally now preserve them when using
5990− JavaScript email obfuscation.
5977+ javascript email obfuscation.
59915978 + Render `SmallCaps` as a native span when `native_spans` are enabled.
59925979 + Always write attributes with `bracketed_spans` (d-dorazio).
59935980
@@ -6085,11 +6072,11 @@ pandoc (2.0)
60856072 + Use `%` after hypertarget before code block.
60866073 + Add `\leavevmode` before hypertarget at start of paragraph (#2704,
60876074 fixes formatting problems in beamer citations).
6088− + Don't use `lstinline` in \item[..] (#645). If you do, the contents
6075+ + Don't use `lstinline` in `\item[..]` (#645). If you do, the contents
60896076 of item disappear or are misplaced. Use `\texttt` instead.
60906077 + Fix problem with escaping in `lstinline` (#1629). Previously the
60916078 LaTeX writer created invalid LaTeX when `--listings` was specified and
6092− a code span occurred inside emphasis or another construction.
6079+ a code span occured inside emphasis or another construction.
60936080 + Fix error with line breaks after empty content (#2874). LaTeX
60946081 requires something before a line break, so we insert a `~` if no
60956082 printable content has yet been emitted.
@@ -6196,7 +6183,7 @@ pandoc (2.0)
61966183
61976184 + Don't drop smartTag contents (#2242).
61986185 + Handle local namespace declarations (#3365). Previously we didn't
6199− recognize math, for example, when the xmlns declaration occurred on
6186+ recognize math, for example, when the xmlns declaration occured on
62006187 the element and not the root.
62016188 + More efficient trimSps (#1530). Replacing `trimLineBreaks`. This
62026189 does the work of `normalizeSpaces` as well, so we avoid the need for
@@ -6389,7 +6376,7 @@ pandoc (2.0)
63896376 + Use `pMacroDefinition` in macro (for more direct parsing).
63906377 Note that this means that `macro` will now parse one
63916378 macro at a time, rather than parsing a whole group together.
6392− + Fixed failures on \ref{}, \label{} with `+raw_tex`. Now these
6379+ + Fixed failures on `\ref{}`, `\label{}` with `+raw_tex`. Now these
63936380 commands are parsed as raw if `+raw_tex`; otherwise, their argument
63946381 is parsed as a bracketed string.
63956382 + Don't crash on empty `enumerate` environment (#3707).
@@ -6419,7 +6406,7 @@ pandoc (2.0)
64196406 `rawLaTeXBlock` parser will parse macro definitions. This also avoids
64206407 the need for a separate `latexMacro` parser in the Markdown reader.
64216408 + Use `label` instead of `data-label` for label in caption (#3639).
6422− + Fixed space after \figurename etc.
6409+ + Fixed space after `\figurename` etc.
64236410 + Resolve references to section numbers.
64246411 + Fix `\let\a=0` case, with single character token.
64256412 + Allow `@` as a letter in control sequences. `@` is commonly used
@@ -6430,7 +6417,7 @@ pandoc (2.0)
64306417 + Allow `]` inside group in option brackets (#3857).
64316418 + lstinline with braces can be used (verb cannot be used with braces)
64326419 (Marc Schreiber, #3535).
6433− + Fix keyval function: pandoc did not parse options in braces correctly
6420+ + Fix keyval funtion: pandoc did not parse options in braces correctly
64346421 (Marc Schreiber, #3642).
64356422 + When parsing raw LaTeX commands, include trailing space (#1773).
64366423 Otherwise things like `\noindent foo` break and turn into
@@ -6522,7 +6509,7 @@ pandoc (2.0)
65226509 parse, the parser was applied too often, consuming too much of the
65236510 input. This only affects `many1Till p end` where `p` matches on a
65246511 prefix of `end`.
6525− + Provide `parseFromString` (#3690). This is a version of
6512+ + Provide `parseFromString` (#3690). This is a verison of
65266513 `parseFromString` specialied to ParserState, which resets
65276514 `stateLastStrPos` at the end. This is almost always what we want.
65286515 This fixes a bug where `_hi_` wasn't treated as emphasis in the
@@ -6584,7 +6571,7 @@ pandoc (2.0)
65846571 + Pipe tables: impose minimum cell size (see #3526).
65856572
65866573
6587− [default template changes]
6574+### Default template changes
65886575
65896576 * HTML templates (including EPUB and HTML slide show templates):
65906577
@@ -6628,7 +6615,7 @@ pandoc (2.0)
66286615 + Use `unicode-math` (Vaclav Haisman). Use `mathspec` with only
66296616 XeLaTeX on request.
66306617 + Don't load `fontspec` before `unicode-math` (over there).
6631− The `unicode-math` package loads `fontspec` so explicit loading of
6618+ The `unicode-math` package loads `fontspec` so explict loading of
66326619 `fontspec` before `unicode-math` is not necessary.
66336620 + Use `unicode-math` by default in default.latex template. mathspec will
66346621 be used in xelatex if the `mathspec` variable is set; otherwise
@@ -6659,7 +6646,7 @@ pandoc (2.0)
66596646 obsolete in ConTeXt (Pablo Rodríguez).
66606647
66616648
6662− [documentation improvements]
6649+### Documentation improvements
66636650
66646651 * MANUAL.txt:
66656652
@@ -6712,7 +6699,7 @@ pandoc (2.0)
67126699 to using pandoc as a Haskell library.
67136700
67146701
6715− [build infrastructure improvements]
6702+### Build infrastructure improvements
67166703
67176704 * Removed `data/templates` submodule. Templates are now a subtree
67186705 in `data/templates`. This removes the need to do `git submodule
@@ -6791,7 +6778,31 @@ pandoc (2.0)
67916778 (Václav Haisman, #3889). `tools/pandoc-template-mode.el`
67926779
67936780
6794−pandoc (1.19.2)
6781+## pandoc 1.19.2.4 (10 Sep 2017)
6782+
6783+ * Add dependencies on texmath and skylighting to the executable.
6784+ This is needed for dependency version numbers to be available,
6785+ with Cabal > 2.
6786+
6787+## pandoc 1.19.2.3 (09 Sep 2017)
6788+
6789+ * Add CPP to Setup.hs so it works with Cabal >= 2 and < 2.
6790+
6791+## pandoc 1.19.2.2 (08 Sep 2017)
6792+
6793+ * Fix build with GHC 8.2.1 (#3876, Peter Simons). Setup.hs does not
6794+ compile with Cabal 2.x, so we require an earlier version via
6795+ setup-depends. The following packages need newer versions with
6796+ GHC 8.2.1 and had their constraints relaxed accordingly:
6797+ executable-path, process, syb, and time.
6798+
6799+## pandoc 1.19.2.1 (31 Jan 2017)
6800+
6801+ * Require skylighting >= 0.1.1.4.
6802+ * Adjust test output for skylighting version.
6803+ * Relax upper bounds on blaze-html and blaze-markup.
6804+
6805+## pandoc 1.19.2 (29 Jan 2017)
67956806
67966807 * Use skylighting library instead of highlighting-kate for syntax
67976808 highlighting. Skylighting is faster and more accurate (#3363).
@@ -6912,7 +6923,7 @@ pandoc (1.19.2)
69126923 * Bumped version bounds for dependencies.
69136924
69146925
6915−pandoc (1.19.1)
6926+## pandoc 1.19.1 (10 Dec 2016)
69166927
69176928 * Set `PANDOC_VERSION` environment variable for filters (#2640).
69186929 This allows filters to check the pandoc version that produced
@@ -6977,7 +6988,7 @@ pandoc (1.19.1)
69776988
69786989 * Fix minor spelling typos in the manual (#3273, Anthony Geoghegan)
69796990
6980−pandoc (1.19)
6991+## pandoc 1.19 (01 Dec 2016)
69816992
69826993 * Changed resolution of filter paths.
69836994
@@ -7258,7 +7269,8 @@ pandoc (1.19)
72587269 * Further revisions to manual for `--version` changes (#3244).
72597270
72607271
7261−pandoc (1.18)
7272+
7273+## pandoc 1.18 (26 Oct 2016)
72627274
72637275 * Added `--list-input-formats`, `--list-output-formats`,
72647276 `--list-extensions`, `--list-highlight-languages`, and
@@ -7281,7 +7293,7 @@ pandoc (1.18)
72817293 is now used in parsing RST and Markdown line blocks, DocBook
72827294 `linegroup`/`line` combinations, and Org-mode `VERSE` blocks.
72837295 Previously `Para` blocks with hard linebreaks were used. `LineBlock`s
7284− are handled specially in the following output formats: AsciiDoc
7296+ are handled specially in the following ouput formats: AsciiDoc
72857297 (as `[verse]` blocks), ConTeXt (`\startlines`/`\endlines`),
72867298 HTML (`div` with a style), Markdown (line blocks if `line_blocks`
72877299 is enabled), Org-mode (`VERSE` blocks), RST (line blocks). In
@@ -7428,7 +7440,7 @@ pandoc (1.18)
74287440 comma-separated list.
74297441 + Give precedence to later meta lines. The last meta-line of any given
74307442 type is the significant line. Previously the value of the first line
7431− was kept, even if more lines of the same type were encountered.
7443+ was kept, even if more lines of the same type were encounterd.
74327444 + Read LaTeX_header as header-includes. LaTeX-specific header commands
74337445 can be defined in `#+LaTeX_header` lines. They are parsed as
74347446 format-specific inlines to ensure that they will only show up in LaTeX
@@ -7476,7 +7488,7 @@ pandoc (1.18)
74767488 be able to figure out internal links to a header in a docx if the
74777489 anchor span was empty. We change that to read the inlines out of the
74787490 first anchor span in a header.
7479− + Let headers use existing id. Previously we always generated an id for
7491+ + Let headers use exisiting id. Previously we always generated an id for
74807492 headers (since they wouldn't bring one from Docx). Now we let it use an
74817493 existing one if possible. This should allow us to recurs through anchor
74827494 spans.
@@ -7521,9 +7533,6 @@ pandoc (1.18)
75217533 This allows figure placement defaults to be changed by the user
75227534 in the template.
75237535
7524− * HTML writer (slide show formats): In slide shows, don't change slide title
7525− to level 1 header (#2221).
7526−
75277536 * TEI writer: remove heuristic to detect book template (Albert Krewinkel).
75287537 TEI doesn't have `<book>` elements but only generic `<divN>` division
75297538 elements. Checking the template for a trailing `</book>` is nonsensical.
@@ -7583,7 +7592,7 @@ pandoc (1.18)
75837592 + Don't emit HTML for tables unless `raw_html` extension is set (#3154).
75847593 Emit `[TABLE]` if no suitable table formats are enabled and raw HTML
75857594 is disabled.
7586− + Check for the `raw_html` extension before emitting a raw HTML block.
7595+ + Check for the `raw_html` extension before emiting a raw HTML block.
75877596 + Abstract out note/ref function (Jesse Rosenthal).
75887597 + Add ReaderT monad for environment variables (Jesse Rosenthal).
75897598
@@ -7689,7 +7698,7 @@ pandoc (1.18)
76897698 + Remove blaze-html CPP conditional.
76907699 + Remove unnecessary CPP in custom Prelude.
76917700
7692−pandoc (1.17.2)
7701+## pandoc 1.17.2 (17 Jul 2016)
76937702
76947703 * Added Zim Wiki writer, template and tests. `zimwiki` is now
76957704 a valid output format. (Alex Ivkin)
@@ -7717,14 +7726,13 @@ pandoc (1.17.2)
77177726 wrapped in a `#+BEGIN`...`#+END` block.
77187727 - The old behavior for Divs with more complex attributes is kept.
77197728
7720− * HTML writer:
7721−
7722− + Better support for raw LaTeX environments (#2758).
7723− Previously we just passed all raw TeX through when MathJax was used for
7724− HTML math. This passed through too much. With this patch, only raw
7725− LaTeX environments that MathJax can handle get passed through.
7726− This patch also causes raw LaTeX environments to be treated
7727− as math, when possible, with MathML and WebTeX output.
7729+ * HTML writer: Better support for raw LaTeX environments (#2758).
7730+ Previously we just passed all raw TeX through when MathJax
7731+ was used for HTML math. This passed through too much.
7732+ With this patch, only raw LaTeX environments that MathJax
7733+ can handle get passed through.
7734+ This patch also causes raw LaTeX environments to be treated
7735+ as math, when possible, with MathML and WebTeX output.
77287736
77297737 * Markdown writer: use raw HTML for simple, pipe tables with linebreaks
77307738 (#2993). Markdown line breaks involve a newline, and simple and pipe
@@ -7935,9 +7943,6 @@ pandoc (1.17.2)
79357943
79367944 * make_oxs_package.sh - use OSX env variable.
79377945
7938− * Replaced INSTALL with INSTALL.md, incorporating INSTALL and the
7939− old installing page from website.
7940−
79417946 * Added `winpkg` target to Makefile. This downloads the windows package
79427947 from appveyor and signs it using the key.
79437948
@@ -7951,7 +7956,7 @@ pandoc (1.17.2)
79517956
79527957 * Update library dependency versions.
79537958
7954−pandoc (1.17.1)
7959+## pandoc 1.17.1 (4 Jun 2016)
79557960
79567961 * New output format: `docbook5` (Ivo Clarysse).
79577962
@@ -8034,7 +8039,6 @@ pandoc (1.17.1)
80348039
80358040 * Markdown reader:
80368041
8037− + Added bracket syntax for native spans (#168).
80388042 + Fix pandoc title blocks with lines ending in 2 spaces (#2799).
80398043 + Added `-s` to markdown-reader-more test.
80408044
@@ -8063,7 +8067,7 @@ pandoc (1.17.1)
80638067 character. Empty rows where parsed as alignment rows and dropped from
80648068 the output.
80658069 + Fix spacing after LaTeX-style symbols.
8066− The org-reader was dropping space after unescaped LaTeX-style symbol
8070+ The org-reader was droping space after unescaped LaTeX-style symbol
80678071 commands: `\ForAll \Auml` resulted in `∀Ä` but should give `∀ Ä`
80688072 instead. This seems to be because the LaTeX-reader treats the
80698073 command-terminating space as part of the command. Dropping the trailing
@@ -8157,7 +8161,7 @@ pandoc (1.17.1)
81578161 + Clarified documentation of `implicit_header_references` (#2904).
81588162 + Improved documentation of `--columns` option.
81598163
8160− * Added appveyor setup, with artifacts (Jan Schulz).
8164+ * Added appveyor setup, with artefacts (Jan Schulz).
81618165
81628166 * stack.yaml versions: Use proper flags used for texmath, pandoc-citeproc.
81638167
@@ -8176,7 +8180,9 @@ pandoc (1.17.1)
81768180
81778181 * On travis, test with ghc 8.0.1; drop testing for ghc 7.4.1.
81788182
8179−pandoc (1.17.0.3)
8183+
8184+
8185+## pandoc 1.17.0.3 (24 Mar 2016)
81808186
81818187 * LaTeX writer: Fixed position of label in figures (#2813).
81828188 Previously the label wasn't in the right place, and `\ref`
@@ -8185,13 +8191,13 @@ pandoc (1.17.0.3)
81858191 in tarball (#2811).
81868192 * Updated copyright dates.
81878193
8188−pandoc (1.17.0.2)
8194+## pandoc 1.17.0.2 (23 Mar 2016)
81898195
81908196 * Fixed serious regression in `htmlInBalanced`, which caused
81918197 newlines to be omitted in some raw HTML blocks in Markdown
81928198 (#2804).
81938199
8194−pandoc (1.17.0.1)
8200+## pandoc 1.17.0.1 (21 Mar 2016)
81958201
81968202 * File scope is no longer used when there are no input files (i.e.,
81978203 when input comes from stdin). Previously file scope was triggered
@@ -8200,7 +8206,7 @@ pandoc (1.17.0.1)
82008206 thanks to Fedor Sheremetyev for calling the bug to our attention.)
82018207 * Improved documentation of templates (#2797).
82028208
8203−pandoc (1.17)
8209+## pandoc 1.17 (20 Mar 2016)
82048210
82058211 * Added `--file-scope` option (Jesse Rosenthal).
82068212 By default pandoc operates on multiple files by first concatenating
@@ -8209,7 +8215,7 @@ pandoc (1.17)
82098215 benefit that footnotes and links can be in different files, but for
82108216 some purposes it is useful to parse the individual files first
82118217 and then combine their outputs (e.g. when the files use footnotes
8212− or links with the same labels). The `--file-scope` option causes
8218+ or links with the same labels). The `--file-scope` option causes
82138219 pandoc to parse the files first, and then combine the parsed output,
82148220 instead of combining before parsing. `--file-scope` is selected
82158221 automatically for binary input files (which cannot be concatenated)
@@ -8222,9 +8228,9 @@ pandoc (1.17)
82228228
82238229 * Add `readDocxWithWarnings` (API change, Jesse Rosenthal).
82248230
8225− * Changed type of `Shared.uniqueIdent`'s argument from `[String]`
8226− to `Set String.` This avoids performance problems in documents with
8227− many identically named headers (API change, #2671).
8231+ * Changed type of `Shared.uniqueIdent` argument from
8232+ `[String]` to `Set String`. This avoids performance problems in documents
8233+ with many identically named headers (API change, #2671).
82288234
82298235 * Removed `tex_math_single_backslash` from `markdown_github` options
82308236 (#2707).
@@ -8343,7 +8349,7 @@ pandoc (1.17)
83438349
83448350 * Allow `aeson` 0.11.
83458351
8346−pandoc (1.16.0.2)
8352+## pandoc (1.16.0.2)
83478353
83488354 * Depend on deepseq rather than deepseq-generics (fpco/stackage#1096).
83498355
@@ -8351,7 +8357,17 @@ pandoc (1.16.0.2)
83518357 In cases where a match was not found for a quote, everything
83528358 from the open quote to the end of the paragraph was being dropped.
83538359
8354−pandoc (1.16.0.1)
8360+
8361+
8362+## pandoc 1.16.0.2 (12 Jan 2016)
8363+
8364+ * Depend on deepseq rather than deepseq-generics (fpco/stackage#1096).
8365+
8366+ * Fixed regression in latex smart quote parsing (#2645).
8367+ In cases where a match was not found for a quote, everything
8368+ from the open quote to the end of the paragraph was being dropped.
8369+
8370+## pandoc 1.16.0.1 (10 Jan 2016)
83558371
83568372 * Fixed regression with `--latex-engine` (#2618). In 1.16 `--latex-engine`
83578373 raises an error if a full path is given.
@@ -8396,7 +8412,7 @@ pandoc (1.16.0.1)
83968412
83978413 * Entity handling fixes: improved handling of entities like
83988414 `⟨` that require a trailing semicolon. Allow uppercase
8399− `x` in numerical hexadecimal character references, working
8415+ `x` in numerical hexidecimal character references, working
84008416 around a tagsoup bug.
84018417
84028418 * `stack.yaml` - use lts-4.0, but with older aeson to avoid excessive
@@ -8408,7 +8424,7 @@ pandoc (1.16.0.1)
84088424 `TREE=1.16.0.1 DPKGVER=2 make deb`.
84098425
84108426
8411−pandoc (1.16)
8427+## pandoc 1.16 (02 Jan 2016)
84128428
84138429 * Added `Attr` field to `Link` and `Image` (Mauro Bieg, #261, API change).
84148430
@@ -8717,7 +8733,7 @@ pandoc (1.16)
87178733
87188734 * Bump version bounds for dependencies.
87198735
8720−pandoc (1.15.2.1)
8736+## pandoc 1.15.2.1 (16 Nov 2015)
87218737
87228738 * Added two missing test files, and `stack.yaml`, to
87238739 `extra-source-files` so they're included in the source tarball.
@@ -8726,7 +8742,7 @@ pandoc (1.15.2.1)
87268742 `parallaxBackgroundHorizontal` and `parallaxBackgroundVertical`
87278743 need integer values, not strings. (Vaughn Iverson)
87288744
8729−pandoc (1.15.2)
8745+## pandoc 1.15.2 (15 Nov 2015)
87308746
87318747 * `pandoc my.md -t context -o my.pdf` will now create a PDF using
87328748 ConTeXt rather than LaTeX (#2463).
@@ -8807,13 +8823,13 @@ pandoc (1.15.2)
88078823 Jesse Rosenthal). This fixes a problem with links in notes.
88088824
88098825 * LaTeX and ConTeXt writers: support `lang` attribute on divs and spans
8810− (Mauro Bieg). For LaTeX, also collect `lang` and `dir` attributes on
8811− spans and divs to set the `lang`, `otherlangs` and `dir` variables if
8812− they aren’t set already. See #895.
8826+ (mb21). For LaTeX, also collect `lang` and `dir` attributes on spans and
8827+ divs to set the `lang`, `otherlangs` and `dir` variables if they aren’t set
8828+ already. See #895.
88138829
88148830 * LaTeX writer:
88158831
8816− + Use proper command for `\textarabic` (Mauro Bieg).
8832+ + Use proper command for `\textarabic` (mb21).
88178833 + Added `de-CH-1901`, fixed `el-polyton` in `toPloyglossia` (Nick Bart).
88188834 + Use `\hypertarget` and `\hyperlink` for links. This works correctly
88198835 to link to Div or Span elements. We now don't bother defining `\label`
@@ -8840,9 +8856,8 @@ pandoc (1.15.2)
88408856 the tags linking to media that should not be downloaded. Example:
88418857
88428858 <audio controls="1">
8843− <source src="http://example.com/music/toccata.mp3"
8844− data-external="1" type="audio/mpeg">
8845− </source>
8859+ <source src="http://www.sixbarsjail.it/tmp/bach_toccata.mp3"
8860+ type="audio/mpeg"></source>
88468861 </audio>
88478862
88488863 * HTML writer: use width on whole table if col widths sum to < 100%.
@@ -8866,7 +8881,7 @@ pandoc (1.15.2)
88668881
88678882 + Add `babel-otherlangs` for language divs/spans; `babel-newcommands`,
88688883 filled by commands that make babel understand the polyglossia-style
8869− language directives (Mauro Bieg, #137).
8884+ language directives (mb21, #137).
88708885 + Improved formatting of conditionals; `$for$` is always provided to allow
88718886 multiple options (Andrew Dunning, #141).
88728887 + Use `Ligatures=TeX` rather than `Mapping=tex-text` with `fontspec`
@@ -8933,14 +8948,7 @@ pandoc (1.15.2)
89338948 + Fixed `auto_identifiers` examples (Benoit Schweblin).
89348949 + Improved documentation of template variables (Andrew Dunning).
89358950
8936−pandoc (1.15.1.1)
8937−
8938− * `Text.Pandoc.Data`: store paths in dataFiles using posix separators.
8939− This way we have uniform separators, whether on Windows or Linux.
8940− This should solve a problem where on some Windows versions
8941− the data files weren't being found (#2459).
8942−
8943−pandoc (1.15.1)
8951+## pandoc 1.15.1 (15 Oct 2015)
89448952
89458953 * `pandocVersion` is now defined in `Text.Pandoc.Shared`
89468954 and reexported from `Text.Pandoc` (Alex Vong). This allows
@@ -8949,7 +8957,7 @@ pandoc (1.15.1)
89498957 * For `markdown_mmd`, add: `implicit_figures`, `superscripts`,
89508958 `subscripts` (#2401).
89518959
8952− * Added `odt` as input format (Martin Linnemann). Added new module
8960+ * Added `odt` as input format (MarLinn). Added new module
89538961 `Text.Pandoc.Reader.ODT` (API change). Fully implemented features:
89548962 Paragraphs, Headers, Basic styling, Unordered lists, Ordered lists,
89558963 External Links, Internal Links, Footnotes, Endnotes, Blockquotes.
@@ -9079,7 +9087,7 @@ pandoc (1.15.1)
90799087 + Correctly recognize book documentclass in metadata (#2395).
90809088 + Set language-related variables automatically, depending
90819089 on the value of the `lang` field, which is now always
9082− assumed to be in BCP47 format (Mauro Bieg, #1614, #2437).
9090+ assumed to be in BCP47 format (mb21, #1614, #2437).
90839091 + Add `\protect` to `\hyperdef` in inline context. This way we
90849092 don't get an error when this is used as a moveable argument (#2136).
90859093 + Support all frame attributes in Beamer.
@@ -9102,7 +9110,7 @@ pandoc (1.15.1)
91029110 * Native writer: format Div properly, with blocks separated.
91039111
91049112 * Support bidirectional text output with XeLaTeX, ConTeXt and HTML
9105− (#2191, Mauro Bieg).
9113+ (#2191, mb21).
91069114
91079115 * Reference Docx:
91089116
@@ -9119,7 +9127,7 @@ pandoc (1.15.1)
91199127 + LaTeX: Add `mainfontoptions`, `sansfontoptions`,
91209128 `monofontoptions`, `mathfontoptions`, `fontfamilyoptions`
91219129 (Andrew Dunning, #122). Support handling of bidirectional
9122− text (Mauro Bieg, #120). Improve reliability of superscripts/subscripts
9130+ text (mb21, #120). Improve reliability of superscripts/subscripts
91239131 under XeTeX and prevent letters and numbers from appearing on a
91249132 different baseline by removing use of the `realscripts` package
91259133 (via `xltxtra`). To restore use of OpenType characters for these
@@ -9130,18 +9138,17 @@ pandoc (1.15.1)
91309138 Allow use of `hidelinks` variable for `hyperref` package (Hugo Roy,
91319139 #113). Prevent package clash with `tufte-latex` and other classes that
91329140 include `hyperref` or `color` (Xavier Olive, #115).
9133− + ConTeXt: Support handling of bidirectional text (Mauro Bieg, #120).
9141+ + ConTeXt: Support handling of bidirectional text (mb21, #120).
91349142 + LaTeX and ConTeXt: Use more specific language variables.
91359143 Instead of directly using `lang`, we now use `babel-lang` and
91369144 `polyglossia-lang` and `context-lang`. These variables are set by
91379145 the writers to the necessary values, based on the `lang` variable
9138− (which now always takes a value in BCP47 format). (Mauro Bieg, #114,
9139− #129).
9140− + HTML: Support handling of bidirectional text (Mauro Bieg, #120).
9146+ (which now always takes a value in BCP47 format). (mb21, #114, #129).
9147+ + HTML: Support handling of bidirectional text (mb21, #120).
91419148 Move HTML5 shiv after CSS and fix URL (Andrew Dunning).
91429149 Add dir attribute in html5 (Andrew Dunning).
91439150 + reveal.js: Add `controls`, `progress` variables (Grégoire Pineau, #127).
9144− Add `width`, `height` variables (Andrew Dunning). Update template
9151+ Add `width`, `height` variables (Anrew Dunning). Update template
91459152 from 3.1 source (Andrew Dunning). All configuration options are now
91469153 available as variables, but are only be included if set (reveal.js
91479154 uses defaults otherwise).
@@ -9232,7 +9239,7 @@ pandoc (1.15.1)
92329239 `make .travis.yml` regenerates it based on the tested-with
92339240 field of the cabal file.
92349241
9235−pandoc (1.15.0.6)
9242+## pandoc 1.15.0.6 (15 Jul 2015)
92369243
92379244 * `--self-contained`: Fixed overaggressive CSS minimization (#2301, 2286).
92389245 Previously `--self-contained` wiped out all spaces in CSS,
@@ -9274,16 +9281,13 @@ pandoc (1.15.0.6)
92749281
92759282 * Require cmark > 0.4.
92769283
9277−pandoc (1.15.0.5)
9284+## pandoc 1.15.0.5 (10 Jul 2015)
92789285
92799286 * HTML writer: Fixed email javascript obfuscation with `mailto:`
92809287 URLs (#2280). This fixes a potential security issue. Because
92819288 single quotes weren't being escaped in the link portion, a
92829289 specially crafted email address could allow javascript code injection.
92839290
9284− * Markdown/HTML readers: Avoid parsing partial URLs like
9285− `<www.pandoc.org/blah#foo>` as HTML tags (#2277).
9286−
92879291 * RST reader: allow inline formatting in definition list field
92889292 names (Lars-Dominik Braun).
92899293
@@ -9294,7 +9298,7 @@ pandoc (1.15.0.5)
92949298 * CommonMark writer: fixed tags used for super/subscript.
92959299
92969300 * ConTeXt template: activate hanging indent for definition lists
9297− (Mauro Bieg).
9301+ (mb21).
92989302
92999303 * Make cabal require `hsb2hs` >= 0.3.1 if `embed_data_files` specified.
93009304 This is done by adding `hookedPrograms` in `Setup.hs`, which allows us
@@ -9312,7 +9316,7 @@ pandoc (1.15.0.5)
93129316
93139317 * Improved documentation on where user templates go (#2272).
93149318
9315−pandoc (1.15.0.4)
9319+## pandoc 1.15.0.4 (03 Jul 2015)
93169320
93179321 * Added pandoc.1 man page to the repository. It is no longer
93189322 built as part of the cabal build process. (This proved too
@@ -9325,20 +9329,20 @@ pandoc (1.15.0.4)
93259329 the filter requires an interpreter that isn't found in the path,
93269330 or if the filter returns an error status.
93279331
9328−pandoc (1.15.0.3)
9332+## pandoc 1.15.0.3 (02 Jul 2015)
93299333
93309334 * Ensure target directory is created when installing man page.
93319335
9332−pandoc (1.15.0.2)
9336+## pandoc 1.15.0.2 (02 Jul 2015)
93339337
93349338 * Added files needed for building man page to Extra-Source-Files.
93359339
9336−pandoc (1.15.0.1)
9340+## pandoc 1.15.0.1 (01 Jul 2015)
93379341
93389342 * Man page is now built and installed as part of the cabal build
93399343 process. Removed Makefile target for man page.
93409344
9341−pandoc (1.15)
9345+## pandoc 1.15 (01 Jul 2015)
93429346
93439347 * Man page changes:
93449348
@@ -9365,7 +9369,7 @@ pandoc (1.15)
93659369
93669370 * Ignore sandbox on 'make quick'
93679371
9368−pandoc (1.14.1)
9372+## pandoc 1.14.1 (30 Jun 2015)
93699373
93709374 * Added `--man1` and `--man5` options to pandoc, allowing pandoc
93719375 to generate its own man pages. Man pages are no longer automatically
@@ -9412,7 +9416,7 @@ pandoc (1.14.1)
94129416
94139417 * HTML reader: allow `<body>` to close `<head>`.
94149418
9415− * DocBook reader: support `mediaobject`s and `figures` (#2184, Mauro Bieg).
9419+ * DocBook reader: support `mediaobject`s and `figures` (#2184, mb21).
94169420
94179421 * RST reader: Fix reference names with special characters
94189422 (Lars-Dominik Braun).
@@ -9453,23 +9457,23 @@ pandoc (1.14.1)
94539457
94549458 * Added `download_stats` target to Makefile.
94559459
9456−pandoc (1.14.0.4)
9460+## pandoc 1.14.0.4 (02 Jun 2015)
94579461
94589462 * Added missing commonmark template.
94599463
94609464 * Improved try pandoc (moved button, show raw command).
94619465
9462−pandoc (1.14.0.3)
9466+## pandoc 1.14.0.3 (01 Jun 2015)
94639467
94649468 * Allow compilation with syb 0.5.*.
94659469
94669470 * Custom writer: fixed some compiler warnings for ghc < 7.10.
94679471
9468−pandoc (1.14.0.2)
9472+## pandoc 1.14.0.2 (31 May 2015)
94699473
94709474 * Allow building with hslua 0.4.
94719475
9472−pandoc (1.14.0.1)
9476+## pandoc 1.14.0.1 (28 May 2015)
94739477
94749478 * Fixed problem with building of `reference.docx` and `reference.odt`
94759479 when the `embed_data_files` flag is used. Instead of having a phase
@@ -9490,9 +9494,9 @@ pandoc (1.14.0.1)
94909494 * ConTeXt writer: create internal link anchors for Div elements with
94919495 identifiers. (This is needed for linked citations to work.)
94929496
9493−pandoc (1.14)
9497+## pandoc 1.14 (27 May 2015)
94949498
9495− [new features]
9499+### New features
94969500
94979501 * Added `commonmark` as input and output format.
94989502
@@ -9515,7 +9519,7 @@ pandoc (1.14)
95159519 If shortcut links are not desired, the extension can be disabled
95169520 in the normal way.
95179521
9518− [behavior changes]
9522+### Behavior changes
95199523
95209524 * `--toc` is now supported for `docx` output (#458, Nikolay Yakimov).
95219525 A "dirty" TOC is created at the beginning of document.
@@ -9673,7 +9677,7 @@ pandoc (1.14)
96739677 `FigureCaption` (based on `Caption`) -- for figure captions.
96749678 Also, `TableCaption` (based on `Caption`) is used for table captions.
96759679
9676− [API changes]
9680+### API changes
96779681
96789682 * New `Text.Pandoc.Error` module with `PandocError` type
96799683 (Matthew Pickering).
@@ -9693,7 +9697,7 @@ pandoc (1.14)
96939697 * New `Ext_shortcut_reference_links` constructor for `Extension`
96949698 (Konstantin Zudov).
96959699
9696− [bug fixes]
9700+### Bug fixes
96979701
96989702 * Markdown reader:
96999703
@@ -9715,7 +9719,7 @@ pandoc (1.14)
97159719 * HTML reader:
97169720
97179721 + Improve self-closing tag detection in `htmlInBalanced` (#2146).
9718− + Handle tables with `<th>` in body rows (#1859, Mauro Bieg).
9722+ + Handle tables with `<th>` in body rows (#1859, mb21).
97199723 + Fixed `htmlTag` (#1820). If the tag parses as a comment, we check
97209724 to see if the input starts with `<!--`. If not, it's bogus comment
97219725 mode and we fail `htmlTag`.
@@ -9749,7 +9753,7 @@ pandoc (1.14)
97499753 commit, these separators are still ignored, but the table gets
97509754 parsed. A test case is included.
97519755 + Recognize `\newpage` as a block command.
9752− + Allow block content in \title{} (#2001).
9756+ + Allow block content in `\title{}` (#2001).
97539757 + Check for block-level newcommand aliases in blockCommand (Nikolay
97549758 Yakimov).
97559759 + Guard against paragraph starting with inline macro (Nikolay Yakimov).
@@ -9883,8 +9887,7 @@ pandoc (1.14)
98839887
98849888 * `Text.Pandoc.PDF`
98859889
9886− + Don't suggest "Try xelatex" if xelatex already in use (Mauro Bieg,
9887− #1832).
9890+ + Don't suggest "Try xelatex" if xelatex already in use (mb21, #1832).
98889891 + More comprehensible errors on image conversion (#2067).
98899892 EPS can't be supported without shelling out to something like
98909893 ImageMagick, but at least we can avoid mysterious error messages.
@@ -9892,7 +9895,7 @@ pandoc (1.14)
98929895 * `Text.Pandoc.Shared`:
98939896
98949897 + Make safeRead safe (#1801, Matthew Pickering).
9895− + Added `mapLeft`, `hush` (Matthew Pickering).
9898+ + Addded `mapLeft`, `hush` (Matthew Pickering).
98969899
98979900 * `Text.Pandoc.Pretty`:
98989901
@@ -9927,7 +9930,7 @@ pandoc (1.14)
99279930 * pandoc: When a binary input format is used, warn that file
99289931 arguments past the first one are being ignored (Matthew Pickering).
99299932
9930− [template changes]
9933+### Template changes
99319934
99329935 * LaTeX template:
99339936
@@ -9960,7 +9963,7 @@ pandoc (1.14)
99609963
99619964 + Use `text:p` instead of `text:h` for title.
99629965 Using `text:h` causes problems with numbering. Closes #2059.
9963− Thanks to @nkalvi for diagnosing this.
9966+ Thansk to @nkalvi for diagnosing this.
99649967
99659968 * reveal.js template:
99669969
@@ -9973,7 +9976,7 @@ pandoc (1.14)
99739976 themes, instead of being replaced by them.
99749977 + Allow `center` to be set to false.
99759978
9976− [under the hood improvements]
9979+### Under the hood improvements
99779980
99789981 * Removed pre-built `reference.docx` and `reference.odt` (Nikolay
99799982 Yakimov). Instead the repository now includes the component text files,
@@ -10034,16 +10037,15 @@ pandoc (1.14)
1003410037 + Added section on syntax highlighting.
1003510038 + Documented `toccolor` variable.
1003610039
10037−pandoc (1.13.2.1)
10040+## pandoc 1.13.2.1 (15 Apr 2015)
1003810041
1003910042 * Updated to build with ghc 7.10.1.
1004010043
10041− * Bumped package upper bounds for filepath, blaze-html,
10042− blaze-markup.
10044+ * Bumped package upper bounds for filepath, blaze-html, blaze-markup.
1004310045
10044−pandoc (1.13.2)
10046+## pandoc 1.13.2 (20 Dec 2014)
1004510047
10046− * TWiki Reader: add new twiki reader (API change, Alexander Sulfrian).
10048+ * TWiki Reader: add new new twiki reader (API chaneg, Alexander Sulfrian).
1004710049
1004810050 * Markdown reader:
1004910051
@@ -10066,7 +10068,7 @@ pandoc (1.13.2)
1006610068 + Parse RST class directives. The class directive accepts one or more
1006710069 class names, and creates a Div value with those classes. If the
1006810070 directive has an indented body, the body is parsed as the children of
10069− the Div. If not, the first block following the directive is made a
10071+ the Div. If not, the first block folowing the directive is made a
1007010072 child of the Div. This differs from the behavior of rst2xml, which
1007110073 does not create a Div element. Instead, the specified classes are
1007210074 applied to each child of the directive. However, most Pandoc Block
@@ -10321,23 +10323,23 @@ pandoc (1.13.2)
1032110323 Now we still support those, but also support the format recommended
1032210324 for epub metadata in the pandoc README:
1032310325
10324− ---
10325− title:
10326− - type: main
10327− text: My Book
10328− - type: subtitle
10329− text: An investigation of metadata
10330− creator:
10331− - role: author
10332− text: John Smith
10333− - role: editor
10334− text: Sarah Jones
10335− identifier:
10336− - scheme: DOI
10337− text: doi:10.234234.234/33
10338− publisher: My Press
10339− rights: (c) 2007 John Smith, CC BY-NC
10340− ...
10326+ ---
10327+ title:
10328+ - type: main
10329+ text: My Book
10330+ - type: subtitle
10331+ text: An investigation of metadata
10332+ creator:
10333+ - role: author
10334+ text: John Smith
10335+ - role: editor
10336+ text: Sarah Jones
10337+ identifier:
10338+ - scheme: DOI
10339+ text: doi:10.234234.234/33
10340+ publisher: My Press
10341+ rights: (c) 2007 John Smith, CC BY-NC
10342+ ...
1034110343
1034210344 * `Text.Pandoc.Templates.getDefaultTemplate`:
1034310345 don't fail when called with "fb2" (#1660).
@@ -10382,7 +10384,8 @@ pandoc (1.13.2)
1038210384
1038310385 * Added `track` to list of tags treated by `--self-contained` (#1664).
1038410386
10385−pandoc (1.13.1)
10387+
10388+## pandoc 1.13.1 (30 Aug 2014)
1038610389
1038710390 * Fixed `--self-contained` with Windows paths (#1558).
1038810391 Previously `C:\foo.js` was being wrongly interpreted as a URI.
@@ -10417,10 +10420,6 @@ pandoc (1.13.1)
1041710420 This makes to docx reader's native output fit with the way the markdown
1041810421 reader understands its markdown output.
1041910422
10420− * Textile writer: Extended the range of cases where native textile
10421− tables will be used (as opposed to raw HTML): we now handle any
10422− alignment type, but only for simple tables with no captions.
10423−
1042410423 * Txt2Tags reader:
1042510424
1042610425 + Header is now parsed only if standalone flag is set (Matthew Pickering).
@@ -10430,6 +10429,10 @@ pandoc (1.13.1)
1043010429 + Corrected formatting of `%%mtime` macro (Matthew Pickering).
1043110430 + Fixed crash when reading from stdin.
1043210431
10432+ * Textile writer: Extended the range of cases where native textile
10433+ tables will be used (as opposed to raw HTML): we now handle any
10434+ alignment type, but only for simple tables with no captions.
10435+
1043310436 * EPUB writer: Don't use page-progression-direction in EPUB2, which
1043410437 doesn't support it. Also, if page-progression-direction not specified
1043510438 in metadata, don't include the attribute even in EPUB3; not including it
@@ -10485,7 +10488,7 @@ pandoc (1.13.1)
1048510488 * Updated README to remove outdated claim that `--self-contained`
1048610489 looks in the user data directory for missing files.
1048710490
10488−pandoc (1.13.0.1)
10491+## pandoc 1.13.0.1 (17 August 2014)
1048910492
1049010493 * Docx writer:
1049110494
@@ -10517,9 +10520,9 @@ pandoc (1.13.0.1)
1051710520 * Updated README in templates to indicate templates license.
1051810521 The templates are dual-licensed, BSD3 and GPL2+.
1051910522
10520−pandoc (1.13)
10523+## pandoc 1.13 (15 August 2014)
1052110524
10522− [new features]
10525+### New features
1052310526
1052410527 * Added `docx` as an input format (Jesse Rosenthal). The docx
1052510528 reader includes conversion of native Word equations to pandoc
@@ -10559,7 +10562,7 @@ pandoc (1.13)
1055910562 for debugging parsing problems; ordinary users should not need
1056010563 to use it.
1056110564
10562− [behavior changes]
10565+### Behavior changes
1056310566
1056410567 * Changed behavior of the `markdown_attribute` extension, to bring
1056510568 it in line with PHP markdown extra and multimarkdown. Setting
@@ -10688,7 +10691,7 @@ pandoc (1.13)
1068810691 * `--normalize` and `Text.Pandoc.Shared.normalize` now consolidate
1068910692 adjacent `RawBlock`s when possible.
1069010693
10691− [API changes]
10694+### API changes
1069210695
1069310696 * Added `Text.Pandoc.Readers.Docx`, exporting `readDocx` (Jesse Rosenthal).
1069410697
@@ -10780,7 +10783,7 @@ pandoc (1.13)
1078010783 + Added `blanklines`, which guarantees a certain number of blank lines
1078110784 (and no more).
1078210785
10783− [bug fixes]
10786+### Bug fixes
1078410787
1078510788 * Markdown reader:
1078610789
@@ -10822,7 +10825,7 @@ pandoc (1.13)
1082210825 + Handle leading/trailing spaces in `\emph` better.
1082310826 `\emph{ hi }` gets parsed as `[Space, Emph [Str "hi"], Space]`
1082410827 so that we don't get things like `* hi *` in markdown output.
10825− Also applies to `\textbf` and some other constructions (#1146).
10828+ Also applies to `textbf` and some other constructions (#1146).
1082610829 + Don't assume preamble doesn't contain environments (#1338).
1082710830 + Allow (and discard) optional argument for `\caption` (James Aspnes).
1082810831
@@ -10983,7 +10986,7 @@ pandoc (1.13)
1098310986 + Added `isbn` and `pmid` to list of recognized schemes (Matthew
1098410987 Pickering).
1098510988
10986− [template changes]
10989+### Template changes
1098710990
1098810991 * Added haddock template.
1098910992 * EPUB3: Added `type` attribute to `link` tags. They are supposed to
@@ -10996,7 +10999,7 @@ pandoc (1.13)
1099610999 these variables can be set at the command line with `-Vlot -Vlof`
1099711000 or in YAML metadata.
1099811001
10999− [under the hood improvements]
11002+### Under the hood improvements
1100011003
1100111004 * Rewrote normalize for efficiency (#1385).
1100211005
@@ -11011,7 +11014,7 @@ pandoc (1.13)
1101111014 different versions of the `directory` library.
1101211015
1101311016 + Added `Text.Pandoc.Compat.Except` to allow building against
11014− different versions of `mtl`.
11017+ different verions of `mtl`.
1101511018
1101611019 * Code cleanup in some writers, using Reader monad to avoid
1101711020 passing options parameter around (Matej Kollar).
@@ -11082,7 +11085,7 @@ pandoc (1.13)
1108211085 (#1412).
1108311086
1108411087
11085−pandoc (1.12.4.2)
11088+## pandoc 1.12.4.2 (14 May 2014)
1108611089
1108711090 * Require highlighting-kate >= 0.5.8. Fixes a performance regression.
1108811091
@@ -11101,7 +11104,7 @@ pandoc (1.12.4.2)
1110111104 + Support code block headers (`#+BEGIN_SRC ...`) (Albert Krewinkel).
1110211105 + Fix parsing of blank lines within blocks (Albert Krewinkel).
1110311106 + Support pandoc citation extension (Albert Krewinkel). This can
11104− be turned off by specifying `org-citations` as the input format.
11107+ be turned off by specifying `org-citation` as the input format.
1110511108
1110611109 * Markdown reader:
1110711110
@@ -11126,7 +11129,7 @@ pandoc (1.12.4.2)
1112611129 + Added OSX package uninstall script, included in the zip container
1112711130 (thanks to Daniel T. Staal).
1112811131
11129−pandoc (1.12.4)
11132+## pandoc 1.12.4 (07 May 2014)
1113011133
1113111134 * Made it possible to run filters that aren't executable (#1096).
1113211135 Pandoc first tries to find the executable (searching the path
@@ -11137,11 +11140,11 @@ pandoc (1.12.4)
1113711140
1113811141 * Added Emacs org-mode reader (Albert Krewinkel).
1113911142
11140− * Added InDesign ICML Writer (Mauro Bieg).
11143+ * Added InDesign ICML Writer (mb21).
1114111144
1114211145 * MediaWiki reader:
1114311146
11144− + Accept image links in more languages (Jaime Marquínez Ferrándiz).
11147+ + Accept image links in more languages (Jaime Marquínez Ferrándiz).
1114511148 + Fixed bug in certain nested lists (#1213). If a level 2 list was
1114611149 followed by a level 1 list, the first item of the level 1 list
1114711150 would be lost.
@@ -11191,10 +11194,6 @@ pandoc (1.12.4)
1119111194 + Implemented correct parsing rules for inline markup (#1175, Matthew
1119211195 Pickering).
1119311196 + Use Builder (Matthew Pickering).
11194− + Fixed list parsing bug (#1500).
11195− + Don't allow inline formatting to extend over newlines.
11196− This matches the behavior of RedCarpet, avoids some ugly bugs,
11197− and improves performance.
1119811197
1119911198 * DocBook reader:
1120011199
@@ -11340,14 +11339,8 @@ pandoc (1.12.4)
1134011339 in your template, the word `true` will appear, which may be
1134111340 unexpected. (Previously nothing would appear.)
1134211341
11343− * `Text.Pandoc.SelfContained`:
11344−
11345− + `mkSelfContained` now takes just two arguments, `WriterOptions` and
11346− the string.
11347− * It no longer looks in data files. This only made sense when we
11348− had copies of slidy and S5 code there.
11349− * `fetchItem'` is used instead of the nearly duplicate `getItem`.
11350− + Handle `poster` attribute in `video` tags (#1188).
11342+ * `Text.Pandoc.SelfContained`: Handle `poster` attribute in `video`
11343+ tags (#1188).
1135111344
1135211345 * `Text.Pandoc.Parsing`:
1135311346
@@ -11432,12 +11425,12 @@ pandoc (1.12.4)
1143211425
1143311426 * Use cabal sandboxes in Windows build script.
1143411427
11435−pandoc (1.12.3.3)
11428+## pandoc 1.12.3.3 (03 Feb 2014)
1143611429
1143711430 * To changes to source; recompiled tarball with latest alex and
1143811431 happy, so they will work with GHC 7.8.
1143911432
11440−pandoc (1.12.3.2)
11433+## pandoc 1.12.3.2 (03 Feb 2014)
1144111434
1144211435 * Bumped version bounds for blaze-html, blaze-markup.
1144311436
@@ -11451,11 +11444,12 @@ pandoc (1.12.3.2)
1145111444 * Added support for LaTeX style literate Haskell code blocks in rST
1145211445 (Merijn Verstraaten).
1145311446
11454−pandoc (1.12.3.1)
11447+## pandoc 1.12.3.1 (14 Jan 2014)
1145511448
1145611449 * Relaxed version constraint on binary, allowing the use of binary 0.5.
1145711450
11458−pandoc (1.12.3)
11451+
11452+## pandoc 1.12.3 (10 Jan 2014)
1145911453
1146011454 * The `--bibliography` option now sets the `biblio-files` variable.
1146111455 So, if you're using `--natbib` or `--biblatex`, you can just use
@@ -11554,6 +11548,8 @@ pandoc (1.12.3)
1155411548 should again work, and take precedence over a stylesheet specified
1155511549 in the metadata.
1155611550
11551+ * `Text.Pandoc.Pretty`: Added `nestle`. API change.
11552+
1155711553 * `Text.Pandoc.MIME`: Added `wmf`, `emf`.
1155811554
1155911555 * `Text.Pandoc.Shared`: `fetchItem` now handles image URLs beginning
@@ -11565,12 +11561,13 @@ pandoc (1.12.3)
1156511561
1156611562 * Removed old `MarkdownTest_1.0.3` directory (#1104).
1156711563
11568−pandoc (1.12.2.1)
11564+
11565+## pandoc 1.12.2.1 (2013-12-08)
1156911566
1157011567 * Markdown reader: Fixed regression in list parser, involving
1157111568 continuation lines containing raw HTML (or even verbatim raw HTML).
1157211569
11573−pandoc (1.12.2)
11570+## pandoc 1.12.2 (2013-12-07)
1157411571
1157511572 * Metadata may now be included in YAML blocks in a markdown document.
1157611573 For example,
@@ -11592,6 +11589,7 @@ pandoc (1.12.2)
1159211589 publisher: My Press
1159311590 rights: (c) 2007 John Smith, CC BY-NC
1159411591 cover-image: img/mypic.jpg
11592+ stylesheet: style.css
1159511593 ...
1159611594
1159711595 Metadata may still be provided using `--epub-metadata`; it will
@@ -11671,7 +11669,7 @@ pandoc (1.12.2)
1167111669 + Parse contents of curly quotes or matched `"` as quotes.
1167211670 + Support `\textnormal` as span with class `nodecor`.
1167311671 This is needed for pandoc-citeproc.
11674− + Improved citation parsing. This fixes a run-time error that occurred
11672+ + Improved citation parsing. This fixes a run-time error that occured
1167511673 with `\citet{}` (empty list of keys). It also ensures that empty keys
1167611674 don't get produced.
1167711675
@@ -11693,7 +11691,7 @@ pandoc (1.12.2)
1169311691 This fixes exponential slowdown in certain input, e.g.
1169411692 a series of lists followed by `</div>`.
1169511693
11696− * Slides: Preserve `<div class="references">` in references slide.
11694+ * Slides: Preserve `<div class="references">` in references slide.
1169711695
1169811696 * `Text.Pandoc.Writer.Shared`:
1169911697
@@ -11707,6 +11705,16 @@ pandoc (1.12.2)
1170711705 * DocBook reader: Handle numerical attributes starting with decimal.
1170811706 Also use `safeRead` instead of `read`.
1170911707
11708+ * `Text.Pandoc.Parsing`:
11709+
11710+ + Generalized type of `registerHeader`, using new type classes
11711+ `HasReadeOptions`, `HasIdentifierList`, `HasHeaderMap`.
11712+ These allow certain common functions to be reused
11713+ even in parsers that use custom state (instead of `ParserState`),
11714+ such as the MediaWiki reader.
11715+ + Moved inlineMath, displayMath from Markdown reader to Parsing.
11716+ Generalize their types and export them from Parsing. (API change.)
11717+
1171011718 * `Text.Pandoc.Readers.TexMath`: Export `readTeXMath'`, which attends
1171111719 to display/inline. Deprecate `readTeXMath`, and use `readTeXMath'`
1171211720 in all the writers. Require `texmath >= 0.6.5.2`.
@@ -11736,7 +11744,7 @@ pandoc (1.12.2)
1173611744
1173711745 * Fixed `make_osx_package.sh` so data files embedded in `pandoc-citeproc`.
1173811746
11739−pandoc (1.12.1)
11747+## pandoc 1.12.1 (2013-10-20)
1174011748
1174111749 * `Text.Pandoc.Definition`: Changed default JSON serialization format.
1174211750 Instead of `{"Str": "foo"}`, for example, we now have `{"t": "Str",
@@ -11750,7 +11758,7 @@ pandoc (1.12.1)
1175011758
1175111759 + Ensure that preamble doesn't contribute to the text of
1175211760 the document.
11753− + Fixed character escaping in \url{}. Previously `\~` wasn't handled
11761+ + Fixed character escaping in `\url{}`. Previously `\~` wasn't handled
1175411762 properly, among others.
1175511763 + Parse `{groups}` as `Span`. This is needed for accurate conversion of
1175611764 bibtex titles, since we need to know what was protected from
@@ -11792,11 +11800,12 @@ pandoc (1.12.1)
1179211800
1179311801 * Fixed test suite so it works with cabal sandboxes.
1179411802
11795−pandoc (1.12.0.2)
11803+## pandoc 1.12.0.2 (2013-09-20)
1179611804
11797− * Removed `stringable` dependency.
11805+ * Removed an unused dependency (`stringable`) from pandoc.cabal.
11806+ This will help packagers, but users should not need to upgrade.
1179811807
11799−pandoc (1.12.0.1)
11808+## pandoc 1.12.0.1 (2013-09-20)
1180011809
1180111810 * Allow `--metadata` to be repeated for the same key to form a list.
1180211811 This also has the effect that `--bibliography` can be repeated,
@@ -11831,9 +11840,9 @@ pandoc (1.12.0.1)
1183111840
1183211841 * Declare alex and happy as build-tools (#986).
1183311842
11834−pandoc (1.12)
11843+## pandoc 1.12 (2013-09-15)
1183511844
11836− [new features]
11845+### New features
1183711846
1183811847 * Much more flexible metadata, including arbitrary fields and structured
1183911848 values. Metadata can be specified flexibly in pandoc markdown using
@@ -11910,7 +11919,7 @@ pandoc (1.12)
1191011919 + `lists_without_preceding_blankline`: Allow lists to start without
1191111920 preceding blank space. (Default for `markdown_github`.) (#972)
1191211921
11913− [behavior changes]
11922+### Behavior changes
1191411923
1191511924 * `--toc-level` no longer implies `--toc`.
1191611925 Reason: EPUB users who don't want a visible TOC may still want
@@ -11954,7 +11963,7 @@ pandoc (1.12)
1195411963 to make that the current directory before running pandoc. (#942)
1195511964
1195611965 * Better error reporting in some readers, due to changes in `readWith`:
11957− the line in which the error occurred is printed, with a caret pointing
11966+ the line in which the error occured is printed, with a caret pointing
1195811967 to the column.
1195911968
1196011969 * All slide formats now support incremental slide view for definition lists.
@@ -11996,7 +12005,7 @@ pandoc (1.12)
1199612005 + Support YAML title block (render fields in alphabetical order
1199712006 to make output predictable).
1199812007
11999− [API changes]
12008+### API changes
1200012009
1200112010 * `Meta` in `Text.Pandoc.Definition` has been changed to allow
1200212011 structured metadata. (Note: existing code that pattern-matches
@@ -12060,8 +12069,6 @@ pandoc (1.12)
1206012069 + Export `varListToJSON`.
1206112070
1206212071 * `Text.Pandoc.PDF` exports `makePDF` instead of `tex2pdf`.
12063− The signature of `makePDF` has changed and now contains
12064− an additional argument for pdf engine options.
1206512072
1206612073 * `Text.Pandoc`:
1206712074
@@ -12084,15 +12091,12 @@ pandoc (1.12)
1208412091 + All bibliography-related fields have been removed from
1208512092 `ReaderOptions` and `WriterOptions`: `writerBiblioFiles`,
1208612093 `readerReferences`, `readerCitationStyle`.
12087− + Removed `writerPdfArgs` from `WriterOptions`. These are now
12088− passed in as a parameter to `makePDF`.
1208912094
1209012095 * The `Text.Pandoc.Biblio` module has been removed. Users of the
1209112096 pandoc library who want citation support will need to use
1209212097 `Text.CSL.Pandoc` from `pandoc-citeproc`.
1209312098
12094−
12095− [bug fixes]
12099+### Bug fixes
1209612100
1209712101 * In markdown, don't autolink a bare URI that is followed by `</a>`
1209812102 (#937).
@@ -12343,7 +12347,7 @@ pandoc (1.12)
1234312347 as `???`.
1234412348 + Fixed hanging behavior when locale files cannot be found.
1234512349
12346− [template changes]
12350+### Template changes
1234712351
1234812352 * DocBook: Use DocBook 4.5 doctype.
1234912353
@@ -12373,7 +12377,7 @@ pandoc (1.12)
1237312377
1237412378 * HTML5: add meta tag to allow scaling by user (Erik Evenson)
1237512379
12376− [under-the-hood improvements]
12380+### Under-the-hood improvements
1237712381
1237812382 * Markdown reader:Improved strong/emph parsing, using the strategy of
1237912383 <https://github.com/jgm/Markdown>. The new parsing algorithm requires
@@ -12445,7 +12449,7 @@ pandoc (1.12)
1244512449 requires at least GHC 7.2 for GHC generics.
1244612450
1244712451
12448−pandoc (1.11.1)
12452+## pandoc 1.11.1 (2013-03-17)
1244912453
1245012454 * Markdown reader:
1245112455
@@ -12487,7 +12491,7 @@ pandoc (1.11.1)
1248712491
1248812492 * Bumped QuickCheck version bound.
1248912493
12490−pandoc (1.11)
12494+## pandoc 1.11 (2013-03-09)
1249112495
1249212496 * Added `--number-offset` option. (See README for description.)
1249312497
@@ -12648,7 +12652,7 @@ pandoc (1.11)
1264812652 + Include HTML TOC, even in epub2. The TOC is included in `<spine>`,
1264912653 but `linear` is set to `no` unless the `--toc` option is specified.
1265012654 Include `<guide>` element in OPF. This should allow the TOC to
12651− be usable in Kindles when converted with kindlegen. Closes #773.
12655+ be useable in Kindles when converted with kindlegen. Closes #773.
1265212656
1265312657 * `Text.Pandoc.Parsing`: Optimized `oneOfStringsCI`.
1265412658 This dramatically reduces the speed penalty that comes from enabling the
@@ -12691,7 +12695,7 @@ pandoc (1.11)
1269112695 * pandoc.cabal: Require latest versions of highlighting-kate,
1269212696 texmath, citeproc-hs, zip-archive.
1269312697
12694−pandoc (1.10.1)
12698+## pandoc 1.10.1 (2013-01-23)
1269512699
1269612700 * Markdown reader: various optimizations, leading to a
1269712701 significant performance boost.
@@ -12741,7 +12745,7 @@ pandoc (1.10.1)
1274112745 * Removed obsolete `hsmarkdown` script. Those who need `hsmarkdown`
1274212746 should create a symlink as described in the README.
1274312747
12744−pandoc (1.10.0.5)
12748+## pandoc 1.10.0.5 (2013-01-23)
1274512749
1274612750 * Markdown reader: Try `lhsCodeBlock` before `rawTeXBlock`. Otherwise
1274712751 `\begin{code}...\end{code}` isn't handled properly in markdown+lhs.
@@ -12794,25 +12798,25 @@ pandoc (1.10.0.5)
1279412798 * Fixed EPUB writer so it builds with blaze-html 0.4.x. Thanks to
1279512799 Jens Petersen.
1279612800
12797−pandoc (1.10.0.4)
12801+## pandoc 1.10.0.4 (2013-01-20)
1279812802
1279912803 * Fixed bug with escaped % in LaTeX reader. Closes #710.
1280012804
12801−pandoc (1.10.0.3)
12805+## pandoc 1.10.0.3 (2013-01-20)
1280212806
1280312807 * Added further missing fb2 tests to cabal file.
1280412808
12805−pandoc (1.10.0.2)
12809+## pandoc 1.10.0.2 (2013-01-20)
1280612810
1280712811 * Added fb2 tests to cabal file's extra-source-files.
1280812812
12809−pandoc (1.10.0.1)
12813+## pandoc 1.10.0.1 (2013-01-20)
1281012814
1281112815 * Bump version bounds on test-framework packages.
1281212816
12813−pandoc (1.10)
12817+## pandoc 1.10 (2013-01-19)
1281412818
12815− [new features]
12819+### New features
1281612820
1281712821 * New input formats: `mediawiki` (MediaWiki markup).
1281812822
@@ -12903,7 +12907,7 @@ pandoc (1.10)
1290312907 + `\input` now works, as well as `\include`. TEXINPUTS is used.
1290412908 Pandoc looks recursively into included files for more included files.
1290512909
12906− [behavior changes]
12910+### Behavior changes
1290712911
1290812912 * The Markdown reader no longer puts the text of autolinks in a
1290912913 `Code` inline. This means that autolinks will no longer appear
@@ -12974,7 +12978,7 @@ pandoc (1.10)
1297412978 readers, not in `pandoc.hs`. This makes it easier for library users
1297512979 to use citations.
1297612980
12977− [template changes]
12981+### Template changes
1297812982
1297912983 * HTML: Added css to template to preserve spaces in `<code>` tags.
1298012984 Thanks to Dirk Laurie.
@@ -12991,9 +12995,6 @@ pandoc (1.10)
1299112995 * LaTeX, Beamer templates: Don't require 'float' package for tables.
1299212996 We don't actually seem to use the '[H]' option.
1299312997
12994− * LaTeX: Use `upquote` package if it is available. This fixes
12995− straight quotes in verbatim environments.
12996−
1299712998 * Markdown, plain: Fixed titleblock so it is just a single string.
1299812999 Previously separate title, author, and date variables were used,
1299913000 but this didn't allow different kinds of title blocks.
@@ -13010,10 +13011,10 @@ pandoc (1.10)
1301013011
1301113012 * Added scale-to-width feature to beamer template
1301213013
13013− [API changes]
13014+### API changes
1301413015
1301513016 * `Text.Pandoc.Definition`: Added `Attr` field to `Header`.
13016− Previously header identifiers were autogenerated by the writers.
13017+ Previously header identifers were autogenerated by the writers.
1301713018 Now they are added in the readers (either automatically or explicitly).
1301813019
1301913020 * `Text.Pandoc.Builder`:
@@ -13153,7 +13154,7 @@ pandoc (1.10)
1315313154 * `Text.Pandoc.RTF` now exports `writeRTFWithEmbeddedImages` instead of
1315413155 `rtfEmbedImage`.
1315513156
13156− [bug fixes]
13157+### Bug fixes
1315713158
1315813159 * Make `--ascii` work properly with `--self-contained`. Closes #568.
1315913160
@@ -13250,7 +13251,7 @@ pandoc (1.10)
1325013251 incorrectly implented RST-style autolinks for URLs and email
1325113252 addresses. This has been fixed. Now an autolink is done this way:
1325213253 `"$":http://myurl.com`.
13253− + Fixed footnotes bug in textile. This affected notes occurring
13254+ + Fixed footnotes bug in textile. This affected notes occuring
1325413255 before punctuation, e.g. `foo[1].`. Closes #518.
1325513256
1325613257 * LaTeX reader:
@@ -13264,7 +13265,7 @@ pandoc (1.10)
1326413265 the markdown and textile readers. If a block-level LaTeX command
1326513266 is used in the middle of a paragraph (e.g. `\subtitle` inside a title),
1326613267 we can treat it as raw inline LaTeX.
13267− + Handle \slash command. Closes #605.
13268+ + Handle `\slash` command. Closes #605.
1326813269 + Basic `\enquote` support.
1326913270 + Fixed parsing of paragraphs beginning with a group. Closes #606.
1327013271 + Use curly quotes for bare straight quotes.
@@ -13337,7 +13338,7 @@ pandoc (1.10)
1333713338 since `~` spaces after a line break are just ignored.
1333813339 Closes #687.
1333913340 + Don't escape `_` in URLs or hyperref identifiers.
13340− + Properly escape strings inside \url{}. Closes #576.
13341+ + Properly escape strings inside `\url{}`. Closes #576.
1334113342 + Use `[fragile]` only for slides containing code rendered
1334213343 using listings. Closes #649.
1334313344 + Escape `|` as `\vert` in LaTeX math. This avoids a clash with
@@ -13426,7 +13427,7 @@ pandoc (1.10)
1342613427 Biblio: Make sure mvPunc and deNote run on metadata too.
1342713428 This fixed a bug with notes on titles using footnote styles.
1342813429
13429− [under the hood improvements]
13430+### Under the hood improvements
1343013431
1343113432 * We no longer depend on `utf8-string`. Instead we use functions
1343213433 defined in `Text.Pandoc.UTF8` that use `Data.Text`'s conversions.
@@ -13485,10 +13486,6 @@ pandoc (1.10)
1348513486 in building the pandoc executable. (This required moving `pandoc.hs`
1348613487 from `src` to `.`.) This cuts compile time in half.
1348713488
13488− * `-O2` is no longer used in building pandoc. The performance improvement
13489− it yields is so slight that it is not worth it. (Measured with
13490− benchmarks on ghc 7.4.)
13491−
1349213489 * The `executable` and `library` flags have been removed.
1349313490
1349413491 * `-threaded` has been removed from ghc-options.
@@ -13524,11 +13521,38 @@ pandoc (1.10)
1352413521 binary on Windows.)
1352513522
1352613523 * Removed pcre3.dll from windows package.
13527− It isn't needed unless highlighting-kate is compilled with the
13524+ It isn't needed unless highlighting-kate is compiled with the
1352813525 `pcre-light` flag. By default, regex-prce-builtin is used.
1352913526
1353013527
13531−pandoc (1.9.4.2)
13528+## pandoc 1.9.4.5 (2012-10-21)
13529+
13530+ * Raised version bounds on network, base64-bytestring, json,
13531+ and template-haskell.
13532+
13533+## pandoc 1.9.4.4 (2012-10-20)
13534+
13535+ * Removed `tests` flag and made test suite into a proper cabal
13536+ test suite, which can now be enabled using `--enable-tests`
13537+ and run with `cabal test`.
13538+
13539+ * Moved man page creation out of `Setup.hs` and into an
13540+ executable built by Cabal, but never installed. This
13541+ allows dependencies to be specified, and solves a problem
13542+ with 1.9.4.3, which could only be installed if `data-default`
13543+ had already been installed.
13544+
13545+ * Updated `lhs-latex.tex` test for latest highlighting-kate
13546+ representation of backticks.
13547+
13548+## pandoc 1.9.4.3 (2012-10-20)
13549+
13550+ * Removed `-threaded` from default compile flags.
13551+
13552+ * Modified modules to compile with GHC 7.6 and latest version of time
13553+ package.
13554+
13555+## pandoc 1.9.4.2 (2012-06-29)
1353213556
1353313557 * Don't encode/decode file paths if base >= 4.4.
1353413558 Prior to base 4.4, filepaths and command line arguments were treated
@@ -13543,7 +13567,7 @@ pandoc (1.9.4.2)
1354313567 an hrule break. This avoids creation of an empty H1 in these
1354413568 contexts. Closes #484.
1354513569
13546− * Docbook reader: Added support for "bold" emphasis. Thanks to Mauro Bieg.
13570+ * Docbook reader: Added support for "bold" emphasis. Thanks to mb21.
1354713571
1354813572 * In make_osx_package.sh, ensure citeproc-hs is built with the
1354913573 embed_data_files flag.
@@ -13563,7 +13587,7 @@ pandoc (1.9.4.2)
1356313587
1356413588 * Compile with `-rtsopts` and `-threaded` by default.
1356513589
13566−pandoc (1.9.4.1)
13590+## pandoc 1.9.4.1 (2012-06-08)
1356713591
1356813592 * Markdown reader: Added `cf.` and `cp.` to list of likely abbreviations.
1356913593
@@ -13587,7 +13611,7 @@ pandoc (1.9.4.1)
1358713611
1358813612 * Fixed documentation on mixed lists. Closes #533.
1358913613
13590−pandoc (1.9.4)
13614+## pandoc 1.9.4 (2012-06-03)
1359113615
1359213616 * Simplified `Text.Pandoc.Biblio` and fixed bugs with citations inside
1359313617 footnotes and captions. We now handle note citations by inserting
@@ -13642,7 +13666,9 @@ pandoc (1.9.4)
1364213666 * Textile reader: fix for `<notextile>` and `==`. Closes #517.
1364313667 (Paul Rivier)
1364413668
13645−pandoc (1.9.3)
13669+## pandoc 1.9.3 (2012-05-12)
13670+
13671+ * Added docbook reader (with contributions from Mauro Bieg).
1364613672
1364713673 * Fixed bug in `fromEntities`. The previous version would turn
1364813674 `hi & low you know;` into `hi &`.
@@ -13659,8 +13685,6 @@ pandoc (1.9.3)
1365913685 + Don't recognize references inside delimited code blocks.
1366013686 + Allow list items to begin with lists.
1366113687
13662− * Added basic docbook reader (John MacFarlane and Mauro Bieg).
13663−
1366413688 * LaTeX reader:
1366513689
1366613690 + Handle `\bgroup`, `\egroup`, `\begingroup`, `\endgroup`.
@@ -13689,7 +13713,7 @@ pandoc (1.9.3)
1368913713
1369013714 + Added `--no-tex-ligatures` option to avoid replacing
1369113715 quotation marks and dashes with TeX ligatures.
13692− + Use `fixltx2e` package to provide '\textsubscript'.
13716+ + Use `fixltx2e` package to provide `\textsubscript`.
1369313717 + Improve spacing around LaTeX block environments:
1369413718 quote, verbatim, itemize, description, enumerate.
1369513719 Closes #502.
@@ -13723,7 +13747,7 @@ pandoc (1.9.3)
1372313747 * Updated to use latest versions of blaze-html, mtl.
1372413748
1372513749
13726−pandoc (1.9.2)
13750+## pandoc 1.9.2 (2012-04-05)
1372713751
1372813752 * LaTeX reader:
1372913753
@@ -13786,7 +13810,8 @@ pandoc (1.9.2)
1378613810 + Fixed upper bound for test-framework.
1378713811 + Updated haddocks for haddock-2.10 (Sergei Trofimovich).
1378813812
13789−pandoc (1.9.1.2)
13813+
13814+## pandoc 1.9.1.2 (2012-03-09)
1379013815
1379113816 * Added `beamer+lhs` as output format.
1379213817
@@ -13845,7 +13870,8 @@ pandoc (1.9.1.2)
1384513870
1384613871 * OSX package: Check for 64-bit Intel CPU before installing.
1384713872
13848−pandoc (1.9.1.1)
13873+
13874+## pandoc 1.9.1.1 (2012-02-11)
1384913875
1385013876 * Better handling of raw latex environments in markdown. Now
1385113877
@@ -13879,7 +13905,7 @@ pandoc (1.9.1.1)
1387913905
1388013906 * Fixed html5 template so it works properly with highlighting.
1388113907
13882−pandoc (1.9.1)
13908+## pandoc 1.9.1 (2012-02-09)
1388313909
1388413910 * LaTeX reader:
1388513911
@@ -13890,12 +13916,12 @@ pandoc (1.9.1)
1389013916
1389113917 + Limit nesting of strong/emph. This avoids exponential lookahead
1389213918 in parasitic cases, like `a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**`.
13893− + Improved attributes syntax (inn code blocks/spans):
13894− (1) Attributes can contain line breaks. (2) Values in key-value
13919+ + Improved attributes syntax (in code blocks/spans): (1)
13920+ Attributes can contain line breaks. (2) Values in key-value
1389513921 attributes can be surrounded by either double or single quotes, or
1389613922 left unquoted if they contain no spaces.
1389713923
13898− * Don't wrap headers in markdown or RST writers.
13924+ * Headers no longer wrap in markdown or RST writers.
1389913925
1390013926 * Added `stateMaxNestingLevel` to `ParserState`.
1390113927 We set this to 6, so you can still have `Emph` inside `Emph`,
@@ -13908,7 +13934,7 @@ pandoc (1.9.1)
1390813934
1390913935 * Require highlighting-kate >= 0.5.0.2, texmath >= 0.6.0.2.
1391013936
13911−pandoc (1.9.0.5)
13937+## pandoc 1.9.0.5 (2012-02-06)
1391213938
1391313939 * Changed cabal file so that build-depends for the test program
1391413940 are not required unless the tests flag is used.
@@ -13916,7 +13942,7 @@ pandoc (1.9.0.5)
1391613942 * LaTeX writer: insert `{}` between adjacent hyphens so they don't
1391713943 form ligatures (dashes) in code spans.
1391813944
13919−pandoc (1.9.0.4)
13945+## pandoc 1.9.0.4 (2012-02-06)
1392013946
1392113947 * Raised version bound on test-framework to avoid problems
1392213948 compiling tests on GHC 7.4.1.
@@ -13928,19 +13954,20 @@ pandoc (1.9.0.4)
1392813954 * Simplified tex2pdf; it will always run latex twice to
1392913955 resolve table of contents and hyperrefs.
1393013956
13931−pandoc (1.9.0.3)
13957+## pandoc 1.9.0.3 (2012-02-06)
1393213958
1393313959 * Require Cabal >= 1.10.
13960+
1393413961 * Tweaked cabal file to meet Cabal 1.10 requirements.
1393513962
13936−pandoc (1.9.0.2)
13963+## pandoc 1.9.0.2 (2012-02-05)
1393713964
1393813965 * Allow build with json 0.4 or 0.5. Otherwise we can't build with
1393913966 ghc 6.12.
1394013967
13941−pandoc (1.9)
13968+## pandoc 1.9 (2012-02-05)
1394213969
13943− [new features]
13970+### New features
1394413971
1394513972 * Added a Microsoft Word `docx` writer. The writer includes support
1394613973 for highlighted code and for math (which is converted from TeX to OMML,
@@ -14022,7 +14049,7 @@ pandoc (1.9)
1402214049
1402314050 These constructions are now supported now by `rst2latex.py`.
1402414051
14025− * GitHub syntax for fenced code blocks is supported in pandoc's
14052+ * Github syntax for fenced code blocks is supported in pandoc's
1402614053 markdown. You can now write
1402714054
1402814055 ```ruby
@@ -14037,8 +14064,9 @@ pandoc (1.9)
1403714064
1403814065 * Easier scripting: a new `toJsonFilter` function makes it easier to
1403914066 write Haskell scripts to manipulate the Pandoc AST.
14067+ See [Scripting with pandoc](scripting.html#pandoc-1.9-changes).
1404014068
14041− [behavior changes]
14069+### Behavior changes
1404214070
1404314071 * Fixed parsing of consecutive lists in markdown.
1404414072 Pandoc previously behaved like Markdown.pl for consecutive
@@ -14174,7 +14202,7 @@ pandoc (1.9)
1417414202
1417514203 * In `Text.Pandoc.Builder`, `+++` has been replaced by `<>`.
1417614204
14177− [bug fixes]
14205+### Bug fixes
1417814206
1417914207 * Better support for combining characters and East Asian wide characters
1418014208 in markdown and reST.
@@ -14210,7 +14238,7 @@ pandoc (1.9)
1421014238 * LaTeX reader:
1421114239
1421214240 + Ignore empty groups {}, { }.
14213− + LaTeX reader: Handle \@.
14241+ + LaTeX reader: Handle `\@`.
1421414242 + LaTeX reader: Don't crash on commands like `\itemsep`.
1421514243 + LaTeX reader: Better handling of letter environments.
1421614244
@@ -14227,8 +14255,8 @@ pandoc (1.9)
1422714255 * LaTeX writer:
1422814256
1422914257 + Escape euro character.
14230− + Don't escape ~ inside href{...}.
14231− + Escape # in href URLs.
14258+ + Don't escape `~` inside `\href{...}`.
14259+ + Escape `#` in href URLs.
1423214260 + Improved detection of book classes. We now check the
1423314261 `documentclass` variable, and if that is not set, we look through
1423414262 the template itself. Also, we have added the KOMA classes scrreprt
@@ -14277,13 +14305,13 @@ pandoc (1.9)
1427714305 + Added TOC identifier in EPUB page template.
1427814306 + Don't generate superfluous file `cover-image.jpg`.
1427914307
14280− [under the hood improvements]
14308+### Under the hood improvements
1428114309
1428214310 * Modified `make_osx_package.sh` to use cabal-dev.
1428314311 Items are no longer installed as root.
1428414312 Man pages are zipped and given proper permissions.
1428514313
14286− * Modified windows installer generator to use cabal-dev.
14314+ * Modified windows installer generater to use cabal-dev.
1428714315
1428814316 * Setup: Making man pages now works with cabal-dev (at least on OSX). In
1428914317 Setup.hs we now invoke 'runghc' in a way that points it to the correct
@@ -14302,7 +14330,7 @@ pandoc (1.9)
1430214330
1430314331 * Markdown citations: don't strip off initial space in locator.
1430414332
14305− [API changes]
14333+### API changes
1430614334
1430714335 * Removed `Apostrophe`, `EmDash`, `EnDash`, and `Ellipses`
1430814336 from the native `Inline` type in pandoc-types. Now we use `Str`
@@ -14412,17 +14440,16 @@ pandoc (1.9)
1441214440 + Changed types of highlighting function. `highlight` returns a
1441314441 `Maybe`, not an `Either`.
1441414442
14415−pandoc (1.8.2.1)
14416−
14417− * Relaxed cabal consntraints for test-framework (S. Trofimovich).
1441814443
14419− * Relaxed cabal constraints for pandoc-types.
14444+## pandoc 1.8.2.1 (2011-08-01)
1442014445
1442114446 * Adjusted Arbitrary instance to help avoid timeouts in tests.
1442214447
1442314448 * Added `Tests.Writers.Markdown` to cabal file.
1442414449
14425−pandoc (1.8.2)
14450+ * Relaxed version bounds on pandoc-types, test-framework.
14451+
14452+## pandoc 1.8.2 (2011-07-30)
1442614453
1442714454 * Added script to produce OS X package.
1442814455
@@ -14434,6 +14461,35 @@ pandoc (1.8.2)
1443414461 **Note:** If you have existing templates in `~/.pandoc/templates`, you
1443514462 must rename them to conform to the new scheme!
1443614463
14464+ * Default template improvements:
14465+
14466+ + HTML: Display author and date after title.
14467+ + HTML: Made table of contents more customizable. The container
14468+ for the TOC is now in the template, so users can insert a header
14469+ or other styling. (Thanks to Bruce D'Arcus for the suggestion.)
14470+ + HTML, Slidy, S5: Enclose scripts in CDATA tags.
14471+ + Slidy, S5: Added `s5-url` and `slidy-url` variables, instead of
14472+ hard-coding. If you want to put your slidy files in the slidy
14473+ subdirectory, for example, you can do
14474+ `pandoc -t slidy -V slidy-url=slidy -s`.
14475+ + LaTeX: Use `\and` to separate authors in LaTeX documents (reader
14476+ & writer). Closes #279.
14477+ + LaTeX: Set `\emergencystretch` to prevent overfull lines.
14478+ + LaTeX: Use different `hyperref` options for `xetex`, fixing
14479+ problems with unicode bookmarks (thanks to CircleCode).
14480+ + LaTeX: Removed `ucs` package, use `utf8` rather than `utf8x`
14481+ with `inputenc`. This covers fewer characters but is more
14482+ robust with other packages, and `ucs` is unmaintained. Users
14483+ who need better unicode support should use xelatex or lualatex.
14484+
14485+ * If a template specified with `--template` is not found, look for it
14486+ in `datadir`. Also, if no extension is provided, supply one based
14487+ on the writer. So now you can put your `special.latex` template in
14488+ `~/.pandoc/templates`, and use it from any directory via
14489+ `pandoc -t latex --template special`.
14490+
14491+ * Added `nonspaceChar` to `Text.Pandoc.Parsing`.
14492+
1443714493 * Fixed smart quotes bug, now handling `'...hi'` properly.
1443814494
1443914495 * RST reader:
@@ -14517,33 +14573,8 @@ pandoc (1.8.2)
1451714573 * Introduced `--luatex` option to `markdown2pdf`. This causes `lualatex`
1451814574 to be used to create the PDF.
1451914575
14520− * If a template specified with `--template` is not found, look for it
14521− in `datadir`. Also, if no extension is provided, supply one based
14522− on the writer. So now you can put your `special.latex` template in
14523− `~/.pandoc/templates`, and use it from any directory via
14524− `pandoc -t latex --template special`.
1452514576
14526− * Default template improvements:
14527−
14528− + HTML: Display author and date after title.
14529− + HTML: Made table of contents more customizable. The container
14530− for the TOC is now in the template, so users can insert a header
14531− or other styling. (Thanks to Bruce D'Arcus for the suggestion.)
14532− + HTML, Slidy, S5: Enclose scripts in CDATA tags.
14533− + Slidy, S5: Added `s5-url` and `slidy-url` variables, instead of
14534− hard-coding. If you want to put your slidy files in the slidy
14535− subdirectory, for example, you can do
14536− `pandoc -t slidy -V slidy-url=slidy -s`.
14537− + LaTeX: Use `\and` to separate authors in LaTeX documents (reader
14538− & writer). Closes #279.
14539− + LaTeX: Use different `hyperref` options for `xetex`, fixing
14540− problems with unicode bookmarks (thanks to CircleCode).
14541− + LaTeX: Removed `ucs` package, use `utf8` rather than `utf8x`
14542− with `inputenc`. This covers fewer characters but is more
14543− robust with other packages, and `ucs` is unmaintained. Users
14544− who need better unicode support should use xelatex or lualatex.
14545−
14546−pandoc (1.8.1.2)
14577+## pandoc 1.8.1.2 (2011-07-16)
1454714578
1454814579 * Added `--epub-cover-image` option.
1454914580
@@ -14578,10 +14609,7 @@ pandoc (1.8.1.2)
1457814609 HTML tags can be used freely at the left margin of a markdown+lhs document.
1457914610 Thanks to Conal Elliot for the suggestion.
1458014611
14581− * Markdown reader:
14582−
14583− + Improved emph/strong parsing; fixes bug found by Perry Wagle.
14584− + Fixed bug in footnote order (reported by CircleCode).
14612+ * Markdown reader: Fixed bug in footnote order (reported by CircleCode).
1458514613
1458614614 * RST reader:
1458714615 + Fixed bug in in field lists with multi-line items at the
@@ -14647,14 +14675,15 @@ pandoc (1.8.1.2)
1464714675 Setting this activates the timer.
1464814676 + Use 'titlepage' instead of 'cover' for title div.
1464914677
14650−pandoc (1.8.1.1)
14678+
14679+## pandoc 1.8.1.1 (2011-02-13)
1465114680
1465214681 * `markdown2pdf`: Removed some debugging lines accidentally included
1465314682 in the 1.8.1 release. With those lines, the temp directory is created
1465414683 in the working directory, and it is not deleted. This fix restores
1465514684 the original behavior.
1465614685
14657−pandoc (1.8.1)
14686+## pandoc 1.8.1 (2011-02-13)
1465814687
1465914688 * Added `--ascii` option. Currently supported only in HTML writer,
1466014689 which it causes to use numerical entities instead of UTF-8.
@@ -14676,11 +14705,11 @@ pandoc (1.8.1)
1467614705
1467714706 * `Text.Pandoc.Shared`: Make `writerSectionDivs` default to False.
1467814707
14679−pandoc (1.8.0.3)
14708+## pandoc 1.8.0.3 (2011-02-05)
1468014709
1468114710 * Fixed Source-repository stanza in cabal file.
1468214711
14683−pandoc (1.8.0.2)
14712+## pandoc 1.8.0.2 (2011-02-05)
1468414713
1468514714 * HTML writer:
1468614715
@@ -14710,7 +14739,7 @@ pandoc (1.8.0.2)
1471014739 Previously `markdown2pdf test.txt -o test.en.pdf` would produce
1471114740 `test.pdf`, not `test.en.pdf`. Thanks to Paolo Tanimoto for the fix.
1471214741
14713−pandoc (1.8.0.1)
14742+## pandoc 1.8.0.1 (2011-01-31)
1471414743
1471514744 * Revised Interact.hs so that it works with the CPP macros
1471614745 in the UTF8 module.
@@ -14718,9 +14747,9 @@ pandoc (1.8.0.1)
1471814747 * Revised Setup.hs so that we don't call MakeManPage.hs unless
1471914748 the man pages are out of date.
1472014749
14721−pandoc (1.8)
14750+## pandoc 1.8 (2011-01-30)
1472214751
14723− [new features]
14752+### New features
1472414753
1472514754 * Support for citations using Andrea Rossato's `citeproc-hs` 0.3.
1472614755 You can now write, for example,
@@ -14847,7 +14876,7 @@ pandoc (1.8)
1484714876
1484814877 * Significant performance improvements in many readers and writers.
1484914878
14850− [API and program changes]
14879+### API and program changes
1485114880
1485214881 * Moved `Text.Pandoc.Definition` from the `pandoc` package to a new
1485314882 auxiliary package, `pandoc-types`. This will make it possible for other
@@ -14926,7 +14955,7 @@ pandoc (1.8)
1492614955 + Made `splitBy` take a test instead of an element.
1492714956 + Added `findDataFile`, refactored `readDataFile`.
1492814957 + Added `stringify`. Rewrote `inlineListToIdentifier` using `stringify`.
14929− + Fixed `inlineListToIdentifier` to treat '\160' as ' '.
14958+ + Fixed `inlineListToIdentifier` to treat `\160` as ' '.
1493014959
1493114960 * `Text.Pandoc.Readers.HTML`:
1493214961
@@ -14940,8 +14969,6 @@ pandoc (1.8)
1494014969 to `Text.Pandoc.Readers.Parsing`, and parameterized it with
1494114970 an inline parser.
1494214971
14943− * Added `nonspaceChar` to `Text.Pandoc.Parsing`.
14944−
1494514972 * Ellipses are no longer allowed to contain spaces.
1494614973 Previously we allowed '. . .', ' . . . ', etc. This caused
1494714974 too many complications, and removed author's flexibility in
@@ -14990,7 +15017,7 @@ pandoc (1.8)
1499015017
1499115018 * The `COLUMNS` environment variable no longer has any effect.
1499215019
14993− [under-the-hood improvements]
15020+### Under-the-hood improvements
1499415021
1499515022 * Pandoc now compiles with GHC 7. (This alone leads to a
1499615023 significant performance improvement, 15-20%.)
@@ -15050,7 +15077,7 @@ pandoc (1.8)
1505015077 install pandoc from the tarball without needing to build the man
1505115078 pages.
1505215079
15053− [bug fixes]
15080+### Bug fixes
1505415081
1505515082 * Filenames are encoded as UTF8. Resolves Issue #252.
1505615083
@@ -15121,1732 +15148,359 @@ pandoc (1.8)
1512115148
1512215149 * `:` now allowed in HTML tags. Resolves Issue #274.
1512315150
15124−pandoc (1.6)
15125−
15126− [ John MacFarlane ]
15127−
15128− * New EPUB and HTML Slidy writers. (Issue #122)
15129−
15130− - EPUB is a standard ebook format, used in Apple's iBooks for
15131− the iPad and iPhone, Barnes and Noble's nook reader, the Sony
15132− reader, and many other devices.
15133− - Slidy, like S5, is a system for producing HTML+javascript slide
15134− shows.
15135−
15136− * All input is assumed to be UTF-8, no matter what the locale and ghc
15137− version, and all output is UTF-8. This reverts to pre-1.5 behavior.
15138− Also, a BOM, if present, is stripped from the input.
15139−
15140− * Markdown now supports grid tables, whose cells can contain
15141− arbitrary block elements. (Issue #43)
15142−
15143− * Sequentially numbered example lists in markdown with `@` marker.
15144−
15145− * Markdown table captions can begin with a bare colon and no longer need
15146− to include the English word "table." Also, a caption can now occur
15147− either before or after the table. (Issue #227)
15148−
15149− * New command-line options:
15150−
15151− - `--epub-stylesheet` allows you to specify a CSS file that will
15152− be used to style your ebook.
15153− - `--epub-metadata` allows you to specify metadata for the ebook.
15154− - `--offline` causes the generated HTML slideshow to include all
15155− needed scripts and stylesheets.
15156− - `--webtex` causes TeX math to be converted to images using the
15157− Google Charts API (unless a different URL is specified).
15158− - `--section-divs` causes div tags to be added around each section
15159− in an HTML document. (Issue #230, 239)
15160−
15161− * Default behavior of S5 writer in standalone mode has changed:
15162− previously, it would include all needed scripts and stylesheets
15163− in the generated HTML; now, only links are included unless
15164− the `--offline` option is used.
15165−
15166− * Default behavior of HTML writer has changed. Between 1.2 and 1.5,
15167− pandoc would enclose sections in div tags with identifiers on the
15168− div tags, so that the sections can be manipulated in javascript.
15169− This caused undesirable interactions with raw HTML div tags. So,
15170− starting with 1.6, the default is to put the identifiers directly
15171− on the header tags, and not to include the divs. The `--section-divs`
15172− option selects the 1.2-1.5 behavior.
15173−
15174− * API changes:
15175−
15176− - `HTMLMathMethod`: Added `WebTeX`, removed `MimeTeX`.
15177− - `WriterOptions`: Added `writerUserDataDir`, `writerSourceDirectory`,
15178− `writerEPUBMetadata` fields. Removed `writerIncludeBefore`,
15179− `writerIncludeAfter`.
15180− - Added `headerShift` to `Text.Pandoc.Shared`.
15181− - Moved parsing code and `ParserState` from `Text.Pandoc.Shared`
15182− to a new module, `Text.Pandoc.Parsing`.
15183− - Added `stateHasChapters` to `ParserState`.
15184− - Added `HTMLSlideVariant`.
15185− - Made `KeyTable` a map instead of an association list.
15186− - Added accessors for `Meta` fields (`docTitle`, `docAuthors`,
15187− `docDate`).
15188− - `Pandoc`, `Meta`, `Inline`, and `Block` have been given `Ord`
15189− instances.
15190− - Reference keys now have a type of their own (`Key`), with its
15191− own `Ord` instance for case-insensitive comparison.
15192− - Added `Text.Pandoc.Writers.EPUB`.
15193− - Added `Text.Pandoc.UUID`.
15194− - Removed `Text.Pandoc.ODT`, added `Text.Pandoc.Writers.ODT`.
15195− Removed `saveOpenDocumentAsODT`, added `writeODT`.
15196− - Added `Text.Pandoc.Writers.Native` and `writeNative`.
15197− Removed `prettyPandoc`.
15198− - Added `Text.Pandoc.UTF8` for portable UTF8 string IO.
15199− - Removed `Text.Pandoc.Writers.S5` and the `writeS5` function.
15200− Moved `s5Includes` to a new module, `Text.Pandoc.S5`.
15201− To write S5, you now use `writeHtml` with `writerSlideVariant`
15202− set to `S5Slides` or `SlidySlides`.
15203−
15204− * Template changes. If you use custom templates, please update them,
15205− particularly if you use syntax highlighting with pandoc. The old HTML
15206− templates hardcoded highlighting CSS that will no longer work with
15207− the most recent version of highlighting-kate.
15208−
15209− - HTML template: avoid empty meta tag if no date.
15210− - HTML template: Use default highlighting CSS from highlighting-kate
15211− instead of hard-coding the CSS into the template.
15212− - HTML template: insert-before text goes before the title, and
15213− immediately after the <body> tag, as documented. (Issue #241)
15214− - Added slidy and s5 templates.
15215− - Added amssymb to preamble of latex template. (github Issue 1)
15216−
15217− * Removed excess newlines at the end of output. Note: because output
15218− will not contain an extra newline, you may need to make adjustments
15219− if you are inserting pandoc's output into a template.
15220−
15221− * In S5 and slidy, horizontal rules now cause a new slide, so you
15222− are no longer limited to one slide per section.
15223−
15224− * Improved handling of code in man writer. Inline code is now monospace,
15225− not bold, and code blocks now use .nf (no fill) and .IP (indented para).
15226−
15227− * HTML reader parses `<tt>` as Code. (Issue #247)
15228−
15229− * html+lhs output now contains bird tracks, even when compiled without
15230− highlighting support. (Issue #242)
15231−
15232− * Colons are now no longer allowed in autogenerated XML/HTML identifiers,
15233− since they have a special meaning in XML.
15234−
15235− * Code improvements in ODT writer. Remote images are now replaced with
15236− their alt text rather than a broken link.
15237−
15238− * LaTeX reader improvements:
15239−
15240− - Made latex `\section`, `\chapter` parsers more forgiving of
15241− whitespace.
15242− - Parse `\chapter{}` in latex.
15243− - Changed `rawLaTeXInline` to accept `\section`, `\begin`, etc.
15244− - Use new `rawLaTeXInline'` in LaTeX reader, and export `rawLaTeXInline`
15245− for use in markdown reader.
15246− - Fixes bug wherein `\section{foo}` was not recognized as raw TeX
15247− in markdown document.
15248−
15249− * LaTeX writer: images are automatically shrunk if they would extend
15250− beyond the page margin.
15251−
15252− * Plain, markdown, RST writers now use unicode for smart punctuation.
15253−
15254− * Man writer converts math to unicode when possible, as in other writers.
15255−
15256− * `markdown2pdf` can now recognize citeproc options.
15257−
15258− * Command-line arguments are converted to UTF-8. (Issue #234)
15259−
15260− * `Text.Pandoc.TeXMath` has been rewritten to use texmath's parser.
15261− This allows it to handle a wider range of formulas. Also, if a formula
15262− cannot be converted, it is left in raw TeX; formulas are no longer
15263− partially converted.
15264−
15265− * Unicode curly quotes are left alone when parsing smart quotes. (Issue
15266− #143)
15267−
15268− * Cabal file changes:
15269−
15270− - Removed parsec < 3 restriction.
15271− - Added 'threaded' flag for architectures where GHC lacks a threaded
15272− runtime.
15273− - Use 'threaded' only for markdown2pdf; it is not needed for pandoc.
15274− - Require highlighting-kate 0.2.7.
15275−
15276− * Use explicit imports from `Data.Generics`. Otherwise we have a
15277− conflict with the 'empty' symbol, introduced in syb >= 0.2. (Issue #237)
15278−
15279− * New data files: slidy/slidy.min.js, slidy/slidy.min.css, epub.css.
15280−
15281−pandoc (1.5.1.1)
15282−
15283− [ John MacFarlane ]
15284−
15285− * Fixed uniqueIdent in Shared so that header identifiers work as
15286− advertized in the README and are are valid XHTML names.
15287−
15288−pandoc (1.5.1)
15289−
15290− [ John MacFarlane ]
15291−
15292− * Fixed treatment of unicode characters in URIs.
15293− + Shared now exports escapeURI and unescapeURI. These handle
15294− UTF8 encoding and decoding as well as URI escaping/unescaping.
15295− + Shared: uri and emailAddress now return a pair of the original
15296− parsed text and the escaped URI (in the latter case, with
15297− the mailto: prefix).
15298− + HTML reader: unsanitaryURI has been modified to allow unicode
15299− high characters in a URI.
15300− + Readers: All link and image URIs are now escaped using
15301− escapeURI.
15302− + Markdown and RST writers: unescapeURI is used so that URIs
15303− in these formats are human-readable.
15304−
15305− * Setup.hs: Don't assume that the build directory is "dist".
15306− Instead, get it from localBuildInfo.
15307−
15308− * OpenDocument writer: Use a Map for stTextStyleAttr.
15309− This avoids duplicates (and invalid xml). Resolves Issue #222.
15310−
15311−pandoc (1.5.0.1)
15312−
15313− [ John MacFarlane ]
15314−
15315− * HTML writer: Fixed error in math writer (with MathML option)
15316− that caused an infinite loop for unparsable MathML.
15317−
15318−pandoc (1.5)
15319−
15320− [ John MacFarlane ]
15321−
15322− * Added --mathml option. When this is selected, pandoc will convert
15323− TeX math into MathML.
15324− + Added data/MathMLinHTML.js, which is included when no URL is
15325− provided for --mathml. This allows MathML to be displayed (in
15326− better browsers) as text/html.
15327− + Removed Text.Pandoc.LaTeXMathML. The module was no longer
15328− necessary; it was replaced by two lines in pandoc.hs.
15329− + Replaced LaTeXMathML.js.comment and LaTeXMathML.js.packed with a
15330− single combined file, LaTeXMathML.js.
15331−
15332− * Added --data-dir option.
15333− This specifies a user data directory. If not specified, will default
15334− to ~/.pandoc on unix or Application Data\pandoc on Windows.
15335− Files placed in the user data directory will override system default
15336− data files.
15337−
15338− * Added Maybe datadir parameter to readDataFile, saveOpenDocumentAsODT,
15339− latexMathMLScript, s5HeaderIncludes, and getDefaultTemplate. If
15340− Nothing, no user directory is searched for an override.
15341−
15342− * Added 'plain' output format. This is similar to markdown, but
15343− removes links, pictures, inline formatting, and most anything that
15344− looks even vaguely markupish. The function writePlain is exported by
15345− Text.Pandoc.Writers.Markdown, with which it shares most of its code.
15346−
15347− * Allow multi-line titles and authors in meta block.
15348− Titles may span multiple lines, provided continuation lines
15349− begin with a space character. Separate authors may be put on
15350− multiple lines, provided each line after the first begins with
15351− a space character. Each author must fit on one line. Multiple
15352− authors on a single line may still be separated by a semicolon.
15353− Based on a patch by Justin Bogner.
15354−
15355− * When given an absolute URI as parameter, pandoc will try to fetch
15356− the content via HTTP. So you can do:
15357− 'pandoc -r html -w markdown http://www.fsf.org'
15358− Adds dependency on HTTP.
15359−
15360− * Made HTML reader much more forgiving.
15361− + Incorporated idea (from HXT) that an element can be closed
15362− by an open tag for another element.
15363− + Javascript is partially parsed to make sure that a <script>
15364− section is not closed by a </script> in a comment or string.
15365− + More lenient non-quoted attribute values.
15366− Now we accept anything but a space character, quote, or <>.
15367− This helps in parsing e.g. www.google.com!
15368− + Bare & signs are now parsed as a string. This is a common
15369− HTML mistake.
15370− + Skip a bare < in malformed HTML.
15371−
15372− * Removed html2markdown and hsmarkdown.
15373− + html2markdown is no longer needed, since you can now pass URI
15374− arguments to pandoc and directly convert web pages. (Note,
15375− however, that pandoc assumes the pages are UTF8. html2markdown
15376− made an attempt to guess the encoding and convert them.)
15377− + hsmarkdown is pointless -- a large executable that could be
15378− replaced by 'pandoc --strict'.
15379−
15380− * In most writers, an image in a paragraph by itself is now rendered
15381− as a figure, with the alt text as the caption. (Texinfo, HTML, RST,
15382− MediaWiki, Docbook, LaTeX, ConTeXt, HTML.) Other images are
15383− rendered inline.
15384−
15385− * Depend on extensible-exceptions. This allows pandoc to be compiled
15386− on GHC 6.8.
15387−
15388− * Added --base-header-level option. For example, --base-header-level=2
15389− will change level 1 headers to level 2, level 2 to level 3, etc.
15390− Closes Debian #563416.
15391−
15392− * Incomplete support for RST tables (simple and grid).
15393− Thanks to Eric Kow. Colspans and rowspans not yet supported.
15394−
15395− * Added accessors (docTitle, docAuthors, docDate) to Meta type.
15396−
15397− * MediaWiki writer: format links with relative URLs as wikilinks.
15398− The new rule: If the link target is an absolute URL, an external
15399− link is created. Otherwise, a wikilink is created.
15400−
15401− * Text.Pandoc.Shared: Export uniqueIdent, and don't allow tilde in
15402− identifier. Note: This may break links to sections that involve
15403− tildes.
15404−
15405− * Markdown(+lhs) reader: handle "inverse bird tracks."
15406− Inverse bird tracks (<) are used for haskell example code that is not
15407− part of the literate Haskell program. Resolves Issue #211.
15408−
15409− * LaTeX reader:
15410− + Recognize '\ ' (interword space).
15411− + Recognize nonbreaking space '~'.
15412− + Ignore \section, \pdfannot, \pdfstringdef. Ignore alt title in
15413− section headers. Don't treat \section as inline LaTeX.
15414− Resolves Issue #202.
15415− + LaTeX reader: allow any special character to be escaped.
15416− Resolves Issue #221.
15417− + LaTeX reader: treat \paragraph and \subparagraph as level 4, 5
15418− headers. Resolves Issue #207.
15419−
15420− * Use template variables for include-before/after.
15421− + These options now imply -s; previously they worked also in fragment
15422− mode.
15423− + Users can now adjust position of include-before and include-after
15424− text in the templates.
15425− + Default position of include-before moved back (as it was before 1.4)
15426− before table of contents.
15427− + Resolves Issue #217.
15428−
15429− * Don't print an empty table header: (all writers).
15430− Resolves Issue #210.
15431−
15432− * HTML, Docbook writer: Use tbody, thead, and cols in tables.
15433−
15434− * HTML writer: Don't include TOC div if table of contents is empty.
15435−
15436− * Markdown writer: Fixed citations.
15437− Previously the markdown writer printed raw citation codes, e.g.
15438− [geach1970], rather than the expanded citations provided by
15439− citeproc, e.g. (Geach 1970). Now it prints the expanded citations.
15440− This means that the document produced can be processed as a markdown
15441− document without citeproc. Thanks to dsanson for reporting, and
15442− Andrea Rossato for the patch.
15443−
15444− * Improved and simplified title block in context template.
15445− Previously it caused an error if there was no title.
15446− This method should also be easier for users to customize.
15447−
15448− * Markdown reader:
15449− + Treat p., pp., sec., ch., as abbreviations in smart mode.
15450− + Disallow blank lines in inline code span.
15451− + Allow footnotes to be indented < 4 spaces.
15452− This fixes a regression. A test case has been added.
15453− + Escape spaces in URLs as %20. Previously they were incorrectly
15454− escaped as +, which is appropriate only for the query part of
15455− a URL. Resolves Issue #220.
15456− + Require two spaces after capital letter + period for list item.
15457− Otherwise "E. coli" starts a list. This might change the semantics
15458− of some existing documents, since previously the two-space
15459− requirement was only enforced when the second word started
15460− with a capital letter. But it is consistent with the existing
15461− documentation and follows the principle of least surprise.
15462− Resolves Issue #212.
15463−
15464− * LaTeX template: redefine labelwidth when using enumerate package.
15465− Otherwise the list labels (numbers) often extend past the left
15466− margin, which looks bad.
15467−
15468− * Mediawiki writer: Don't print a "== Notes ==" header before
15469− references. This is too English-centric. Writers can provide their
15470− own header at the end of the document.
15471−
15472− * Promoted mediawiki headers. '= head =' is now level 1, '== head =='
15473− level 2, etc. This seems to be correct; it's only by convention
15474− that wikipedia articles have level 2 headers at most.
15475− Patch due to Eric Kow.
15476−
15477− * RunTests.hs: Set LANG to a UTF-8 locale. Use 'pandoc --data-dir=' so
15478− data files don't need to have been installed. This removes the need to
15479− set HOME.
15480−
15481− * HTML reader:
15482− + Handle spaces before <html>. Resolves Issue #216.
15483− + Be forgiving in parsing a bare list within a list.
15484− The following is not valid xhtml, but the intent is clear:
15485− <ol>
15486− <li>one</li>
15487− <ol><li>sub</li></ol>
15488− <li>two</li>
15489− </ol>
15490− We'll treat the <ol> as if it's in a <li>. Resolves Issue #215.
15491−
15492− * Updated INSTALL instructions. cabal method is now promoted.
15493−
15494− * Updated markdown2pdf man page. It no longer says all pandoc options
15495− are accepted.
15496−
15497− * README/man pages: Removed advice to pipe through tidy before HTML
15498− reader. This is obsolete, now that we have a forgiving HTML parser.
15499−
15500− * LaTeX writer: set numbersections template variable, so
15501− the section numbering options work again.
15502−
15503− * Removed obsolete Makefile.
15504−
15505− * Website: renamed index.txt.in -> index.txt.
15506−
15507− * New batch file to make-windows-installer.
15508− + Removed old Makefile.windows
15509− + Added make-windows-installer.bat
15510− + Modified default installer name in pandoc-setup.iss
15511−
15512− * Removed freebsd and macports directories.
15513− They are no longer up to date.
15514−
15515− * Setup.hs:
15516− + Made man page building sensitive to build verbosity.
15517− + Improved detection of highlighting support in test hook.
15518− + Install wrapper scripts into cabal bin directory.
15519− + Also simplified installManpages.
15520− + Setup.hs: install manpages to mandir. Code borrowed from darcs.
15521−
15522− * Changed default of writerXeTeX to False.
15523−
15524− * HTML writer: don't include empty UL if --toc but no sections.
15525− Resolves Issue #199.
15526−
15527− * LaTeX writer:
15528−
15529− + If book, report, or memoir documentclass, use \chapter{}
15530− for first-level headers. Otherwise use \section{}.
15531− + Removed stLink, link template variable. Reason: we now always
15532− include hyperref in the template.
15533−
15534− * LaTeX template:
15535−
15536− + Only show \author if there are some.
15537− + Always include hyperref package. It is used not just for links but
15538− for toc, section heading bookmarks, footnotes, etc. Also added
15539− unicode=true on hyperref options.
15540−
15541− * markdown2pdf: always do at least two runs. hyperref bookmarks
15542− require this.
15543−
15544− * cabal file: Removed unneeded dependency on template-haskell.
15545−
15546− * Windows installer - fixed bug in data file locations.
15547− Resolves Issue #197.
15548−
15549− * Deprecated --custom-header in documentation.
15550− Removed old "Custom Headers" section in README.
15551−
15552−pandoc (1.4)
15553−
15554− [ John MacFarlane ]
15555−
15556− * Pandoc will now compile with either GHC 6.10 or 6.12.
15557− + Don't use System.IO.UTF8 when compiling with 6.12
15558− + Use -fno-warn-unused-do-bind option when compiling with 6.12
15559−
15560− * Replaced old headers with templates. Now users have much more
15561− control over the way documents appear in --standalone mode,
15562− and writer code is simplified. Resolves Issues #59, 147.
15563− Every effort has been made to retain backwards compatibility.
15564− So, the --custom-header option should still work as before.
15565−
15566− + Added Text.Pandoc.Templates. This provides functions for
15567− retrieving default templates and for rendering templates.
15568− + System templates (in the pandoc data directory) can be
15569− overridden by user templates in $HOME/.pandoc/templates.
15570− + Removed Text.Pandoc.DefaultHeaders.
15571− + Removed data/headers directory.
15572− + Added templates directory.
15573− + Added writerTemplate and writerVariables fields to WriterOptions.
15574− + Removed writerTitlePrefix, writerHeader fields from WriterOptions.
15575− + Changed --print-default-header to --print-default-template.
15576− + Added --template option.
15577− + Added -V/--variable option to set custom template variables.
15578−
15579− * Pandoc no longer requires Template Haskell. Resolves Issue #186.
15580−
15581− + Removed need for TH in ODT module. Instead get reference.odt from
15582− data file at run time.
15583− + Removed TH dependency from S5 module. S5 module now exports
15584− s5HeaderIncludes, which pandoc.hs includes if writer is s5 and
15585− standalone.
15586− + Refactored LaTeXMathML not to use TH.
15587−
15588− * Meta is now Meta [Inline] [[Inline]] [Inline] rather than
15589− Meta [Inline] [String] String. Authors and date in Meta are now lists
15590− of Inline elements rather than raw strings. This means that they can
15591− be formatted and can include footnotes. NOTE: This may be a breaking
15592− change for those using pandoc as a library.
15593−
15594− * Added readDataFile to Text.Pandoc.Shared. This retrieves
15595− a data file from the user pandoc data directory (~/.pandoc
15596− on unix), or, if not found there, from the system data
15597− directory ($CABALDIR/shared/pandoc-VERSION/). All data
15598− files, including templates, LaTeXMathML.js, s5 styles,
15599− and reference.odt, can be overridden by the user.
15600−
15601− * s5 files moved from data/ui/default to s5/default.
15602−
15603− * Use unicode instead of entities in HTML and XML output. Resolves
15604− Issue #163.
15605−
15606− * Prettier HTML footnote references: put anchor inside sup,
15607− instead of other way. Resolves Issue #191. Thanks to
15608− infinity0x.
15609−
15610− * Added --xetex option to pandoc and markdown2pdf.
15611− If --xetex is specified, pandoc produces latex suitable for
15612− processing by xelatex, and markdown2pdf uses xelatex to create
15613− the PDF. Resolves Issue #185.
15614−
15615− * RTF writer: multiple authors now occupy multiple paragraphs rather
15616− than using a line break.
15617−
15618− * Man writer: now the "--after-body" will come after the "AUTHORS"
15619− section, whereas before it would come before it. This is a
15620− slight break from backwards compatibility.
15621−
15622− * Added --reference-odt option, so users may customize the styles
15623− used in pandoc-generated ODT files. Users may also place a
15624− default reference.odt in the ~\.pandoc directory.
15625−
15626− * ODT writer:
15627− + Indented and line-broke styles.xml so it can be modified more easily.
15628− + Omitted some unnecessary style declarations.
15629− + Don't wrap text in OpenDocument writer. The tags are too long, making
15630− wrapping ugly and pointless.
15631−
15632− * LaTeX reader: use \\ to separate multiple authors.
15633−
15634− * Markdown reader: use ; as separator between authors.
15635− This allows you to use ',' within author names: e.g. "John Jones, Jr."
15636−
15637− * S5 writer: use linebreak to separate authors in title page.
15638−
15639− * RST reader: Allow :: before lhs code block. The RST spec requires the
15640− :: before verbatim blocks. This :: should not be treated as literal
15641− colons. Resolves Issue #189.
15642−
15643− * Documented pandoc 1.3's new definition list syntax in README.
15644− (An oversight in the last release.)
15645−
15646− * markdown2pdf.hs:
15647− + interpret ! in a log as an error line.
15648− + --toc now works properly.
15649−
15650− * Changes in RunTests.hs:
15651− + Use the Diff library rather than a local copy of Diff.hs.
15652− (This vastly increases performance.) This change means that 'cabal
15653− test' presupposes that the Diff library is installed.
15654− + Removed tests/Diff.hs from cabal file.
15655− + Changed RunTests to use local environment. We need at least HOME, so
15656− pandoc can find its data directory.
15657−
15658− * Updated windows installer to install data files in the app directory.
15659−
15660− * Windows installer now installs portable wrappers hsmarkdown and
15661− markdown2pdf.
15662−
15663−pandoc (1.3)
15664−
15665− [ John MacFarlane ]
15666−
15667− * Added --id-prefix option (Issue #41). This adds a prefix to all
15668− automatically generated HTML identifiers, which helps prevent
15669− duplicate identifiers when you're generating a fragment (say a blog
15670− post).
15671−
15672− * Added --indented-code-classes option. This specifies classes
15673− to use for indented code blocks. (Patch due to buttock; Issue #87.)
15674−
15675− * --number-sections now affects HTML output as well as ConTeXt and LaTeX
15676− (Issue #150).
15677−
15678− * Improved syntax for markdown definition lists (Issue #24).
15679− Definition lists are now more compatible with PHP Markdown Extra.
15680− + You can have multiple definitions for a term (but still not
15681− multiple terms).
15682− + Multi-block definitions no longer need a column before each block
15683− (indeed, this will now cause multiple definitions).
15684− + The marker no longer needs to be flush with the left margin,
15685− but can be indented at or two spaces. Also, ~ as well as :
15686− can be used as the marker (this suggestion due to David
15687− Wheeler.)
15688− + There can now be a blank line between the term and the
15689− definitions.
15690−
15691− * Better looking simple tables. Resolves Issue #180.
15692− + Markdown reader: simple tables are now given column widths of 0.
15693− + Column width of 0 is interpreted as meaning: use default column width.
15694− + Writers now include explicit column width information only
15695− for multiline tables. (Exception: RTF writer, which requires
15696− column widths. In this case, columns are given equal widths,
15697− adding up to the text width.)
15698− + Simple tables should now look better in most output formats.
15699−
15700− * Allow markdown tables without headers (Issue #50).
15701− The new syntax is described in README. Also allow optional line of
15702− dashes at bottom of simple tables.
15703−
15704− * Compensate for width of final table column (Issue #144).
15705−
15706− * Treat a backslash followed by a newline as a hard line break
15707− in markdown. Resolves Issue #154. This is a nice alternative
15708− to markdown's "invisible" way of indicating hardline breaks
15709− using lines that end with two spaces.
15710−
15711− * Improved performance of markdown reader by ~10% by eliminating the
15712− need for a separate parsing pass for notes. Raw notes are now stored
15713− on the first pass (which parses references), then parsed when the
15714− note is inserted into the AST. The stateNotes field in ParserState
15715− is now a list of [(String, String)] pairs instead of [(String,
15716− [Block])].
15717−
15718− * In markdown reader, treat 4 or more * or _ in a row as literal
15719− text. (Trying to parse long strings of * or _ as strong or emph
15720− leads to exponential performance problems.)
15721−
15722− * Markdown reader: Use + rather than %20 for spaces in URLs.
15723−
15724− * Fixed htmlComment parser, adding a needed 'try'.
15725−
15726− * Don't print raw HTML in man output.
15727−
15728− * Allow . _ and ~ in header identifiers.
15729−
15730− * Specially mark code blocks that were "literate" in the input.
15731− They can then be treated differently in the writers. This allows
15732− authors to distinguish bits of the literate program they are writing
15733− from source code examples, even if the examples are marked as
15734− Haskell for highlighting. (Issue #174.)
15735−
15736− * Modified html+lhs output to use "haskell" highlighter instead
15737− of "literateHaskell". The highlighting module now adds bird tracks
15738− after highlighting (for HTML output), if the code block has the
15739− "literate" class. This gives better results, because kate's
15740− haskell highlighter is much better than the literateHaskell
15741− highlighter.
15742−
15743− * Fixed handling of footnotes in titles (HTML) and headers (LaTeX).
15744− (Issue #137.)
15745−
15746− * Support for "..code-block" directive in RST reader. Not core
15747− RST, but used in Sphinx for code blocks annotated with syntax
15748− information. Thanks to Luke Plant for the patch.
15749−
15750− * Added "head" to list of block-level HTML tags. Resolves
15751− Issue #108.
15752−
15753− * Added stripTags to Text.Pandoc.XML. This is used in the HTML writer.
15754−
15755− * Set utf-8 encoding in texinfo headers.
15756−
15757− * Docbook writer: add ids to sections. Use link for internal links.
15758− (Issue #60.)
15759−
15760− * Blank lines after lists in MediaWiki writer.
15761−
15762− * Properly handle commented-out list items in markdown.
15763− Resolves Issue #142. Example:
15764−
15765− - a
15766− <!--
15767− - b
15768− -->
15769− - c
15770−
15771− * Changed heuristic in compactify. compactify has to decide whether a
15772− Para that ends a list is a Para intentionally, or just because of
15773− the blank lines at the end of every list. In the latter case the
15774− Para is turned to a Plain. The old heuristic was: change final Para
15775− to Plain iff the other items all end in Plain. This produces bad
15776− results when, for example, an item contains just a Plain and an HTML
15777− comment, as it does in the list above. The new heuristic: change
15778− final Para to Plain iff the other items don't contain a Para.
1577915151
15780− * Added % as an rst underline character. Resolves Issue #173.
1578115152
15782− * Fix inline math parser so that \$ is allowed in math.
15783− Resolves Issue #169.
15153+## pandoc 1.6 (2010-07-24)
15154+
15155++ New EPUB and HTML Slidy writers. (Issue #122)
15156+
15157+ - [EPUB] is a standard ebook format, used in Apple's iBooks for
15158+ the iPad and iPhone, Barnes and Noble's nook reader, the Sony
15159+ reader, and many other devices, and by online ebook readers like
15160+ [bookworm]. (Amazon's Kindle uses a different format, MobiPocket,
15161+ but EPUB books can easily be converted to Kindle format.) Now you
15162+ can write your book in markdown and produce an ebook with a single
15163+ command! I've put up a short [tutorial here].
15164+ - [Slidy], like S5, is a system for producing HTML+javascript slide shows.
15165+
15166++ All input is assumed to be UTF-8, no matter what the locale and ghc
15167+ version, and all output is UTF-8. This reverts to pre-1.5 behavior.
15168+ Also, a BOM, if present, is stripped from the input.
15169+
15170++ Markdown now supports grid tables, whose cells can contain
15171+ arbitrary block elements. (Issue #43)
15172+
15173++ Sequentially numbered example lists in markdown with `@` marker.
15174+
15175++ Markdown table captions can begin with a bare colon and no longer need
15176+ to include the English word "table." Also, a caption can now occur
15177+ either before or after the table. (Issue #227)
15178+
15179++ New command-line options:
15180+
15181+ - `--epub-stylesheet` allows you to specify a CSS file that will
15182+ be used to style your ebook.
15183+ - `--epub-metadata` allows you to specify metadata for the ebook.
15184+ - `--offline` causes the generated HTML slideshow to include all
15185+ needed scripts and stylesheets.
15186+ - `--webtex` causes TeX math to be converted to images using the
15187+ Google Charts API (unless a different URL is specified).
15188+ - `--section-divs` causes div tags to be added around each section
15189+ in an HTML document. (Issue #230, 239)
15190+
15191++ Default behavior of S5 writer in standalone mode has changed:
15192+ previously, it would include all needed scripts and stylesheets
15193+ in the generated HTML; now, only links are included unless
15194+ the `--offline` option is used.
15195+
15196++ Default behavior of HTML writer has changed. Between 1.2 and 1.5,
15197+ pandoc would enclose sections in div tags with identifiers on the
15198+ div tags, so that the sections can be manipulated in javascript.
15199+ This caused undesirable interactions with raw HTML div tags. So,
15200+ starting with 1.6, the default is to put the identifiers directly
15201+ on the header tags, and not to include the divs. The `--section-divs`
15202+ option selects the 1.2-1.5 behavior.
15203+
15204++ API changes:
15205+
15206+ - `HTMLMathMethod`: Added `WebTeX`, removed `MimeTeX`.
15207+ - `WriterOptions`: Added `writerUserDataDir`, `writerSourceDirectory`,
15208+ `writerEPUBMetadata` fields. Removed `writerIncludeBefore`,
15209+ `writerIncludeAfter`.
15210+ - Added `headerShift` to `Text.Pandoc.Shared`.
15211+ - Moved parsing code and `ParserState` from `Text.Pandoc.Shared`
15212+ to a new module, `Text.Pandoc.Parsing`.
15213+ - Added `stateHasChapters` to `ParserState`.
15214+ - Added `HTMLSlideVariant`.
15215+ - Made `KeyTable` a map instead of an association list.
15216+ - Added accessors for `Meta` fields (`docTitle`, `docAuthors`, `docDate`).
15217+ - `Pandoc`, `Meta`, `Inline`, and `Block` have been given `Ord` instances.
15218+ - Reference keys now have a type of their own (`Key`), with its
15219+ own `Ord` instance for case-insensitive comparison.
15220+ - Added `Text.Pandoc.Writers.EPUB`.
15221+ - Added `Text.Pandoc.UUID`.
15222+ - Removed `Text.Pandoc.ODT`, added `Text.Pandoc.Writers.ODT`.
15223+ Removed `saveOpenDocumentAsODT`, added `writeODT`.
15224+ - Added `Text.Pandoc.Writers.Native` and `writeNative`.
15225+ Removed `prettyPandoc`.
15226+ - Added `Text.Pandoc.UTF8` for portable UTF8 string IO.
15227+ - Removed `Text.Pandoc.Writers.S5` and the `writeS5` function.
15228+ Moved `s5Includes` to a new module, `Text.Pandoc.S5`.
15229+ To write S5, you now use `writeHtml` with `writerSlideVariant`
15230+ set to `S5Slides` or `SlidySlides`.
1578415231
15785− * Translate \int (integral) into unicode when using unicode math
15786− method. Resolves Issue #177.
15232++ Template changes. If you use custom templates, please update them,
15233+ particularly if you use syntax highlighting with pandoc. The old HTML
15234+ templates hardcoded highlighting CSS that will no longer work with
15235+ the most recent version of highlighting-kate.
1578715236
15788− * markdown2pdf.hs improvements:
15789− + Use System.IO.UTF8.
15790− + Print error messages on last attempt.
15791− + Do not create a backup when overwriting a PDF (Issue #166).
15792− + Accept --longopt=val options.
15793− + Added man/man1/markdown2pdf.1 to extra-tmp-files in cabal, so that
15794− it is properly cleaned.
15795−
15796− * Added haddock comments warning that readers assume \n line endings.
15797−
15798− * Updated COPYRIGHT file.
15799−
15800− * Makefile: Changed EXECSBASE so it doesn't pull in hsmarkdown &
15801− markdown2pdf. Otherwise strip tries to strip shell scripts when you
15802− install using 'make'.
15803−
15804− * Changed Makefile so it doesn't build Haskell wrappers.
15805−
15806− * Fixed Makefile so it doesn't try to build man pages in build-doc.
15807−
15808− * Install pcre3.dll in Windows install script; this allows us to
15809− package a version of pandoc with highlighting support.
15810−
15811−pandoc (1.2.1)
15812−
15813− [ John MacFarlane ]
15814−
15815− * Fixed regression with --preserveTabs. Brought back optPreserveTabs.
15816− The trick of setting tabStop to 0 to mean "preserve tabs" had a bad
15817− side effect: strings of 0 spaces were interpreted as indentation.
15818− So, with --preserve-tabs, unindented paragraphs were treated as
15819− code. Resolves Issue #138.
15820−
15821− * HTML writer: wrap sections in divs. Resolves Issue #70.
15822−
15823− + hierarchicalize has been rationalized; it builds a hierarchical
15824− representation of the document from the headers, and simultaneously
15825− gives each section a unique identifier based on the heading title.
15826− + Identifiers are now attached to the divs rather than
15827− to the headers themselves.
15828− + Table of content backlinks go to the beginning of the table, rather
15829− than to the section reference that was clicked.
15830− + Code for constructing identifiers has been moved to Text.Pandoc.Shared
15831− from the HTML writer, since it is now consumed only by
15832− hierarchicalize.
15833− + In --strict mode, pandoc just prints bare headings, as before
15834− (unless --toc has been specified).
15835− + In s5 output, it does not wrap sections in divs, as that seems to
15836− confuse the s5 javascript.
15837−
15838− * Man writer: break lines at end of each sentence. groff expects this
15839− and treats '.' and '?' differently when followed by line ending as
15840− opposed to ordinary space. Also, don't escape periods. Instead, use
15841− zero-width character \& to avoid unwanted interpretation of periods
15842− at start of line. Resolves Issue #148.
15843−
15844− * Markdown writer: Added '#' and '>' to list of characters to be
15845− escaped in markdown output. Removed '<', as it is not an officially
15846− escapable character. This partially resolves Issue #96.
15847−
15848− * Make --smart the default for man output format. Otherwise we have
15849− trouble dividing lists of endlines into sentences.
15850−
15851− * DocBook writer: Use language attribute to indicate source language
15852− in code blocks.
15853−
15854− * RST reader:
15855−
15856− + Allow # to continue list, even if the list was started with an
15857− explicit marker. For example:
15858−
15859− A. my list
15860− #. continued
15861−
15862− Resolves Issue #140.
15863− + Allow continuation lines in line blocks. Also added test cases for
15864− line blocks for RST reader. Resolves Issue #149.
15865− + Allow explicit links with spaces in URL: `link <to this>`_
15866−
15867− * Improved LaTeX reader's coverage of math modes. Remove displaymath*
15868− (which is not in LaTeX) and recognize all the amsmath environments
15869− that are alternatives to eqnarray, namely equation, equation*,
15870− gather, gather*, gathered, multline, multline*, align, align*,
15871− alignat, alignat*, aligned, alignedat, split. Resolves Issue #103.
15872− Thanks to shreevatsa.public for the patch.
15873−
15874− * Markdown reader:
15875−
15876− + Allow -, _, :, . in markdown attribute names. These are legal in
15877− XML attribute names.
15878− + Use non-breaking spaces in abbreviations.
15879− + Markdown reader: improved efficiency of abbreviation parsing.
15880− Instead of a separate abbrev parser, we just check for
15881− abbreviations each time we parse a string. This gives a huge
15882− performance boost with -S. Resolves Issue #141.
15883−
15884− * Improved efficiency of shared parsers: hexNum, htmlComment,
15885− whitespace, indentSpaces.
15886−
15887− * Export HTMLMathMethod in Text.Pandoc.
15888−
15889− * Export languagesByExtension in Text.Pandoc.Highlighting.
15890−
15891− * Added new Haskell version of markdown2pdf, due to
15892− Paulo Tanimoto. This should be more portable than the old
15893− shell script.
15894−
15895− * Made 'pandoc -v' more explicit about compiler options.
15896− Resolves Issue #139.
15897−
15898− * pandoc.hs: Made --strict compatible with --standalone, --toc.
15899−
15900− * Use Paths_pandoc to get version number, instead of hard-coding it
15901− into Text/Pandoc.hs.
15902−
15903−pandoc (1.2)
15904−
15905− [ John MacFarlane ]
15906−
15907− * Added support for literate Haskell. lhs support is triggered by
15908− '+lhs' suffixes in formats. For example, 'latex+lhs' is literate
15909− Haskell LaTeX. '.lhs' files are treated by default as literate
15910− markdown.
15911−
15912− + Added stateLiterateHaskell to parser state.
15913− + Added parser for lhsCodeBlock to Markdown, RST, LaTeX readers.
15914− + Added parser for |inline lhs| to LaTeX reader.
15915− + Added writerLiterateHaskell to WriterOptions.
15916− + Added lhs support to Markdown, RST, LaTeX, HTML writers.
15917− + Added definition of code environment to LaTeX header.
15918− + Added tests (run only if highlighting support compiled in).
15919− + Documented lhs features in man page and README.
15920−
15921− * In Text.Pandoc.Definition, added processWith, processWithM,
15922− and queryWith, and deprecated processPandoc and queryPandoc
15923− for these more general functions.
15924−
15925− * Fixed bug in mediawiki writer: improper closing tags in tables.
15926− Thanks to Benct Philip Jonsson for reporting the bug.
15927−
15928− * Added --email-obfuscation option.
15929−
15930− + Added writer option for email obfuscation.
15931− + Implemented email obfuscation options in HTML writer.
15932− + Added option to option parser.
15933− + Documented in README and pandoc man page.
15934− + Resolves Issue #97.
15935−
15936− * LaTeX writer: fixed bug with empty table cells.
15937− Resolves Issue #107. Thanks to rodja.trappe for the patch.
15938−
15939− * Fixed bug with header spacing in Markdown and RST writers.
15940− A null header (Meta [] [] []) should not cause a blank line
15941− at the beginning of output. But a blank line is needed between
15942− a non-null header and the main text.
15943−
15944− * Markdown reader: Relax spacing rules for $$ in display math. Now
15945− space and newlines are allowed after the opening $$ and before the
15946− closing $$. However, the display math cannot contain an entirely
15947− blank line. Resolves Issue #105.
15948−
15949− * Markdown reader: Gobble space after Plain blocks containing only
15950− raw html inline. Otherwise following header blocks are not parsed
15951− correctly, since the parser sees blank space before them. Resolves
15952− Issue #124.
15953−
15954− * Markdown reader: Allow " as well as '' to end a latex double-quote.
15955−
15956− * Conditionally depend on syb and base >= 4 if ghc >= 6.10.
15957− Resolves Issue #109.
15958−
15959− * Fixed problems in RST and markdown output due to bug in pretty-1.0.1.0
15960−
15961− + Added hang' function to Text.Pandoc.Shared; this will be used instead
15962− of hang, which doesn't work properly in pretty-1.0.1.0. When pretty
15963− is upgraded, we can go back to hang.
15964− See http://article.gmane.org/gmane.comp.lang.haskell.general/16687
15965− + Use hang' (and some different techniques) in RST and markdown writers.
15966− Some output is now a bit different.
15967−
15968− * Brought citeproc support up to date for citeproc-hs-0.2.
15969− (Patch by Andrea Rossato.)
15970−
15971− * Moved all haskell source to src subdirectory. Renamed Main.hs to
15972− pandoc.hs.
15973−
15974− * Rewrote hsmarkdown in Haskell for portability (src/hsmarkdown.hs).
15975− For now, keeping the old shell script too.
15976−
15977− * Added TemplateHaskell to Extensions for executable, removed
15978− -threaded for library. Thanks to duncan.coutts for the bug report.
15979− Resolves Issue #121.
15980−
15981− * Moved some Extra-Source-Files to Data-Files.
15982−
15983− * Moved tabFilter to Shared.
15984−
15985− * In pandoc.hs, removed optPreserveTabs; instead, tabstop of 0 means
15986− preserve tabs.
15987−
15988− * Minor code cleanup based on hlint suggestions.
15989−
15990−pandoc (1.1)
15991−
15992− [ John MacFarlane ]
15993−
15994− * Main.hs:
15995−
15996− + Changed date on copyright message in Main.hs.
15997− + Have the '-v' option print syntax highlighting languages
15998− separated by commas, and wrapped in lines, instead of in five
15999− columns as before.
16000−
16001− * Added --jsmath option. Resolves Issue #68.
16002−
16003− + Added --jsmath option to Main.hs
16004− + Added JsMath to HTMLMathMethod in Text.Pandoc.Shared.
16005− + Handle math appropriately in HTML writer when JsMath selected.
16006− + Documented the option in README and man page.
16007−
16008− * Text.Pandoc.Shared: Changed compactify to use a better heuristic
16009− for tight and loose lists. Final Para is changed to Plain if all
16010− other list items *end* with a Plain block. Addresses Issue #99.
16011−
16012− * HTML reader:
16013−
16014− + Added colons to protocols in unsanitaryURI. Closes Issue #88.
16015− + HTML reader: Don't interpret contents of <pre> blocks as markdown.
16016− Added rawVerbatimBlock parser. Resolves Issue #94.
16017−
16018− * Markdown reader:
16019−
16020− + Allow URLs with spaces in them in links and references, but escape
16021− them as "%20".
16022− + Allow blank space at the end of horizontal rules.
16023−
16024− * RST reader: Modified 'unknownDirective' parser to handle comment
16025− blocks correctly, and added tests for comment blocks. Resolves Issue
16026− #86. Closes Debian Bug #500662.
16027−
16028− * HTML writer:
16029−
16030− + Include classes on tr elements in HTML output:
16031− "header", "odd", "even". This allows tables to be styled with
16032− lines in alternating colors. Resolves Issue #91.
16033− + Enclose all LaTeXMathML bits in <span class="LaTeX">.
16034− This prevents parts of the document that are not math from being
16035− interpreted as math by LaTeXMathML.js.
16036−
16037− * OpenDocument and ODT writers: Added support for HorizontalRule elements,
16038− which were formerly ignored. Resolves Issue #95.
16039−
16040− * Text.Pandoc.Shared: Modified wrappedTeX to eliminate the line break
16041− between a footnote and immediately following nonspace characters in
16042− LaTeX and ConTeXt output. (This gets interpreted as a space, which
16043− is not desired in cases like `text^[note]---`.) Resolves Issue #93.
16044−
16045− * Windows installer: Don't require admin privileges to run
16046− installer. Modified pandoc-setup.iss, and changed modpath.iss to
16047− modify HKCU path if user lacks admin privileges. Also fixed case
16048− where oldpath is empty (previously this led to the new path
16049− beginning with a semicolon).
16050−
16051− * Updated INSTALL instructions for Arch packages and OS X install using
16052− cabal-install.
16053−
16054− * Removed the (now unneeded) debian directory.
16055− Removed empty Codec and System directories.
16056−
16057− * Moved odt-styles/ to data/. Removed unneeded variable in Makefile.
16058−
16059− * Modified Setup.hs so that the "test" target returns an error status
16060− when tests fail, and "build" returns a success status if
16061− the build succeeds. Resolves Issue #100.
16062−
16063− * Added BUGS to files in tarball.
16064−
16065−
16066−pandoc (1.0.0.1)
16067−
16068− [ John MacFarlane ]
16069−
16070− * Removed spurious reference to pdf output format from pandoc(1) man page.
16071−
16072−pandoc (1.0)
16073−
16074− [ Andrea Rossato ]
16075−
16076− * Added new OpenDocument writer.
16077−
16078− * Added support for SmallCaps inline element.
16079−
16080− * Added support for integrating pandoc with citeproc-hs.
16081−
16082− + Added Cite element to definition and writers.
16083− + Added Text.Pandoc.Biblio module
16084− + Note: This support is included only if the 'citeproc'
16085− Cabal configuration flag is set.
16086−
16087− * Made Pandoc data structure an instance of Typeable.
16088− Added new processPandoc and queryPandoc functions, to query
16089− or transform matching elements in a Pandoc structure.
16090−
16091− [ Peter Wang ]
16092−
16093− * Added new Texinfo writer.
16094−
16095− [ John MacFarlane ]
16096−
16097− * Changes to Texinfo writer:
16098−
16099− + No space between paragraph and following @verbatim (provides more
16100− pleasing appearance in text formats)
16101− + Blank line consistently after list environments.
16102− + Removed deVerb.
16103− + Use @code instead of @verb for inline code (this solves the character
16104− escaping problem for texi2dvi and texi2pdf).
16105− + Added news of Texinfo writer to README.
16106− + Added Texinfo to list of formats in man page, and removed extra 'groff'.
16107− + Added texi & texinfo extensions to Main.hs, and fixed bug in determining
16108− default output extension.
16109− + Modified disallowedInNode in Texinfo writer to correct list of disallowed characters.
16110−
16111− * Added tests for OpenDocument writer.
16112−
16113− * Added ODT writer (using zip-archive library to package output of
16114− OpenDocument writer). Added odt-styles directory with default ODT styles.
16115−
16116− * Added new mediawiki writer and tests.
16117−
16118− * Markdown reader: Added support for delimited code blocks, with optional
16119− syntax highlighting using highlighting-kate (if the 'highlighting'
16120− configuration option is selected).
16121−
16122− + Currently highlighting is supported only in the HTML writer.
16123− + Delimited code blocks can have attributes; using the language name as
16124− class triggers highlighting.
16125− + New Attributes parameter in CodeBlock structure.
16126− + --version now indicates whether syntax highlighting support is compiled
16127− in, and prints a list of supported languages
16128−
16129− * Removed debian directory. Pandoc is no longer a native debian package.
16130−
16131− * Changes to build process: pandoc can now be built from the repository
16132− using Cabal. No unix tools are needed (so, pandoc can be built on Windows
16133− without Cygwin).
16134−
16135− + Include shell scripts themselves in repo, rather than generating from wrappers.
16136− Removed wrappers directory and wrappers Makefile target.
16137− + Text/Pandoc/ASCIIMathML.hs, Text/Pandoc/DefaultHeaders.hs,
16138− and Text/Pandoc/Writers/S5.hs are no longer built in Makefile
16139− from templates in the templates/ directory. Instead, they use template
16140− haskell to read data at compile time from the relevant files in data/.
16141− Template haskell functions go in a new module, Text.Pandoc.TH.
16142− + man pages are now generated in Setup.hs hook, not by Makefile
16143− + Makefile 'tarball' target now calls Cabal's 'sdist'
16144− + Added "Extra-Source-Files" to pandoc.cabal, so sdist contains everything needed
16145− + Added "Build-Type" field to pandoc.cabal to avoid warning.
16146− + Added to "Extra-source-files" and "Extra-tmp-files" in pandoc.cabal,
16147− so 'sdist' and 'clean' will work properly.
16148− + Setup.hs now generates man pages in a postbuild hook.
16149− + Added dependency-checking to Setup.hs, so it only rebuilds things
16150− that need rebuilding.
16151− + Added 'library' and 'executable' configuration flags.
16152− Cabal can now be told to build just the library or just the executable.
16153− + CABALOPTS may now be specified with 'make' to pass Cabal configuration flags.
16154− For example: CABALOPTS=-fhighlighting make
16155−
16156− * Rewrote test suite so it doesn't depend on perl or unix tools.
16157−
16158− + Replaced old runtests.pl with a Haskell script RunTests.hs.
16159− + Added Diff.hs module to be used by RunTests.hs instead of unix 'diff'.
16160− + Added test hook to Setup.hs, so tests may be run from cabal.
16161− + Changed Makefile's 'test' target to run tests via cabal.
16162− + Removed old generate.sh.
16163− + Since we no longer have 'sed' to filter out raw HTML sections
16164− from the docbook writer test, or raw LaTeX sections from the
16165− context writer test, we now just include these sections.
16166− They can be taken out if it is necessary to process the files.
16167− + Updated latex and context writer tests to remove extra spaces
16168− after '\\item'
16169− + Added a markdown table reader test.
16170− + Added markdown-reader-more.txt to test suite, for additional test cases
16171− for raw ConTeXt environments and more.
16172−
16173− * Compatibility fixes for CPP, Cabal, and haddock:
16174−
16175− + Use CPP in "Extensions" field in pandoc.cabal.
16176− + Removed use of backslash string continuations in source files.
16177−
16178− * Removed pandoc.cabal.ghc66. We now require Cabal >= 1.2, GHC >= 6.8,
16179− base >= 3.
16180−
16181− * Require parsec < 3.
16182− The compatibility module in parsec 3.0.0 gives far worse performance than
16183− parsec 2.1. Eventually pandoc will be upgraded to use the new bytestring
16184− version of parsec, and then we'll go to parsec 3.0.0.
16185−
16186− * Removed Text.Regex dependencies by rewriting using plain Haskell
16187− (Text.Pandoc.Writers.RTF, Text.Pandoc.Writers.HTML, Main.hs)
16188−
16189− * Moved Text.Pandoc.Writers.DefaultHeaders -> Text.Pandoc.DefaultHeaders.
16190−
16191− * Makefile:
16192−
16193− + Added 'configure' as dependency of 'uninstall-all'.
16194− (It uses the Cabal build program.)
16195− + Makefile: only use --with-hc-pkg if GHC_PKG is defined.
16196− Note that Cabal will automatically choose the ghc-pkg appropriate
16197− for the compiler selected, so normally specifying GHC by itself
16198− is sufficient.
16199−
16200− * Removed Text.Pandoc.UTF8 module; instead, depend on utf8-string and use
16201− its IO and conversion functions.
16202−
16203− * Added -Wall to ghc-options in pandoc.cabal. Cleaned up modules so that
16204− everything is -Wall clean.
16205−
16206− + Added pragma to HTML writer to avoid deprecation warning for use of "start" attribute.
16207− + Added pragma to Text/Pandoc/Shared.hs to get rid of "orphan instance" warnings.
16208− (These are caused by the Lift instance for ByteString.)
16209−
16210− * Changed the comment used to replace unsafe HTML if sanitize-html option
16211− selected.
16212−
16213− * Made -c/--css option repeatable on the command line (like -H, -A, -B).
16214−
16215− * Moved XML-formatting functions to new unexported module Text.Pandoc.XML.
16216−
16217− * Escape '\160' as " ", not " " in XML.
16218− "nbsp" isn't a predefined XML entity.
16219−
16220− * Fixed bug in RST reader, which would choke on: "p. one\ntwo\n".
16221− Added some try's in ordered list parsers.
16222−
16223− * Man writer: don't escape " as \".
16224−
16225− * Allow newline before URL in markdown link references. Resolves Issue #81.
16226− Added tests for this issue in new "markdown-reader-more" tests.
16227− Changed RunTests.hs to run these tests.
16228−
16229− * Support for display math. Resolves Issue #47.
16230−
16231− + Added a DisplayMath/InlineMath selector to Math inlines.
16232− + Markdown parser yields DisplayMath for $$...$$.
16233− + LaTeX parser yields DisplayMath when appropriate. Removed
16234− mathBlock parsers, since the same effect is achieved by the math
16235− inline parsers, now that they handle display math.
16236− + Writers handle DisplayMath as appropriate for the format.
16237− + Modified tests accordingly; added new tests for display math.
16238−
16239− * Use LaTeXMathML instead of ASCIIMathML. LaTeXMathML is closer
16240− to LaTeX in its display of math, and supports many non-math LaTeX environments.
16241−
16242− + Changed -m option to use LaTeXMathML rather than ASCIIMathML.
16243− + Modified HTML writer to print raw TeX when LaTeXMathML is
16244− being used instead of suppressing it.
16245− + Removed ASCIIMathML files from data/ and added LaTeXMathML.
16246− + Replaced ASCIIMathML with LaTeXMathML in source files.
16247− + Modified README and pandoc man page source.
16248− + Added --latexmathml option (kept --asciimathml as a synonym
16249− for backwards compatibility)
16250−
16251− * Markdown reader: Parse setext headers before atx headers.
16252− Test case:
16253− # hi
16254− ====
16255− parsed by Markdown.pl as an H1 header with contents "# hi".
16256−
16257− * Markdown reader: Treat "mixed" lists the same way as Markdown.pl does.
16258− The marker on the first list item determines the type of the whole
16259− list. Thus, a list like
16260− 1. one
16261− - two
16262− * three
16263− gets parsed as a single ordered list. (Previous versions of pandoc
16264− treated this as an ordered list with an unordered sublist.)
16265−
16266− * Markdown smart typography:
16267−
16268− + Em dashes no longer eat surrounding whitespace. Resolves Issue #69.
16269− + Use nonbreaking spaces after known abbreviations in markdown parser.
16270− Thus, for example, "Mr. Brown" comes out as "Mr.~Brown" in LaTeX, and does
16271− not produce a sentence-separating space. Resolves Issue #75.
16272−
16273− * Markdown writer: Print unicode \160 literally, rather than as .
16274−
16275− * Treat '\ ' in (extended) markdown as nonbreaking space.
16276− Print nonbreaking space appropriately in each writer (e.g. ~ in LaTeX).
16277−
16278− * The '--sanitize-html' option now examines URIs in markdown links
16279− and images, and in HTML href and src attributes. If the URI scheme
16280− is not on a whitelist of safe schemes, it is rejected. The main point
16281− is to prevent cross-site scripting attacks using 'javascript:' URIs.
16282− See http://www.mail-archive.com/markdown-discuss@six.pairlist.net/msg01186.html
16283− and http://ha.ckers.org/xss.html. Resolves Issue #62.
16284−
16285− * HTML writer:
16286−
16287− + Override Text.XHtml's stringToHtml function,
16288− so that characters below 0xff are not converted to numerical entity
16289− references. Also convert '\160' to " ". This should aid readability
16290− and editability of the HTML source. It does presuppose that the HTML
16291− will be served as UTF-8.
16292− + In code blocks, change leading newlines to <br /> tags.
16293− (Some browsers ignore them.) Resolves Issue #71.
16294− See http://six.pairlist.net/pipermail/markdown-discuss/2008-May/001297.html
16295− + Use style attributes rather than css classes for strikethrough
16296− and ordered list styles. This works better when fragments, rather than
16297− standalone documents, are generated.
16298−
16299− * HTML reader: Count anything that isn't a known block (HTML) tag as an
16300− inline tag (rather than the other way around). Added "html", "head", and
16301− "body" to list of block tags. Resolves Issue #66, allowing
16302− <lj> to count as an inline tag.
16303−
16304− * RTF writer: Fixed bug. Extra spaces were being printed after emphasized,
16305− boldface, and other inline elements. Resolves Issue #64.
16306−
16307− * LaTeX reader: improvements in raw LaTeX parsing.
16308−
16309− + "loose punctuation" (like {}) parsed as Space
16310− + Para elements must contain more than Str "" and Space elements
16311− + Added parser for "\ignore" command used in literate haskell.
16312− + Reworked unknownCommand and rawLaTeXInline: when not in "parse raw"
16313− mode, these parsers simply strip off the command part and allow
16314− the arguments to be parsed normally. So, for example,
16315− \blorg{\emph{hi}} will be parsed as Emph "hi" rather than
16316− Str "{\\emph{hi}}".
16317− + Parse lhs "code" environments as verbatim.
16318− Refactored parsers for verbatim environments.
16319− + Removed specialEnvironment parser.
16320− + parse '{}', if present, after \textless, \textgreater,
16321− \textbar, \textbackslash, \ldots.
16322− + Parse unescaped special characters verbatim rather than
16323− changing them to spaces. This way arguments of unknown
16324− commands will appear in braces.
16325−
16326− * Parse raw ConTeXt environments as TeX in markdown reader.
16327− Resolves Issue #73.
16328−
16329− * Moved BlockWrapper and wrappedBlocksToDoc from ConTeXt writer to Shared.
16330−
16331− * Made some structural changes to parsing of raw LaTeX environments.
16332− Previously there was a special block parser for LaTeX environments.
16333− It returned a Para element containing the raw TeX inline. This has
16334− been removed, and the raw LaTeX environment parser is now used in the
16335− rawLaTeXInline parser. The effect is exactly the same, except that we
16336− can now handle consecutive LaTeX and ConTeXt environments not separated
16337− by spaces. This new flexibility is required by the example in
16338− Issue #73:
16339−
16340− \placeformula \startformula
16341− L_{1} = L_{2}
16342− \stopformula
16343−
16344− API change: The LaTeX reader now exports rawLaTeXEnvironment' (which
16345− returns a string) rather than rawLaTeXEnvironment (which returns a block
16346− element). This is more likely to be useful in other applications.
16347−
16348− * Use \textsubscr instead of \textsubscript for LaTeX subscript macro.
16349− \textsubscript conflicts with a definition in the memoir class.
16350− Resolves Issue #65.
16351−
16352− * Removed unneeded space after "\\item" in LaTeX and ConTeXt output.
16353−
16354− * Added amsmath package to default LaTeX header. Resolves Issue #48.
16355−
16356− * Added \setupitemize[autointro] to ConTeXt header, to prevent orphaned
16357− list introduction lines.
16358−
16359− * Changed Float to Double in definition of Table element.
16360− (Double is more efficient in GHC.)
16361−
16362− * Fixed bug in Markdown parser: regular $s triggering math mode.
16363− For example: "shoes ($20) and socks ($5)."
16364− The fix consists in two new restrictions:
16365−
16366− + the $ that ends a math span may not be directly followed by a digit.
16367− + no blank lines may be included within a math span.
16368−
16369− Thanks to Joseph Reagle for noticing the bug.
16370−
16371− * Use Data.List's 'intercalate' instead of custom 'joinWithSep'.
16372− Removed 'joinWithSep' from Text.Pandoc.Shared.
16373−
16374− * Updated README and man pages. Acknowledge contributors in README.
16375− Added paragraph to README about producing S5 with separate CSS/javascript.
16376−
16377− * Updated INSTALL to reflect new build system (including configuration
16378− options) and document new dependencies. Added note to INSTALL that
16379− Cabal >= 1.2 is required for build. Resolves Issue #74.
16380−
16381− * Fixed some haddock documentation errors.
16382−
16383− * Small fix to markdown2pdf man page: only input needs to be piped through iconv.
16384−
16385−pandoc (0.46) unstable; urgency=low
16386−
16387− [ John MacFarlane ]
16388−
16389− * Made -H, -A, and -B options cumulative: if they are specified
16390− multiple times, multiple files will be included.
16391−
16392− * Added optional HTML sanitization using a whitelist.
16393− When this option is specified (--sanitize-html on the command line),
16394− unsafe HTML tags will be replaced by HTML comments, and unsafe HTML
16395− attributes will be removed. This option should be especially useful
16396− for those who want to use pandoc libraries in web applications, where
16397− users will provide the input.
16398−
16399− + Main.hs: Added --sanitize-html option.
16400−
16401− + Text.Pandoc.Shared: Added stateSanitizeHTML to ParserState.
16402−
16403− + Text.Pandoc.Readers.HTML:
16404− - Added whitelists of sanitaryTags and sanitaryAttributes.
16405− - Added parsers to check these lists (and state) to see if a given
16406− tag or attribute should be counted unsafe.
16407− - Modified anyHtmlTag and anyHtmlEndTag to replace unsafe tags
16408− with comments.
16409− - Modified htmlAttribute to remove unsafe attributes.
16410− - Modified htmlScript and htmlStyle to remove these elements if
16411− unsafe.
16412−
16413− + Modified README and man pages to document new option.
16414−
16415− * Improved handling of email addresses in markdown and reStructuredText.
16416− Consolidated uri and email address parsers. (Resolves Issue #37.)
16417−
16418− + New emailAddress and uri parsers in Text.Pandoc.Shared.
16419− - uri parser uses parseURI from Network.URI.
16420− - emailAddress parser properly handles email addresses with periods
16421− in them.
16422−
16423− + Removed uri and emailAddress parsers from Text.Pandoc.Readers.RST
16424− and Text.Pandoc.Readers.Markdown.
16425−
16426− * Markdown reader:
16427−
16428− + Fixed emph parser so that "*hi **there***" is parsed as a Strong
16429− nested in an Emph. (A '*' is only recognized as the end of the
16430− emphasis if it's not the beginning of a strong emphasis.)
16431−
16432− + Moved blockQuote parser before list parsers for performance.
16433−
16434− + Modified 'source' parser to allow backslash-escapes in URLs.
16435− So, for example, [my](/url\(1\)) yields a link to /url(1).
16436− Resolves Issue #34.
16437−
16438− + Disallowed links within links. (Resolves Issue #35.)
16439− - Replaced inlinesInBalanced with inlinesInBalancedBrackets, which
16440− instead of hard-coding the inline parser takes an inline parser
16441− as a parameter.
16442− - Modified reference and inlineNote to use inlinesInBalancedBrackets.
16443− - Removed unneeded inlineString function.
16444− - Added inlineNonLink parser, which is now used in the definition of
16445− reference.
16446− - Added inlineParsers list and redefined inline and inlineNonLink parsers
16447− in terms of it.
16448− - Added failIfLink parser.
16449−
16450− + Better handling of parentheses in URLs and quotation marks in titles.
16451− - 'source' parser first tries to parse URL with balanced parentheses;
16452− if that doesn't work, it tries to parse everything beginning with
16453− '(' and ending with ')'.
16454− - source parser now uses an auxiliary function source'.
16455− - linkTitle parser simplified and improved, under assumption that it
16456− will be called in context of source'.
16457−
16458− + Make 'block' conditional on strictness state, instead of using
16459− failIfStrict in block parsers. Use a different ordering of parsers
16460− in strict mode (raw HTML block before paragraph) for performance.
16461− In non-strict mode use rawHtmlBlocks instead of htmlBlock.
16462− Simplified htmlBlock, since we know it's only called in strict
16463− mode.
16464−
16465− + Improved handling of raw HTML. (Resolves Issue #36.)
16466− - Tags that can be either block or inline (e.g. <ins>) should
16467− be treated as block when appropriate and as inline when
16468− appropriate. Thus, for example,
16469− <ins>hi</ins>
16470− should be treated as a paragraph with inline <ins> tags, while
16471− <ins>
16472− hi
16473− </ins>
16474− should be treated as a paragraph within <ins> tags.
16475− - Moved htmlBlock after para in list of block parsers. This ensures
16476− that tags that can be either block or inline get parsed as inline
16477− when appropriate.
16478− - Modified rawHtmlInline' so that block elements aren't treated as
16479− inline.
16480− - Modified para parser so that paragraphs containing only HTML tags and
16481− blank space are not allowed. Treat these as raw HTML blocks instead.
16482−
16483− + Fixed bug wherein HTML preceding a code block could cause it to
16484− be parsed as a paragraph. The problem is that the HTML parser
16485− used to eat all blank space after an HTML block, including the
16486− indentation of the code block. (Resolves Issue #39.)
16487− - In Text.Pandoc.Readers.HTML, removed parsing of following space
16488− from rawHtmlBlock.
16489− - In Text.Pandoc.Readers.Markdown, modified rawHtmlBlocks so that
16490− indentation is eaten *only* on the first line after the HTML
16491− block. This means that in
16492− <div>
16493− foo
16494− <div>
16495− the foo won't be treated as a code block, but in
16496− <div>
16497−
16498− foo
16499−
16500− </div>
16501− it will. This seems the right approach for least surprise.
16502−
16503− * RST reader:
16504−
16505− + Fixed bug in parsing explicit links (resolves Issue #44).
16506− The problem was that we were looking for inlines until a '<' character
16507− signaled the start of the URL; so, if you hit a reference-style link,
16508− it would keep looking til the end of the document. Fix: change
16509− inline => (notFollowedBy (char '`') >> inline). Note that this won't
16510− allow code inlines in links, but these aren't allowed in resT anyway.
16511−
16512− + Cleaned up parsing of reference names in key blocks and links.
16513− Allow nonquoted reference links to contain isolated '.', '-', '_', so
16514− so that strings like 'a_b_' count as links.
16515−
16516− + Removed unnecessary check for following link in str.
16517− This is unnecessary now that link is above str in the definition of
16518− 'inline'.
16519−
16520− * HTML reader:
16521−
16522− + Modified rawHtmlBlock so it parses </html> and </body> tags.
16523− This allows these tags to be handled correctly in Markdown.
16524− HTML reader now uses rawHtmlBlock', which excludes </html> and </body>,
16525− since these are handled in parseHtml. (Resolves Issue #38.)
16526−
16527− + Fixed bug (emph parser was looking for `<IT>` tag, not `<I>`).
16528−
16529− + Don't interpret contents of style tags as markdown.
16530− (Resolves Issue #40.)
16531− - Added htmlStyle, analogous to htmlScript.
16532− - Use htmlStyle in htmlBlockElement and rawHtmlInline.
16533− - Moved "script" from the list of tags that can be either block or
16534− inline to the list of block tags.
16535−
16536− + Modified rawHtmlBlock to use anyHtmlBlockTag instead of anyHtmlTag
16537− and anyHtmlEndTag. This fixes a bug in markdown parsing, where
16538− inline tags would be included in raw HTML blocks.
16539−
16540− + Modified anyHtmlBlockTag to test for (not inline) rather than
16541− directly for block. This allows us to handle e.g. docbook in
16542− the markdown reader.
16543−
16544− * LaTeX reader: Properly recognize --parse-raw in rawLaTeXInline.
16545− Updated LaTeX reader test to use --parse-raw.
16546−
16547− * HTML writer:
16548−
16549− + Modified rules for automatic HTML header identifiers to
16550− ensure that identifiers begin with an alphabetic character.
16551− The new rules are described in README. (Resolves Issue #33.)
16552−
16553− + Changed handling of titles in HTML writer so you don't get
16554− "titleprefix - " followed by nothing.
16555−
16556− * ConTeXt writer: Use wrappers around Doc elements to ensure proper
16557− spacing. Each block element is wrapped with either Pad or Reg.
16558− Pad'ed elements are guaranteed to have a blank line in between.
16559−
16560− * RST writer:
16561−
16562− + Refactored RST writer to use a record instead of a tuple for state,
16563− and to include options in state so it doesn't need to be passed as
16564− a parameter.
16565−
16566− + Use an interpreted text role to render math in restructuredText.
16567− See http://www.american.edu/econ/itex2mml/mathhack.rst for the
16568− strategy.
16569−
16570− [ Recai Oktaş ]
16571−
16572− * Debian packaging changes:
16573−
16574− + Remove the empty 'include' directory in -dev package, which lintian
16575− complains about.
16576− + Bump Standarts-Version to 3.7.3.
16577− + Use new 'Homepage:' field to specify the upstream URL on suggestion of
16578− lintian.
16579−
16580− -- Recai Oktaş <roktas@debian.org> Tue, 08 Jan 2008 05:13:31 +0200
16581−
16582−pandoc (0.45) unstable; urgency=low
16583−
16584− [ John MacFarlane ]
16585−
16586− * Simplified parsing of reference keys and notes in markdown and RST
16587− readers: The Reference data structure from Text.Pandoc.Shared is no
16588− longer needed, since referenceKey and noteBlock parses return strings
16589− (as many blank lines as were occupied by the key or note) and update
16590− state themselves. getPosition and setPosition are now used to ensure
16591− that error messages will give the correct line number. This yields
16592− cleaner (and slightly faster) code, with more accurate parsing error
16593− messages.
16594−
16595− * Added new Math inline element:
16596−
16597− + Markdown and LaTeX readers now convert TeX math into Math elements,
16598− not TeX.
16599− + This allows math to be treated differently from raw TeX in output.
16600− TeX elements are no longer printed in output formats other than
16601− Markdown, LaTeX, and ConTeXt. But Math elements are always printed.
16602−
16603− * New default handling of math in writers:
16604−
16605− + New module Text.Pandoc.Readers.TeXMath exports readTeXMath, which
16606− parses raw TeX math and outputs a string of Pandoc inlines that
16607− tries to render it as far as possible using unicode characters,
16608− lapsing into literal TeX when needed.
16609− + readTeXMath is now used for default HTML output in HTML, S5, RTF,
16610− and Docbook, if no other method for displaying math in HTML is
16611− specified. Enclosing $'s are no longer printed by default.
16612− + By default, math is put inside `<span class="math">`. This way it can be
16613− distinguished from the surrounding text, e.g. put in a different
16614− font.
16615−
16616− * New --gladtex and --mimetex options for display of math in HTML:
16617−
16618− + If --gladtex is specified, math is output between `<eq>` tags, so
16619− it can be processed by gladTeX.
16620− + If --mimetex is specified, math is put in `<img>` tags with a link
16621− to the mimetex CGI script (or any other script that takes TeX math
16622− as input and outputs an image). The URL of the script may be
16623− specified, but defaults to /cgi-bin/mimetex.cgi.
16624− + HTMLMathMethod structure in WriterOptions keeps track of how to
16625− display math in HTML output.
16626− + Updated README with a description of the four options for displaying
16627− math in HTML.
16628−
16629− * HTML reader:
16630−
16631− + Fixed bug: parser for minimized attributes should not swallow
16632− trailing spaces.
16633− + Simplified HTML attribute parsing.
16634− + Changed parsing of code blocks in HTML reader: `<code>` tag is no
16635− longer needed. `<pre>` suffices. All HTML tags in the code block
16636− (e.g. for syntax highlighting) are skipped, because they are not
16637− portable to other output formats. A `<code>...</code>` block not
16638− surrounded by `<pre>` now counts as inline HTML, not a code block.
16639− + Remove just one leading and one trailing newline from contents of
16640− `<pre>...</pre>` in codeBlock parser.
16641−
16642− * Markdown reader:
16643−
16644− + Removed support for box-style block quotes.
16645− + Require space before title in links and references.
16646− This fixes a bug in parsing URLs like http://silly/url(withparen).
16647− + Improved and simplified setextHeader parser.
16648− + Fixed logic in smart quote parsing, adding some needed 'try'
16649− statements.
16650− + Fixed smart quote parsing so that unicode characters 8216 and 8217
16651− are recognized as single quotes, and 8220 and 8221 as double quotes.
16652−
16653− * RST reader:
16654−
16655− + Fixed bug in parsing of code blocks. Previously a full tab indent
16656− was required, but RST allows code to be indented any amount.
16657− Resolves Issue #27.
16658− + Allow field lists to be indented.
16659− + Parse the contents of field lists instead of treating as a raw string.
16660− + Represent field lists as definition lists instead of blockquotes.
16661− + Fixed bug in which metadata would be overridden if the document
16662− contained multiple field lists.
16663− + Parse fields associated with '.. image::' blocks, and use 'alt'
16664− field, if given, for image alt and title attributes.
16665−
16666− * LaTeX reader:
16667−
16668− + Modified specialChar so that '"' characters are parsed.
16669− + Fixed a bug in parsing of \[ \] math blocks (thanks to Mark Kalderon).
16670−
16671− * HTML writer:
16672−
16673− + Changes in handling of math (see above).
16674− + Don't produce HTML for table of contents if there are
16675− no headers. (This would be an empty list, which is invalid XHTML.)
16676−
16677− * Markdown writer:
16678−
16679− + Don't print title attribute if title is empty. (This differs from
16680− the behavior of Markdown.pl, and agrees with PHP Markdown. But John
16681− Gruber has indicated that he prefers this behavior.) Adjusted test
16682− suite accordingly.
16683− + Fixed incorrect line wrapping in paragraphs including hard line
16684− breaks. Resolves Issue #25.
16685− + Fixed bug in markdown writer: If an ordered list item began with
16686− a marker greater than 3 characters in width, and the item took more
16687− than one line, it would appear on the line after the list marker,
16688− e.g.:
16689−
16690− (12)
16691− My list item.
16692− Multiline.
16693−
16694− Now it works as follows:
16695−
16696− (12) My list item.
16697− Multiline.
16698−
16699− * RST writer
16700−
16701− + Fixed bug in RST writer's handling of ordered lists. Previously,
16702− list items with multiple lines would not always line up with
16703− single-line list items. Now, list items are nested the length of
16704− the list marker + 1. This looks better and ensures that list items
16705− all line up. (Note that list markers are padded to the length of
16706− the longest list marker in the series.)
16707− + Use 3-space indent for unordered lists.
16708− + If label for a link reference contains a colon, surround it by `
16709− signs so it won't be interpreted as the end of the link label.
16710−
16711− * LaTeX writer:
16712−
16713− + Cleaner output for footnotes. Footnotes now always begin on a new
16714− line, and the final } is on a line by itself only when it needs to
16715− be (i.e. only when the note ends with a Verbatim environment).
16716− + Added writer options to state, so state doesn't need to be passed as
16717− a parameter.
16718− + Text wrapping now provided, using wrapTeXIfNeeded.
16719−
16720− * ConTeXt writer: many improvements for more idiomatic ConTeXt output
16721− (thanks to Idris Samawi Hamid for suggestions).
16722−
16723− + PrettyPrint module now used for output.
16724− + Writer options are now in state, so they don't have to be passed as
16725− a parameter.
16726− + Text wrapping now provided, using wrapTeXIfNeeded.
16727− + Better treatment of footnotes: footnotes are always on lines by
16728− themselves, and the final } is on a line by itself only when
16729− it needs to be (after \stoptyping).
16730− + Use \subject, \subsubject, ... or \section, \subsection, ... for headings,
16731− depending on whether --number-sections option is selected.
16732− + Extra blank line inserted after \stopitemize
16733− + Use new, "official" definition of blockquote environment. Also, use
16734− blank line after \startblockquote to balance blank line at the end.
16735− + Both itemized and enumerated lists are now generated using
16736− \start-stopitemize, with appropriate options. Removed definitions
16737− of ltxenum and ltxitem, which are no longer needed. Provided
16738− defaults for itemized lists in the preamble. State keeps track of
16739− ordered list level, so that when default numbering is specified,
16740− the appropriate scheme can be used.
16741− + Changed \useurl to \useURL.
16742− + Changed link color from red to blue.
16743− + Use \subsubsubsubsection etc., since these are supported
16744− (up to at least sub x 5).
16745−
16746− * Text.Pandoc.Shared:
16747−
16748− + Save and restore position in parseFromString, so that accurate
16749− error messages can be given.
16750− + Improved efficiency of romanNumeral parser.
16751− + Added wrappedTeX and wrapTeXIfNeeded functions. These ensure
16752− that footnotes occur on lines by themselves (to make them
16753− easier to see and move) and do not screw up line wrapping.
16754−
16755− * Text.Pandoc.UTF8: modified fromUTF8 to strip out the BOM
16756− if present. Windows Notepad and other applications insert a
16757− BOM at the beginning of a UTF8 file.
16758−
16759− * Main.hs (tabFilter): Treat '\r' at end of line as newline (in
16760− addition to "\r\n" and '\n').
16761−
16762− * Added a writer option for wrapped text and a command-line option
16763− '--no-wrap', which disables text wrapping and minimizes whitespace
16764− in HTML. (Resolves Issue #26.)
16765−
16766− + Added support for '--no-wrap' to Main.hs.
16767− + Added wrapIfNeeded function to Text.Pandoc.Shared.
16768− + Use wrapIfNeeded instead of wrapped in the RST, Man, Docbook, and
16769− Markdown writers.
16770− + Added render and renderFragment helpers to HTML writer.
16771−
16772− * Modified html2markdown to run tidy only if the HTML cannot be
16773− parsed. Previously html2markdown piped all input through tidy
16774− before passing it to pandoc. This caused problems on certain pages
16775− (e.g. http://daringfireball.com/markdown) which have well-formed
16776− XHTML that causes tidy to choke. The solution is to pipe through
16777− tidy only if pandoc cannot parse the input by itself. This means
16778− that a temp file is now always used, even when input comes from a
16779− local file or standard input.
16780−
16781− * Removed 'version' constant from Main.hs; added 'pandocVersion' to
16782− Text.Pandoc library.
16783−
16784− * pandoc.cabal:
16785−
16786− + Modified to work with GHC 6.8 and Cabal configurations. (For GHC
16787− 6.8, pretty and containers must be added to Build-Depends, and it
16788− is desirable to use the -O2 compiler option.) Cabal configurations
16789− allows one to select options depending on the compiler version.
16790− For GHC 6.6, the splitBase option can be disabled.
16791− + pandoc.cabal.ghc66 is provided for users with older versions of
16792− Cabal, which do not support configurations.
16793− + Use Ghc-Prof-Options to ensure that '-auto-all' is used when
16794− '--enable-(executable|library)-profiling' is specified. Updated
16795− PROFILING instructions accordingly.
16796−
16797− * Makefile:
16798−
16799− + Makefile now checks GHC version. If GHC is 6.6, pandoc.cabal.ghc66
16800− is copied to pandoc.cabal, and the old pandoc.cabal is copied
16801− to pandoc.cabal.orig. Otherwise, pandoc.cabal is copied to
16802− pandoc.cabal.orig but otherwise unmodified. This way, the Makefile
16803− will work properly with either GHC 6.6 or 6.8.
16804− + Changed BUILDCONF to point to dist/setup-config, not .setup-config.
16805− This is where current versions of Cabal put it.
16806− + Added $(BUILDCMD) target, so setup doesn't get compiled every time.
16807− + Removed dependency of templates on ./templates, which is circular
16808− now that templates is a subdirectory of the top-level.
16809−
16810− * MacPorts Portfile:
16811−
16812− + Modified to install the pandoc library in addition to programs.
16813− + Installation must be done manually rather than using Makefile's
16814− install-all.
16815− + Note that the library must be registered in the activate phase,
16816− after the library files have been copied out of the destroot.
16817− Cabal generates a 'register.sh' script that will do this.
16818−
16819− * debian/control: Added libghc6-network-dev, libghc6-xhtml-dev, and
16820− libghc6-mtl-dev as dependencies for libghc6-pandoc-dev.
16821− Closes: #445235
16822−
16823− * debian/rules: Converted to UTF-8.
16824−
16825− * Changed pandoc home page to http://johnmacfarlane.net/pandoc/.
16826−
16827− * Updated ASCIIMathML.js to latest version.
16828−
16829− * Directory structure:
16830−
16831− + Moved everything from src into the top-level directory.
16832− + Changed references to source directory in Makefile and
16833− pandoc.cabal.*.
16834− + Moved ASCIIMathML.js, headers, and ui into templates directory.
16835− + Modified fillTemplates.pl to reflect new paths.
16836−
16837− [ Recai Oktaş ]
16838−
16839− * Makefile: Fixed the issue of having two copies of the library
16840− documentation under some usage scenarios.
16841−
16842− * Replaced 'ghc' with '$(GHC)' in Makefile, and made GHC
16843− and GHC_PKG configurable through the environment, to support
16844− unusual ghc installations. For example:
16845− GHC=/opt/ghc/bin/ghc GHC_PKG=/opt/ghc/bin/ghc-pkg make
16846−
16847− -- Recai Oktaş <roktas@debian.org> Sun, 07 Oct 2007 20:51:43 +0300
16848−
16849−pandoc (0.44) unstable; urgency=low
15237+ - HTML template: avoid empty meta tag if no date.
15238+ - HTML template: Use default highlighting CSS from highlighting-kate
15239+ instead of hard-coding the CSS into the template.
15240+ - HTML template: insert-before text goes before the title, and
15241+ immediately after the `<body>` tag, as documented. (Issue #241)
15242+ - Added slidy and s5 templates.
15243+ - Added amssymb to preamble of latex template. (github Issue 1)
15244+
15245++ Removed excess newlines at the end of output. Note: because output
15246+ will not contain an extra newline, you may need to make adjustments
15247+ if you are inserting pandoc's output into a template.
15248+
15249++ In S5 and slidy, horizontal rules now cause a new slide, so you
15250+ are no longer limited to one slide per section.
15251+
15252++ Improved handling of code in man writer. Inline code is now monospace,
15253+ not bold, and code blocks now use .nf (no fill) and .IP (indented para).
15254+
15255++ HTML reader parses `<tt>` as Code. (Issue #247)
15256+
15257++ html+lhs output now contains bird tracks, even when compiled without
15258+ highlighting support. (Issue #242)
15259+
15260++ Colons are now no longer allowed in autogenerated XML/HTML identifiers,
15261+ since they have a special meaning in XML.
15262+
15263++ Code improvements in ODT writer. Remote images are now replaced with
15264+ their alt text rather than a broken link.
15265+
15266++ LaTeX reader improvements:
15267+
15268+ - Made latex `\section`, `\chapter` parsers more forgiving of whitespace.
15269+ - Parse `\chapter{}` in latex.
15270+ - Changed `rawLaTeXInline` to accept `\section`, `\begin`, etc.
15271+ - Use new `rawLaTeXInline'` in LaTeX reader, and export `rawLaTeXInline`
15272+ for use in markdown reader.
15273+ - Fixes bug wherein `\section{foo}` was not recognized as raw TeX
15274+ in markdown document.
15275+
15276++ LaTeX writer: images are automatically shrunk if they would extend
15277+ beyond the page margin.
15278+
15279++ Plain, markdown, RST writers now use unicode for smart punctuation.
15280+
15281++ Man writer converts math to unicode when possible, as in other writers.
15282+
15283++ `markdown2pdf` can now recognize citeproc options.
15284+
15285++ Command-line arguments are converted to UTF-8. (Issue #234)
15286+
15287++ `Text.Pandoc.TeXMath` has been rewritten to use texmath's parser.
15288+ This allows it to handle a wider range of formulas. Also, if a formula
15289+ cannot be converted, it is left in raw TeX; formulas are no longer
15290+ partially converted.
15291+
15292++ Unicode curly quotes are left alone when parsing smart quotes. (Issue #143)
15293+
15294++ Cabal file changes:
15295+
15296+ - Removed parsec < 3 restriction.
15297+ - Added 'threaded' flag for architectures where GHC lacks a threaded
15298+ runtime.
15299+ - Use 'threaded' only for markdown2pdf; it is not needed for pandoc.
15300+ - Require highlighting-kate 0.2.7.
15301+
15302++ Use explicit imports from `Data.Generics`. Otherwise we have a
15303+ conflict with the 'empty' symbol, introduced in syb >= 0.2. (Issue #237)
15304+
15305++ New data files: slidy/slidy.min.js, slidy/slidy.min.css, epub.css.
15306+
15307+[EPUB]: http://en.wikipedia.org/wiki/EPUB
15308+[Slidy]: http://www.w3.org/Talks/Tools/Slidy
15309+[bookworm]: http://bookworm.oreilly.com/
15310+[tutorial here]: http://johnmacfarlane.net/pandoc/epub.html
15311+
15312+## pandoc 1.5.1.1 (2010-03-29)
15313+
15314++ Fixed header identifiers (uniqueIdent in Shared) so they
15315+ work as advertized in README and are guaranteed to be
15316+ valid XHTML names. Thanks to Xyne for reporting the bug.
15317+
15318+## pandoc 1.5.1 (2010-03-23)
15319+
15320++ Fixed treatment of unicode characters in URIs.
15321++ Revised Setup.hs so it works with debian's build process.
15322++ Fixed bug in OpenDocument writer that led to invalid
15323+ XML for some input.
15324+
15325+## pandoc 1.5.0.1 (2010-03-21)
15326+
15327++ HTML writer: Fixed error in math writer (with MathML option)
15328+ that caused an infinite loop for unparsable MathML.
15329+
15330+## pandoc 1.5 (2010-03-20)
15331+
15332++ Moved repository to [github](http://github.com/jgm/pandoc).
15333++ New `--mathml` option, for display of TeX math as MathML.
15334++ New `--data-dir` option, allowing users to specify a data
15335+ directory other than `~/.pandoc`. Files placed in this directory
15336+ will be used instead of system defaults.
15337++ New `--base-header-level` option. For example, `--base-header-level=2`
15338+ changes level 1 headers to level 2, level 2 to level 3, etc.
15339++ New 'plain' output format: plain text without pictures, hyperlinks,
15340+ inline formatting, or anything else that looks even vaguely
15341+ markupish.
15342++ Titles and authors in title blocks can now span multiple lines,
15343+ as long as the continuation lines begin with a space character.
15344++ When given an absolute URI as a parameter, pandoc will fetch
15345+ the content via HTTP.
15346++ The HTML reader has been made much more forgiving. It no
15347+ longer requires well-formed xhtml as input.
15348++ `html2markdown` has been removed; it is no longer necessary, given
15349+ the last two changes. `pandoc` can be used by itself to convert
15350+ web pages to markdown or other formats.
15351++ `hsmarkdown` has also been removed. Use `pandoc --strict` instead.
15352+ Or symlink pandoc's executable to `hsmarkdown`; `pandoc` will then
15353+ behave like `hsmarkdown` used to.
15354++ An image in a paragraph by itself is now rendered as a figure
15355+ in most writers, with the alt text as the caption.
15356++ Incomplete support for reST tables (simple and grid). Thanks to
15357+ Eric Kow. Colspans and rowspans not yet supported.
15358++ In mediawiki, links with relative URLs are now formatted as wikilinks.
15359+ Also, headers have been promoted: `= head =` is now level 1 instead of
15360+ level 2.
15361++ The markdown reader now handles "inverse bird tracks" when parsing
15362+ literate haskell. These are used for haskell example code that
15363+ is not part of the literate program.
15364++ The `-B` and `-A` options now imply `-s` and no longer work in
15365+ fragment mode.
15366++ Headerless tables are now printed properly in all writers.
15367+ In addition, tbody, thead, and cols are used in HTML and Docbook
15368+ tables.
15369++ Improved build system; removed obsolete Makefile.
15370++ In LaTeX writer, `\chapter` is now used instead of `\section`.
15371+ when the documentclass is book, report, or memoir.
15372++ Many small bug fixes. See [changelog] for details.
15373+
15374+## pandoc 1.4 (2010-01-02)
15375+
15376++ New template system replaces old headers, giving users much
15377+ more control over pandoc's output in `--standalone` mode.
15378+ Added `--template` and `--variable` options. The `--print-default-header`
15379+ option is now `--print-default-template`. See README under
15380+ "Templates" for details.
15381++ The old `--custom-header` option should still work, but it has
15382+ been deprecated.
15383++ New `--reference-odt` option allows users to customize styles
15384+ in ODT output.
15385++ Users may now put custom templates, s5 styles, and a reference
15386+ ODT in the `~/.pandoc` directory, where they will override system
15387+ defaults. See README for details.
15388++ Unicode is now used whenever possible in HTML and XML output. Entities
15389+ are used only where necessary (`>`, `<`, `"`, `&`).
15390++ Authors and dates may now include formatting and notes.
15391++ Added `--xetex` option for `pandoc` and `markdown2pdf`.
15392++ Windows installer now includes highlighting support and
15393+ `markdown2pdf` and `hsmarkdown` wrappers.
15394++ Pandoc no longer requires Template Haskell, which should make
15395+ it more portable.
15396++ Pandoc can now be built on GHC 6.12, as well as earlier versions.
15397++ See README for other small improvements and bug fixes.
15398+
15399+## pandoc 1.3 (2009-12-10)
15400+
15401++ Added `--id-prefix` option to help prevent duplicate
15402+ identifiers when you're generating HTML fragments.
15403++ Added `--indented-code-classes` option, which specifies
15404+ default highlighting syntax for indented code blocks.
15405++ `--number-sections` now affects HTML output.
15406++ Improved syntax for markdown definition lists.
15407++ Better looking simple tables.
15408++ Markdown tables without headers are now possible.
15409++ New hard line break syntax: backslash followed by newline.
15410++ Improved performance of markdown reader by ~10% by eliminating the
15411+ need for a separate parsing pass for notes.
15412++ Improved syntax highlighting for literate Haskell.
15413++ Support for "..code-block" directive in RST reader.
15414++ Windows binary now includes highlighting support.
15415++ Many bug fixes and small improvements. See [changelog]
15416+ for details.
15417+
15418+## pandoc 1.2.1 (2009-07-18)
15419+
15420++ Improved the efficiency of the markdown reader's
15421+ abbreviation parsing (should give a big performance
15422+ boost with `--smart`).
15423++ HTML writer now wraps sections in divs with unique
15424+ identifiers, for easier manipulation.
15425++ Improved LaTeX reader's coverage of math modes.
15426++ Added a portable Haskell version of markdown2pdf (thanks
15427+ to Paolo Tanimoto).
15428++ Made `--strict` compatible with `--standalone` and `--toc.`
15429++ Many other small improvements and bug fixes.
15430+ See [changelog] for details.
15431+
15432+## pandoc 1.2 (2009-03-01)
15433+
15434++ Added support for literate Haskell. lhs support is triggered by
15435+ '+lhs' suffixes in formats. For example, 'latex+lhs' is literate
15436+ Haskell LaTeX. '.lhs' files are treated by default as literate
15437+ markdown.
15438++ Added `--email-obfuscation` option.
15439++ Brought citeproc support up to date for citeproc-hs-0.2.
15440++ Many bugs fixed. See [changelog] for details.
15441+
15442+## pandoc 1.1 (2008-11-06)
15443+
15444++ New `--jsmath` option supporting use of pandoc with [jsMath].
15445++ Classes on HTML table output for better CSS styling.
15446++ Windows installer no longer requires admin privileges.
15447++ Many bugs fixed. See [changelog] for details.
15448+
15449+## pandoc 1.0 (2008-09-13)
15450+
15451++ New writers for MediaWiki, GNU Texinfo (thanks to Peter Wang),
15452+ OpenDocument XML (thanks to Andrea Rossato), and ODT (OpenOffice
15453+ document).
15454++ New [delimited code blocks](README.html#delimited-code-blocks),
15455+ with optional syntax highlighting.
15456++ Reorganized build system: pandoc can now be built using standard
15457+ Cabal tools. It can be compiled on Windows without Cygwin.
15458+ The tests can also be run without perl or unix tools.
15459++ LaTeXMathML replaces ASCIIMathML for rendering math in HTML.
15460++ Support for "displayed" math.
15461++ Common abbreviations are now handled more intelligently, with
15462+ a non-breaking space (and not a sentence-ending space) after
15463+ the period.
15464++ Code is -Wall clean.
15465++ Many bug fixes and small improvements. See [changelog] for
15466+ full details.
15467+
15468+## pandoc 0.46 (2008-01-08)
15469+
15470++ Added a `--sanitize-html` option (and a corresponding parameter
15471+ in `ParserState` for those using the pandoc libraries in programs).
15472+ This option causes pandoc to sanitize HTML (in HTML or Markdown
15473+ input) using a whitelist method. Possibly harmful HTML elements
15474+ are replaced with HTML comments. This should be useful in the
15475+ context of web applications, where pandoc may be used to convert
15476+ user input into HTML.
15477++ Made -H, -A, and -B options cumulative: if they are specified
15478+ multiple times, multiple files will be included.
15479++ Many bug fixes and small improvements. See [changelog] for full
15480+ details.
15481+
15482+## pandoc 0.45 (2007-12-09)
15483+
15484++ Many bug fixes and structural improvements. See [changelog] for
15485+ full details.
15486++ Improved treatment of math. Math is now rendered using unicode
15487+ by default in HTML, RTF, and DocBook output. For more accurate
15488+ display of math in HTML, `--gladtex`, `--mimetex`, and `--asciimathml`
15489+ options are provided. See the [User's Guide](README.html#math) for
15490+ details.
15491++ Removed support for box-style block quotes in markdown.
15492++ More idiomatic ConTeXt output.
15493++ Text wrapping in ConTeXt and LaTeX output.
15494++ Pandoc now correctly handles all standard line endings
15495+ (CR, LF, CRLF).
15496++ New `--no-wrap` option that disables line wrapping and minimizes
15497+ whitespace in HTML output.
15498++ Build process is now compatible with both GHC 6.8 and GHC 6.6.
15499+ GHC and GHC_PKG environment variables may be used to specify
15500+ which version of the compiler to use, when multiple versions are
15501+ installed.
15502+
15503+## pandoc 0.44 (03 September 2007)
1685015504
1685115505 [ John MacFarlane ]
1685215506
@@ -16869,9 +15523,7 @@ pandoc (0.44) unstable; urgency=low
1686915523
1687015524 This causes a serious FTBFS bug. Closes: #440668.
1687115525
16872− -- Recai Oktaş <roktas@debian.org> Mon, 03 Sep 2007 18:24:02 +0300
16873−
16874−pandoc (0.43) unstable; urgency=low
15526+## pandoc 0.43 (02 September 2007)
1687515527
1687615528 [ John MacFarlane ]
1687715529
@@ -16919,7 +15571,7 @@ pandoc (0.43) unstable; urgency=low
1691915571 so we get word wrapping, etc.
1692015572 + Modified latex writer tests for new latex writer using prettyprinter.
1692115573 + Fixed bug in LaTeX writer: autolinks would not cause
16922− '\usepackage{url}' to be put in the document header. Also, changes
15574+ `\usepackage{url}` to be put in the document header. Also, changes
1692315575 to state in enumerated list items would be overwritten.
1692415576 + In Markdown writer, escape paragraphs that begin with ordered list
1692515577 markers, so they don't get interpreted as ordered lists.
@@ -17007,9 +15659,7 @@ pandoc (0.43) unstable; urgency=low
1700715659 + Removed local references to Portfile, since pandoc is now in the
1700815660 MacPorts repository.
1700915661
17010− -- Recai Oktaş <roktas@debian.org> Sun, 02 Sep 2007 15:50:11 +0300
17011−
17012−pandoc (0.42) unstable; urgency=low
15662+## pandoc 0.42 (26 August 2007)
1701315663
1701415664 [ John MacFarlane ]
1701515665
@@ -17068,9 +15718,7 @@ pandoc (0.42) unstable; urgency=low
1706815718
1706915719 * Do not forget to close pandoc's ITP. Closes: #391666
1707015720
17071− -- Recai Oktaş <roktas@debian.org> Sun, 26 Aug 2007 22:51:32 +0300
17072−
17073−pandoc (0.41) unstable; urgency=low
15721+## pandoc 0.41 (19 August 2007)
1707415722
1707515723 [ John MacFarlane ]
1707615724
@@ -17103,9 +15751,7 @@ pandoc (0.41) unstable; urgency=low
1710315751 * Added note to INSTALL about variations in versions of the xhtml
1710415752 library that can lead to failed tests (thanks to Leif LeBaron).
1710515753
17106− -- Recai Oktaş <roktas@debian.org> Sun, 19 Aug 2007 23:26:07 +0300
17107−
17108−pandoc (0.4) unstable; urgency=low
15754+## pandoc 0.4 (16 January 2007)
1710915755
1711015756 [ John MacFarlane ]
1711115757
@@ -17256,7 +15902,7 @@ pandoc (0.4) unstable; urgency=low
1725615902 * Refactored and cleaned up character escaping in writers, using
1725715903 backslashEscapes and escapeStringUsing functions.
1725815904
17259− * Instead of adding "\n\n" to the end of an input string in Main.hs,
15905+ * Instead of adding `\n\n` to the end of an input string in Main.hs,
1726015906 this is now done in the readers. This makes the libraries behave
1726115907 the way you'd expect from the pandoc program. Resolves Issue #10.
1726215908
@@ -17329,12 +15975,12 @@ pandoc (0.4) unstable; urgency=low
1732915975
1733015976 * LaTeX reader:
1733115977
17332− + Replaced 'choice [(try (string ...), ...]' idiom with 'oneOfStrings',
15978+ + Replaced `choice [(try (string ...), ...]` idiom with `oneOfStrings`,
1733315979 for clarity.
17334− + Added clauses for tilde and caret. Tilde is \ensuremath{\sim}, and
17335− caret is \^{}, not \^ as before.
17336− + Added parsing for \url.
17337− + Parse \texttt{} as code, provided there's nothing fancy inside.
15980+ + Added clauses for tilde and caret. Tilde is `\ensuremath{\sim}`, and
15981+ caret is `\^{}`, not `\^` as before.
15982+ + Added parsing for `\url`.
15983+ + Parse `\texttt{}` as code, provided there's nothing fancy inside.
1733815984
1733915985 * HTML writer:
1734015986
@@ -17391,15 +16037,15 @@ pandoc (0.4) unstable; urgency=low
1739116037 packages that are actually required, given the document's content.
1739216038 Thus, for example, if strikeout is not used, ulem is not required.
1739316039 Modified LaTeXHeader accordingly.
17394− + Modified LaTeX writer to insert '\,' between consecutive quotes.
16040+ + Modified LaTeX writer to insert `\,` between consecutive quotes.
1739516041 + Removed unused function tableRowColumnWidths.
1739616042 + Simplified code for escaping special characters.
17397− + Leave extra blank line after \maketitle.
17398− + Include empty '\author{}' when no author specified to avoid LaTeX
16043+ + Leave extra blank line after `\maketitle`.
16044+ + Include empty `\author{}` when no author specified to avoid LaTeX
1739916045 errors.
1740016046 + Include fancyvrb code in header only if needed -- that is, only
1740116047 if there is actually code in a footnote.
17402− + Use \url{} for autolinks.
16048+ + Use `\url{}` for autolinks.
1740316049 + Include [mathletters] option in ucs package, so that basic unicode
1740416050 Greek letters will work correctly.
1740516051
@@ -17512,9 +16158,8 @@ pandoc (0.4) unstable; urgency=low
1751216158 + Suggest texlive-latex-recommended | tetex-extra instead of
1751316159 tetex-bin. This brings in fancyvrb and unicode support.
1751416160
17515− -- Recai Oktaş <roktas@debian.org> Tue, 16 Jan 2007 00:37:21 +0200
1751616161
17517−pandoc (0.3) unstable; urgency=low
16162+## pandoc 0.3 (05 January 2007)
1751816163
1751916164 [ John MacFarlane ]
1752016165
@@ -17573,7 +16218,7 @@ pandoc (0.3) unstable; urgency=low
1757316218 + Fixed parsing of metadata in LaTeX reader. Now the title, author,
1757416219 and date are parsed correctly. Everything else in the preamble
1757516220 is skipped.
17576− + Modified escapedChar in LaTeX reader to allow a '\' at the end of a
16221+ + Modified escapedChar in LaTeX reader to allow a `\` at the end of a
1757716222 line to count as escaped whitespace.
1757816223 + Modified LaTeX reader to produce inline links rather than reference
1757916224 links. Otherwise, links in footnotes aren't handled properly.
@@ -17612,7 +16257,7 @@ pandoc (0.3) unstable; urgency=low
1761216257
1761316258 * Minor improvements to LaTeX reader:
1761416259
17615− + '\thanks' now treated like a footnote.
16260+ + `\thanks` now treated like a footnote.
1761616261 + Simplified parsing of LaTeX command arguments and options.
1761716262 commandArgs now returns a list of arguments OR options (in
1761816263 whatever order they appear). The brackets are included, and
@@ -17623,7 +16268,7 @@ pandoc (0.3) unstable; urgency=low
1762316268 * Revised RTF writer:
1762416269
1762516270 + Default font is now Helvetica.
17626− + An '\f0' is added to each '\pard', so that font resizing works
16271+ + An `\f0` is added to each `\pard`, so that font resizing works
1762716272 correctly.
1762816273
1762916274 * Moved handling of "smart typography" from the writers to the Markdown
@@ -17735,16 +16380,12 @@ pandoc (0.3) unstable; urgency=low
1773516380 + Improved html2markdown's web grabber code, making it more robust,
1773616381 configurable and verbose. Added '-e', '-g' options.
1773716382
17738− -- Recai Oktaş <roktas@debian.org> Fri, 05 Jan 2007 09:41:19 +0200
1773916383
17740−pandoc (0.2) unstable; urgency=low
16384+## pandoc 0.2 (14 August 2006)
1774116385
1774216386 * Fixed unicode/utf-8 translation
1774316387
17744− -- John MacFarlane <jgm@berkeley.edu> Mon, 14 Aug 2006 00:00:00 -0400
17745−
17746−pandoc (0.1) unstable; urgency=low
16388+## pandoc 0.1 (14 August 2006)
1774716389
1774816390 * Initial creation of debian package
1774916391
17750− -- John MacFarlane <jgm@berkeley.edu> Mon, 14 Aug 2006 00:00:00 -0400