@@ -1,265 +0,0 @@
1−I'm pleased to announce the release of pandoc 1.7.
2−
3−As usual, a source tarball and Windows installer are available
4−at <http://code.google.com/p/pandoc/downloads/list>. You can
5−also use 'cabal install' to get the latest version from HackageDB:
6−
7− cabal update
8− cabal install pandoc
9−
10−Thanks to everyone who contributed by filing bug reports or contributing
11−patches, and especially to Andrea Rossato, Nathan Gass, Paul Rivier, and
12−Puneeth Chaganti for their major contributions to this version.
13−
14−New features
15−------------
16−
17− * New `textile` reader and writer. Thanks to Paul Rivier for contributing
18− the `textile` reader, an almost complete implementation of the textile
19− syntax used by the ruby [RedCloth library](http://redcloth.org/textile).
20− Resolves Issue #51.
21−
22− * New `org` writer, for Emacs Org-mode, contributed by Puneeth Chaganti.
23−
24− * New `json` reader and writer, for reading and writing a JSON
25− representation of the native Pandoc AST. These are much faster
26− than the `native` reader and writer, and should be used for
27− serializing Pandoc to text. To convert between the JSON representation
28− and native Pandoc, use `encodeJSON` and `decodeJSON` from
29− `Text.JSON.Generic`.
30−
31− * Support for citations using Andrea Rossato's `citeproc-hs` 0.3.
32− You can now write, for example,
33−
34− Water is wet [see @doe99, pp. 33-35; also @smith04, ch. 1].
35−
36− and, when you process your document using `pandoc`, specifying
37− a citation style using `--csl` and a bibliography using `--bibliography`,
38− the citation will be replaced by an appropriately formatted
39− citation, and a list of works cited will be added to the end
40− of the document.
41−
42− This means that you can switch effortlessly between different citation
43− and bibliography styles, including footnote, numerical, and author-date
44− formats. The bibliography can be in any of the following formats: MODS,
45− BibTeX, BibLaTeX, RIS, EndNote, EndNote XML, ISI, MEDLINE, Copac, or JSON.
46− See the README for further details.
47−
48− Citations are supported in the markdown reader, using a special
49− syntax, and in the LaTeX reader, using natbib or biblatex syntax.
50− (Thanks to Nathan Gass for the natbib and biblatex support.)
51−
52− * A new `--mathjax` option has been added for displaying
53− math in HTML using MathJax. Resolves issue #259.
54−
55− * You can now define LaTeX macros in markdown documents, and pandoc
56− will apply them to TeX math. For example,
57−
58− \newcommand{\plus}[2]{#1 + #2}
59− $\plus{3}{4}$
60−
61− yields `3+4`. Since the macros are applied in the reader, they
62− will work in every output format, not just LaTeX.
63−
64− * LaTeX macros can also be used in LaTeX documents (both in math
65− and in non-math contexts).
66−
67− * Footnotes are now supported in the RST reader. (Note, however,
68− that pandoc ignores the numeral or symbol used in the note;
69− footnotes are put in an auto-numbered ordered list.)
70− Resolves issue #258.
71−
72− * `markdown2pdf` now supports `--data-dir`.
73−
74− * Improved prettyprinting in most formats. Lines will be wrapped
75− more evenly and duplicate blank lines avoided.
76−
77− * New `--columns` command-line option sets the column width for
78− line wrapping and relative width calculations for tables.
79−
80− * Made `--smart` work in HTML, RST, and Textile readers, as well
81− as markdown.
82−
83− * Added support for listings package in LaTeX reader
84− (Puneeth Chaganti).
85−
86− * Added support for simple tables in the LaTeX reader.
87−
88− * Significant performance improvements in many readers and writers.
89−
90−API and program changes
91−-----------------------
92−
93− * Moved `Text.Pandoc.Definition` from the `pandoc` package to a new
94− auxiliary package, `pandoc-types`. This will make it possible for other
95− programs to supply output in Pandoc format, without depending on the whole
96− pandoc package.
97−
98− * Moved generic functions to `Text.Pandoc.Generic`. Deprecated
99− `processWith`, replacing it with two functions, `bottomUp` and `topDown`.
100− Removed previously deprecated functions `processPandoc` and `queryPandoc`.
101−
102− * Added `Text.Pandoc.Builder`, for building `Pandoc` structures.
103−
104− * `Text.Pandoc` now exports association lists `readers` and `writers`.
105−
106− * Removed deprecated `-C/--custom-header` option.
107− Use `--template` instead.
108−
109− * `--biblio-file` has been replaced by `--bibliography`.
110− `--biblio-format` has been removed; pandoc now guesses the format
111− from the file extension (see README).
112−
113− * pandoc will treat an argument as a URI only if it has an
114− `http(s)` scheme. Previously pandoc would treat some
115− Windows pathnames beginning with `C:/` as URIs.
116−
117− * pandoc now adds a newline to the end of its output in fragment
118− mode (= not `--standalone`).
119−
120− * The `--sanitize-html` option and the `stateSanitize` field in
121− `ParserState` have been removed. Sanitization is better done in the
122− resulting HTML using `xss-sanitize`, which is based on pandoc's
123− sanitization, but improved.
124−
125− * Added `Text.Pandoc.Pretty`. This is better suited for pandoc than the
126− `pretty` package. Changed all writers that used
127− `Text.PrettyPrint.HughesPJ` to use `Text.Pandoc.Pretty` instead.
128−
129− * Removed `Text.Pandoc.Blocks`. `Text.Pandoc.Pretty` allows you to define
130− blocks and concatenate them, so a separate module is no longer needed.
131−
132− * `Text.Pandoc.Shared`:
133−
134− + Added `writerColumns` to `WriterOptions`.
135− + Added `normalize`.
136− + Removed unneeded prettyprinting functions:
137− `wrapped`, `wrapIfNeeded`, `wrappedTeX`, `wrapTeXIfNeeded`, `hang'`,
138− `BlockWrapper`, `wrappedBlocksToDoc`.
139− + Made `splitBy` take a test instead of an element.
140− + Added `findDataFile`, refactored `readDataFile`.
141− + Added `stringify`. Rewrote `inlineListToIdentifier` using `stringify`.
142− + Fixed `inlineListToIdentifier` to treat '\160' as ' '.
143−
144− * `Text.Pandoc.Readers.HTML`:
145−
146− + Removed `rawHtmlBlock`, `anyHtmlBlockTag`, `anyHtmlInlineTag`,
147− `anyHtmlTag`, `anyHtmlEndTag`, `htmlEndTag`, `extractTagType`,
148− `htmlBlockElement`, `htmlComment`
149− + Added `htmlTag`, `htmlInBalanced`, `isInlineTag`, `isBlockTag`,
150− `isTextTag`
151−
152− * Moved `smartPunctuation` from `Text.Pandoc.Readers.Markdown`
153− to `Text.Pandoc.Readers.Parsing`, and parameterized it with
154− an inline parser.
155−
156− * Ellipses are no longer allowed to contain spaces.
157− Previously we allowed '. . .', ' . . . ', etc. This caused
158− too many complications, and removed author's flexibility in
159− combining ellipses with spaces and periods.
160−
161− * Allow linebreaks in URLs (treat as spaces). Also, a string of
162− consecutive spaces or tabs is now parsed as a single space. If you have
163− multiple spaces in your URL, use `%20%20`.
164−
165− * `Text.Pandoc.Parsing`:
166−
167− + Removed `refsMatch`.
168− + Hid `Key` constructor.
169− + Removed custom `Ord` and `Eq` instances for `Key`.
170− + Added `toKey` and `fromKey` to convert between `Key` and `[Inline]`.
171− + Generalized type on `readWith`.
172−
173− * Small change in calculation of relative widths of table columns.
174− If the size of the header > the specified column width, use
175− the header size as 100% for purposes of calculating
176− relative widths of columns.
177−
178− * Markdown writer now uses some pandoc-specific features when `--strict`
179− is not specified: \ newline is used for a hard linebreak instead of
180− two spaces then a newline. And delimited code blocks are used when
181− there are attributes.
182−
183− * HTML writer: improved gladTeX output by setting ENV appropriately
184− for display or inline math (Jonathan Daugherty).
185−
186− * LaTeX writer: Use `\paragraph`, `\subparagraph` for level 4,5 headers.
187−
188− * LaTeX reader:
189−
190− + `\label{foo}` and `\ref{foo}` now become `{foo}` instead of `(foo)`.
191− + `\index{}` commands are skipped.
192−
193− * Added `fontsize` variable to default LaTeX template.
194− This makes it easy to set the font size using `markdown2pdf`:
195− `markdown2pdf -V fontsize=12pt input.txt`.
196−
197− * The `COLUMNS` environment variable no longer has any effect.
198−
199−Under-the-hood improvements
200−---------------------------
201−
202− * Completely rewrote HTML reader using tagsoup as a lexer. The
203− new reader is faster and more accurate.
204−
205− * Replaced `escapeStringAsXML` with a faster version.
206−
207− * Remove duplications in documentation by generating the
208− pandoc man page from README, using `MakeManPage.hs`.
209−
210− * Improvements to testing framework: Removed old `tests/RunTests.hs`.
211− `cabal test` now runs `test-pandoc`, which is built from
212− `src/test-pandoc.hs` when the `tests` Cabal flag is set.
213− This allows the testing framework to have its own dependencies.
214−
215− * Added `Interact.hs` to make it easier to use ghci while developing.
216− `Interact.hs` loads `ghci` from the `src` directory, specifying
217− all the options needed to load pandoc modules (including
218− specific package dependencies, which it gets by parsing
219− dist/setup-config).
220−
221− * Added `Benchmark.hs`, testing all readers + writers using criterion.
222−
223− * Added `stats.sh`, to make it easier to collect and archive
224− benchmark and lines-of-code stats.
225−
226−Bug fixes
227−---------
228−
229− * Filenames are encoded as UTF8. Resolves Issue #252.
230−
231− * Handle curly quotes better in `--smart` mode. Previously, curly quotes
232− were just parsed literally, leading to problems in some output formats.
233− Now they are parsed as `Quoted` inlines, if `--smart` is specified.
234− Resolves Issue #270.
235−
236− * Markdown reader:
237−
238− + Allow HTML comments as inline elements in markdown.
239− So, `aaa <!-- comment --> bbb` can be a single paragraph.
240− + Fixed superscripts with links: `^[link](/foo)^` gets
241− recognized as a superscripted link, not an inline note followed by
242− garbage.
243− + Fixed regression, making markdown reference keys case-insensitive again.
244− Resolves Issue #272.
245− + Properly handle abbreviations (like `Mr.`) at the end of a line.
246− + Better handling of intraword underscores, avoiding exponential
247− slowdowns in some cases. Resolves Issue #182.
248−
249− * LaTeX reader:
250−
251− + Improved parsing of preamble.
252− Previously you'd get unexpected behavior on a document that
253− contained `\begin{document}` in, say, a verbatim block.
254− + Allow spaces between '\begin' or '\end' and '{'.
255− + Support \L and \l.
256−
257− * OpenDocument writer: don't print raw TeX.
258−
259− * Markdown writer: Fixed bug in `Image`. URI was getting unescaped twice!
260−
261− * LaTeX and ConTeXt: Escape `[` and `]` as `{[}` and `{]}`.
262− This avoids unwanted interpretation as an optional argument.
263−
264− * `:` now allowed in HTML tags. Resolves Issue #274.
265−