git.iko.soy/typeable/pandoc
on master help sign in
Merge commit '9e52ac6bb02afd7b4ed5dad61021a1fa33051203' as 'data/templates'
ce8226fJohn MacFarlane
.editorconfigdeleted−16
@@ -1,16 +0,0 @@
1−root = true
2−
3−[*]
4−charset = utf-8
5−end_of_line = lf
6−indent_style = space
7−indent_size = 2
8−insert_final_newline = true
9−trim_trailing_whitespace = true
10−
11−[*.{markdown,md}]
12−trim_trailing_whitespace = false
13−
14−[tests/*]
15−insert_final_newline = false
16−trim_trailing_whitespace = false
.gitignoredeleted−25
@@ -1,25 +0,0 @@
1−*~
2−deb/.vagrant
3−dist/*
4−MANUAL.*
5−!MANUAL.txt
6−.configure-stamp
7−.cabal-sandbox
8−cabal.sandbox.config
9−pandoc.cabal.orig
10−man/man?/*.1
11−man/man?/*.5
12−man/man?/*.html
13−*.diff
14−*.o
15−*.hi
16−*.pyc
17−/COPYING.rtf
18−/COPYRIGHT.txt
19−/cabal-dev/
20−/windows/*.msi
21−/windows/*.wixpdb
22−windows/*.wixobj
23−data/reference.docx
24−data/reference.odt
25−.stack-work
.gitmodulesdeleted−3
@@ -1,3 +0,0 @@
1−[submodule "templates"]
2− path = data/templates
3− url = https://github.com/jgm/pandoc-templates.git
.travis.ymldeleted−130
@@ -1,130 +0,0 @@
1−# This .travis.yml is modified from the sample at
2−# https://docs.haskellstack.org/en/stable/GUIDE/#travis-with-caching
3−
4−# Use new container infrastructure to enable caching
5−sudo: false
6−
7−# Do not choose a language; we provide our own build tools.
8−language: generic
9−
10−# Caching so the next build will be fast too.
11−cache:
12− directories:
13− - $HOME/.ghc
14− - $HOME/.cabal
15− - $HOME/.stack
16−
17−# The different configurations we want to test. We have BUILD=cabal which uses
18−# cabal-install, and BUILD=stack which uses Stack. More documentation on each
19−# of those below.
20−#
21−# We set the compiler values here to tell Travis to use a different
22−# cache file per set of arguments.
23−#
24−# If you need to have different apt packages for each combination in the
25−# matrix, you can use a line such as:
26−# addons: {apt: {packages: [libfcgi-dev,libgmp-dev]}}
27−#
28−# fast_finish: build successful when every builds not in allow_failure are finished
29−# i.e. not waiting any of the allow_failure to finish
30−matrix:
31− include:
32− # We grab the appropriate GHC and cabal-install versions from hvr's PPA. See:
33− # https://github.com/hvr/multi-ghc-travis
34− - env: BUILD=cabal GHCVER=7.8.4 CABALVER=1.18
35− compiler: ": #GHC 7.8.4"
36− addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4,happy-1.19.5], sources: [hvr-ghc]}}
37− - env: BUILD=cabal GHCVER=7.10.3 CABALVER=1.22
38− compiler: ": #GHC 7.10.3"
39− addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3,happy-1.19.5], sources: [hvr-ghc]}}
40−
41− - env: BUILD=cabal GHCVER=8.0.2 CABALVER=1.24
42− compiler: ": #GHC 8.0.2"
43− addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.2,happy-1.19.5], sources: [hvr-ghc]}}
44−
45− # Build with the newest GHC and cabal-install. This is an accepted failure,
46− # see below.
47− - env: BUILD=cabal GHCVER=head CABALVER=head
48− compiler: ": #GHC HEAD"
49− addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
50−
51− # The Stack builds. We can pass in arbitrary Stack arguments via the ARGS
52− # variable, such as using --stack-yaml to point to a different file.
53− - env: BUILD=stack ARGS="--resolver lts-8"
54− compiler: ": #stack 8.0.2"
55− addons: {apt: {packages: [ghc-8.0.2], sources: [hvr-ghc]}}
56−
57− # Nightly builds are allowed to fail
58− - env: BUILD=stack ARGS="--resolver nightly"
59− compiler: ": #stack nightly"
60− addons: {apt: {packages: [libgmp-dev]}}
61−
62− - env: BUILD=stack ARGS="--resolver lts-8"
63− compiler: ": #stack 8.0.2 osx"
64− os: osx
65−
66− # - env: BUILD=stack ARGS="--resolver nightly"
67− # compiler: ": #stack nightly osx"
68− # os: osx
69−
70− allow_failures:
71− - env: BUILD=cabal GHCVER=head CABALVER=head
72− - env: BUILD=stack ARGS="--resolver nightly"
73−
74− fast_finish: true
75−
76−before_install:
77−# Using compiler above sets CC to an invalid value, so unset it
78−- unset CC
79−
80−# We want to always allow newer versions of packages when building on GHC HEAD
81−- CABALARGS=""
82−- if [ "x$GHCVER" = "xhead" ]; then CABALARGS=--allow-newer; fi
83−- export PATH=$PATH:/opt/happy/1.19.5/bin/:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.local/bin
84−# Download and unpack the stack executable
85−- |
86− if [[ $BUILD == "stack" ]]; then
87− mkdir -p ~/.local/bin
88− if [ `uname` = "Darwin" ]
89− then
90− curl --insecure -L https://www.stackage.org/stack/osx-x86_64 | tar xz --strip-components=1 --include '*/stack' -C ~/.local/bin
91− else
92− curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
93− fi
94− fi
95−
96−install:
97−- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
98−- if [ -f configure.ac ]; then autoreconf -i; fi
99−- |
100− case "$BUILD" in
101− stack)
102− ulimit -n 4096
103− stack --no-terminal --install-ghc $ARGS test --flag 'aeson:fast' --only-dependencies --fast
104− ;;
105− cabal)
106− cabal --version
107− travis_retry cabal update
108− cabal install -j --only-dependencies -ffast --enable-tests --enable-benchmarks --force-reinstalls --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS
109− ;;
110− esac
111−
112−script:
113−- |
114− case "$BUILD" in
115− stack)
116− ulimit -n 4096
117− stack --no-terminal $ARGS test --flag 'aeson:fast' --haddock --no-haddock-deps --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror"
118− ;;
119− cabal)
120− cabal configure --enable-tests --enable-benchmarks -v2 -ffast --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror" && \
121− cabal build -j && \
122− cabal check && \
123− cabal test -j && \
124− cabal copy && \
125− cabal sdist && \
126− SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && \
127− cd dist && \
128− cabal install -j -v2 -ffast --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror" --force-reinstall "$SRC_TGZ"
129− ;;
130− esac
BUGSdeleted−4
@@ -1,4 +0,0 @@
1−To view a list of known bugs, or to enter a bug report, please use
2−Pandoc's issue tracker: <https://github.com/jgm/pandoc/issues>.
3−
4−See also CONTRIBUTING.md.
CONTRIBUTING.mddeleted−319
@@ -1,319 +0,0 @@
1−Contributing to pandoc
2−======================
3−
4−Found a bug?
5−------------
6−
7−Bug reports are welcome! Please report all bugs on pandoc's github
8−[issue tracker].
9−
10−Before you submit a bug report, search the (open *and* closed) issues to make
11−sure the issue hasn't come up before. Also, check the [User's Guide] and [FAQs]
12−for anything relevant.
13−
14−Make sure you can reproduce the bug with the latest released version of pandoc
15−(or, even better, the development version).
16−
17−Your report should give detailed, *reproducible* instructions, including
18−
19− * the pandoc version (check using `pandoc -v`)
20− * the exact command line used
21− * the exact input used
22− * the output received
23− * the output you expected instead
24−
25−A small test case (just a few lines) is ideal. If your input is large,
26−try to whittle it down to a *minimum working example*.
27−
28−Out of scope?
29−-------------
30−
31−A less than perfect conversion does not necessarily mean there's
32−a bug in pandoc. Quoting from the MANUAL:
33−
34−> Because Pandoc's intermediate representation of a document is less
35−> expressive than many of the formats it converts between, one should
36−> not expect perfect conversions between every format and every other.
37−> Pandoc attempts to preserve the structural elements of a document, but
38−> not formatting details such as margin size. And some document elements,
39−> such as complex tables, may not fit into Pandoc's simple document
40−> model. While conversions from Pandoc's Markdown to all formats aspire
41−> to be perfect, conversions from formats more expressive than Pandoc's
42−> Markdown can be expected to be lossy.
43−
44−For example, both docx and odt can represent margin size, but because
45−pandoc's internal document model does not contain a representation of
46−margin size, this information will be lost on converting from docx
47−to odt. (You can, however, customize margin size using `--reference-odt`.)
48−
49−So before submitting a bug report, consider whether it might be
50−"out of scope." If it concerns a feature of documents that isn't
51−representable in pandoc's Markdown, then it very likely is.
52−(If in doubt, you can always ask on pandoc-discuss.)
53−
54−Fixing bugs from the issue tracker
55−----------------------------------
56−
57−Almost all the bugs on the issue tracker have one or more associated
58−tags. These are used to indicate the *complexity* and *nature* of a
59−bug. There is not yet a way to indicate priority. An up to date
60−summary of issues can be found [here](https://github.com/jgm/pandoc/labels).
61−
62−* [beginner-friendly] — The perfect starting point for new contributors. The
63− issue is generic and can be resolved without deep knowledge of the code
64− base.
65−* [enhancement] — A feature which would be desirable. We recommend
66− you discuss any proposed enhancement on pandoc-discuss before
67− writing code.
68−* [bug] — A problem which needs to be fixed.
69−* [complexity:low] — The fix should only be a couple of lines.
70−* [complexity:high] — The fix might require structural changes or in depth
71− knowledge of the code base.
72−* [new:reader] — A request to add a new input format.
73−* [new:writer] — A request to add a new output format.
74−* [docs] — A discrepency, or ambiguity in the documentation.
75−* [status:in-progress] — Someone is actively working on or planning to work on the
76− ticket.
77−* [status:more-discussion-needed] — It is unclear what the correct approach
78− to solving the ticket is. Before starting on tickets such as this it
79− would be advisable to post on the ticket.
80−* [status:more-info-needed] — We require more information from a user before
81− we can classify a report properly.
82−
83−Issues related to a specific format are tagged accordingly, e.g. feature request
84−or bug reports related to Markdown are labelled with [format:markdown].
85−
86−Have an idea for a new feature?
87−-------------------------------
88−
89−First, search [pandoc-discuss] and the issue tracker (both open and closed
90−issues) to make sure that the idea has not been discussed before.
91−
92−Explain the rationale for the feature you're requesting. Why would this
93−feature be useful? Consider also any possible drawbacks, including backwards
94−compatibility, new library dependencies, and performance issues.
95−
96−It is best to discuss a potential new feature on [pandoc-discuss]
97−before opening an issue.
98−
99−Patches and pull requests
100−-------------------------
101−
102−Patches and pull requests are welcome. Before you put time into a nontrivial
103−patch, it is a good idea to discuss it on [pandoc-discuss], especially if it is
104−for a new feature (rather than fixing a bug).
105−
106−Please follow these guidelines:
107−
108−1. Each patch (commit) should make a single logical change (fix a bug, add
109− a feature, clean up some code, add documentation). Everything
110− related to that change should be included (including tests and
111− documentation), and nothing unrelated should be included.
112−
113−2. The first line of the commit message should be a short description
114− of the whole commit (ideally <= 50 characters). Then there should
115− be a blank line, followed by a more detailed description of the
116− change.
117−
118−3. Follow the stylistic conventions you find in the existing
119− pandoc code. Use spaces, not tabs, and wrap code to 80 columns.
120− Always include type signatures for top-level functions.
121− Consider installing [EditorConfig], this will help you to follow the
122− coding style prevalent in pandoc.
123−
124−4. Your code should compile without warnings (`-Wall` clean).
125−
126−5. Run the tests to make sure your code does not introduce new bugs.
127− (See below under [Tests](#tests).) All tests should pass.
128−
129−6. It is a good idea to add test cases for the bug you are fixing. (See
130− below under [Tests](#tests).) If you are adding a new writer or reader,
131− you must include tests.
132−
133−7. If you are adding a new feature, include updates to MANUAL.txt.
134−
135−8. All code must be released under the general license governing pandoc
136− (GPL v2).
137−
138−9. It is better not to introduce new dependencies. Dependencies on
139− external C libraries should especially be avoided.
140−
141−10. We aim for compatibility with ghc versions from 7.8.3 to the
142− latest release. All pull requests and commits are tested
143− automatically on travis-ci.org, using GHC versions in the
144− `Tested-With` stanza of `pandoc.cabal`. We currently relax
145− the "`-Wall` clean" requirement for GHC 7.10.x, because
146− there are so many warnings relating to the addition of type
147− classes to the Prelude.
148−
149−Tests
150−-----
151−
152−Tests can be run as follows:
153−
154− cabal install --only-dependencies --enable-tests
155− cabal configure --enable-tests
156− cabal build
157− cabal test
158−
159−or, if you're using [stack],
160−
161− stack setup
162− stack test
163−
164−The test program is `tests/test-pandoc.hs`.
165−
166−Benchmarks
167−----------
168−
169−To run benchmarks with cabal:
170−
171− cabal configure --enable-benchmarks
172− cabal build
173− cabal bench
174−
175−With stack:
176−
177− stack bench
178−
179−You can also build pandoc with the `weigh-pandoc` flag and
180−run `weigh-pandoc` to get some statistics on memory usage.
181−(Eventually this should be incorporated into the benchmark
182−suite.)
183−
184−Using the REPL
185−--------------
186−
187−With a recent version of cabal, you can do `cabal repl` and get
188−a ghci REPL for working with pandoc. With [stack], use
189−`cabal ghci`.
190−
191−We recommend using the following `.ghci` file (which can be
192−placed in the source directory):
193−
194−```
195−:set -fobject-code
196−:set -XTypeSynonymInstances
197−:set -XScopedTypeVariables
198−:set -XOverloadedStrings
199−```
200−
201−Profiling
202−---------
203−
204−To use the GHC profiler with cabal:
205−
206− cabal clean
207− cabal install --enable-library-profiling --enable-executable-profiling
208− pandoc +RTS -p -RTS [file]...
209− less pandoc.prof
210−
211−With stack:
212−
213− stack clean
214− stack install --profile
215− pandoc +RTS -p -RTS [file]...
216− less pandoc.prof
217−
218−The code
219−--------
220−
221−Pandoc has a publicly accessible git repository on
222−github: <http://github.com/jgm/pandoc>. To get a local copy of the source:
223−
224− git clone git://github.com/jgm/pandoc.git
225−
226−Note: after cloning the repository (and in the future after pulling from it),
227−you should do
228−
229− git submodule update --init
230−
231−to pull in changes to the templates (`data/templates/`). You can automate this
232−by creating a file `.git/hooks/post-merge` with the contents:
233−
234− #!/bin/sh
235− git submodule update --init
236−
237−and making it executable:
238−
239− chmod +x .git/hooks/post-merge
240−
241−The source for the main pandoc program is `pandoc.hs`. The source for
242−the pandoc library is in `src/`, the source for the tests is in
243−`tests/`, and the source for the benchmarks is in `benchmark/`.
244−
245−The modules `Text.Pandoc.Definition`, `Text.Pandoc.Builder`, and
246−`Text.Pandoc.Generic` are in a separate library `pandoc-types`. The code can
247−be found in a <http://github.com/jgm/pandoc-types>.
248−
249−To build pandoc, you will need a working installation of the
250−[Haskell platform].
251−
252−The library is structured as follows:
253−
254− - `Text.Pandoc` is a top-level module that exports what is needed
255− by most users of the library. Any patches that add new readers
256− or writers will need to make changes here, too.
257− - `Text.Pandoc.Definition` (in `pandoc-types`) defines the types
258− used for representing a pandoc document.
259− - `Text.Pandoc.Builder` (in `pandoc-types`) provides functions for
260− building pandoc documents programatically.
261− - `Text.Pandoc.Generics` (in `pandoc-types`) provides functions allowing
262− you to promote functions that operate on parts of pandoc documents
263− to functions that operate on whole pandoc documents, walking the
264− tree automatically.
265− - `Text.Pandoc.Readers.*` are the readers, and `Text.Pandoc.Writers.*`
266− are the writers.
267− - `Text.Pandoc.Biblio` is a utility module for formatting citations
268− using citeproc-hs.
269− - `Text.Pandoc.Data` is used to embed data files when the `embed_data_files`
270− cabal flag is used. It is generated from `src/Text/Pandoc/Data.hsb` using
271− the preprocessor [hsb2hs].
272− - `Text.Pandoc.Highlighting` contains the interface to the
273− skylighting library, which is used for code syntax highlighting.
274− - `Text.Pandoc.ImageSize` is a utility module containing functions for
275− calculating image sizes from the contents of image files.
276− - `Text.Pandoc.MIME` contains functions for associating MIME types
277− with extensions.
278− - `Text.Pandoc.Options` defines reader and writer options.
279− - `Text.Pandoc.PDF` contains functions for producing a PDF from a
280− LaTeX source.
281− - `Text.Pandoc.Parsing` contains parsing functions used in multiple readers.
282− - `Text.Pandoc.Pretty` is a pretty-printing library specialized to
283− the needs of pandoc.
284− - `Text.Pandoc.SelfContained` contains functions for making an HTML
285− file "self-contained," by importing remotely linked images, CSS,
286− and javascript and turning them into `data:` URLs.
287− - `Text.Pandoc.Shared` is a grab-bag of shared utility functions.
288− - `Text.Pandoc.Writers.Shared` contains utilities used in writers only.
289− - `Text.Pandoc.Slides` contains functions for splitting a markdown document
290− into slides, using the conventions described in the MANUAL.
291− - `Text.Pandoc.Templates` defines pandoc's templating system.
292− - `Text.Pandoc.UTF8` contains functions for converting text to and from
293− UTF8 bytestrings (strict and lazy).
294− - `Text.Pandoc.Asciify` contains functions to derive ascii versions of
295− identifiers that use accented characters.
296− - `Text.Pandoc.UUID` contains functions for generating UUIDs.
297− - `Text.Pandoc.XML` contains functions for formatting XML.
298−
299−[pandoc-discuss]: http://groups.google.com/group/pandoc-discuss
300−[issue tracker]: https://github.com/jgm/pandoc/issues
301−[User's Guide]: http://pandoc.org/MANUAL.html
302−[FAQs]: http://pandoc.org/faqs.html
303−[EditorConfig]: http://editorconfig.org/
304−[Haskell platform]: http://www.haskell.org/platform/
305−[hsb2hs]: http://hackage.haskell.org/package/hsb2hs
306−[beginner-friendly]: https://github.com/jgm/pandoc/labels/beginner-friendly
307−[enhancement]: https://github.com/jgm/pandoc/labels/enhancement
308−[bug]: https://github.com/jgm/pandoc/labels/bug
309−[complexity:low]: https://github.com/jgm/pandoc/labels/complexity:low
310−[complexity:high]: https://github.com/jgm/pandoc/labels/complexity:high
311−[docs]: https://github.com/jgm/pandoc/labels/docs
312−[format:markdown]: https://github.com/jgm/pandoc/labels/format:markdown
313−[new:reader]: https://github.com/jgm/pandoc/labels/new:reader
314−[new:writer]: https://github.com/jgm/pandoc/labels/new:writer
315−[status:in-progress]: https://github.com/jgm/pandoc/labels/status:in-progress
316−[status:more-discussion-needed]: https://github.com/jgm/pandoc/labels/status:more-discussion-needed
317−[status:more-info-needed]: https://github.com/jgm/pandoc/labels/status:more-info-needed
318−[stack]: https://github.com/commercialhaskell/stack
319−
COPYING.mddeleted−361
@@ -1,361 +0,0 @@
1−### GNU GENERAL PUBLIC LICENSE
2−
3−Version 2, June 1991
4−
5− Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6− 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
7−
8− Everyone is permitted to copy and distribute verbatim copies
9− of this license document, but changing it is not allowed.
10−
11−### Preamble
12−
13−The licenses for most software are designed to take away your freedom
14−to share and change it. By contrast, the GNU General Public License is
15−intended to guarantee your freedom to share and change free
16−software--to make sure the software is free for all its users. This
17−General Public License applies to most of the Free Software
18−Foundation's software and to any other program whose authors commit to
19−using it. (Some other Free Software Foundation software is covered by
20−the GNU Lesser General Public License instead.) You can apply it to
21−your programs, too.
22−
23−When we speak of free software, we are referring to freedom, not
24−price. Our General Public Licenses are designed to make sure that you
25−have the freedom to distribute copies of free software (and charge for
26−this service if you wish), that you receive source code or can get it
27−if you want it, that you can change the software or use pieces of it
28−in new free programs; and that you know you can do these things.
29−
30−To protect your rights, we need to make restrictions that forbid
31−anyone to deny you these rights or to ask you to surrender the rights.
32−These restrictions translate to certain responsibilities for you if
33−you distribute copies of the software, or if you modify it.
34−
35−For example, if you distribute copies of such a program, whether
36−gratis or for a fee, you must give the recipients all the rights that
37−you have. You must make sure that they, too, receive or can get the
38−source code. And you must show them these terms so they know their
39−rights.
40−
41−We protect your rights with two steps: (1) copyright the software, and
42−(2) offer you this license which gives you legal permission to copy,
43−distribute and/or modify the software.
44−
45−Also, for each author's protection and ours, we want to make certain
46−that everyone understands that there is no warranty for this free
47−software. If the software is modified by someone else and passed on,
48−we want its recipients to know that what they have is not the
49−original, so that any problems introduced by others will not reflect
50−on the original authors' reputations.
51−
52−Finally, any free program is threatened constantly by software
53−patents. We wish to avoid the danger that redistributors of a free
54−program will individually obtain patent licenses, in effect making the
55−program proprietary. To prevent this, we have made it clear that any
56−patent must be licensed for everyone's free use or not licensed at
57−all.
58−
59−The precise terms and conditions for copying, distribution and
60−modification follow.
61−
62−### TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
63−
64−**0.** This License applies to any program or other work which
65−contains a notice placed by the copyright holder saying it may be
66−distributed under the terms of this General Public License. The
67−"Program", below, refers to any such program or work, and a "work
68−based on the Program" means either the Program or any derivative work
69−under copyright law: that is to say, a work containing the Program or
70−a portion of it, either verbatim or with modifications and/or
71−translated into another language. (Hereinafter, translation is
72−included without limitation in the term "modification".) Each licensee
73−is addressed as "you".
74−
75−Activities other than copying, distribution and modification are not
76−covered by this License; they are outside its scope. The act of
77−running the Program is not restricted, and the output from the Program
78−is covered only if its contents constitute a work based on the Program
79−(independent of having been made by running the Program). Whether that
80−is true depends on what the Program does.
81−
82−**1.** You may copy and distribute verbatim copies of the Program's
83−source code as you receive it, in any medium, provided that you
84−conspicuously and appropriately publish on each copy an appropriate
85−copyright notice and disclaimer of warranty; keep intact all the
86−notices that refer to this License and to the absence of any warranty;
87−and give any other recipients of the Program a copy of this License
88−along with the Program.
89−
90−You may charge a fee for the physical act of transferring a copy, and
91−you may at your option offer warranty protection in exchange for a
92−fee.
93−
94−**2.** You may modify your copy or copies of the Program or any
95−portion of it, thus forming a work based on the Program, and copy and
96−distribute such modifications or work under the terms of Section 1
97−above, provided that you also meet all of these conditions:
98−
99−
100−**a)** You must cause the modified files to carry prominent notices
101−stating that you changed the files and the date of any change.
102−
103−
104−**b)** You must cause any work that you distribute or publish, that in
105−whole or in part contains or is derived from the Program or any part
106−thereof, to be licensed as a whole at no charge to all third parties
107−under the terms of this License.
108−
109−
110−**c)** If the modified program normally reads commands interactively
111−when run, you must cause it, when started running for such interactive
112−use in the most ordinary way, to print or display an announcement
113−including an appropriate copyright notice and a notice that there is
114−no warranty (or else, saying that you provide a warranty) and that
115−users may redistribute the program under these conditions, and telling
116−the user how to view a copy of this License. (Exception: if the
117−Program itself is interactive but does not normally print such an
118−announcement, your work based on the Program is not required to print
119−an announcement.)
120−
121−These requirements apply to the modified work as a whole. If
122−identifiable sections of that work are not derived from the Program,
123−and can be reasonably considered independent and separate works in
124−themselves, then this License, and its terms, do not apply to those
125−sections when you distribute them as separate works. But when you
126−distribute the same sections as part of a whole which is a work based
127−on the Program, the distribution of the whole must be on the terms of
128−this License, whose permissions for other licensees extend to the
129−entire whole, and thus to each and every part regardless of who wrote
130−it.
131−
132−Thus, it is not the intent of this section to claim rights or contest
133−your rights to work written entirely by you; rather, the intent is to
134−exercise the right to control the distribution of derivative or
135−collective works based on the Program.
136−
137−In addition, mere aggregation of another work not based on the Program
138−with the Program (or with a work based on the Program) on a volume of
139−a storage or distribution medium does not bring the other work under
140−the scope of this License.
141−
142−**3.** You may copy and distribute the Program (or a work based on it,
143−under Section 2) in object code or executable form under the terms of
144−Sections 1 and 2 above provided that you also do one of the following:
145−
146−
147−**a)** Accompany it with the complete corresponding machine-readable
148−source code, which must be distributed under the terms of Sections 1
149−and 2 above on a medium customarily used for software interchange; or,
150−
151−
152−**b)** Accompany it with a written offer, valid for at least three
153−years, to give any third party, for a charge no more than your cost of
154−physically performing source distribution, a complete machine-readable
155−copy of the corresponding source code, to be distributed under the
156−terms of Sections 1 and 2 above on a medium customarily used for
157−software interchange; or,
158−
159−
160−**c)** Accompany it with the information you received as to the offer
161−to distribute corresponding source code. (This alternative is allowed
162−only for noncommercial distribution and only if you received the
163−program in object code or executable form with such an offer, in
164−accord with Subsection b above.)
165−
166−The source code for a work means the preferred form of the work for
167−making modifications to it. For an executable work, complete source
168−code means all the source code for all modules it contains, plus any
169−associated interface definition files, plus the scripts used to
170−control compilation and installation of the executable. However, as a
171−special exception, the source code distributed need not include
172−anything that is normally distributed (in either source or binary
173−form) with the major components (compiler, kernel, and so on) of the
174−operating system on which the executable runs, unless that component
175−itself accompanies the executable.
176−
177−If distribution of executable or object code is made by offering
178−access to copy from a designated place, then offering equivalent
179−access to copy the source code from the same place counts as
180−distribution of the source code, even though third parties are not
181−compelled to copy the source along with the object code.
182−
183−**4.** You may not copy, modify, sublicense, or distribute the Program
184−except as expressly provided under this License. Any attempt otherwise
185−to copy, modify, sublicense or distribute the Program is void, and
186−will automatically terminate your rights under this License. However,
187−parties who have received copies, or rights, from you under this
188−License will not have their licenses terminated so long as such
189−parties remain in full compliance.
190−
191−**5.** You are not required to accept this License, since you have not
192−signed it. However, nothing else grants you permission to modify or
193−distribute the Program or its derivative works. These actions are
194−prohibited by law if you do not accept this License. Therefore, by
195−modifying or distributing the Program (or any work based on the
196−Program), you indicate your acceptance of this License to do so, and
197−all its terms and conditions for copying, distributing or modifying
198−the Program or works based on it.
199−
200−**6.** Each time you redistribute the Program (or any work based on
201−the Program), the recipient automatically receives a license from the
202−original licensor to copy, distribute or modify the Program subject to
203−these terms and conditions. You may not impose any further
204−restrictions on the recipients' exercise of the rights granted herein.
205−You are not responsible for enforcing compliance by third parties to
206−this License.
207−
208−**7.** If, as a consequence of a court judgment or allegation of
209−patent infringement or for any other reason (not limited to patent
210−issues), conditions are imposed on you (whether by court order,
211−agreement or otherwise) that contradict the conditions of this
212−License, they do not excuse you from the conditions of this License.
213−If you cannot distribute so as to satisfy simultaneously your
214−obligations under this License and any other pertinent obligations,
215−then as a consequence you may not distribute the Program at all. For
216−example, if a patent license would not permit royalty-free
217−redistribution of the Program by all those who receive copies directly
218−or indirectly through you, then the only way you could satisfy both it
219−and this License would be to refrain entirely from distribution of the
220−Program.
221−
222−If any portion of this section is held invalid or unenforceable under
223−any particular circumstance, the balance of the section is intended to
224−apply and the section as a whole is intended to apply in other
225−circumstances.
226−
227−It is not the purpose of this section to induce you to infringe any
228−patents or other property right claims or to contest validity of any
229−such claims; this section has the sole purpose of protecting the
230−integrity of the free software distribution system, which is
231−implemented by public license practices. Many people have made
232−generous contributions to the wide range of software distributed
233−through that system in reliance on consistent application of that
234−system; it is up to the author/donor to decide if he or she is willing
235−to distribute software through any other system and a licensee cannot
236−impose that choice.
237−
238−This section is intended to make thoroughly clear what is believed to
239−be a consequence of the rest of this License.
240−
241−**8.** If the distribution and/or use of the Program is restricted in
242−certain countries either by patents or by copyrighted interfaces, the
243−original copyright holder who places the Program under this License
244−may add an explicit geographical distribution limitation excluding
245−those countries, so that distribution is permitted only in or among
246−countries not thus excluded. In such case, this License incorporates
247−the limitation as if written in the body of this License.
248−
249−**9.** The Free Software Foundation may publish revised and/or new
250−versions of the General Public License from time to time. Such new
251−versions will be similar in spirit to the present version, but may
252−differ in detail to address new problems or concerns.
253−
254−Each version is given a distinguishing version number. If the Program
255−specifies a version number of this License which applies to it and
256−"any later version", you have the option of following the terms and
257−conditions either of that version or of any later version published by
258−the Free Software Foundation. If the Program does not specify a
259−version number of this License, you may choose any version ever
260−published by the Free Software Foundation.
261−
262−**10.** If you wish to incorporate parts of the Program into other
263−free programs whose distribution conditions are different, write to
264−the author to ask for permission. For software which is copyrighted by
265−the Free Software Foundation, write to the Free Software Foundation;
266−we sometimes make exceptions for this. Our decision will be guided by
267−the two goals of preserving the free status of all derivatives of our
268−free software and of promoting the sharing and reuse of software
269−generally.
270−
271−**NO WARRANTY**
272−
273−**11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
274−WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
275−EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
276−OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY
277−KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
278−IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
279−PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
280−PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
281−THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
282−
283−**12.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
284−WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
285−AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
286−FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
287−CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
288−PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
289−RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
290−FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
291−SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
292−DAMAGES.
293−
294−### END OF TERMS AND CONDITIONS
295−
296−### How to Apply These Terms to Your New Programs
297−
298−If you develop a new program, and you want it to be of the greatest
299−possible use to the public, the best way to achieve this is to make it
300−free software which everyone can redistribute and change under these
301−terms.
302−
303−To do so, attach the following notices to the program. It is safest to
304−attach them to the start of each source file to most effectively
305−convey the exclusion of warranty; and each file should have at least
306−the "copyright" line and a pointer to where the full notice is found.
307−
308− one line to give the program's name and an idea of what it does.
309− Copyright (C) yyyy name of author
310−
311− This program is free software; you can redistribute it and/or
312− modify it under the terms of the GNU General Public License
313− as published by the Free Software Foundation; either version 2
314− of the License, or (at your option) any later version.
315−
316− This program is distributed in the hope that it will be useful,
317− but WITHOUT ANY WARRANTY; without even the implied warranty of
318− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
319− GNU General Public License for more details.
320−
321− You should have received a copy of the GNU General Public License
322− along with this program; if not, write to the Free Software
323− Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
324−
325−Also add information on how to contact you by electronic and paper
326−mail.
327−
328−If the program is interactive, make it output a short notice like this
329−when it starts in an interactive mode:
330−
331− Gnomovision version 69, Copyright (C) year name of author
332− Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
333− type `show w'. This is free software, and you are welcome
334− to redistribute it under certain conditions; type `show c'
335− for details.
336−
337−The hypothetical commands \`show w' and \`show c' should show the
338−appropriate parts of the General Public License. Of course, the
339−commands you use may be called something other than \`show w' and
340−\`show c'; they could even be mouse-clicks or menu items--whatever
341−suits your program.
342−
343−You should also get your employer (if you work as a programmer) or
344−your school, if any, to sign a "copyright disclaimer" for the program,
345−if necessary. Here is a sample; alter the names:
346−
347− Yoyodyne, Inc., hereby disclaims all copyright
348− interest in the program `Gnomovision'
349− (which makes passes at compilers) written
350− by James Hacker.
351−
352− signature of Ty Coon, 1 April 1989
353− Ty Coon, President of Vice
354−
355−This General Public License does not permit incorporating your program
356−into proprietary programs. If your program is a subroutine library,
357−you may consider it more useful to permit linking proprietary
358−applications with the library. If this is what you want to do, use the
359−[GNU Lesser General Public
360−License](http://www.gnu.org/licenses/lgpl.html) instead of this
361−License.
COPYRIGHTdeleted−108
@@ -1,108 +0,0 @@
1−Pandoc
2−Copyright (C) 2006-2017 John MacFarlane <jgm at berkeley dot edu>
3−
4−This code is released under the [GPL], version 2 or later:
5−
6− This program is free software; you can redistribute it and/or modify
7− it under the terms of the GNU General Public License as published by
8− the Free Software Foundation; either version 2 of the License, or
9− (at your option) any later version.
10−
11− This program is distributed in the hope that it will be useful,
12− but WITHOUT ANY WARRANTY; without even the implied warranty of
13− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− GNU General Public License for more details.
15−
16− You should have received a copy of the GNU General Public License
17− along with this program; if not, write to the Free Software
18− Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19−
20−The GNU General Public License is available in the file COPYING.md in
21−the source distribution. On Debian systems, the complete text of the
22−GPL can be found in `/usr/share/common-licenses/GPL`.
23−
24−[GPL]: http://www.gnu.org/copyleft/gpl.html
25−
26−Pandoc's complete source code is available from the [Pandoc home page].
27−
28−[Pandoc home page]: http://pandoc.org
29−
30−Pandoc includes some code from other authors. The copyright and license
31−statements for these sources are included below. All are GPL-compatible
32−licenses.
33−
34−----------------------------------------------------------------------
35−src/Text/Pandoc/Writers/Texinfo.hs
36−Copyright (C) 2008-2015 John MacFarlane and Peter Wang
37−
38−Released under the GNU General Public License version 2 or later.
39−
40−----------------------------------------------------------------------
41−src/Text/Pandoc/Writers/OpenDocument.hs
42−Copyright (C) 2008-2015 Andrea Rossato and John MacFarlane
43−
44−Released under the GNU General Public License version 2 or later.
45−
46−----------------------------------------------------------------------
47−src/Text/Pandoc/Writers/Org.hs
48−Copyright (C) 2010-2015 Puneeth Chaganti and John MacFarlane
49−
50−Released under the GNU General Public License version 2 or later.
51−
52−----------------------------------------------------------------------
53−src/Text/Pandoc/Readers/Textile.hs
54−Copyright (C) 2010-2015 Paul Rivier and John MacFarlane
55−
56−Released under the GNU General Public License version 2 or later.
57−
58−----------------------------------------------------------------------
59−src/Text/Pandoc/Readers/Org.hs
60−tests/Tests/Readers/Org.hs
61−Copyright (C) 2014-2015 Albert Krewinkel
62−
63−Released under the GNU General Public License version 2 or later.
64−
65−----------------------------------------------------------------------
66−data/LaTeXMathML.js
67−Adapted by Jeff Knisely and Douglas Woodall from
68−ASCIIMathML.js v. 1.4.7
69−Copyright (C) 2005 Peter Jipsen
70−
71−Released under the GNU General Public License version 2 or later.
72−
73−----------------------------------------------------------------------
74−data/MathMLinHTML.js
75−Copyright (C) 2004 Peter Jipsen http://www.chapman.edu/~jipsen
76−
77−Released under the GNU General Public License version 2 or later.
78−
79−------------------------------------------------------------------------
80−The dzslides template contains javascript and CSS from Paul Rouget's
81−dzslides template.
82−http://github.com/paulrouget/dzslides
83−
84−Released under the Do What the Fuck You Want To Public License.
85−
86−------------------------------------------------------------------------
87−Pandoc embeds a lua interpreter (via hslua).
88−
89−Copyright © 1994–2015 Lua.org, PUC-Rio.
90−
91−Permission is hereby granted, free of charge, to any person obtaining
92−a copy of this software and associated documentation files (the
93−"Software"), to deal in the Software without restriction, including
94−without limitation the rights to use, copy, modify, merge, publish,
95−distribute, sublicense, and/or sell copies of the Software, and to
96−permit persons to whom the Software is furnished to do so, subject to
97−the following conditions:
98−
99−The above copyright notice and this permission notice shall be
100−included in all copies or substantial portions of the Software.
101−
102−THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
103−EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
104−MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
105−NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
106−LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
107−OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
108−WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
INSTALL.mddeleted−363
@@ -1,363 +0,0 @@
1−# Installing pandoc
2−
3−## Windows
4−
5− - There is a package installer at pandoc's [download page].
6−
7− - For PDF output, you'll also need to install LaTeX.
8− We recommend [MiKTeX](http://miktex.org/).
9−
10− - If you'd prefer, you can extract the pandoc and pandoc-citeproc
11− executables from the MSI and copy them directly to any directory,
12− without running the installer. Here is an example showing how to
13− extract the executables from the pandoc-1.19.1 installer and copy
14− them to `C:\Utils\Console\`:
15−
16− mkdir "%TEMP%\pandoc\"
17− start /wait msiexec.exe /a pandoc-1.19.1-windows.msi /qn targetdir="%TEMP%\pandoc\"
18− copy /y "%TEMP%\pandoc\pandoc.exe" C:\Utils\Console\
19− copy /y "%TEMP%\pandoc\pandoc-citeproc.exe" C:\Utils\Console\
20− rmdir /s /q "%TEMP%\pandoc\"
21−
22−## MacOS
23−
24− - There is a package installer at pandoc's [download page].
25− If you later want to uninstall the package, you can do so
26− by downloading [this script][uninstaller]
27− and running it with `perl uninstall-pandoc.pl`.
28−
29− - It is possible to extract the pandoc and pandoc-citeproc
30− executables from the MacOS pkg file, if you'd rather not run
31− the installer. To do this (for the version 1.19.1 package):
32−
33− mkdir pandoc-extract
34− cd pandoc-extract
35− xar -x ../pandoc-1.19.1-osx.pkg
36− cat pandoc.pkg/Payload | gunzip -dc | cpio -i
37− # executables are now in ./usr/bin/, man pages in ./usr/share/man
38−
39− - You can also install pandoc using
40− [homebrew](http://brew.sh): `brew install pandoc`.
41−
42− - For PDF output, you'll also need LaTeX. Because a full [MacTeX]
43− installation takes more than a gigabyte of disk space, we recommend
44− installing [BasicTeX](http://www.tug.org/mactex/morepackages.html)
45− (64M) and using the `tlmgr` tool to install additional packages
46− as needed. If you get errors warning of fonts not found, try
47−
48− tlmgr install collection-fontsrecommended
49−
50−## Linux
51−
52− - First, try your package manager.
53− Pandoc is in the [Debian], [Ubuntu], [Slackware],
54− [Arch], [Fedora], [NiXOS], [openSUSE], and [gentoo] repositories.
55− Note, however, that versions in the repositories are often
56− old.
57−
58− - For 64-bit [Debian] and [Ubuntu], we provide a debian package
59− on the [download page].
60−
61− sudo dpkg -i $DEB
62−
63− where `$DEB` is the path to the downloaded deb, will
64− install the `pandoc` and `pandoc-citeproc` executables
65− and man pages.
66−
67− - If you use an RPM-based distro, you may be
68− able to install this deb using `alien`, or try
69−
70− ar p $DEB data.tar.gz | sudo tar xvz --strip-components 2 -C /usr/local
71−
72− - If you'd rather install pandoc in your home directory, say
73− in `$HOME/.local`, then you can extract the files manually
74− from the deb:
75−
76− ar p $DEB data.tar.gz | tar xvz --strip-components 2 -C $HOME/.local/
77−
78− where, again, `$DEB` is the path to the downloaded deb.
79−
80− - If the version in your repository is too old and you cannot
81− use the deb we provide, you can install from source, using the
82− instructions below under [Compiling from source].
83− Note that most distros have the Haskell platform in their
84− package repositories. For example, on Debian/Ubuntu,
85− you can install it with `apt-get install haskell-platform`.
86−
87− - For PDF output, you'll need LaTeX. We recommend installing
88− [TeX Live](http://www.tug.org/texlive/) via your package
89− manager. (On Debian/Ubuntu, `apt-get install texlive`.)
90−
91−## BSD
92−
93− - Pandoc is in the [NetBSD] and [FreeBSD ports] repositories.
94−
95−## Compiling from source
96−
97−If for some reason a binary package is not available for your
98−platform, or if you want to hack on pandoc or use a non-released
99−version, you can install from source.
100−
101−### Getting the pandoc source code
102−
103−Source tarballs can be found at
104−<https://hackage.haskell.org/package/pandoc>. For example, to
105−fetch the source for version 1.17.0.3:
106−
107− wget https://hackage.haskell.org/package/pandoc-1.17.0.3/pandoc-1.17.0.3.tar.gz
108− tar xvzf pandoc-1.17.0.3.tar.gz
109− cd pandoc-1.17.0.3
110−
111−Or you can fetch the development code by cloning the repository:
112−
113− git clone https://github.com/jgm/pandoc
114− cd pandoc
115− git submodule update --init # to fetch the templates
116−
117−Note: there may be times when the development code is broken
118−or depends on other libraries which must be installed
119−separately. Unless you really know what you're doing, install
120−the last released version.
121−
122−### Quick stack method
123−
124−The easiest way to build pandoc from source is to use [stack]:
125−
126−1. Install [stack].
127−
128−2. Change to the pandoc source directory and issue the following commands:
129−
130− stack setup
131− stack install --test
132−
133− `stack setup` will automatically download the ghc compiler
134− if you don't have it. `stack install` will install the
135− `pandoc` executable into `~/.local/bin`, which you should
136− add to your `PATH`. This process will take a while, and
137− will consume a considerable amount of disk space.
138−
139−### Quick cabal method
140−
141−1. Install the [Haskell platform]. This will give you [GHC] and
142− the [cabal-install] build tool. Note that pandoc requires
143− GHC >= 7.8.
144−
145−2. Update your package database:
146−
147− cabal update
148−
149−3. Use `cabal` to install pandoc and its dependencies:
150−
151− cabal install pandoc --enable-tests
152−
153− This procedure will install the released version of pandoc,
154− which will be downloaded automatically from HackageDB.
155−
156− If you want to install a modified or development version
157− of pandoc instead, switch to the source directory and do
158− as above, but without the 'pandoc':
159−
160− cabal install
161−
162− Note: If you obtained the source from the git repository (rather
163− than a release tarball), you'll need to do
164−
165− git submodule update --init
166−
167− to fetch the contents of `data/templates` before `cabal install`.
168−
169−4. Make sure the `$CABALDIR/bin` directory is in your path. You should
170− now be able to run `pandoc`:
171−
172− pandoc --help
173−
174− [Not sure where `$CABALDIR` is?](http://www.haskell.org/haskellwiki/Cabal-Install#The_cabal-install_configuration_file)
175−
176−5. If you want to process citations with pandoc, you will also need to
177− install a separate package, `pandoc-citeproc`. This can be installed
178− using cabal:
179−
180− cabal install pandoc-citeproc
181−
182− By default `pandoc-citeproc` uses the "i;unicode-casemap" method
183− to sort bibliography entries (RFC 5051). If you would like to
184− use the locale-sensitive unicode collation algorithm instead,
185− specify the `unicode_collation` flag:
186−
187− cabal install pandoc-citeproc -funicode_collation
188−
189− Note that this requires the `text-icu` library, which in turn
190− depends on the C library `icu4c`. Installation directions
191− vary by platform. Here is how it might work on OSX with homebrew:
192−
193− brew install icu4c
194− cabal install --extra-lib-dirs=/usr/local/Cellar/icu4c/51.1/lib \
195− --extra-include-dirs=/usr/local/Cellar/icu4c/51.1/include \
196− -funicode_collation text-icu pandoc-citeproc
197−
198−6. The `pandoc.1` man page will be installed automatically. cabal shows
199− you where it is installed: you may need to set your `MANPATH`
200− accordingly. If `MANUAL.txt` has been modified, the man page can be
201− rebuilt: `make man/pandoc.1`.
202−
203− The `pandoc-citeproc.1` man page will also be installed automatically.
204−
205−
206−### Custom cabal method
207−
208−This is a step-by-step procedure that offers maximal control
209−over the build and installation. Most users should use the
210−quick install, but this information may be of use to packagers.
211−For more details, see the [Cabal User's Guide]. These instructions
212−assume that the pandoc source directory is your working directory.
213−
214−1. Install dependencies: in addition to the [Haskell platform],
215− you will need a number of additional libraries. You can install
216− them all with
217−
218− cabal update
219− cabal install --only-dependencies
220−
221−2. Configure:
222−
223− cabal configure --prefix=DIR --bindir=DIR --libdir=DIR \
224− --datadir=DIR --libsubdir=DIR --datasubdir=DIR --docdir=DIR \
225− --htmldir=DIR --program-prefix=PREFIX --program-suffix=SUFFIX \
226− --mandir=DIR --flags=FLAGSPEC --enable-tests
227−
228− All of the options have sensible defaults that can be overridden
229− as needed.
230−
231− `FLAGSPEC` is a list of Cabal configuration flags, optionally
232− preceded by a `-` (to force the flag to `false`), and separated
233− by spaces. Pandoc's flags include:
234−
235− - `embed_data_files`: embed all data files into the binary (default no).
236− This is helpful if you want to create a relocatable binary.
237− Note: if this option is selected, you need to install the
238− `hsb2hs` preprocessor: `cabal install hsb2hs` (version 0.3.1 or
239− higher is required).
240−
241− - `https`: enable support for downloading resources over https
242− (using the `http-client` and `http-client-tls` libraries).
243−
244−3. Build:
245−
246− cabal build
247− cabal test
248−
249−4. Build API documentation:
250−
251− cabal haddock --html-location=URL --hyperlink-source
252−
253−5. Copy the files:
254−
255− cabal copy --destdir=PATH
256−
257− The default destdir is `/`.
258−
259−6. Register pandoc as a GHC package:
260−
261− cabal register
262−
263− Package managers may want to use the `--gen-script` option to
264− generate a script that can be run to register the package at
265− install time.
266−
267−### Creating a relocatable binary
268−
269−It is possible to compile pandoc such that the data files
270−pandoc uses are embedded in the binary. The resulting binary
271−can be run from any directory and is completely self-contained.
272−With cabal, add `-fembed_data_files` to the `cabal configure`
273−or `cabal install` commands.
274−
275−With stack, use `--flag pandoc:embed_data_files`.
276−
277−
278−
279−### Running tests
280−
281−Pandoc comes with an automated test suite.
282−To run with cabal, `cabal test`; to run with stack, `stack
283−test`.
284−
285−To run particular tests (pattern-matching on their names), use
286−the `-t` option:
287−
288− cabal test --test-options='-t markdown'
289−
290−If you add a new feature to pandoc, please add tests as well, following
291−the pattern of the existing tests. The test suite code is in
292−`tests/test-pandoc.hs`. If you are adding a new reader or writer, it is
293−probably easiest to add some data files to the `tests` directory, and
294−modify `tests/Tests/Old.hs`. Otherwise, it is better to modify the module
295−under the `tests/Tests` hierarchy corresponding to the pandoc module you
296−are changing.
297−
298−### Running benchmarks
299−
300−To build and run the benchmarks:
301−
302− cabal configure --enable-benchmarks && cabal build
303− cabal bench
304−
305−or with stack:
306−
307− stack bench
308−
309−To use a smaller sample size so the benchmarks run faster:
310−
311− cabal bench --benchmark-options='-s 20'
312−
313−To run just the markdown benchmarks:
314−
315− cabal bench --benchmark-options='markdown'
316−
317−### Building the whole pandoc ecosystem
318−
319−Sometimes pandoc's development code depends on unreleased versions
320−of dependent libraries. You'll need to build these as well. A
321−maximal build method would be
322−
323− mkdir pandoc-build
324− cd pandoc-build
325− git clone https://github.com/jgm/pandoc-types
326− git clone https://github.com/jgm/texmath
327− git clone https://github.com/jgm/pandoc-citeproc
328− git clone https://github.com/jgm/pandoc
329− git clone https://github.com/jgm/cmark-hs
330− git clone https://github.com/jgm/zip-archive
331− cd pandoc
332− git submodule update --init
333− stack install --test --install-ghc --stack-yaml stack.full.yaml
334−
335−To pull in the latest changes, after you've done this and there have been
336−changes in the repositories: Visit each repository in pandoc-build
337−(pandoc-types, texmath, pandoc-citeproc, pandoc, zip-archive, cmark-hs) and do
338−`git pull`. In the pandoc repo, also do `git submodule update` and `stack
339−install --test --stack-yaml stack.full.yaml`.
340−
341−
342−[Arch]: https://www.archlinux.org/packages/community/x86_64/pandoc/
343−[Cabal User's Guide]: http://www.haskell.org/cabal/release/latest/doc/users-guide/builders.html#setup-configure-paths
344−[Debian]: http://packages.debian.org/lenny/pandoc
345−[Fedora]: https://apps.fedoraproject.org/packages/pandoc
346−[FreeBSD ports]: http://www.freshports.org/textproc/pandoc/
347−[GHC]: http://www.haskell.org/ghc/
348−[GPL]: http://www.gnu.org/copyleft/gpl.html
349−[Haskell platform]: http://hackage.haskell.org/platform/
350−[MacPorts]: http://trac.macports.org/browser/trunk/dports/textproc/pandoc/Portfile
351−[MacTeX]: https://tug.org/mactex/
352−[NetBSD]: http://pkgsrc.se/wip/pandoc
353−[NixOS]: http://nixos.org/nixos/
354−[Slackware]: http://www.linuxpackages.net/search_view.php?by=name&name=pandoc&ver=
355−[Ubuntu]: http://www.ubuntu.com
356−[download page]: https://github.com/jgm/pandoc/releases/latest
357−[gentoo]: http://packages.gentoo.org/package/app-text/pandoc
358−[haskell repository]: https://wiki.archlinux.org/index.php/Haskell_Package_Guidelines#.5Bhaskell.5D
359−[openSUSE]: https://software.opensuse.org/package/pandoc
360−[source tarball]: http://hackage.haskell.org/package/pandoc
361−[stack]: http://docs.haskellstack.org/en/stable/install_and_upgrade.html
362−[cabal-install]: http://hackage.haskell.org/trac/hackage/wiki/CabalInstall
363−[uninstaller]: https://raw.githubusercontent.com/jgm/pandoc/master/osx/uninstall-pandoc.pl
MANUAL.txtdeleted−4209
@@ -1,4209 +0,0 @@
1−% Pandoc User's Guide
2−% John MacFarlane
3−% January 29, 2017
4−
5−Synopsis
6−========
7−
8−`pandoc` [*options*] [*input-file*]...
9−
10−Description
11−===========
12−
13−Pandoc is a [Haskell] library for converting from one markup format to
14−another, and a command-line tool that uses this library. It can read
15−[Markdown], [CommonMark], [PHP Markdown Extra], [GitHub-Flavored Markdown],
16−[MultiMarkdown], and (subsets of) [Textile], [reStructuredText], [HTML],
17−[LaTeX], [MediaWiki markup], [TWiki markup], [Haddock markup], [OPML], [Emacs
18−Org mode], [DocBook], [txt2tags], [EPUB], [ODT] and [Word docx]; and it can
19−write plain text, [Markdown], [CommonMark], [PHP Markdown Extra],
20−[GitHub-Flavored Markdown], [MultiMarkdown], [reStructuredText], [XHTML],
21−[HTML5], [LaTeX] \(including [`beamer`] slide shows\), [ConTeXt], [RTF], [OPML],
22−[DocBook], [OpenDocument], [ODT], [Word docx], [GNU Texinfo], [MediaWiki
23−markup], [DokuWiki markup], [ZimWiki markup], [Haddock markup],
24−[EPUB] \(v2 or v3\), [FictionBook2], [Textile], [groff man] pages,
25−[Emacs Org mode], [AsciiDoc], [InDesign ICML], [TEI Simple], and [Slidy],
26−[Slideous], [DZSlides], [reveal.js] or [S5] HTML slide shows. It can also
27−produce [PDF] output on systems where LaTeX, ConTeXt, or `wkhtmltopdf` is
28−installed.
29−
30−Pandoc's enhanced version of Markdown includes syntax for [footnotes],
31−[tables], flexible [ordered lists], [definition lists], [fenced code blocks],
32−[superscripts and subscripts], [strikeout], [metadata blocks], automatic tables of
33−contents, embedded LaTeX [math], [citations], and [Markdown inside HTML block
34−elements][Extension: `markdown_in_html_blocks`]. (These enhancements, described
35−further under [Pandoc's Markdown], can be disabled using the
36−`markdown_strict` input or output format.)
37−
38−In contrast to most existing tools for converting Markdown to HTML, which
39−use regex substitutions, pandoc has a modular design: it consists of a
40−set of readers, which parse text in a given format and produce a native
41−representation of the document, and a set of writers, which convert
42−this native representation into a target format. Thus, adding an input
43−or output format requires only adding a reader or writer.
44−
45−Because pandoc's intermediate representation of a document is less
46−expressive than many of the formats it converts between, one should
47−not expect perfect conversions between every format and every other.
48−Pandoc attempts to preserve the structural elements of a document, but
49−not formatting details such as margin size. And some document elements,
50−such as complex tables, may not fit into pandoc's simple document
51−model. While conversions from pandoc's Markdown to all formats aspire
52−to be perfect, conversions from formats more expressive than pandoc's
53−Markdown can be expected to be lossy.
54−
55−[Markdown]: http://daringfireball.net/projects/markdown/
56−[CommonMark]: http://commonmark.org
57−[PHP Markdown Extra]: https://michelf.ca/projects/php-markdown/extra/
58−[GitHub-Flavored Markdown]: https://help.github.com/articles/github-flavored-markdown/
59−[MultiMarkdown]: http://fletcherpenney.net/multimarkdown/
60−[reStructuredText]: http://docutils.sourceforge.net/docs/ref/rst/introduction.html
61−[S5]: http://meyerweb.com/eric/tools/s5/
62−[Slidy]: http://www.w3.org/Talks/Tools/Slidy/
63−[Slideous]: http://goessner.net/articles/slideous/
64−[HTML]: http://www.w3.org/html/
65−[HTML5]: http://www.w3.org/TR/html5/
66−[XHTML]: http://www.w3.org/TR/xhtml1/
67−[LaTeX]: http://latex-project.org
68−[`beamer`]: https://ctan.org/pkg/beamer
69−[Beamer User's Guide]: http://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf
70−[ConTeXt]: http://www.contextgarden.net/
71−[RTF]: http://en.wikipedia.org/wiki/Rich_Text_Format
72−[DocBook]: http://docbook.org
73−[txt2tags]: http://txt2tags.org
74−[EPUB]: http://idpf.org/epub
75−[OPML]: http://dev.opml.org/spec2.html
76−[OpenDocument]: http://opendocument.xml.org
77−[ODT]: http://en.wikipedia.org/wiki/OpenDocument
78−[Textile]: http://redcloth.org/textile
79−[MediaWiki markup]: https://www.mediawiki.org/wiki/Help:Formatting
80−[DokuWiki markup]: https://www.dokuwiki.org/dokuwiki
81−[ZimWiki markup]: http://zim-wiki.org/manual/Help/Wiki_Syntax.html
82−[TWiki markup]: http://twiki.org/cgi-bin/view/TWiki/TextFormattingRules
83−[Haddock markup]: https://www.haskell.org/haddock/doc/html/ch03s08.html
84−[groff man]: http://man7.org/linux/man-pages/man7/groff_man.7.html
85−[Haskell]: https://www.haskell.org
86−[GNU Texinfo]: http://www.gnu.org/software/texinfo/
87−[Emacs Org mode]: http://orgmode.org
88−[AsciiDoc]: http://www.methods.co.nz/asciidoc/
89−[DZSlides]: http://paulrouget.com/dzslides/
90−[Word docx]: https://en.wikipedia.org/wiki/Office_Open_XML
91−[PDF]: https://www.adobe.com/pdf/
92−[reveal.js]: http://lab.hakim.se/reveal-js/
93−[FictionBook2]: http://www.fictionbook.org/index.php/Eng:XML_Schema_Fictionbook_2.1
94−[InDesign ICML]: https://www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/IDML/idml-specification.pdf
95−[TEI Simple]: https://github.com/TEIC/TEI-Simple
96−
97−Using `pandoc`
98−--------------
99−
100−If no *input-file* is specified, input is read from *stdin*.
101−Otherwise, the *input-files* are concatenated (with a blank
102−line between each) and used as input. Output goes to *stdout* by
103−default (though output to *stdout* is disabled for the `odt`, `docx`,
104−`epub2`, and `epub3` output formats). For output to a file, use the
105−`-o` option:
106−
107− pandoc -o output.html input.txt
108−
109−By default, pandoc produces a document fragment, not a standalone
110−document with a proper header and footer. To produce a standalone
111−document, use the `-s` or `--standalone` flag:
112−
113− pandoc -s -o output.html input.txt
114−
115−For more information on how standalone documents are produced, see
116−[Templates], below.
117−
118−Instead of a file, an absolute URI may be given. In this case
119−pandoc will fetch the content using HTTP:
120−
121− pandoc -f html -t markdown http://www.fsf.org
122−
123−It is possible to supply a custom User-Agent string when requesting a
124−document from a URL, by setting an environment variable:
125−
126− USER_AGENT="Mozilla/5.0" pandoc -f html -t markdown http://www.fsf.org
127−
128−If multiple input files are given, `pandoc` will concatenate them all (with
129−blank lines between them) before parsing. This feature is disabled for
130− binary input formats such as `EPUB`, `odt`, and `docx`.
131−
132−The format of the input and output can be specified explicitly using
133−command-line options. The input format can be specified using the
134−`-r/--read` or `-f/--from` options, the output format using the
135−`-w/--write` or `-t/--to` options. Thus, to convert `hello.txt` from
136−Markdown to LaTeX, you could type:
137−
138− pandoc -f markdown -t latex hello.txt
139−
140−To convert `hello.html` from HTML to Markdown:
141−
142− pandoc -f html -t markdown hello.html
143−
144−Supported output formats are listed below under the `-t/--to` option.
145−Supported input formats are listed below under the `-f/--from` option. Note
146−that the `rst`, `textile`, `latex`, and `html` readers are not complete;
147−there are some constructs that they do not parse.
148−
149−If the input or output format is not specified explicitly, `pandoc`
150−will attempt to guess it from the extensions of
151−the input and output filenames. Thus, for example,
152−
153− pandoc -o hello.tex hello.txt
154−
155−will convert `hello.txt` from Markdown to LaTeX. If no output file
156−is specified (so that output goes to *stdout*), or if the output file's
157−extension is unknown, the output format will default to HTML.
158−If no input file is specified (so that input comes from *stdin*), or
159−if the input files' extensions are unknown, the input format will
160−be assumed to be Markdown unless explicitly specified.
161−
162−Pandoc uses the UTF-8 character encoding for both input and output.
163−If your local character encoding is not UTF-8, you
164−should pipe input and output through [`iconv`]:
165−
166− iconv -t utf-8 input.txt | pandoc | iconv -f utf-8
167−
168−Note that in some output formats (such as HTML, LaTeX, ConTeXt,
169−RTF, OPML, DocBook, and Texinfo), information about
170−the character encoding is included in the document header, which
171−will only be included if you use the `-s/--standalone` option.
172−
173−[`iconv`]: http://www.gnu.org/software/libiconv/
174−
175−Creating a PDF
176−--------------
177−
178−To produce a PDF, specify an output file with a `.pdf` extension.
179−By default, pandoc will use LaTeX to convert it to PDF:
180−
181− pandoc test.txt -o test.pdf
182−
183−Production of a PDF requires that a LaTeX engine be installed (see
184−`--latex-engine`, below), and assumes that the following LaTeX packages
185−are available: [`amsfonts`], [`amsmath`], [`lm`], [`unicode-math`],
186−[`ifxetex`], [`ifluatex`], [`eurosym`], [`listings`] (if the
187−`--listings` option is used), [`fancyvrb`], [`longtable`],
188−[`booktabs`], [`graphicx`] and [`grffile`] (if the document
189−contains images), [`hyperref`], [`ulem`], [`geometry`] (with the
190−`geometry` variable set), [`setspace`] (with `linestretch`), and
191−[`babel`] (with `lang`). The use of `xelatex` or `lualatex` as
192−the LaTeX engine requires [`fontspec`]. `xelatex` uses
193−[`polyglossia`] (with `lang`), [`xecjk`], and [`bidi`] (with the
194−`dir` variable set). If the `mathspec` variable is set,
195−`xelatex` will use [`mathspec`] instead of [`unicode-math`].
196−The [`upquote`] and [`microtype`] packages are used if
197−available, and [`csquotes`] will be used for [smart punctuation]
198−if added to the template or included in any header file. The
199−[`natbib`], [`biblatex`], [`bibtex`], and [`biber`] packages can
200−optionally be used for [citation rendering]. These are included
201−with all recent versions of [TeX Live].
202−
203−Alternatively, pandoc can use ConTeXt or `wkhtmltopdf` to create a PDF.
204−To do this, specify an output file with a `.pdf` extension,
205−as before, but add `-t context` or `-t html5` to the command line.
206−
207−PDF output can be controlled using [variables for LaTeX] (if
208−LaTeX is used) and [variables for ConTeXt] (if ConTeXt is used).
209−If `wkhtmltopdf` is used, then the variables `margin-left`,
210−`margin-right`, `margin-top`, `margin-bottom`, and `papersize`
211−will affect the output, as will `--css`.
212−
213−[`amsfonts`]: https://ctan.org/pkg/amsfonts
214−[`amsmath`]: https://ctan.org/pkg/amsmath
215−[`lm`]: https://ctan.org/pkg/lm
216−[`ifxetex`]: https://ctan.org/pkg/ifxetex
217−[`ifluatex`]: https://ctan.org/pkg/ifluatex
218−[`eurosym`]: https://ctan.org/pkg/eurosym
219−[`listings`]: https://ctan.org/pkg/listings
220−[`fancyvrb`]: https://ctan.org/pkg/fancyvrb
221−[`longtable`]: https://ctan.org/pkg/longtable
222−[`booktabs`]: https://ctan.org/pkg/booktabs
223−[`graphicx`]: https://ctan.org/pkg/graphicx
224−[`grffile`]: https://ctan.org/pkg/grffile
225−[`geometry`]: https://ctan.org/pkg/geometry
226−[`setspace`]: https://ctan.org/pkg/setspace
227−[`xecjk`]: https://ctan.org/pkg/xecjk
228−[`hyperref`]: https://ctan.org/pkg/hyperref
229−[`ulem`]: https://ctan.org/pkg/ulem
230−[`babel`]: https://ctan.org/pkg/babel
231−[`bidi`]: https://ctan.org/pkg/bidi
232−[`mathspec`]: https://ctan.org/pkg/mathspec
233−[`unicode-math`]: https://ctan.org/pkg/unicode-math
234−[`polyglossia`]: https://ctan.org/pkg/polyglossia
235−[`fontspec`]: https://ctan.org/pkg/fontspec
236−[`upquote`]: https://ctan.org/pkg/upquote
237−[`microtype`]: https://ctan.org/pkg/microtype
238−[`csquotes`]: https://ctan.org/pkg/csquotes
239−[`natbib`]: https://ctan.org/pkg/natbib
240−[`biblatex`]: https://ctan.org/pkg/biblatex
241−[`bibtex`]: https://ctan.org/pkg/bibtex
242−[`biber`]: https://ctan.org/pkg/biber
243−[TeX Live]: http://www.tug.org/texlive/
244−
245−Options
246−=======
247−
248−General options
249−---------------
250−
251−`-f` *FORMAT*, `-r` *FORMAT*, `--from=`*FORMAT*, `--read=`*FORMAT*
252−
253−: Specify input format. *FORMAT* can be `native` (native Haskell),
254− `json` (JSON version of native AST), `markdown` (pandoc's
255− extended Markdown), `markdown_strict` (original unextended
256− Markdown), `markdown_phpextra` (PHP Markdown Extra), `markdown_github`
257− (GitHub-Flavored Markdown), `markdown_mmd` (MultiMarkdown),
258− `commonmark` (CommonMark Markdown), `textile` (Textile), `rst`
259− (reStructuredText), `html` (HTML), `docbook` (DocBook), `t2t`
260− (txt2tags), `docx` (docx), `odt` (ODT), `epub` (EPUB), `opml` (OPML),
261− `org` (Emacs Org mode), `mediawiki` (MediaWiki markup), `twiki` (TWiki
262− markup), `haddock` (Haddock markup), or `latex` (LaTeX). If
263− `+lhs` is appended to `markdown`, `rst`, `latex`, or `html`, the
264− input will be treated as literate Haskell source: see [Literate
265− Haskell support], below. Markdown
266− syntax extensions can be individually enabled or disabled by
267− appending `+EXTENSION` or `-EXTENSION` to the format name. So, for
268− example, `markdown_strict+footnotes+definition_lists` is strict
269− Markdown with footnotes and definition lists enabled, and
270− `markdown-pipe_tables+hard_line_breaks` is pandoc's Markdown
271− without pipe tables and with hard line breaks. See [Pandoc's
272− Markdown], below, for a list of extensions and
273− their names. See `--list-input-formats` and `--list-extensions`,
274− below.
275−
276−`-t` *FORMAT*, `-w` *FORMAT*, `--to=`*FORMAT*, `--write=`*FORMAT*
277−
278−: Specify output format. *FORMAT* can be `native` (native Haskell),
279− `json` (JSON version of native AST), `plain` (plain text),
280− `markdown` (pandoc's extended Markdown), `markdown_strict`
281− (original unextended Markdown), `markdown_phpextra` (PHP Markdown
282− Extra), `markdown_github` (GitHub-Flavored Markdown), `markdown_mmd`
283− (MultiMarkdown), `commonmark` (CommonMark Markdown), `rst`
284− (reStructuredText), `html4` (XHTML4), `html` or `html5` (HTML5), `latex`
285− (LaTeX), `beamer` (LaTeX beamer slide show), `context` (ConTeXt),
286− `man` (groff man), `mediawiki` (MediaWiki markup),
287− `dokuwiki` (DokuWiki markup), `zimwiki` (ZimWiki markup),
288− `textile` (Textile), `org` (Emacs Org mode),
289− `texinfo` (GNU Texinfo), `opml` (OPML), `docbook` or `docbook4`
290− (DocBook 4), `docbook5` (DocBook 5), `opendocument` (OpenDocument),
291− `odt` (OpenOffice text document), `docx` (Word docx), `haddock`
292− (Haddock markup), `rtf` (rich text format), `epub2` (EPUB v2 book),
293− `epub` or `epub3` (EPUB v3), `fb2` (FictionBook2 e-book),
294− `asciidoc` (AsciiDoc), `icml` (InDesign ICML), `tei` (TEI
295− Simple), `slidy` (Slidy HTML and JavaScript slide show),
296− `slideous` (Slideous HTML and JavaScript slide show),
297− `dzslides` (DZSlides HTML5 + JavaScript slide show),
298− `revealjs` (reveal.js HTML5 + JavaScript slide show), `s5`
299− (S5 HTML and JavaScript slide show), or the path of a custom
300− lua writer (see [Custom writers], below). Note that `odt`,
301− `epub`, and `epub3` output will not be directed to *stdout*;
302− an output filename must be specified using the `-o/--output`
303− option. If `+lhs` is appended to `markdown`, `rst`, `latex`,
304− `beamer`, `html4`, or `html5`, the output will be rendered as
305− literate Haskell source: see [Literate Haskell support],
306− below. Markdown syntax extensions can be individually
307− enabled or disabled by appending `+EXTENSION` or
308− `-EXTENSION` to the format name, as described above under `-f`.
309− See `--list-output-formats` and `--list-extensions`, below.
310−
311−`-o` *FILE*, `--output=`*FILE*
312−
313−: Write output to *FILE* instead of *stdout*. If *FILE* is
314− `-`, output will go to *stdout*. (Exception: if the output
315− format is `odt`, `docx`, `epub`, or `epub3`, output to stdout is disabled.)
316−
317−`--data-dir=`*DIRECTORY*
318−
319−: Specify the user data directory to search for pandoc data files.
320− If this option is not specified, the default user data directory
321− will be used. This is, in Unix:
322−
323− $HOME/.pandoc
324−
325− in Windows XP:
326−
327− C:\Documents And Settings\USERNAME\Application Data\pandoc
328−
329− and in Windows Vista or later:
330−
331− C:\Users\USERNAME\AppData\Roaming\pandoc
332−
333− You can find the default user data directory on your system by
334− looking at the output of `pandoc --version`.
335− A `reference.odt`, `reference.docx`, `epub.css`, `templates`,
336− `slidy`, `slideous`, or `s5` directory
337− placed in this directory will override pandoc's normal defaults.
338−
339−`--bash-completion`
340−
341−: Generate a bash completion script. To enable bash completion
342− with pandoc, add this to your `.bashrc`:
343−
344− eval "$(pandoc --bash-completion)"
345−
346−`--verbose`
347−
348−: Give verbose debugging output. Currently this only has an effect
349− with PDF output.
350−
351−`--quiet`
352−
353−: Suppress warning messages.
354−
355−`--fail-if-warnings`
356−
357−: Exit with error status if there are any warnings.
358−
359−`--log=`*FILE*
360−
361−: Write log messages in machine-readable JSON format to
362− *FILE*. All messages above DEBUG level will be written,
363− regardless of verbosity settings (`--verbose`, `--quiet`).
364−
365−`--list-input-formats`
366−
367−: List supported input formats, one per line.
368−
369−`--list-output-formats`
370−
371−: List supported output formats, one per line.
372−
373−`--list-extensions`
374−
375−: List supported Markdown extensions, one per line, followed
376− by a `+` or `-` indicating whether it is enabled by default
377− in pandoc's Markdown.
378−
379−`--list-highlight-languages`
380−
381−: List supported languages for syntax highlighting, one per
382− line.
383−
384−`--list-highlight-styles`
385−
386−: List supported styles for syntax highlighting, one per line.
387− See `--highlight-style`.
388−
389−`-v`, `--version`
390−
391−: Print version.
392−
393−`-h`, `--help`
394−
395−: Show usage message.
396−
397−Reader options
398−--------------
399−
400−`--base-header-level=`*NUMBER*
401−
402−: Specify the base level for headers (defaults to 1).
403−
404−`--indented-code-classes=`*CLASSES*
405−
406−: Specify classes to use for indented code blocks--for example,
407− `perl,numberLines` or `haskell`. Multiple classes may be separated
408− by spaces or commas.
409−
410−`--default-image-extension=`*EXTENSION*
411−
412−: Specify a default extension to use when image paths/URLs have no
413− extension. This allows you to use the same source for formats that
414− require different kinds of images. Currently this option only affects
415− the Markdown and LaTeX readers.
416−
417−`--file-scope`
418−
419−: Parse each file individually before combining for multifile
420− documents. This will allow footnotes in different files with the
421− same identifiers to work as expected. If this option is set,
422− footnotes and links will not work across files. Reading binary
423− files (docx, odt, epub) implies `--file-scope`.
424−
425−`--filter=`*PROGRAM*
426−
427−: Specify an executable to be used as a filter transforming the
428− pandoc AST after the input is parsed and before the output is
429− written. The executable should read JSON from stdin and write
430− JSON to stdout. The JSON must be formatted like pandoc's own
431− JSON input and output. The name of the output format will be
432− passed to the filter as the first argument. Hence,
433−
434− pandoc --filter ./caps.py -t latex
435−
436− is equivalent to
437−
438− pandoc -t json | ./caps.py latex | pandoc -f json -t latex
439−
440− The latter form may be useful for debugging filters.
441−
442− Filters may be written in any language. `Text.Pandoc.JSON`
443− exports `toJSONFilter` to facilitate writing filters in Haskell.
444− Those who would prefer to write filters in python can use the
445− module [`pandocfilters`], installable from PyPI. There are also
446− pandoc filter libraries in [PHP], [perl], and
447− [javascript/node.js].
448−
449− In order of preference, pandoc will look for filters in
450−
451− 1. a specified full or relative path (executable or
452− non-executable)
453−
454− 2. `$DATADIR/filters` (executable or non-executable)
455−
456− 3. `$PATH` (executable only)
457−
458−`-M` *KEY*[`=`*VAL*], `--metadata=`*KEY*[`:`*VAL*]
459−
460−: Set the metadata field *KEY* to the value *VAL*. A value specified
461− on the command line overrides a value specified in the document.
462− Values will be parsed as YAML boolean or string values. If no value is
463− specified, the value will be treated as Boolean true. Like
464− `--variable`, `--metadata` causes template variables to be set.
465− But unlike `--variable`, `--metadata` affects the metadata of the
466− underlying document (which is accessible from filters and may be
467− printed in some output formats).
468−
469−`-p`, `--preserve-tabs`
470−
471−: Preserve tabs instead of converting them to spaces (the default).
472− Note that this will only affect tabs in literal code spans and code
473− blocks; tabs in regular text will be treated as spaces.
474−
475−`--tab-stop=`*NUMBER*
476−
477−: Specify the number of spaces per tab (default is 4).
478−
479−`--track-changes=accept`|`reject`|`all`
480−
481−: Specifies what to do with insertions, deletions, and comments
482− produced by the MS Word "Track Changes" feature. `accept` (the
483− default), inserts all insertions, and ignores all
484− deletions. `reject` inserts all deletions and ignores
485− insertions. Both `accept` and `reject` ignore comments. `all` puts
486− in insertions, deletions, and comments, wrapped in spans with
487− `insertion`, `deletion`, `comment-start`, and `comment-end`
488− classes, respectively. The author and time of change is
489− included. `all` is useful for scripting: only accepting changes
490− from a certain reviewer, say, or before a certain date. This
491− option only affects the docx reader.
492−
493−`--extract-media=`*DIR*
494−
495−: Extract images and other media contained in a docx or epub container
496− to the path *DIR*, creating it if necessary, and adjust the images
497− references in the document so they point to the extracted files.
498− This option only affects the docx and epub readers.
499−
500−[`pandocfilters`]: https://github.com/jgm/pandocfilters
501−[PHP]: https://github.com/vinai/pandocfilters-php
502−[perl]: https://metacpan.org/pod/Pandoc::Filter
503−[javascript/node.js]: https://github.com/mvhenderson/pandoc-filter-node
504−
505−General writer options
506−----------------------
507−
508−`-s`, `--standalone`
509−
510−: Produce output with an appropriate header and footer (e.g. a
511− standalone HTML, LaTeX, TEI, or RTF file, not a fragment). This option
512− is set automatically for `pdf`, `epub`, `epub3`, `fb2`, `docx`, and `odt`
513− output.
514−
515−`--template=`*FILE*
516−
517−: Use *FILE* as a custom template for the generated document. Implies
518− `--standalone`. See [Templates], below, for a description
519− of template syntax. If no extension is specified, an extension
520− corresponding to the writer will be added, so that `--template=special`
521− looks for `special.html` for HTML output. If the template is not
522− found, pandoc will search for it in the `templates` subdirectory of
523− the user data directory (see `--data-dir`). If this option is not used,
524− a default template appropriate for the output format will be used (see
525− `-D/--print-default-template`).
526−
527−`-V` *KEY*[`=`*VAL*], `--variable=`*KEY*[`:`*VAL*]
528−
529−: Set the template variable *KEY* to the value *VAL* when rendering the
530− document in standalone mode. This is generally only useful when the
531− `--template` option is used to specify a custom template, since
532− pandoc automatically sets the variables used in the default
533− templates. If no *VAL* is specified, the key will be given the
534− value `true`.
535−
536−`-D` *FORMAT*, `--print-default-template=`*FORMAT*
537−
538−: Print the system default template for an output *FORMAT*. (See `-t`
539− for a list of possible *FORMAT*s.) Templates in the user data
540− directory are ignored.
541−
542−`--print-default-data-file=`*FILE*
543−
544−: Print a system default data file. Files in the user data directory
545− are ignored.
546−
547−`--dpi`=*NUMBER*
548−: Specify the dpi (dots per inch) value for conversion from pixels
549− to inch/centimeters and vice versa. The default is 96dpi.
550− Technically, the correct term would be ppi (pixels per inch).
551−
552−`--wrap=auto`|`none`|`preserve`
553−
554−: Determine how text is wrapped in the output (the source
555− code, not the rendered version). With `auto` (the default),
556− pandoc will attempt to wrap lines to the column width specified by
557− `--columns` (default 72). With `none`, pandoc will not wrap
558− lines at all. With `preserve`, pandoc will attempt to
559− preserve the wrapping from the source document (that is,
560− where there are nonsemantic newlines in the source, there
561− will be nonsemantic newlines in the output as well).
562− Automatic wrapping does not currently work in HTML output.
563−
564−`--columns=`*NUMBER*
565−
566−: Specify length of lines in characters. This affects text wrapping
567− in the generated source code (see `--wrap`). It also affects
568− calculation of column widths for plain text tables (see [Tables] below).
569−
570−`--toc`, `--table-of-contents`
571−
572−: Include an automatically generated table of contents (or, in
573− the case of `latex`, `context`, `docx`, and `rst`, an instruction to create
574− one) in the output document. This option has no effect on `man`,
575− `docbook4`, `docbook5`, `slidy`, `slideous`, `s5`, or `odt` output.
576−
577−`--toc-depth=`*NUMBER*
578−
579−: Specify the number of section levels to include in the table
580− of contents. The default is 3 (which means that level 1, 2, and 3
581− headers will be listed in the contents).
582−
583−`--no-highlight`
584−
585−: Disables syntax highlighting for code blocks and inlines, even when
586− a language attribute is given.
587−
588−`--highlight-style=`*STYLE*
589−
590−: Specifies the coloring style to be used in highlighted source code.
591− Options are `pygments` (the default), `kate`, `monochrome`,
592− `breezeDark`, `espresso`, `zenburn`, `haddock`, and `tango`.
593− For more information on syntax highlighting in pandoc, see
594− [Syntax highlighting], below. See also
595− `--list-highlight-styles`.
596−
597−`-H` *FILE*, `--include-in-header=`*FILE*
598−
599−: Include contents of *FILE*, verbatim, at the end of the header.
600− This can be used, for example, to include special
601− CSS or JavaScript in HTML documents. This option can be used
602− repeatedly to include multiple files in the header. They will be
603− included in the order specified. Implies `--standalone`.
604−
605−`-B` *FILE*, `--include-before-body=`*FILE*
606−
607−: Include contents of *FILE*, verbatim, at the beginning of the
608− document body (e.g. after the `<body>` tag in HTML, or the
609− `\begin{document}` command in LaTeX). This can be used to include
610− navigation bars or banners in HTML documents. This option can be
611− used repeatedly to include multiple files. They will be included in
612− the order specified. Implies `--standalone`.
613−
614−`-A` *FILE*, `--include-after-body=`*FILE*
615−
616−: Include contents of *FILE*, verbatim, at the end of the document
617− body (before the `</body>` tag in HTML, or the
618− `\end{document}` command in LaTeX). This option can be used
619− repeatedly to include multiple files. They will be included in the
620− order specified. Implies `--standalone`.
621−
622−Options affecting specific writers
623−----------------------------------
624−
625−`--self-contained`
626−
627−: Produce a standalone HTML file with no external dependencies, using
628− `data:` URIs to incorporate the contents of linked scripts, stylesheets,
629− images, and videos. The resulting file should be "self-contained,"
630− in the sense that it needs no external files and no net access to be
631− displayed properly by a browser. This option works only with HTML output
632− formats, including `html4`, `html5`, `html+lhs`, `html5+lhs`, `s5`,
633− `slidy`, `slideous`, `dzslides`, and `revealjs`. Scripts, images, and
634− stylesheets at absolute URLs will be downloaded; those at relative URLs
635− will be sought relative to the working directory (if the first source
636− file is local) or relative to the base URL (if the first source
637− file is remote). Limitation: resources that are loaded dynamically
638− through JavaScript cannot be incorporated; as a result, `--self-contained`
639− does not work with `--mathjax`, and some advanced features (e.g.
640− zoom or speaker notes) may not work in an offline "self-contained"
641− `reveal.js` slide show.
642−
643−`--html-q-tags`
644−
645−: Use `<q>` tags for quotes in HTML.
646−
647−`--ascii`
648−
649−: Use only ASCII characters in output. Currently supported only
650− for HTML output (which uses numerical entities instead of
651− UTF-8 when this option is selected).
652−
653−`--reference-links`
654−
655−: Use reference-style links, rather than inline links, in writing Markdown
656− or reStructuredText. By default inline links are used. The
657− placement of link references is affected by the
658− `--reference-location` option.
659−
660−`--reference-location = block`|`section`|`document`
661−
662−: Specify whether footnotes (and references, if `reference-links` is
663− set) are placed at the end of the current (top-level) block, the
664− current section, or the document. The default is
665− `document`. Currently only affects the markdown writer.
666−
667−`--atx-headers`
668−
669−: Use ATX-style headers in Markdown and AsciiDoc output. The default is
670− to use setext-style headers for levels 1-2, and then ATX headers.
671−
672−`--top-level-division=[default|section|chapter|part]`
673−
674−: Treat top-level headers as the given division type in LaTeX, ConTeXt,
675− DocBook, and TEI output. The hierarchy order is part, chapter, then section;
676− all headers are shifted such that the top-level header becomes the specified
677− type. The default behavior is to determine the best division type via
678− heuristics: unless other conditions apply, `section` is chosen. When the
679− LaTeX document class is set to `report`, `book`, or `memoir` (unless the
680− `article` option is specified), `chapter` is implied as the setting for this
681− option. If `beamer` is the output format, specifying either `chapter` or
682− `part` will cause top-level headers to become `\part{..}`, while
683− second-level headers remain as their default type.
684−
685−`-N`, `--number-sections`
686−
687−: Number section headings in LaTeX, ConTeXt, HTML, or EPUB output.
688− By default, sections are not numbered. Sections with class
689− `unnumbered` will never be numbered, even if `--number-sections`
690− is specified.
691−
692−`--number-offset=`*NUMBER*[`,`*NUMBER*`,`*...*]
693−
694−: Offset for section headings in HTML output (ignored in other
695− output formats). The first number is added to the section number for
696− top-level headers, the second for second-level headers, and so on.
697− So, for example, if you want the first top-level header in your
698− document to be numbered "6", specify `--number-offset=5`.
699− If your document starts with a level-2 header which you want to
700− be numbered "1.5", specify `--number-offset=1,4`.
701− Offsets are 0 by default. Implies `--number-sections`.
702−
703−`--listings`
704−
705−: Use the [`listings`] package for LaTeX code blocks
706−
707−`-i`, `--incremental`
708−
709−: Make list items in slide shows display incrementally (one by one).
710− The default is for lists to be displayed all at once.
711−
712−`--slide-level=`*NUMBER*
713−
714−: Specifies that headers with the specified level create
715− slides (for `beamer`, `s5`, `slidy`, `slideous`, `dzslides`). Headers
716− above this level in the hierarchy are used to divide the
717− slide show into sections; headers below this level create
718− subheads within a slide. The default is to set the slide level
719− based on the contents of the document; see
720− [Structuring the slide show].
721−
722−`--section-divs`
723−
724−: Wrap sections in `<div>` tags (or `<section>` tags in HTML5),
725− and attach identifiers to the enclosing `<div>` (or `<section>`)
726− rather than the header itself. See
727− [Header identifiers], below.
728−
729−`--email-obfuscation=none`|`javascript`|`references`
730−
731−: Specify a method for obfuscating `mailto:` links in HTML documents.
732− `none` leaves `mailto:` links as they are. `javascript` obfuscates
733− them using JavaScript. `references` obfuscates them by printing their
734− letters as decimal or hexadecimal character references. The default
735− is `none`.
736−
737−`--id-prefix=`*STRING*
738−
739−: Specify a prefix to be added to all identifiers and internal links
740− in HTML and DocBook output, and to footnote numbers in Markdown
741− and Haddock output. This is useful for preventing duplicate
742− identifiers when generating fragments to be included in other pages.
743−
744−`-T` *STRING*, `--title-prefix=`*STRING*
745−
746−: Specify *STRING* as a prefix at the beginning of the title
747− that appears in the HTML header (but not in the title as it
748− appears at the beginning of the HTML body). Implies
749− `--standalone`.
750−
751−`-c` *URL*, `--css=`*URL*
752−
753−: Link to a CSS style sheet. This option can be used repeatedly to
754− include multiple files. They will be included in the order specified.
755−
756−`--reference-doc=`*FILE*
757−
758−: Use the specified file as a style reference in producing a
759− docx or ODT file.
760−
761− Docx: For best results, the reference docx should be a modified
762− version of a docx file produced using pandoc. The contents
763− of the reference docx are ignored, but its stylesheets and
764− document properties (including margins, page size, header,
765− and footer) are used in the new docx. If no reference docx
766− is specified on the command line, pandoc will look for a
767− file `reference.docx` in the user data directory (see
768− `--data-dir`). If this is not found either, sensible
769− defaults will be used.
770−
771− To produce a custom `reference.docx`, first get a copy of
772− the default `reference.docx`: `pandoc
773− --print-default-data-file reference.docx >
774− custom-reference.docx`. Then open `custom-reference.docx`
775− in Word, modify the styles as you wish, and save the file.
776− For best results, do not make changes to this file other
777− than modifying the styles used by pandoc: [paragraph]
778− Normal, Body Text, First Paragraph, Compact, Title,
779− Subtitle, Author, Date, Abstract, Bibliography, Heading 1,
780− Heading 2, Heading 3, Heading 4, Heading 5, Heading 6, Block
781− Text, Footnote Text, Definition Term, Definition, Caption,
782− Table Caption, Image Caption, Figure, Figure With Caption,
783− TOC Heading; [character] Default Paragraph Font, Body Text
784− Char, Verbatim Char, Footnote Reference, Hyperlink; [table]
785− Normal Table.
786−
787− ODT: For best results, the reference ODT should be a modified
788− version of an ODT produced using pandoc. The contents of
789− the reference ODT are ignored, but its stylesheets are used
790− in the new ODT. If no reference ODT is specified on the
791− command line, pandoc will look for a file `reference.odt` in
792− the user data directory (see `--data-dir`). If this is not
793− found either, sensible defaults will be used.
794−
795− To produce a custom `reference.odt`, first get a copy of
796− the default `reference.odt`: `pandoc
797− --print-default-data-file reference.odt >
798− custom-reference.odt`. Then open `custom-reference.docx` in
799− LibreOffice, modify the styles as you wish, and save the
800− file.
801−
802−`--epub-stylesheet=`*FILE*
803−
804−: Use the specified CSS file to style the EPUB. If no stylesheet
805− is specified, pandoc will look for a file `epub.css` in the
806− user data directory (see `--data-dir`). If it is not
807− found there, sensible defaults will be used.
808−
809−`--epub-cover-image=`*FILE*
810−
811−: Use the specified image as the EPUB cover. It is recommended
812− that the image be less than 1000px in width and height. Note that
813− in a Markdown source document you can also specify `cover-image`
814− in a YAML metadata block (see [EPUB Metadata], below).
815−
816−`--epub-metadata=`*FILE*
817−
818−: Look in the specified XML file for metadata for the EPUB.
819− The file should contain a series of [Dublin Core elements].
820− For example:
821−
822− <dc:rights>Creative Commons</dc:rights>
823− <dc:language>es-AR</dc:language>
824−
825− By default, pandoc will include the following metadata elements:
826− `<dc:title>` (from the document title), `<dc:creator>` (from the
827− document authors), `<dc:date>` (from the document date, which should
828− be in [ISO 8601 format]), `<dc:language>` (from the `lang`
829− variable, or, if is not set, the locale), and `<dc:identifier
830− id="BookId">` (a randomly generated UUID). Any of these may be
831− overridden by elements in the metadata file.
832−
833− Note: if the source document is Markdown, a YAML metadata block
834− in the document can be used instead. See below under
835− [EPUB Metadata].
836−
837−`--epub-embed-font=`*FILE*
838−
839−: Embed the specified font in the EPUB. This option can be repeated
840− to embed multiple fonts. Wildcards can also be used: for example,
841− `DejaVuSans-*.ttf`. However, if you use wildcards on the command
842− line, be sure to escape them or put the whole filename in single quotes,
843− to prevent them from being interpreted by the shell. To use the
844− embedded fonts, you will need to add declarations like the following
845− to your CSS (see `--epub-stylesheet`):
846−
847− @font-face {
848− font-family: DejaVuSans;
849− font-style: normal;
850− font-weight: normal;
851− src:url("DejaVuSans-Regular.ttf");
852− }
853− @font-face {
854− font-family: DejaVuSans;
855− font-style: normal;
856− font-weight: bold;
857− src:url("DejaVuSans-Bold.ttf");
858− }
859− @font-face {
860− font-family: DejaVuSans;
861− font-style: italic;
862− font-weight: normal;
863− src:url("DejaVuSans-Oblique.ttf");
864− }
865− @font-face {
866− font-family: DejaVuSans;
867− font-style: italic;
868− font-weight: bold;
869− src:url("DejaVuSans-BoldOblique.ttf");
870− }
871− body { font-family: "DejaVuSans"; }
872−
873−`--epub-chapter-level=`*NUMBER*
874−
875−: Specify the header level at which to split the EPUB into separate
876− "chapter" files. The default is to split into chapters at level 1
877− headers. This option only affects the internal composition of the
878− EPUB, not the way chapters and sections are displayed to users. Some
879− readers may be slow if the chapter files are too large, so for large
880− documents with few level 1 headers, one might want to use a chapter
881− level of 2 or 3.
882−
883−`--latex-engine=pdflatex`|`lualatex`|`xelatex`
884−
885−: Use the specified LaTeX engine when producing PDF output.
886− The default is `pdflatex`. If the engine is not in your PATH,
887− the full path of the engine may be specified here.
888−
889−`--latex-engine-opt=`*STRING*
890−
891−: Use the given string as a command-line argument to the `latex-engine`.
892− If used multiple times, the arguments are provided with spaces between
893− them. Note that no check for duplicate options is done.
894−
895−[Dublin Core elements]: http://dublincore.org/documents/dces/
896−[ISO 8601 format]: http://www.w3.org/TR/NOTE-datetime
897−
898−Citation rendering
899−------------------
900−
901−`--bibliography=`*FILE*
902−
903−: Set the `bibliography` field in the document's metadata to *FILE*,
904− overriding any value set in the metadata, and process citations
905− using `pandoc-citeproc`. (This is equivalent to
906− `--metadata bibliography=FILE --filter pandoc-citeproc`.)
907− If `--natbib` or `--biblatex` is also supplied, `pandoc-citeproc` is not
908− used, making this equivalent to `--metadata bibliography=FILE`.
909− If you supply this argument multiple times, each *FILE* will be added
910− to bibliography.
911−
912−`--csl=`*FILE*
913−
914−: Set the `csl` field in the document's metadata to *FILE*,
915− overriding any value set in the metadata. (This is equivalent to
916− `--metadata csl=FILE`.)
917− This option is only relevant with `pandoc-citeproc`.
918−
919−`--citation-abbreviations=`*FILE*
920−
921−: Set the `citation-abbreviations` field in the document's metadata to
922− *FILE*, overriding any value set in the metadata. (This is equivalent to
923− `--metadata citation-abbreviations=FILE`.)
924− This option is only relevant with `pandoc-citeproc`.
925−
926−`--natbib`
927−
928−: Use [`natbib`] for citations in LaTeX output. This option is not for use
929− with the `pandoc-citeproc` filter or with PDF output. It is intended for
930− use in producing a LaTeX file that can be processed with [`bibtex`].
931−
932−`--biblatex`
933−
934−: Use [`biblatex`] for citations in LaTeX output. This option is not for use
935− with the `pandoc-citeproc` filter or with PDF output. It is intended for
936− use in producing a LaTeX file that can be processed with [`bibtex`] or [`biber`].
937−
938−Math rendering in HTML
939−----------------------
940−
941−`-m` [*URL*], `--latexmathml`[`=`*URL*]
942−
943−: Use the [LaTeXMathML] script to display embedded TeX math in HTML output.
944− To insert a link to a local copy of the `LaTeXMathML.js` script,
945− provide a *URL*. If no *URL* is provided, the contents of the
946− script will be inserted directly into the HTML header, preserving
947− portability at the price of efficiency. If you plan to use math on
948− several pages, it is much better to link to a copy of the script,
949− so it can be cached.
950−
951−`--mathml`
952−
953−: Convert TeX math to [MathML] (in `docbook4`, `docbook5`,
954− `html4` and `html5`).
955−
956−`--jsmath`[`=`*URL*]
957−
958−: Use [jsMath] to display embedded TeX math in HTML output.
959− The *URL* should point to the jsMath load script (e.g.
960− `jsMath/easy/load.js`); if provided, it will be linked to in
961− the header of standalone HTML documents. If a *URL* is not provided,
962− no link to the jsMath load script will be inserted; it is then
963− up to the author to provide such a link in the HTML template.
964−
965−`--mathjax`[`=`*URL*]
966−
967−: Use [MathJax] to display embedded TeX math in HTML output.
968− The *URL* should point to the `MathJax.js` load script.
969− If a *URL* is not provided, a link to the MathJax CDN will
970− be inserted.
971−
972−`--gladtex`
973−
974−: Enclose TeX math in `<eq>` tags in HTML output. These can then
975− be processed by [gladTeX] to produce links to images of the typeset
976− formulas.
977−
978−`--mimetex`[`=`*URL*]
979−
980−: Render TeX math using the [mimeTeX] CGI script. If *URL* is not
981− specified, it is assumed that the script is at `/cgi-bin/mimetex.cgi`.
982−
983−`--webtex`[`=`*URL*]
984−
985−: Render TeX formulas using an external script that converts TeX
986− formulas to images. The formula will be concatenated with the URL
987− provided. If *URL* is not specified, the CodeCogs will be used.
988− Note: the `--webtex` option will affect Markdown output
989− as well as HTML, which is useful if you're targeting a
990− version of Markdown without native math support.
991−
992−`--katex`[`=`*URL*]
993−
994−: Use [KaTeX] to display embedded TeX math in HTML output.
995− The *URL* should point to the `katex.js` load script. If a *URL* is
996− not provided, a link to the KaTeX CDN will be inserted.
997− Note: [KaTeX] seems to work best with `html5` output.
998−
999−`--katex-stylesheet=`*URL*
1000−
1001−: The *URL* should point to the `katex.css` stylesheet. If this option is
1002− not specified, a link to the KaTeX CDN will be inserted. Note that this
1003− option does not imply `--katex`.
1004−
1005−[MathML]: http://www.w3.org/Math/
1006−[LaTeXMathML]: http://math.etsu.edu/LaTeXMathML/
1007−[jsMath]: http://www.math.union.edu/~dpvc/jsmath/
1008−[MathJax]: https://www.mathjax.org
1009−[gladTeX]: http://ans.hsh.no/home/mgg/gladtex/
1010−[mimeTeX]: http://www.forkosh.com/mimetex.html
1011−[KaTeX]: https://github.com/Khan/KaTeX
1012−
1013−Options for wrapper scripts
1014−---------------------------
1015−
1016−`--dump-args`
1017−
1018−: Print information about command-line arguments to *stdout*, then exit.
1019− This option is intended primarily for use in wrapper scripts.
1020− The first line of output contains the name of the output file specified
1021− with the `-o` option, or `-` (for *stdout*) if no output file was
1022− specified. The remaining lines contain the command-line arguments,
1023− one per line, in the order they appear. These do not include regular
1024− pandoc options and their arguments, but do include any options appearing
1025− after a `--` separator at the end of the line.
1026−
1027−`--ignore-args`
1028−
1029−: Ignore command-line arguments (for use in wrapper scripts).
1030− Regular pandoc options are not ignored. Thus, for example,
1031−
1032− pandoc --ignore-args -o foo.html -s foo.txt -- -e latin1
1033−
1034− is equivalent to
1035−
1036− pandoc -o foo.html -s
1037−
1038−Templates
1039−=========
1040−
1041−When the `-s/--standalone` option is used, pandoc uses a template to
1042−add header and footer material that is needed for a self-standing
1043−document. To see the default template that is used, just type
1044−
1045− pandoc -D *FORMAT*
1046−
1047−where *FORMAT* is the name of the output format. A custom template
1048−can be specified using the `--template` option. You can also override
1049−the system default templates for a given output format *FORMAT*
1050−by putting a file `templates/default.*FORMAT*` in the user data
1051−directory (see `--data-dir`, above). *Exceptions:*
1052−
1053−- For `odt` output, customize the `default.opendocument`
1054− template.
1055−- For `pdf` output, customize the `default.latex` template
1056− (or the `default.beamer` template, if you use `-t beamer`,
1057− or the `default.context` template, if you use `-t context`).
1058−- `docx` has no template (however, you can use
1059− `--reference-doc` to customize the output).
1060−
1061−Templates contain *variables*, which allow for the inclusion of
1062−arbitrary information at any point in the file. Variables may be set
1063−within the document using [YAML metadata blocks][Extension:
1064−`yaml_metadata_block`]. They may also be set at the
1065−command line using the `-V/--variable` option: variables set in this
1066−way override metadata fields with the same name.
1067−
1068−Variables set by pandoc
1069−-----------------------
1070−
1071−Some variables are set automatically by pandoc. These vary somewhat
1072−depending on the output format, but include metadata fields as well
1073−as the following:
1074−
1075−`title`, `author`, `date`
1076−: allow identification of basic aspects of the document. Included
1077− in PDF metadata through LaTeX and ConTeXt. These can be set
1078− through a [pandoc title block][Extension: `pandoc_title_block`],
1079− which allows for multiple authors, or through a YAML metadata block:
1080−
1081− ---
1082− author:
1083− - Aristotle
1084− - Peter Abelard
1085− ...
1086−
1087−`subtitle`
1088−: document subtitle, included in HTML, EPUB, LaTeX, ConTeXt, and Word docx;
1089− renders in LaTeX only when using a document class that supports
1090− `\subtitle`, such as `beamer` or the [KOMA-Script] series (`scrartcl`,
1091− `scrreprt`, `scrbook`).[^subtitle]
1092−
1093−`institute`
1094−: author affiliations (in LaTeX and Beamer only). Can be a
1095− list, when there are multiple authors.
1096−
1097−`abstract`
1098−: document summary, included in LaTeX, ConTeXt, AsciiDoc, and Word docx
1099−
1100−`keywords`
1101−: list of keywords to be included in HTML, PDF, and AsciiDoc metadata;
1102− may be repeated as for `author`, above
1103−
1104−`header-includes`
1105−: contents specified by `-H/--include-in-header` (may have multiple
1106− values)
1107−
1108−`toc`
1109−: non-null value if `--toc/--table-of-contents` was specified
1110−
1111−`toc-title`
1112−: title of table of contents (works only with EPUB and docx)
1113−
1114−`include-before`
1115−: contents specified by `-B/--include-before-body` (may have
1116− multiple values)
1117−
1118−`include-after`
1119−: contents specified by `-A/--include-after-body` (may have
1120− multiple values)
1121−
1122−`body`
1123−: body of document
1124−
1125−`meta-json`
1126−: JSON representation of all of the document's metadata
1127−
1128−[^subtitle]: To make `subtitle` work with other LaTeX
1129− document classes, you can add the following to `header-includes`:
1130−
1131− \providecommand{\subtitle}[1]{%
1132− \usepackage{titling}
1133− \posttitle{%
1134− \par\large#1\end{center}}
1135− }
1136−
1137−Language variables
1138−------------------
1139−
1140−`lang`
1141−: identifies the main language of the document,
1142− using a code according to [BCP 47] (e.g. `en` or `en-GB`).
1143− For some output formats, pandoc will convert it to an appropriate
1144− format stored in the additional variables `babel-lang`,
1145− `polyglossia-lang` (LaTeX) and `context-lang` (ConTeXt).
1146−
1147− Native pandoc `span`s and `div`s with the lang attribute
1148− (value in BCP 47) can be used to switch the language in
1149− that range.
1150−
1151−`otherlangs`
1152−: a list of other languages used in the document
1153− in the YAML metadata, according to [BCP 47]. For example:
1154− `otherlangs: [en-GB, fr]`.
1155− This is automatically generated from the `lang` attributes
1156− in all `span`s and `div`s but can be overridden.
1157− Currently only used by LaTeX through the generated
1158− `babel-otherlangs` and `polyglossia-otherlangs` variables.
1159− The LaTeX writer outputs polyglossia commands in the text but
1160− the `babel-newcommands` variable contains mappings for them
1161− to the corresponding babel.
1162−
1163−`dir`
1164−: the base direction of the document, either `rtl` (right-to-left)
1165− or `ltr` (left-to-right).
1166−
1167− For bidirectional documents, native pandoc `span`s and `div`s
1168− with the `dir` attribute (value `rtl` or `ltr`) can be used to
1169− override the base direction in some output formats.
1170− This may not always be necessary if the final renderer
1171− (e.g. the browser, when generating HTML) supports the
1172− [Unicode Bidirectional Algorithm].
1173−
1174− When using LaTeX for bidirectional documents, only the `xelatex` engine
1175− is fully supported (use `--latex-engine=xelatex`).
1176−
1177−[BCP 47]: https://tools.ietf.org/html/bcp47
1178−[Unicode Bidirectional Algorithm]: http://www.w3.org/International/articles/inline-bidi-markup/uba-basics
1179−
1180−Variables for slides
1181−--------------------
1182−
1183−Variables are available for [producing slide shows with pandoc],
1184−including all [reveal.js configuration options].
1185−
1186−`titlegraphic`
1187−: title graphic for Beamer documents
1188−
1189−`logo`
1190−: logo for Beamer documents
1191−
1192−`slidy-url`
1193−: base URL for Slidy documents (defaults to
1194− `http://www.w3.org/Talks/Tools/Slidy2`)
1195−
1196−`slideous-url`
1197−: base URL for Slideous documents (defaults to `slideous`)
1198−
1199−`s5-url`
1200−: base URL for S5 documents (defaults to `s5/default`)
1201−
1202−`revealjs-url`
1203−: base URL for reveal.js documents (defaults to `reveal.js`)
1204−
1205−`theme`, `colortheme`, `fonttheme`, `innertheme`, `outertheme`
1206−: themes for LaTeX [`beamer`] documents
1207−
1208−`themeoptions`
1209−: options for LaTeX beamer themes (a list).
1210−
1211−`navigation`
1212−: controls navigation symbols in `beamer` documents
1213− (default is `empty` for no navigation symbols; other valid values
1214− are `frame`, `vertical`, and `horizontal`).
1215−
1216−`section-titles`
1217−: enables on "title pages" for new sections in `beamer`
1218− documents (default = true).
1219−
1220−`beamerarticle`
1221−: when true, the `beamerarticle` package is loaded (for
1222− producing an article from beamer slides).
1223−
1224−`colorlinks`
1225−: add color to link text; automatically enabled if any of `linkcolor`, `citecolor`,
1226− `urlcolor`, or `toccolor` are set (for beamer only).
1227−
1228−`linkcolor`, `citecolor`, `urlcolor`, `toccolor`
1229−: color for internal links, citation links, external links, and links in table
1230− of contents: uses any of the [predefined LaTeX colors] (for beamer only).
1231−
1232−[reveal.js configuration options]: https://github.com/hakimel/reveal.js#configuration
1233−
1234−Variables for LaTeX
1235−-------------------
1236−
1237−LaTeX variables are used when [creating a PDF].
1238−
1239−`papersize`
1240−: paper size, e.g. `letter`, `A4`
1241−
1242−`fontsize`
1243−: font size for body text (e.g. `10pt`, `12pt`)
1244−
1245−`documentclass`
1246−: document class, e.g. [`article`], [`report`], [`book`], [`memoir`]
1247−
1248−`classoption`
1249−: option for document class, e.g. `oneside`; may be repeated
1250− for multiple options
1251−
1252−`geometry`
1253−: option for [`geometry`] package, e.g. `margin=1in`;
1254− may be repeated for multiple options
1255−
1256−`margin-left`, `margin-right`, `margin-top`, `margin-bottom`
1257−: sets margins, if `geometry` is not used (otherwise `geometry`
1258− overrides these)
1259−
1260−`linestretch`
1261−: adjusts line spacing using the [`setspace`]
1262− package, e.g. `1.25`, `1.5`
1263−
1264−`fontfamily`
1265−: font package for use with `pdflatex`:
1266− [TeX Live] includes many options, documented in the [LaTeX Font Catalogue].
1267− The default is [Latin Modern][`lm`].
1268−
1269−`fontfamilyoptions`
1270−: options for package used as `fontfamily`: e.g. `osf,sc` with
1271− `fontfamily` set to [`mathpazo`] provides Palatino with old-style
1272− figures and true small caps; may be repeated for multiple options
1273−
1274−`mainfont`, `sansfont`, `monofont`, `mathfont`, `CJKmainfont`
1275−: font families for use with `xelatex` or
1276− `lualatex`: take the name of any system font, using the
1277− [`fontspec`] package. Note that if `CJKmainfont` is used,
1278− the [`xecjk`] package must be available.
1279−
1280−`mainfontoptions`, `sansfontoptions`, `monofontoptions`, `mathfontoptions`, `CJKoptions`
1281−: options to use with `mainfont`, `sansfont`, `monofont`, `mathfont`,
1282− `CJKmainfont` in `xelatex` and `lualatex`. Allow for any choices
1283− available through [`fontspec`], such as the OpenType features
1284− `Numbers=OldStyle,Numbers=Proportional`. May be repeated for multiple options.
1285−
1286−`fontenc`
1287−: allows font encoding to be specified through `fontenc` package (with `pdflatex`);
1288− default is `T1` (see guide to [LaTeX font encodings])
1289−
1290−`microtypeoptions`
1291−: options to pass to the microtype package
1292−
1293−`colorlinks`
1294−: add color to link text; automatically enabled if any of `linkcolor`, `citecolor`,
1295− `urlcolor`, or `toccolor` are set
1296−
1297−`linkcolor`, `citecolor`, `urlcolor`, `toccolor`
1298−: color for internal links, citation links, external links, and links in table of contents:
1299− uses any of the [predefined LaTeX colors]
1300−
1301−`links-as-notes`
1302−: causes links to be printed as footnotes
1303−
1304−`indent`
1305−: uses document class settings for indentation (the default LaTeX template
1306− otherwise removes indentation and adds space between paragraphs)
1307−
1308−`subparagraph`
1309−: disables default behavior of LaTeX template that redefines (sub)paragraphs
1310− as sections, changing the appearance of nested headings in some classes
1311−
1312−`thanks`
1313−: specifies contents of acknowledgments footnote after document title.
1314−
1315−`toc`
1316−: include table of contents (can also be set using `--toc/--table-of-contents`)
1317−
1318−`toc-depth`
1319−: level of section to include in table of contents
1320−
1321−`secnumdepth`
1322−: numbering depth for sections, if sections are numbered
1323−
1324−`lof`, `lot`
1325−: include list of figures, list of tables
1326−
1327−`bibliography`
1328−: bibliography to use for resolving references
1329−
1330−`biblio-style`
1331−: bibliography style, when used with `--natbib` and `--biblatex`.
1332−
1333−`biblio-title`
1334−: bibliography title, when used with `--natbib` and `--biblatex`.
1335−
1336−`biblatexoptions`
1337−: list of options for biblatex.
1338−
1339−[`article`]: https://ctan.org/pkg/article
1340−[`report`]: https://ctan.org/pkg/report
1341−[`book`]: https://ctan.org/pkg/book
1342−[KOMA-Script]: https://ctan.org/pkg/koma-script
1343−[`memoir`]: https://ctan.org/pkg/memoir
1344−[predefined LaTeX colors]: https://en.wikibooks.org/wiki/LaTeX/Colors#Predefined_colors
1345−[LaTeX Font Catalogue]: http://www.tug.dk/FontCatalogue/
1346−[`mathpazo`]: https://ctan.org/pkg/mathpazo
1347−[LaTeX font encodings]: https://ctan.org/pkg/encguide
1348−
1349−Variables for ConTeXt
1350−---------------------
1351−
1352−`papersize`
1353−: paper size, e.g. `letter`, `A4`, `landscape` (see [ConTeXt Paper Setup]);
1354− may be repeated for multiple options
1355−
1356−`layout`
1357−: options for page margins and text arrangement (see [ConTeXt Layout]);
1358− may be repeated for multiple options
1359−
1360−`margin-left`, `margin-right`, `margin-top`, `margin-bottom`
1361−: sets margins, if `layout` is not used (otherwise `layout`
1362− overrides these)
1363−
1364−`fontsize`
1365−: font size for body text (e.g. `10pt`, `12pt`)
1366−
1367−`mainfont`, `sansfont`, `monofont`, `mathfont`
1368−: font families: take the name of any system font (see [ConTeXt Font Switching])
1369−
1370−`linkcolor`, `contrastcolor`
1371−: color for links outside and inside a page, e.g. `red`, `blue` (see [ConTeXt Color])
1372−
1373−`linkstyle`
1374−: typeface style for links, e.g. `normal`, `bold`, `slanted`, `boldslanted`, `type`, `cap`, `small`
1375−
1376−`indenting`
1377−: controls indentation of paragraphs, e.g. `yes,small,next` (see [ConTeXt Indentation]);
1378− may be repeated for multiple options
1379−
1380−`whitespace`
1381−: spacing between paragraphs, e.g. `none`, `small` (using [`setupwhitespace`])
1382−
1383−`interlinespace`
1384−: adjusts line spacing, e.g. `4ex` (using [`setupinterlinespace`]);
1385− may be repeated for multiple options
1386−
1387−`headertext`, `footertext`
1388−: text to be placed in running header or footer (see [ConTeXt Headers and Footers]);
1389− may be repeated up to four times for different placement
1390−
1391−`pagenumbering`
1392−: page number style and location (using [`setuppagenumbering`]);
1393− may be repeated for multiple options
1394−
1395−`toc`
1396−: include table of contents (can also be set using `--toc/--table-of-contents`)
1397−
1398−`lof`, `lot`
1399−: include list of figures, list of tables
1400−
1401−[ConTeXt Paper Setup]: http://wiki.contextgarden.net/PaperSetup
1402−[ConTeXt Layout]: http://wiki.contextgarden.net/Layout
1403−[ConTeXt Font Switching]: http://wiki.contextgarden.net/Font_Switching
1404−[ConTeXt Color]: http://wiki.contextgarden.net/Color
1405−[ConTeXt Headers and Footers]: http://wiki.contextgarden.net/Headers_and_Footers
1406−[ConTeXt Indentation]: http://wiki.contextgarden.net/Indentation
1407−[`setupwhitespace`]: http://wiki.contextgarden.net/Command/setupwhitespace
1408−[`setupinterlinespace`]: http://wiki.contextgarden.net/Command/setupinterlinespace
1409−[`setuppagenumbering`]: http://wiki.contextgarden.net/Command/setuppagenumbering
1410−
1411−Variables for man pages
1412−-----------------------
1413−
1414−`section`
1415−: section number in man pages
1416−
1417−`header`
1418−: header in man pages
1419−
1420−`footer`
1421−: footer in man pages
1422−
1423−`adjusting`
1424−: adjusts text to left (`l`), right (`r`), center (`c`),
1425− or both (`b`) margins
1426−
1427−`hyphenate`
1428−: if `true` (the default), hyphenation will be used
1429−
1430−Using variables in templates
1431−----------------------------
1432−
1433−Variable names are sequences of alphanumerics, `-`, and `_`,
1434−starting with a letter. A variable name surrounded by `$` signs
1435−will be replaced by its value. For example, the string `$title$` in
1436−
1437− <title>$title$</title>
1438−
1439−will be replaced by the document title.
1440−
1441−To write a literal `$` in a template, use `$$`.
1442−
1443−Templates may contain conditionals. The syntax is as follows:
1444−
1445− $if(variable)$
1446− X
1447− $else$
1448− Y
1449− $endif$
1450−
1451−This will include `X` in the template if `variable` has a non-null
1452−value; otherwise it will include `Y`. `X` and `Y` are placeholders for
1453−any valid template text, and may include interpolated variables or other
1454−conditionals. The `$else$` section may be omitted.
1455−
1456−When variables can have multiple values (for example, `author` in
1457−a multi-author document), you can use the `$for$` keyword:
1458−
1459− $for(author)$
1460− <meta name="author" content="$author$" />
1461− $endfor$
1462−
1463−You can optionally specify a separator to be used between
1464−consecutive items:
1465−
1466− $for(author)$$author$$sep$, $endfor$
1467−
1468−A dot can be used to select a field of a variable that takes
1469−an object as its value. So, for example:
1470−
1471− $author.name$ ($author.affiliation$)
1472−
1473−If you use custom templates, you may need to revise them as pandoc
1474−changes. We recommend tracking the changes in the default templates,
1475−and modifying your custom templates accordingly. An easy way to do this
1476−is to fork the [pandoc-templates] repository and merge in changes after each
1477−pandoc release.
1478−
1479−[pandoc-templates]: https://github.com/jgm/pandoc-templates
1480−
1481−Pandoc's Markdown
1482−=================
1483−
1484−Pandoc understands an extended and slightly revised version of
1485−John Gruber's [Markdown] syntax. This document explains the syntax,
1486−noting differences from standard Markdown. Except where noted, these
1487−differences can be suppressed by using the `markdown_strict` format instead
1488−of `markdown`. An extensions can be enabled by adding `+EXTENSION`
1489−to the format name and disabled by adding `-EXTENSION`. For example,
1490−`markdown_strict+footnotes` is strict Markdown with footnotes
1491−enabled, while `markdown-footnotes-pipe_tables` is pandoc's
1492−Markdown without footnotes or pipe tables.
1493−
1494−Philosophy
1495−----------
1496−
1497−Markdown is designed to be easy to write, and, even more importantly,
1498−easy to read:
1499−
1500−> A Markdown-formatted document should be publishable as-is, as plain
1501−> text, without looking like it's been marked up with tags or formatting
1502−> instructions.
1503−> -- [John Gruber](http://daringfireball.net/projects/markdown/syntax#philosophy)
1504−
1505−This principle has guided pandoc's decisions in finding syntax for
1506−tables, footnotes, and other extensions.
1507−
1508−There is, however, one respect in which pandoc's aims are different
1509−from the original aims of Markdown. Whereas Markdown was originally
1510−designed with HTML generation in mind, pandoc is designed for multiple
1511−output formats. Thus, while pandoc allows the embedding of raw HTML,
1512−it discourages it, and provides other, non-HTMLish ways of representing
1513−important document elements like definition lists, tables, mathematics, and
1514−footnotes.
1515−
1516−Paragraphs
1517−----------
1518−
1519−A paragraph is one or more lines of text followed by one or more blank lines.
1520−Newlines are treated as spaces, so you can reflow your paragraphs as you like.
1521−If you need a hard line break, put two or more spaces at the end of a line.
1522−
1523−#### Extension: `escaped_line_breaks` ####
1524−
1525−A backslash followed by a newline is also a hard line break.
1526−Note: in multiline and grid table cells, this is the only way
1527−to create a hard line break, since trailing spaces in the cells
1528−are ignored.
1529−
1530−Headers
1531−-------
1532−
1533−There are two kinds of headers: Setext and ATX.
1534−
1535−### Setext-style headers ###
1536−
1537−A setext-style header is a line of text "underlined" with a row of `=` signs
1538−(for a level one header) or `-` signs (for a level two header):
1539−
1540− A level-one header
1541− ==================
1542−
1543− A level-two header
1544− ------------------
1545−
1546−The header text can contain inline formatting, such as emphasis (see
1547−[Inline formatting], below).
1548−
1549−
1550−### ATX-style headers ###
1551−
1552−An ATX-style header consists of one to six `#` signs and a line of
1553−text, optionally followed by any number of `#` signs. The number of
1554−`#` signs at the beginning of the line is the header level:
1555−
1556− ## A level-two header
1557−
1558− ### A level-three header ###
1559−
1560−As with setext-style headers, the header text can contain formatting:
1561−
1562− # A level-one header with a [link](/url) and *emphasis*
1563−
1564−#### Extension: `blank_before_header` ####
1565−
1566−Standard Markdown syntax does not require a blank line before a header.
1567−Pandoc does require this (except, of course, at the beginning of the
1568−document). The reason for the requirement is that it is all too easy for a
1569−`#` to end up at the beginning of a line by accident (perhaps through line
1570−wrapping). Consider, for example:
1571−
1572− I like several of their flavors of ice cream:
1573− #22, for example, and #5.
1574−
1575−
1576−### Header identifiers ###
1577−
1578−#### Extension: `header_attributes` ####
1579−
1580−Headers can be assigned attributes using this syntax at the end
1581−of the line containing the header text:
1582−
1583− {#identifier .class .class key=value key=value}
1584−
1585−Thus, for example, the following headers will all be assigned the identifier
1586−`foo`:
1587−
1588− # My header {#foo}
1589−
1590− ## My header ## {#foo}
1591−
1592− My other header {#foo}
1593− ---------------
1594−
1595−(This syntax is compatible with [PHP Markdown Extra].)
1596−
1597−Note that although this syntax allows assignment of classes and key/value
1598−attributes, writers generally don't use all of this information. Identifiers,
1599−classes, and key/value attributes are used in HTML and HTML-based formats such
1600−as EPUB and slidy. Identifiers are used for labels and link anchors in the
1601−LaTeX, ConTeXt, Textile, and AsciiDoc writers.
1602−
1603−Headers with the class `unnumbered` will not be numbered, even if
1604−`--number-sections` is specified. A single hyphen (`-`) in an attribute
1605−context is equivalent to `.unnumbered`, and preferable in non-English
1606−documents. So,
1607−
1608− # My header {-}
1609−
1610−is just the same as
1611−
1612− # My header {.unnumbered}
1613−
1614−#### Extension: `auto_identifiers` ####
1615−
1616−A header without an explicitly specified identifier will be
1617−automatically assigned a unique identifier based on the header text.
1618−To derive the identifier from the header text,
1619−
1620− - Remove all formatting, links, etc.
1621− - Remove all footnotes.
1622− - Remove all punctuation, except underscores, hyphens, and periods.
1623− - Replace all spaces and newlines with hyphens.
1624− - Convert all alphabetic characters to lowercase.
1625− - Remove everything up to the first letter (identifiers may
1626− not begin with a number or punctuation mark).
1627− - If nothing is left after this, use the identifier `section`.
1628−
1629−Thus, for example,
1630−
1631− Header Identifier
1632− ------------------------------- ----------------------------
1633− `Header identifiers in HTML` `header-identifiers-in-html`
1634− `*Dogs*?--in *my* house?` `dogs--in-my-house`
1635− `[HTML], [S5], or [RTF]?` `html-s5-or-rtf`
1636− `3. Applications` `applications`
1637− `33` `section`
1638−
1639−These rules should, in most cases, allow one to determine the identifier
1640−from the header text. The exception is when several headers have the
1641−same text; in this case, the first will get an identifier as described
1642−above; the second will get the same identifier with `-1` appended; the
1643−third with `-2`; and so on.
1644−
1645−These identifiers are used to provide link targets in the table of
1646−contents generated by the `--toc|--table-of-contents` option. They
1647−also make it easy to provide links from one section of a document to
1648−another. A link to this section, for example, might look like this:
1649−
1650− See the section on
1651− [header identifiers](#header-identifiers-in-html-latex-and-context).
1652−
1653−Note, however, that this method of providing links to sections works
1654−only in HTML, LaTeX, and ConTeXt formats.
1655−
1656−If the `--section-divs` option is specified, then each section will
1657−be wrapped in a `div` (or a `section`, if `html5` was specified),
1658−and the identifier will be attached to the enclosing `<div>`
1659−(or `<section>`) tag rather than the header itself. This allows entire
1660−sections to be manipulated using JavaScript or treated differently in
1661−CSS.
1662−
1663−#### Extension: `implicit_header_references` ####
1664−
1665−Pandoc behaves as if reference links have been defined for each header.
1666−So, to link to a header
1667−
1668− # Header identifiers in HTML
1669−
1670−you can simply write
1671−
1672− [Header identifiers in HTML]
1673−
1674−or
1675−
1676− [Header identifiers in HTML][]
1677−
1678−or
1679−
1680− [the section on header identifiers][header identifiers in
1681− HTML]
1682−
1683−instead of giving the identifier explicitly:
1684−
1685− [Header identifiers in HTML](#header-identifiers-in-html)
1686−
1687−If there are multiple headers with identical text, the corresponding
1688−reference will link to the first one only, and you will need to use explicit
1689−links to link to the others, as described above.
1690−
1691−Like regular reference links, these references are case-insensitive.
1692−
1693−Explicit link reference definitions always take priority over
1694−implicit header references. So, in the following example, the
1695−link will point to `bar`, not to `#foo`:
1696−
1697− # Foo
1698−
1699− [foo]: bar
1700−
1701− See [foo]
1702−
1703−Block quotations
1704−----------------
1705−
1706−Markdown uses email conventions for quoting blocks of text.
1707−A block quotation is one or more paragraphs or other block elements
1708−(such as lists or headers), with each line preceded by a `>` character
1709−and an optional space. (The `>` need not start at the left margin, but
1710−it should not be indented more than three spaces.)
1711−
1712− > This is a block quote. This
1713− > paragraph has two lines.
1714− >
1715− > 1. This is a list inside a block quote.
1716− > 2. Second item.
1717−
1718−A "lazy" form, which requires the `>` character only on the first
1719−line of each block, is also allowed:
1720−
1721− > This is a block quote. This
1722− paragraph has two lines.
1723−
1724− > 1. This is a list inside a block quote.
1725− 2. Second item.
1726−
1727−Among the block elements that can be contained in a block quote are
1728−other block quotes. That is, block quotes can be nested:
1729−
1730− > This is a block quote.
1731− >
1732− > > A block quote within a block quote.
1733−
1734−If the `>` character is followed by an optional space, that space
1735−will be considered part of the block quote marker and not part of
1736−the indentation of the contents. Thus, to put an indented code
1737−block in a block quote, you need five spaces after the `>`:
1738−
1739− > code
1740−
1741−#### Extension: `blank_before_blockquote` ####
1742−
1743−Standard Markdown syntax does not require a blank line before a block
1744−quote. Pandoc does require this (except, of course, at the beginning of the
1745−document). The reason for the requirement is that it is all too easy for a
1746−`>` to end up at the beginning of a line by accident (perhaps through line
1747−wrapping). So, unless the `markdown_strict` format is used, the following does
1748−not produce a nested block quote in pandoc:
1749−
1750− > This is a block quote.
1751− >> Nested.
1752−
1753−
1754−Verbatim (code) blocks
1755−----------------------
1756−
1757−### Indented code blocks ###
1758−
1759−A block of text indented four spaces (or one tab) is treated as verbatim
1760−text: that is, special characters do not trigger special formatting,
1761−and all spaces and line breaks are preserved. For example,
1762−
1763− if (a > 3) {
1764− moveShip(5 * gravity, DOWN);
1765− }
1766−
1767−The initial (four space or one tab) indentation is not considered part
1768−of the verbatim text, and is removed in the output.
1769−
1770−Note: blank lines in the verbatim text need not begin with four spaces.
1771−
1772−
1773−### Fenced code blocks ###
1774−
1775−#### Extension: `fenced_code_blocks` ####
1776−
1777−In addition to standard indented code blocks, pandoc supports
1778−*fenced* code blocks. These begin with a row of three or more
1779−tildes (`~`) and end with a row of tildes that must be at least as long as
1780−the starting row. Everything between these lines is treated as code. No
1781−indentation is necessary:
1782−
1783− ~~~~~~~
1784− if (a > 3) {
1785− moveShip(5 * gravity, DOWN);
1786− }
1787− ~~~~~~~
1788−
1789−Like regular code blocks, fenced code blocks must be separated
1790−from surrounding text by blank lines.
1791−
1792−If the code itself contains a row of tildes or backticks, just use a longer
1793−row of tildes or backticks at the start and end:
1794−
1795− ~~~~~~~~~~~~~~~~
1796− ~~~~~~~~~~
1797− code including tildes
1798− ~~~~~~~~~~
1799− ~~~~~~~~~~~~~~~~
1800−
1801−#### Extension: `backtick_code_blocks` ####
1802−
1803−Same as `fenced_code_blocks`, but uses backticks (`` ` ``) instead of tildes
1804−(`~`).
1805−
1806−#### Extension: `fenced_code_attributes` ####
1807−
1808−Optionally, you may attach attributes to fenced or backtick code block using
1809−this syntax:
1810−
1811− ~~~~ {#mycode .haskell .numberLines startFrom="100"}
1812− qsort [] = []
1813− qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++
1814− qsort (filter (>= x) xs)
1815− ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1816−
1817−Here `mycode` is an identifier, `haskell` and `numberLines` are classes, and
1818−`startFrom` is an attribute with value `100`. Some output formats can use this
1819−information to do syntax highlighting. Currently, the only output formats
1820−that uses this information are HTML and LaTeX. If highlighting is supported
1821−for your output format and language, then the code block above will appear
1822−highlighted, with numbered lines. (To see which languages are supported, type
1823−`pandoc --list-highlight-languages`.) Otherwise, the code block above will
1824−appear as follows:
1825−
1826− <pre id="mycode" class="haskell numberLines" startFrom="100">
1827− <code>
1828− ...
1829− </code>
1830− </pre>
1831−
1832−A shortcut form can also be used for specifying the language of
1833−the code block:
1834−
1835− ```haskell
1836− qsort [] = []
1837− ```
1838−
1839−This is equivalent to:
1840−
1841− ``` {.haskell}
1842− qsort [] = []
1843− ```
1844−
1845−If the `fenced_code_attributes` extension is disabled, but
1846−input contains class attribute(s) for the code block, the first
1847−class attribute will be printed after the opening fence as a bare
1848−word.
1849−
1850−To prevent all highlighting, use the `--no-highlight` flag.
1851−To set the highlighting style, use `--highlight-style`.
1852−For more information on highlighting, see [Syntax highlighting],
1853−below.
1854−
1855−Line blocks
1856−-----------
1857−
1858−#### Extension: `line_blocks` ####
1859−
1860−A line block is a sequence of lines beginning with a vertical bar (`|`)
1861−followed by a space. The division into lines will be preserved in
1862−the output, as will any leading spaces; otherwise, the lines will
1863−be formatted as Markdown. This is useful for verse and addresses:
1864−
1865− | The limerick packs laughs anatomical
1866− | In space that is quite economical.
1867− | But the good ones I've seen
1868− | So seldom are clean
1869− | And the clean ones so seldom are comical
1870−
1871− | 200 Main St.
1872− | Berkeley, CA 94718
1873−
1874−The lines can be hard-wrapped if needed, but the continuation
1875−line must begin with a space.
1876−
1877− | The Right Honorable Most Venerable and Righteous Samuel L.
1878− Constable, Jr.
1879− | 200 Main St.
1880− | Berkeley, CA 94718
1881−
1882−This syntax is borrowed from [reStructuredText].
1883−
1884−Lists
1885−-----
1886−
1887−### Bullet lists ###
1888−
1889−A bullet list is a list of bulleted list items. A bulleted list
1890−item begins with a bullet (`*`, `+`, or `-`). Here is a simple
1891−example:
1892−
1893− * one
1894− * two
1895− * three
1896−
1897−This will produce a "compact" list. If you want a "loose" list, in which
1898−each item is formatted as a paragraph, put spaces between the items:
1899−
1900− * one
1901−
1902− * two
1903−
1904− * three
1905−
1906−The bullets need not be flush with the left margin; they may be
1907−indented one, two, or three spaces. The bullet must be followed
1908−by whitespace.
1909−
1910−List items look best if subsequent lines are flush with the first
1911−line (after the bullet):
1912−
1913− * here is my first
1914− list item.
1915− * and my second.
1916−
1917−But Markdown also allows a "lazy" format:
1918−
1919− * here is my first
1920− list item.
1921− * and my second.
1922−
1923−### The four-space rule ###
1924−
1925−A list item may contain multiple paragraphs and other block-level
1926−content. However, subsequent paragraphs must be preceded by a blank line
1927−and indented four spaces or a tab. The list will look better if the first
1928−paragraph is aligned with the rest:
1929−
1930− * First paragraph.
1931−
1932− Continued.
1933−
1934− * Second paragraph. With a code block, which must be indented
1935− eight spaces:
1936−
1937− { code }
1938−
1939−List items may include other lists. In this case the preceding blank
1940−line is optional. The nested list must be indented four spaces or
1941−one tab:
1942−
1943− * fruits
1944− + apples
1945− - macintosh
1946− - red delicious
1947− + pears
1948− + peaches
1949− * vegetables
1950− + broccoli
1951− + chard
1952−
1953−As noted above, Markdown allows you to write list items "lazily," instead of
1954−indenting continuation lines. However, if there are multiple paragraphs or
1955−other blocks in a list item, the first line of each must be indented.
1956−
1957− + A lazy, lazy, list
1958− item.
1959−
1960− + Another one; this looks
1961− bad but is legal.
1962−
1963− Second paragraph of second
1964− list item.
1965−
1966−**Note:** Although the four-space rule for continuation paragraphs
1967−comes from the official [Markdown syntax guide], the reference implementation,
1968−`Markdown.pl`, does not follow it. So pandoc will give different results than
1969−`Markdown.pl` when authors have indented continuation paragraphs fewer than
1970−four spaces.
1971−
1972−The [Markdown syntax guide] is not explicit whether the four-space
1973−rule applies to *all* block-level content in a list item; it only
1974−mentions paragraphs and code blocks. But it implies that the rule
1975−applies to all block-level content (including nested lists), and
1976−pandoc interprets it that way.
1977−
1978− [Markdown syntax guide]:
1979− http://daringfireball.net/projects/markdown/syntax#list
1980−
1981−### Ordered lists ###
1982−
1983−Ordered lists work just like bulleted lists, except that the items
1984−begin with enumerators rather than bullets.
1985−
1986−In standard Markdown, enumerators are decimal numbers followed
1987−by a period and a space. The numbers themselves are ignored, so
1988−there is no difference between this list:
1989−
1990− 1. one
1991− 2. two
1992− 3. three
1993−
1994−and this one:
1995−
1996− 5. one
1997− 7. two
1998− 1. three
1999−
2000−#### Extension: `fancy_lists` ####
2001−
2002−Unlike standard Markdown, pandoc allows ordered list items to be marked
2003−with uppercase and lowercase letters and roman numerals, in addition to
2004−Arabic numerals. List markers may be enclosed in parentheses or followed by a
2005−single right-parentheses or period. They must be separated from the
2006−text that follows by at least one space, and, if the list marker is a
2007−capital letter with a period, by at least two spaces.[^2]
2008−
2009−[^2]: The point of this rule is to ensure that normal paragraphs
2010− starting with people's initials, like
2011−
2012− B. Russell was an English philosopher.
2013−
2014− do not get treated as list items.
2015−
2016− This rule will not prevent
2017−
2018− (C) 2007 Joe Smith
2019−
2020− from being interpreted as a list item. In this case, a backslash
2021− escape can be used:
2022−
2023− (C\) 2007 Joe Smith
2024−
2025−The `fancy_lists` extension also allows '`#`' to be used as an
2026−ordered list marker in place of a numeral:
2027−
2028− #. one
2029− #. two
2030−
2031−#### Extension: `startnum` ####
2032−
2033−Pandoc also pays attention to the type of list marker used, and to the
2034−starting number, and both of these are preserved where possible in the
2035−output format. Thus, the following yields a list with numbers followed
2036−by a single parenthesis, starting with 9, and a sublist with lowercase
2037−roman numerals:
2038−
2039− 9) Ninth
2040− 10) Tenth
2041− 11) Eleventh
2042− i. subone
2043− ii. subtwo
2044− iii. subthree
2045−
2046−Pandoc will start a new list each time a different type of list
2047−marker is used. So, the following will create three lists:
2048−
2049− (2) Two
2050− (5) Three
2051− 1. Four
2052− * Five
2053−
2054−If default list markers are desired, use `#.`:
2055−
2056− #. one
2057− #. two
2058− #. three
2059−
2060−
2061−### Definition lists ###
2062−
2063−#### Extension: `definition_lists` ####
2064−
2065−Pandoc supports definition lists, using the syntax of
2066−[PHP Markdown Extra] with some extensions.[^3]
2067−
2068− Term 1
2069−
2070− : Definition 1
2071−
2072− Term 2 with *inline markup*
2073−
2074− : Definition 2
2075−
2076− { some code, part of Definition 2 }
2077−
2078− Third paragraph of definition 2.
2079−
2080−Each term must fit on one line, which may optionally be followed by
2081−a blank line, and must be followed by one or more definitions.
2082−A definition begins with a colon or tilde, which may be indented one
2083−or two spaces.
2084−
2085−A term may have multiple definitions, and each definition may consist of one or
2086−more block elements (paragraph, code block, list, etc.), each indented four
2087−spaces or one tab stop. The body of the definition (including the first line,
2088−aside from the colon or tilde) should be indented four spaces. However,
2089−as with other Markdown lists, you can "lazily" omit indentation except
2090−at the beginning of a paragraph or other block element:
2091−
2092− Term 1
2093−
2094− : Definition
2095− with lazy continuation.
2096−
2097− Second paragraph of the definition.
2098−
2099−If you leave space before the definition (as in the example above),
2100−the text of the definition will be treated as a paragraph. In some
2101−output formats, this will mean greater spacing between term/definition
2102−pairs. For a more compact definition list, omit the space before the
2103−definition:
2104−
2105− Term 1
2106− ~ Definition 1
2107−
2108− Term 2
2109− ~ Definition 2a
2110− ~ Definition 2b
2111−
2112−Note that space between items in a definition list is required.
2113−(A variant that loosens this requirement, but disallows "lazy"
2114−hard wrapping, can be activated with `compact_definition_lists`: see
2115−[Non-pandoc extensions], below.)
2116−
2117−[^3]: I have been influenced by the suggestions of [David Wheeler](http://www.justatheory.com/computers/markup/modest-markdown-proposal.html).
2118−
2119−### Numbered example lists ###
2120−
2121−#### Extension: `example_lists` ####
2122−
2123−The special list marker `@` can be used for sequentially numbered
2124−examples. The first list item with a `@` marker will be numbered '1',
2125−the next '2', and so on, throughout the document. The numbered examples
2126−need not occur in a single list; each new list using `@` will take up
2127−where the last stopped. So, for example:
2128−
2129− (@) My first example will be numbered (1).
2130− (@) My second example will be numbered (2).
2131−
2132− Explanation of examples.
2133−
2134− (@) My third example will be numbered (3).
2135−
2136−Numbered examples can be labeled and referred to elsewhere in the
2137−document:
2138−
2139− (@good) This is a good example.
2140−
2141− As (@good) illustrates, ...
2142−
2143−The label can be any string of alphanumeric characters, underscores,
2144−or hyphens.
2145−
2146−
2147−### Compact and loose lists ###
2148−
2149−Pandoc behaves differently from `Markdown.pl` on some "edge
2150−cases" involving lists. Consider this source:
2151−
2152− + First
2153− + Second:
2154− - Fee
2155− - Fie
2156− - Foe
2157−
2158− + Third
2159−
2160−Pandoc transforms this into a "compact list" (with no `<p>` tags around
2161−"First", "Second", or "Third"), while Markdown puts `<p>` tags around
2162−"Second" and "Third" (but not "First"), because of the blank space
2163−around "Third". Pandoc follows a simple rule: if the text is followed by
2164−a blank line, it is treated as a paragraph. Since "Second" is followed
2165−by a list, and not a blank line, it isn't treated as a paragraph. The
2166−fact that the list is followed by a blank line is irrelevant. (Note:
2167−Pandoc works this way even when the `markdown_strict` format is specified. This
2168−behavior is consistent with the official Markdown syntax description,
2169−even though it is different from that of `Markdown.pl`.)
2170−
2171−
2172−### Ending a list ###
2173−
2174−What if you want to put an indented code block after a list?
2175−
2176− - item one
2177− - item two
2178−
2179− { my code block }
2180−
2181−Trouble! Here pandoc (like other Markdown implementations) will treat
2182−`{ my code block }` as the second paragraph of item two, and not as
2183−a code block.
2184−
2185−To "cut off" the list after item two, you can insert some non-indented
2186−content, like an HTML comment, which won't produce visible output in
2187−any format:
2188−
2189− - item one
2190− - item two
2191−
2192− <!-- end of list -->
2193−
2194− { my code block }
2195−
2196−You can use the same trick if you want two consecutive lists instead
2197−of one big list:
2198−
2199− 1. one
2200− 2. two
2201− 3. three
2202−
2203− <!-- -->
2204−
2205− 1. uno
2206− 2. dos
2207− 3. tres
2208−
2209−Horizontal rules
2210−----------------
2211−
2212−A line containing a row of three or more `*`, `-`, or `_` characters
2213−(optionally separated by spaces) produces a horizontal rule:
2214−
2215− * * * *
2216−
2217− ---------------
2218−
2219−
2220−Tables
2221−------
2222−
2223−Four kinds of tables may be used. The first three kinds presuppose the use of
2224−a fixed-width font, such as Courier. The fourth kind can be used with
2225−proportionally spaced fonts, as it does not require lining up columns.
2226−
2227−#### Extension: `table_captions` ####
2228−
2229−A caption may optionally be provided with all 4 kinds of tables (as
2230−illustrated in the examples below). A caption is a paragraph beginning
2231−with the string `Table:` (or just `:`), which will be stripped off.
2232−It may appear either before or after the table.
2233−
2234−#### Extension: `simple_tables` ####
2235−
2236−Simple tables look like this:
2237−
2238− Right Left Center Default
2239− ------- ------ ---------- -------
2240− 12 12 12 12
2241− 123 123 123 123
2242− 1 1 1 1
2243−
2244− Table: Demonstration of simple table syntax.
2245−
2246−The headers and table rows must each fit on one line. Column
2247−alignments are determined by the position of the header text relative
2248−to the dashed line below it:[^4]
2249−
2250− - If the dashed line is flush with the header text on the right side
2251− but extends beyond it on the left, the column is right-aligned.
2252− - If the dashed line is flush with the header text on the left side
2253− but extends beyond it on the right, the column is left-aligned.
2254− - If the dashed line extends beyond the header text on both sides,
2255− the column is centered.
2256− - If the dashed line is flush with the header text on both sides,
2257− the default alignment is used (in most cases, this will be left).
2258−
2259−[^4]: This scheme is due to Michel Fortin, who proposed it on the
2260− [Markdown discussion list](http://six.pairlist.net/pipermail/markdown-discuss/2005-March/001097.html).
2261−
2262−The table must end with a blank line, or a line of dashes followed by
2263−a blank line.
2264−
2265−The column headers may be omitted, provided a dashed line is used
2266−to end the table. For example:
2267−
2268− ------- ------ ---------- -------
2269− 12 12 12 12
2270− 123 123 123 123
2271− 1 1 1 1
2272− ------- ------ ---------- -------
2273−
2274−When headers are omitted, column alignments are determined on the basis
2275−of the first line of the table body. So, in the tables above, the columns
2276−would be right, left, center, and right aligned, respectively.
2277−
2278−#### Extension: `multiline_tables` ####
2279−
2280−Multiline tables allow headers and table rows to span multiple lines
2281−of text (but cells that span multiple columns or rows of the table are
2282−not supported). Here is an example:
2283−
2284− -------------------------------------------------------------
2285− Centered Default Right Left
2286− Header Aligned Aligned Aligned
2287− ----------- ------- --------------- -------------------------
2288− First row 12.0 Example of a row that
2289− spans multiple lines.
2290−
2291− Second row 5.0 Here's another one. Note
2292− the blank line between
2293− rows.
2294− -------------------------------------------------------------
2295−
2296− Table: Here's the caption. It, too, may span
2297− multiple lines.
2298−
2299−These work like simple tables, but with the following differences:
2300−
2301− - They must begin with a row of dashes, before the header text
2302− (unless the headers are omitted).
2303− - They must end with a row of dashes, then a blank line.
2304− - The rows must be separated by blank lines.
2305−
2306−In multiline tables, the table parser pays attention to the widths of
2307−the columns, and the writers try to reproduce these relative widths in
2308−the output. So, if you find that one of the columns is too narrow in the
2309−output, try widening it in the Markdown source.
2310−
2311−Headers may be omitted in multiline tables as well as simple tables:
2312−
2313− ----------- ------- --------------- -------------------------
2314− First row 12.0 Example of a row that
2315− spans multiple lines.
2316−
2317− Second row 5.0 Here's another one. Note
2318− the blank line between
2319− rows.
2320− ----------- ------- --------------- -------------------------
2321−
2322− : Here's a multiline table without headers.
2323−
2324−It is possible for a multiline table to have just one row, but the row
2325−should be followed by a blank line (and then the row of dashes that ends
2326−the table), or the table may be interpreted as a simple table.
2327−
2328−#### Extension: `grid_tables` ####
2329−
2330−Grid tables look like this:
2331−
2332− : Sample grid table.
2333−
2334− +---------------+---------------+--------------------+
2335− | Fruit | Price | Advantages |
2336− +===============+===============+====================+
2337− | Bananas | $1.34 | - built-in wrapper |
2338− | | | - bright color |
2339− +---------------+---------------+--------------------+
2340− | Oranges | $2.10 | - cures scurvy |
2341− | | | - tasty |
2342− +---------------+---------------+--------------------+
2343−
2344−The row of `=`s separates the header from the table body, and can be
2345−omitted for a headerless table. The cells of grid tables may contain
2346−arbitrary block elements (multiple paragraphs, code blocks, lists,
2347−etc.). Cells that span multiple columns or rows are not
2348−supported. Grid tables can be created easily using [Emacs table mode].
2349−
2350−[Emacs table mode]: http://table.sourceforge.net/
2351−
2352−Alignments can be specified as with pipe tables, by putting
2353−colons at the boundaries of the separator line after the
2354−header:
2355−
2356− +---------------+---------------+--------------------+
2357− | Right | Left | Centered |
2358− +==============:+:==============+:==================:+
2359− | Bananas | $1.34 | built-in wrapper |
2360− +---------------+---------------+--------------------+
2361−
2362−For headerless tables, the colons go on the top line instead:
2363−
2364− +--------------:+:--------------+:------------------:+
2365− | Right | Left | Centered |
2366− +---------------+---------------+--------------------+
2367−
2368−
2369−#### Extension: `pipe_tables` ####
2370−
2371−Pipe tables look like this:
2372−
2373− | Right | Left | Default | Center |
2374− |------:|:-----|---------|:------:|
2375− | 12 | 12 | 12 | 12 |
2376− | 123 | 123 | 123 | 123 |
2377− | 1 | 1 | 1 | 1 |
2378−
2379− : Demonstration of pipe table syntax.
2380−
2381−The syntax is identical to [PHP Markdown Extra tables]. The beginning and
2382−ending pipe characters are optional, but pipes are required between all
2383−columns. The colons indicate column alignment as shown. The header
2384−cannot be omitted. To simulate a headerless table, include a header
2385−with blank cells.
2386−
2387−Since the pipes indicate column boundaries, columns need not be vertically
2388−aligned, as they are in the above example. So, this is a perfectly
2389−legal (though ugly) pipe table:
2390−
2391− fruit| price
2392− -----|-----:
2393− apple|2.05
2394− pear|1.37
2395− orange|3.09
2396−
2397−The cells of pipe tables cannot contain block elements like paragraphs
2398−and lists, and cannot span multiple lines. If a pipe table contains a
2399−row whose printable content is wider than the column width (see
2400−`--columns`), then the cell contents will wrap, with the
2401−relative cell widths determined by the widths of the separator
2402−lines.
2403−
2404−Note: pandoc also recognizes pipe tables of the following
2405−form, as can be produced by Emacs' orgtbl-mode:
2406−
2407− | One | Two |
2408− |-----+-------|
2409− | my | table |
2410− | is | nice |
2411−
2412−The difference is that `+` is used instead of `|`. Other orgtbl features
2413−are not supported. In particular, to get non-default column alignment,
2414−you'll need to add colons as above.
2415−
2416−[PHP Markdown Extra tables]: https://michelf.ca/projects/php-markdown/extra/#table
2417−
2418−Metadata blocks
2419−---------------
2420−
2421−#### Extension: `pandoc_title_block` ####
2422−
2423−If the file begins with a title block
2424−
2425− % title
2426− % author(s) (separated by semicolons)
2427− % date
2428−
2429−it will be parsed as bibliographic information, not regular text. (It
2430−will be used, for example, in the title of standalone LaTeX or HTML
2431−output.) The block may contain just a title, a title and an author,
2432−or all three elements. If you want to include an author but no
2433−title, or a title and a date but no author, you need a blank line:
2434−
2435− %
2436− % Author
2437−
2438− % My title
2439− %
2440− % June 15, 2006
2441−
2442−The title may occupy multiple lines, but continuation lines must
2443−begin with leading space, thus:
2444−
2445− % My title
2446− on multiple lines
2447−
2448−If a document has multiple authors, the authors may be put on
2449−separate lines with leading space, or separated by semicolons, or
2450−both. So, all of the following are equivalent:
2451−
2452− % Author One
2453− Author Two
2454−
2455− % Author One; Author Two
2456−
2457− % Author One;
2458− Author Two
2459−
2460−The date must fit on one line.
2461−
2462−All three metadata fields may contain standard inline formatting
2463−(italics, links, footnotes, etc.).
2464−
2465−Title blocks will always be parsed, but they will affect the output only
2466−when the `--standalone` (`-s`) option is chosen. In HTML output, titles
2467−will appear twice: once in the document head -- this is the title that
2468−will appear at the top of the window in a browser -- and once at the
2469−beginning of the document body. The title in the document head can have
2470−an optional prefix attached (`--title-prefix` or `-T` option). The title
2471−in the body appears as an H1 element with class "title", so it can be
2472−suppressed or reformatted with CSS. If a title prefix is specified with
2473−`-T` and no title block appears in the document, the title prefix will
2474−be used by itself as the HTML title.
2475−
2476−The man page writer extracts a title, man page section number, and
2477−other header and footer information from the title line. The title
2478−is assumed to be the first word on the title line, which may optionally
2479−end with a (single-digit) section number in parentheses. (There should
2480−be no space between the title and the parentheses.) Anything after
2481−this is assumed to be additional footer and header text. A single pipe
2482−character (`|`) should be used to separate the footer text from the header
2483−text. Thus,
2484−
2485− % PANDOC(1)
2486−
2487−will yield a man page with the title `PANDOC` and section 1.
2488−
2489− % PANDOC(1) Pandoc User Manuals
2490−
2491−will also have "Pandoc User Manuals" in the footer.
2492−
2493− % PANDOC(1) Pandoc User Manuals | Version 4.0
2494−
2495−will also have "Version 4.0" in the header.
2496−
2497−#### Extension: `yaml_metadata_block` ####
2498−
2499−A YAML metadata block is a valid YAML object, delimited by a line of three
2500−hyphens (`---`) at the top and a line of three hyphens (`---`) or three dots
2501−(`...`) at the bottom. A YAML metadata block may occur anywhere in the
2502−document, but if it is not at the beginning, it must be preceded by a blank
2503−line. (Note that, because of the way pandoc concatenates input files when
2504−several are provided, you may also keep the metadata in a separate YAML file
2505−and pass it to pandoc as an argument, along with your Markdown files:
2506−
2507− pandoc chap1.md chap2.md chap3.md metadata.yaml -s -o book.html
2508−
2509−Just be sure that the YAML file begins with `---` and ends with `---` or
2510−`...`.)
2511−
2512−Metadata will be taken from the fields of the YAML object and added to any
2513−existing document metadata. Metadata can contain lists and objects (nested
2514−arbitrarily), but all string scalars will be interpreted as Markdown. Fields
2515−with names ending in an underscore will be ignored by pandoc. (They may be
2516−given a role by external processors.)
2517−
2518−A document may contain multiple metadata blocks. The metadata fields will
2519−be combined through a *left-biased union*: if two metadata blocks attempt
2520−to set the same field, the value from the first block will be taken.
2521−
2522−When pandoc is used with `-t markdown` to create a Markdown document,
2523−a YAML metadata block will be produced only if the `-s/--standalone`
2524−option is used. All of the metadata will appear in a single block
2525−at the beginning of the document.
2526−
2527−Note that YAML escaping rules must be followed. Thus, for example,
2528−if a title contains a colon, it must be quoted. The pipe character
2529−(`|`) can be used to begin an indented block that will be interpreted
2530−literally, without need for escaping. This form is necessary
2531−when the field contains blank lines:
2532−
2533− ---
2534− title: 'This is the title: it contains a colon'
2535− author:
2536− - Author One
2537− - Author Two
2538− tags: [nothing, nothingness]
2539− abstract: |
2540− This is the abstract.
2541−
2542− It consists of two paragraphs.
2543− ...
2544−
2545−Template variables will be set automatically from the metadata. Thus, for
2546−example, in writing HTML, the variable `abstract` will be set to the HTML
2547−equivalent of the Markdown in the `abstract` field:
2548−
2549− <p>This is the abstract.</p>
2550− <p>It consists of two paragraphs.</p>
2551−
2552−Variables can contain arbitrary YAML structures, but the template must match
2553−this structure. The `author` variable in the default templates expects a
2554−simple list or string, but can be changed to support more complicated
2555−structures. The following combination, for example, would add an affiliation
2556−to the author if one is given:
2557−
2558− ---
2559− title: The document title
2560− author:
2561− - name: Author One
2562− affiliation: University of Somewhere
2563− - name: Author Two
2564− affiliation: University of Nowhere
2565− ...
2566−
2567−To use the structured authors in the example above, you would need a custom
2568−template:
2569−
2570− $for(author)$
2571− $if(author.name)$
2572− $author.name$$if(author.affiliation)$ ($author.affiliation$)$endif$
2573− $else$
2574− $author$
2575− $endif$
2576− $endfor$
2577−
2578−
2579−Backslash escapes
2580−-----------------
2581−
2582−#### Extension: `all_symbols_escapable` ####
2583−
2584−Except inside a code block or inline code, any punctuation or space
2585−character preceded by a backslash will be treated literally, even if it
2586−would normally indicate formatting. Thus, for example, if one writes
2587−
2588− *\*hello\**
2589−
2590−one will get
2591−
2592− <em>*hello*</em>
2593−
2594−instead of
2595−
2596− <strong>hello</strong>
2597−
2598−This rule is easier to remember than standard Markdown's rule,
2599−which allows only the following characters to be backslash-escaped:
2600−
2601− \`*_{}[]()>#+-.!
2602−
2603−(However, if the `markdown_strict` format is used, the standard Markdown rule
2604−will be used.)
2605−
2606−A backslash-escaped space is parsed as a nonbreaking space. It will
2607−appear in TeX output as `~` and in HTML and XML as `\&#160;` or
2608−`\&nbsp;`.
2609−
2610−A backslash-escaped newline (i.e. a backslash occurring at the end of
2611−a line) is parsed as a hard line break. It will appear in TeX output as
2612−`\\` and in HTML as `<br />`. This is a nice alternative to
2613−Markdown's "invisible" way of indicating hard line breaks using
2614−two trailing spaces on a line.
2615−
2616−Backslash escapes do not work in verbatim contexts.
2617−
2618−Inline formatting
2619−-----------------
2620−
2621−### Emphasis ###
2622−
2623−To *emphasize* some text, surround it with `*`s or `_`, like this:
2624−
2625− This text is _emphasized with underscores_, and this
2626− is *emphasized with asterisks*.
2627−
2628−Double `*` or `_` produces **strong emphasis**:
2629−
2630− This is **strong emphasis** and __with underscores__.
2631−
2632−A `*` or `_` character surrounded by spaces, or backslash-escaped,
2633−will not trigger emphasis:
2634−
2635− This is * not emphasized *, and \*neither is this\*.
2636−
2637−#### Extension: `intraword_underscores` ####
2638−
2639−Because `_` is sometimes used inside words and identifiers,
2640−pandoc does not interpret a `_` surrounded by alphanumeric
2641−characters as an emphasis marker. If you want to emphasize
2642−just part of a word, use `*`:
2643−
2644− feas*ible*, not feas*able*.
2645−
2646−
2647−### Strikeout ###
2648−
2649−#### Extension: `strikeout` ####
2650−
2651−To strikeout a section of text with a horizontal line, begin and end it
2652−with `~~`. Thus, for example,
2653−
2654− This ~~is deleted text.~~
2655−
2656−
2657−### Superscripts and subscripts ###
2658−
2659−#### Extension: `superscript`, `subscript` ####
2660−
2661−Superscripts may be written by surrounding the superscripted text by `^`
2662−characters; subscripts may be written by surrounding the subscripted
2663−text by `~` characters. Thus, for example,
2664−
2665− H~2~O is a liquid. 2^10^ is 1024.
2666−
2667−If the superscripted or subscripted text contains spaces, these spaces
2668−must be escaped with backslashes. (This is to prevent accidental
2669−superscripting and subscripting through the ordinary use of `~` and `^`.)
2670−Thus, if you want the letter P with 'a cat' in subscripts, use
2671−`P~a\ cat~`, not `P~a cat~`.
2672−
2673−
2674−### Verbatim ###
2675−
2676−To make a short span of text verbatim, put it inside backticks:
2677−
2678− What is the difference between `>>=` and `>>`?
2679−
2680−If the verbatim text includes a backtick, use double backticks:
2681−
2682− Here is a literal backtick `` ` ``.
2683−
2684−(The spaces after the opening backticks and before the closing
2685−backticks will be ignored.)
2686−
2687−The general rule is that a verbatim span starts with a string
2688−of consecutive backticks (optionally followed by a space)
2689−and ends with a string of the same number of backticks (optionally
2690−preceded by a space).
2691−
2692−Note that backslash-escapes (and other Markdown constructs) do not
2693−work in verbatim contexts:
2694−
2695− This is a backslash followed by an asterisk: `\*`.
2696−
2697−#### Extension: `inline_code_attributes` ####
2698−
2699−Attributes can be attached to verbatim text, just as with
2700−[fenced code blocks]:
2701−
2702− `<$>`{.haskell}
2703−
2704−### Small caps ###
2705−
2706−To write small caps, you can use an HTML span tag:
2707−
2708− <span style="font-variant:small-caps;">Small caps</span>
2709−
2710−(The semicolon is optional and there may be space after the
2711−colon.) This will work in all output formats that support small caps.
2712−
2713−Alternatively, you can also use the new `bracketed_spans` syntax:
2714−
2715− [Small caps]{style="font-variant:small-caps;"}
2716−
2717−Math
2718−----
2719−
2720−#### Extension: `tex_math_dollars` ####
2721−
2722−Anything between two `$` characters will be treated as TeX math. The
2723−opening `$` must have a non-space character immediately to its right,
2724−while the closing `$` must have a non-space character immediately to its
2725−left, and must not be followed immediately by a digit. Thus,
2726−`$20,000 and $30,000` won't parse as math. If for some reason
2727−you need to enclose text in literal `$` characters, backslash-escape
2728−them and they won't be treated as math delimiters.
2729−
2730−TeX math will be printed in all output formats. How it is rendered
2731−depends on the output format:
2732−
2733−Markdown, LaTeX, Emacs Org mode, ConTeXt, ZimWiki
2734− ~ It will appear verbatim between `$` characters.
2735−
2736−reStructuredText
2737− ~ It will be rendered using an [interpreted text role `:math:`].
2738−
2739−AsciiDoc
2740− ~ It will be rendered as `latexmath:[...]`.
2741−
2742−Texinfo
2743− ~ It will be rendered inside a `@math` command.
2744−
2745−groff man
2746− ~ It will be rendered verbatim without `$`'s.
2747−
2748−MediaWiki, DokuWiki
2749− ~ It will be rendered inside `<math>` tags.
2750−
2751−Textile
2752− ~ It will be rendered inside `<span class="math">` tags.
2753−
2754−RTF, OpenDocument, ODT
2755− ~ It will be rendered, if possible, using Unicode characters,
2756− and will otherwise appear verbatim.
2757−
2758−DocBook
2759− ~ If the `--mathml` flag is used, it will be rendered using MathML
2760− in an `inlineequation` or `informalequation` tag. Otherwise it
2761− will be rendered, if possible, using Unicode characters.
2762−
2763−Docx
2764− ~ It will be rendered using OMML math markup.
2765−
2766−FictionBook2
2767− ~ If the `--webtex` option is used, formulas are rendered as images
2768− using CodeCogs or other compatible web service, downloaded
2769− and embedded in the e-book. Otherwise, they will appear verbatim.
2770−
2771−HTML, Slidy, DZSlides, S5, EPUB
2772− ~ The way math is rendered in HTML will depend on the
2773− command-line options selected:
2774−
2775− 1. The default is to render TeX math as far as possible using Unicode
2776− characters, as with RTF, DocBook, and OpenDocument output. Formulas
2777− are put inside a `span` with `class="math"`, so that they may be
2778− styled differently from the surrounding text if needed.
2779−
2780− 2. If the `--latexmathml` option is used, TeX math will be displayed
2781− between `$` or `$$` characters and put in `<span>` tags with class `LaTeX`.
2782− The [LaTeXMathML] script will be used to render it as formulas.
2783− (This trick does not work in all browsers, but it works in Firefox.
2784− In browsers that do not support LaTeXMathML, TeX math will appear
2785− verbatim between `$` characters.)
2786−
2787− 3. If the `--jsmath` option is used, TeX math will be put inside
2788− `<span>` tags (for inline math) or `<div>` tags (for display math)
2789− with class `math`. The [jsMath] script will be used to render
2790− it.
2791−
2792− 4. If the `--mimetex` option is used, the [mimeTeX] CGI script will
2793− be called to generate images for each TeX formula. This should
2794− work in all browsers. The `--mimetex` option takes an optional URL
2795− as argument. If no URL is specified, it will be assumed that the
2796− mimeTeX CGI script is at `/cgi-bin/mimetex.cgi`.
2797−
2798− 5. If the `--gladtex` option is used, TeX formulas will be enclosed
2799− in `<eq>` tags in the HTML output. The resulting `htex` file may then
2800− be processed by [gladTeX], which will produce image files for each
2801− formula and an HTML file with links to these images. So, the
2802− procedure is:
2803−
2804− pandoc -s --gladtex myfile.txt -o myfile.htex
2805− gladtex -d myfile-images myfile.htex
2806− # produces myfile.html and images in myfile-images
2807−
2808− 6. If the `--webtex` option is used, TeX formulas will be converted
2809− to `<img>` tags that link to an external script that converts
2810− formulas to images. The formula will be URL-encoded and concatenated
2811− with the URL provided. If no URL is specified, the CodeCogs
2812− will be used (`https://latex.codecogs.com/png.latex?`).
2813−
2814− 7. If the `--mathjax` option is used, TeX math will be displayed
2815− between `\(...\)` (for inline math) or `\[...\]` (for display
2816− math) and put in `<span>` tags with class `math`.
2817− The [MathJax] script will be used to render it as formulas.
2818−
2819−[interpreted text role `:math:`]: http://docutils.sourceforge.net/docs/ref/rst/roles.html#math
2820−
2821−Raw HTML
2822−--------
2823−
2824−#### Extension: `raw_html` ####
2825−
2826−Markdown allows you to insert raw HTML (or DocBook) anywhere in a document
2827−(except verbatim contexts, where `<`, `>`, and `&` are interpreted
2828−literally). (Technically this is not an extension, since standard
2829−Markdown allows it, but it has been made an extension so that it can
2830−be disabled if desired.)
2831−
2832−The raw HTML is passed through unchanged in HTML, S5, Slidy, Slideous,
2833−DZSlides, EPUB, Markdown, Emacs Org mode, and Textile output, and suppressed
2834−in other formats.
2835−
2836−#### Extension: `markdown_in_html_blocks` ####
2837−
2838−Standard Markdown allows you to include HTML "blocks": blocks
2839−of HTML between balanced tags that are separated from the surrounding text
2840−with blank lines, and start and end at the left margin. Within
2841−these blocks, everything is interpreted as HTML, not Markdown;
2842−so (for example), `*` does not signify emphasis.
2843−
2844−Pandoc behaves this way when the `markdown_strict` format is used; but
2845−by default, pandoc interprets material between HTML block tags as Markdown.
2846−Thus, for example, pandoc will turn
2847−
2848− <table>
2849− <tr>
2850− <td>*one*</td>
2851− <td>[a link](http://google.com)</td>
2852− </tr>
2853− </table>
2854−
2855−into
2856−
2857− <table>
2858− <tr>
2859− <td><em>one</em></td>
2860− <td><a href="http://google.com">a link</a></td>
2861− </tr>
2862− </table>
2863−
2864−whereas `Markdown.pl` will preserve it as is.
2865−
2866−There is one exception to this rule: text between `<script>` and
2867−`<style>` tags is not interpreted as Markdown.
2868−
2869−This departure from standard Markdown should make it easier to mix
2870−Markdown with HTML block elements. For example, one can surround
2871−a block of Markdown text with `<div>` tags without preventing it
2872−from being interpreted as Markdown.
2873−
2874−#### Extension: `native_divs` ####
2875−
2876−Use native pandoc `Div` blocks for content inside `<div>` tags.
2877−For the most part this should give the same output as
2878−`markdown_in_html_blocks`, but it makes it easier to write pandoc
2879−filters to manipulate groups of blocks.
2880−
2881−#### Extension: `native_spans` ####
2882−
2883−Use native pandoc `Span` blocks for content inside `<span>` tags.
2884−For the most part this should give the same output as `raw_html`,
2885−but it makes it easier to write pandoc filters to manipulate groups
2886−of inlines.
2887−
2888−Raw TeX
2889−-------
2890−
2891−#### Extension: `raw_tex` ####
2892−
2893−In addition to raw HTML, pandoc allows raw LaTeX, TeX, and ConTeXt to be
2894−included in a document. Inline TeX commands will be preserved and passed
2895−unchanged to the LaTeX and ConTeXt writers. Thus, for example, you can use
2896−LaTeX to include BibTeX citations:
2897−
2898− This result was proved in \cite{jones.1967}.
2899−
2900−Note that in LaTeX environments, like
2901−
2902− \begin{tabular}{|l|l|}\hline
2903− Age & Frequency \\ \hline
2904− 18--25 & 15 \\
2905− 26--35 & 33 \\
2906− 36--45 & 22 \\ \hline
2907− \end{tabular}
2908−
2909−the material between the begin and end tags will be interpreted as raw
2910−LaTeX, not as Markdown.
2911−
2912−Inline LaTeX is ignored in output formats other than Markdown, LaTeX,
2913−Emacs Org mode, and ConTeXt.
2914−
2915−LaTeX macros
2916−------------
2917−
2918−#### Extension: `latex_macros` ####
2919−
2920−For output formats other than LaTeX, pandoc will parse LaTeX `\newcommand` and
2921−`\renewcommand` definitions and apply the resulting macros to all LaTeX
2922−math. So, for example, the following will work in all output formats,
2923−not just LaTeX:
2924−
2925− \newcommand{\tuple}[1]{\langle #1 \rangle}
2926−
2927− $\tuple{a, b, c}$
2928−
2929−In LaTeX output, the `\newcommand` definition will simply be passed
2930−unchanged to the output.
2931−
2932−
2933−Links
2934−-----
2935−
2936−Markdown allows links to be specified in several ways.
2937−
2938−### Automatic links ###
2939−
2940−If you enclose a URL or email address in pointy brackets, it
2941−will become a link:
2942−
2943− <http://google.com>
2944− <sam@green.eggs.ham>
2945−
2946−### Inline links ###
2947−
2948−An inline link consists of the link text in square brackets,
2949−followed by the URL in parentheses. (Optionally, the URL can
2950−be followed by a link title, in quotes.)
2951−
2952− This is an [inline link](/url), and here's [one with
2953− a title](http://fsf.org "click here for a good time!").
2954−
2955−There can be no space between the bracketed part and the parenthesized part.
2956−The link text can contain formatting (such as emphasis), but the title cannot.
2957−
2958−Email addresses in inline links are not autodetected, so they have to be
2959−prefixed with `mailto`:
2960−
2961− [Write me!](mailto:sam@green.eggs.ham)
2962−
2963−### Reference links ###
2964−
2965−An *explicit* reference link has two parts, the link itself and the link
2966−definition, which may occur elsewhere in the document (either
2967−before or after the link).
2968−
2969−The link consists of link text in square brackets, followed by a label in
2970−square brackets. (There can be space between the two.) The link definition
2971−consists of the bracketed label, followed by a colon and a space, followed by
2972−the URL, and optionally (after a space) a link title either in quotes or in
2973−parentheses. The label must not be parseable as a citation (assuming
2974−the `citations` extension is enabled): citations take precedence over
2975−link labels.
2976−
2977−Here are some examples:
2978−
2979− [my label 1]: /foo/bar.html "My title, optional"
2980− [my label 2]: /foo
2981− [my label 3]: http://fsf.org (The free software foundation)
2982− [my label 4]: /bar#special 'A title in single quotes'
2983−
2984−The URL may optionally be surrounded by angle brackets:
2985−
2986− [my label 5]: <http://foo.bar.baz>
2987−
2988−The title may go on the next line:
2989−
2990− [my label 3]: http://fsf.org
2991− "The free software foundation"
2992−
2993−Note that link labels are not case sensitive. So, this will work:
2994−
2995− Here is [my link][FOO]
2996−
2997− [Foo]: /bar/baz
2998−
2999−In an *implicit* reference link, the second pair of brackets is
3000−empty:
3001−
3002− See [my website][].
3003−
3004− [my website]: http://foo.bar.baz
3005−
3006−Note: In `Markdown.pl` and most other Markdown implementations,
3007−reference link definitions cannot occur in nested constructions
3008−such as list items or block quotes. Pandoc lifts this arbitrary
3009−seeming restriction. So the following is fine in pandoc, though
3010−not in most other implementations:
3011−
3012− > My block [quote].
3013− >
3014− > [quote]: /foo
3015−
3016−#### Extension: `shortcut_reference_links` ####
3017−
3018−In a *shortcut* reference link, the second pair of brackets may
3019−be omitted entirely:
3020−
3021− See [my website].
3022−
3023− [my website]: http://foo.bar.baz
3024−
3025−### Internal links ###
3026−
3027−To link to another section of the same document, use the automatically
3028−generated identifier (see [Header identifiers]). For example:
3029−
3030− See the [Introduction](#introduction).
3031−
3032−or
3033−
3034− See the [Introduction].
3035−
3036− [Introduction]: #introduction
3037−
3038−Internal links are currently supported for HTML formats (including
3039−HTML slide shows and EPUB), LaTeX, and ConTeXt.
3040−
3041−Images
3042−------
3043−
3044−A link immediately preceded by a `!` will be treated as an image.
3045−The link text will be used as the image's alt text:
3046−
3047− ![la lune](lalune.jpg "Voyage to the moon")
3048−
3049− ![movie reel]
3050−
3051− [movie reel]: movie.gif
3052−
3053−#### Extension: `implicit_figures` ####
3054−
3055−An image occurring by itself in a paragraph will be rendered as
3056−a figure with a caption.[^5] (In LaTeX, a figure environment will be
3057−used; in HTML, the image will be placed in a `div` with class
3058−`figure`, together with a caption in a `p` with class `caption`.)
3059−The image's alt text will be used as the caption.
3060−
3061− ![This is the caption](/url/of/image.png)
3062−
3063−[^5]: This feature is not yet implemented for RTF, OpenDocument, or
3064− ODT. In those formats, you'll just get an image in a paragraph by
3065− itself, with no caption.
3066−
3067−If you just want a regular inline image, just make sure it is not
3068−the only thing in the paragraph. One way to do this is to insert a
3069−nonbreaking space after the image:
3070−
3071− ![This image won't be a figure](/url/of/image.png)\
3072−
3073−#### Extension: `link_attributes` ####
3074−
3075−Attributes can be set on links and images:
3076−
3077− An inline ![image](foo.jpg){#id .class width=30 height=20px}
3078− and a reference ![image][ref] with attributes.
3079−
3080− [ref]: foo.jpg "optional title" {#id .class key=val key2="val 2"}
3081−
3082−(This syntax is compatible with [PHP Markdown Extra] when only `#id`
3083−and `.class` are used.)
3084−
3085−For HTML and EPUB, all attributes except `width` and `height` (but
3086−including `srcset` and `sizes`) are passed through as is. The other
3087−writers ignore attributes that are not supported by their output
3088−format.
3089−
3090−The `width` and `height` attributes on images are treated specially. When
3091−used without a unit, the unit is assumed to be pixels. However, any of
3092−the following unit identifiers can be used: `px`, `cm`, `mm`, `in`, `inch`
3093−and `%`. There must not be any spaces between the number and the unit.
3094−For example:
3095−
3096−```
3097−![](file.jpg){ width=50% }
3098−```
3099−
3100−- Dimensions are converted to inches for output in page-based formats like
3101− LaTeX. Dimensions are converted to pixels for output in HTML-like
3102− formats. Use the `--dpi` option to specify the number of pixels per
3103− inch. The default is 96dpi.
3104−- The `%` unit is generally relative to some available space.
3105− For example the above example will render to
3106− `<img href="file.jpg" style="width: 50%;" />` (HTML),
3107− `\includegraphics[width=0.5\textwidth]{file.jpg}` (LaTeX), or
3108− `\externalfigure[file.jpg][width=0.5\textwidth]` (ConTeXt).
3109−- Some output formats have a notion of a class
3110− ([ConTeXt](http://wiki.contextgarden.net/Using_Graphics#Multiple_Image_Settings))
3111− or a unique identifier (LaTeX `\caption`), or both (HTML).
3112−- When no `width` or `height` attributes are specified, the fallback
3113− is to look at the image resolution and the dpi metadata embedded in
3114− the image file.
3115−
3116−Spans
3117−-----
3118−
3119−#### Extension: `bracketed_spans` ####
3120−
3121−A bracketed sequence of inlines, as one would use to begin
3122−a link, will be treated as a span with attributes if it is
3123−followed immediately by attributes:
3124−
3125− [This is *some text*]{.class key="val"}
3126−
3127−Footnotes
3128−---------
3129−
3130−#### Extension: `footnotes` ####
3131−
3132−Pandoc's Markdown allows footnotes, using the following syntax:
3133−
3134− Here is a footnote reference,[^1] and another.[^longnote]
3135−
3136− [^1]: Here is the footnote.
3137−
3138− [^longnote]: Here's one with multiple blocks.
3139−
3140− Subsequent paragraphs are indented to show that they
3141− belong to the previous footnote.
3142−
3143− { some.code }
3144−
3145− The whole paragraph can be indented, or just the first
3146− line. In this way, multi-paragraph footnotes work like
3147− multi-paragraph list items.
3148−
3149− This paragraph won't be part of the note, because it
3150− isn't indented.
3151−
3152−The identifiers in footnote references may not contain spaces, tabs,
3153−or newlines. These identifiers are used only to correlate the
3154−footnote reference with the note itself; in the output, footnotes
3155−will be numbered sequentially.
3156−
3157−The footnotes themselves need not be placed at the end of the
3158−document. They may appear anywhere except inside other block elements
3159−(lists, block quotes, tables, etc.). Each footnote should be
3160−separated from surrounding content (including other footnotes)
3161−by blank lines.
3162−
3163−#### Extension: `inline_notes` ####
3164−
3165−Inline footnotes are also allowed (though, unlike regular notes,
3166−they cannot contain multiple paragraphs). The syntax is as follows:
3167−
3168− Here is an inline note.^[Inlines notes are easier to write, since
3169− you don't have to pick an identifier and move down to type the
3170− note.]
3171−
3172−Inline and regular footnotes may be mixed freely.
3173−
3174−Typography
3175−----------
3176−
3177−#### Extension: `smart` ####
3178−
3179−Interpret straight quotes as curly quotes, `---` as em-dashes,
3180−`--` as en-dashes, and `...` as ellipses. Nonbreaking spaces are
3181−inserted after certain abbreviations, such as "Mr." This
3182−option currently affects the input formats `markdown`,
3183−`commonmark`, `latex`, `mediawiki`, `org`, `rst`, and `twiki`,
3184−and the output formats `markdown`, `latex`, and `context`.
3185−
3186−Note: If you are *writing* Markdown, then the `smart` extension
3187−has the reverse effect: what would have been curly quotes comes
3188−out straight.
3189−
3190−In LaTeX, `smart` means to use the standard TeX ligatures
3191−for quotation marks (` `` ` and ` '' ` for double quotes,
3192−`` ` `` and `` ' `` for single quotes) and dashes (`--` for
3193−en-dash and `---` for em-dash). If `smart` is disabled,
3194−then in reading LaTeX pandoc will parse these characters
3195−literally. In writing LaTeX, enabling `smart` tells pandoc
3196−to use the ligatures when possible; if `smart` is disabled
3197−pandoc will use unicode quotation mark and dash characters.
3198−
3199−Citations
3200−---------
3201−
3202−#### Extension: `citations` ####
3203−
3204−Using an external filter, `pandoc-citeproc`, pandoc can automatically generate
3205−citations and a bibliography in a number of styles. Basic usage is
3206−
3207− pandoc --filter pandoc-citeproc myinput.txt
3208−
3209−In order to use this feature, you will need to specify a bibliography file
3210−using the `bibliography` metadata field in a YAML metadata section, or
3211−`--bibliography` command line argument. You can supply multiple `--bibliography`
3212−arguments or set `bibliography` metadata field to YAML array, if you want to
3213−use multiple bibliography files. The bibliography may have any of these
3214−formats:
3215−
3216− Format File extension
3217− ------------ --------------
3218− BibLaTeX .bib
3219− BibTeX .bibtex
3220− Copac .copac
3221− CSL JSON .json
3222− CSL YAML .yaml
3223− EndNote .enl
3224− EndNote XML .xml
3225− ISI .wos
3226− MEDLINE .medline
3227− MODS .mods
3228− RIS .ris
3229−
3230−Note that `.bib` can be used with both BibTeX and BibLaTeX files;
3231−use `.bibtex` to force BibTeX.
3232−
3233−Note that `pandoc-citeproc --bib2json` and `pandoc-citeproc --bib2yaml`
3234−can produce `.json` and `.yaml` files from any of the supported formats.
3235−
3236−In-field markup: In BibTeX and BibLaTeX databases, pandoc-citeproc parses
3237−a subset of LaTeX markup; in CSL YAML databases, pandoc Markdown; and in CSL JSON databases, an [HTML-like markup][CSL markup specs]:
3238−
3239−`<i>...</i>`
3240−: italics
3241−
3242−`<b>...</b>`
3243−: bold
3244−
3245−`<span style="font-variant:small-caps;">...</span>` or `<sc>...</sc>`
3246−: small capitals
3247−
3248−`<sub>...</sub>`
3249−: subscript
3250−
3251−`<sup>...</sup>`
3252−: superscript
3253−
3254−`<span class="nocase">...</span>`
3255−: prevent a phrase from being capitalized as title case
3256−
3257−`pandoc-citeproc -j` and `-y` interconvert the CSL JSON
3258−and CSL YAML formats as far as possible.
3259−
3260−As an alternative to specifying a bibliography file using `--bibliography`
3261−or the YAML metadata field `bibliography`, you can include
3262−the citation data directly in the `references` field of the
3263−document's YAML metadata. The field should contain an array of
3264−YAML-encoded references, for example:
3265−
3266− ---
3267− references:
3268− - type: article-journal
3269− id: WatsonCrick1953
3270− author:
3271− - family: Watson
3272− given: J. D.
3273− - family: Crick
3274− given: F. H. C.
3275− issued:
3276− date-parts:
3277− - - 1953
3278− - 4
3279− - 25
3280− title: 'Molecular structure of nucleic acids: a structure for deoxyribose
3281− nucleic acid'
3282− title-short: Molecular structure of nucleic acids
3283− container-title: Nature
3284− volume: 171
3285− issue: 4356
3286− page: 737-738
3287− DOI: 10.1038/171737a0
3288− URL: http://www.nature.com/nature/journal/v171/n4356/abs/171737a0.html
3289− language: en-GB
3290− ...
3291−
3292−(`pandoc-citeproc --bib2yaml` can produce these from a bibliography file in one
3293−of the supported formats.)
3294−
3295−Citations and references can be formatted using any style supported by the
3296−[Citation Style Language], listed in the [Zotero Style Repository].
3297−These files are specified using the `--csl` option or the `csl` metadata field.
3298−By default, `pandoc-citeproc` will use the [Chicago Manual of Style] author-date
3299−format. The CSL project provides further information on [finding and editing styles].
3300−
3301−To make your citations hyperlinks to the corresponding bibliography
3302−entries, add `link-citations: true` to your YAML metadata.
3303−
3304−Citations go inside square brackets and are separated by semicolons.
3305−Each citation must have a key, composed of '@' + the citation
3306−identifier from the database, and may optionally have a prefix,
3307−a locator, and a suffix. The citation key must begin with a letter, digit,
3308−or `_`, and may contain alphanumerics, `_`, and internal punctuation
3309−characters (`:.#$%&-+?<>~/`). Here are some examples:
3310−
3311− Blah blah [see @doe99, pp. 33-35; also @smith04, chap. 1].
3312−
3313− Blah blah [@doe99, pp. 33-35, 38-39 and *passim*].
3314−
3315− Blah blah [@smith04; @doe99].
3316−
3317−`pandoc-citeproc` detects locator terms in the [CSL locale files].
3318−Either abbreviated or unabbreviated forms are accepted. In the `en-US`
3319−locale, locator terms can be written in either singular or plural forms,
3320−as `book`, `bk.`/`bks.`; `chapter`, `chap.`/`chaps.`; `column`,
3321−`col.`/`cols.`; `figure`, `fig.`/`figs.`; `folio`, `fol.`/`fols.`;
3322−`number`, `no.`/`nos.`; `line`, `l.`/`ll.`; `note`, `n.`/`nn.`; `opus`,
3323−`op.`/`opp.`; `page`, `p.`/`pp.`; `paragraph`, `para.`/`paras.`; `part`,
3324−`pt.`/`pts.`; `section`, `sec.`/`secs.`; `sub verbo`, `s.v.`/`s.vv.`;
3325−`verse`, `v.`/`vv.`; `volume`, `vol.`/`vols.`; `¶`/`¶¶`; `§`/`§§`. If no
3326−locator term is used, "page" is assumed.
3327−
3328−A minus sign (`-`) before the `@` will suppress mention of
3329−the author in the citation. This can be useful when the
3330−author is already mentioned in the text:
3331−
3332− Smith says blah [-@smith04].
3333−
3334−You can also write an in-text citation, as follows:
3335−
3336− @smith04 says blah.
3337−
3338− @smith04 [p. 33] says blah.
3339−
3340−If the style calls for a list of works cited, it will be placed
3341−at the end of the document. Normally, you will want to end your
3342−document with an appropriate header:
3343−
3344− last paragraph...
3345−
3346− # References
3347−
3348−The bibliography will be inserted after this header. Note that
3349−the `unnumbered` class will be added to this header, so that the
3350−section will not be numbered.
3351−
3352−If you want to include items in the bibliography without actually
3353−citing them in the body text, you can define a dummy `nocite` metadata
3354−field and put the citations there:
3355−
3356− ---
3357− nocite: |
3358− @item1, @item2
3359− ...
3360−
3361− @item3
3362−
3363−In this example, the document will contain a citation for `item3`
3364−only, but the bibliography will contain entries for `item1`, `item2`, and
3365−`item3`.
3366−
3367−It is possible to create a bibliography with all the citations,
3368−whether or not they appear in the document, by using a wildcard:
3369−
3370− ---
3371− nocite: |
3372− @*
3373− ...
3374−
3375−For LaTeX or PDF output, you can also use [`natbib`] or [`biblatex`]
3376−to render bibliography. In order to do so, specify bibliography files as
3377−outlined above, and add `--natbib` or `--biblatex` argument to `pandoc`
3378−invocation. Bear in mind that bibliography files have to be in respective
3379−format (either BibTeX or BibLaTeX).
3380−
3381−For more information, see the [pandoc-citeproc man page].
3382−
3383−[CSL markup specs]: http://docs.citationstyles.org/en/1.0/release-notes.html#rich-text-markup-within-fields
3384−[Chicago Manual of Style]: http://chicagomanualofstyle.org
3385−[Citation Style Language]: http://citationstyles.org
3386−[Zotero Style Repository]: https://www.zotero.org/styles
3387−[finding and editing styles]: http://citationstyles.org/styles/
3388−[CSL locale files]: https://github.com/citation-style-language/locales
3389−[pandoc-citeproc man page]: https://github.com/jgm/pandoc-citeproc/blob/master/man/pandoc-citeproc.1.md
3390−
3391−Non-pandoc extensions
3392−---------------------
3393−
3394−The following Markdown syntax extensions are not enabled by default
3395−in pandoc, but may be enabled by adding `+EXTENSION` to the format
3396−name, where `EXTENSION` is the name of the extension. Thus, for
3397−example, `markdown+hard_line_breaks` is Markdown with hard line breaks.
3398−
3399−#### Extension: `old_dashes` ####
3400−
3401−Selects the pandoc <= 1.8.2.1 behavior for parsing smart dashes:
3402−`-` before a numeral is an en-dash, and `--` is an em-dash.
3403−This option only has an effect if `smart` is enabled. It is
3404−selected automatically for `textile` input.
3405−
3406−#### Extension: `angle_brackets_escapable` ####
3407−
3408−Allow `<` and `>` to be backslash-escaped, as they can be in
3409−GitHub flavored Markdown but not original Markdown. This is
3410−implied by pandoc's default `all_symbols_escapable`.
3411−
3412−#### Extension: `lists_without_preceding_blankline` ####
3413−
3414−Allow a list to occur right after a paragraph, with no intervening
3415−blank space.
3416−
3417−#### Extension: `hard_line_breaks` ####
3418−
3419−Causes all newlines within a paragraph to be interpreted as hard line
3420−breaks instead of spaces.
3421−
3422−#### Extension: `ignore_line_breaks` ####
3423−
3424−Causes newlines within a paragraph to be ignored, rather than being
3425−treated as spaces or as hard line breaks. This option is intended for
3426−use with East Asian languages where spaces are not used between words,
3427−but text is divided into lines for readability.
3428−
3429−#### Extension: `east_asian_line_breaks` ####
3430−
3431−Causes newlines within a paragraph to be ignored, rather than
3432−being treated as spaces or as hard line breaks, when they occur
3433−between two East Asian wide characters. This is a better choice
3434−than `ignore_line_breaks` for texts that include a mix of East
3435−Asian wide characters and other characters.
3436−
3437−##### Extension: `emoji` ####
3438−
3439−Parses textual emojis like `:smile:` as Unicode emoticons.
3440−
3441−#### Extension: `tex_math_single_backslash` ####
3442−
3443−Causes anything between `\(` and `\)` to be interpreted as inline
3444−TeX math, and anything between `\[` and `\]` to be interpreted
3445−as display TeX math. Note: a drawback of this extension is that
3446−it precludes escaping `(` and `[`.
3447−
3448−#### Extension: `tex_math_double_backslash` ####
3449−
3450−Causes anything between `\\(` and `\\)` to be interpreted as inline
3451−TeX math, and anything between `\\[` and `\\]` to be interpreted
3452−as display TeX math.
3453−
3454−#### Extension: `markdown_attribute` ####
3455−
3456−By default, pandoc interprets material inside block-level tags as Markdown.
3457−This extension changes the behavior so that Markdown is only parsed
3458−inside block-level tags if the tags have the attribute `markdown=1`.
3459−
3460−#### Extension: `mmd_title_block` ####
3461−
3462−Enables a [MultiMarkdown] style title block at the top of
3463−the document, for example:
3464−
3465− Title: My title
3466− Author: John Doe
3467− Date: September 1, 2008
3468− Comment: This is a sample mmd title block, with
3469− a field spanning multiple lines.
3470−
3471−See the MultiMarkdown documentation for details. If `pandoc_title_block` or
3472−`yaml_metadata_block` is enabled, it will take precedence over
3473−`mmd_title_block`.
3474−
3475−#### Extension: `abbreviations` ####
3476−
3477−Parses PHP Markdown Extra abbreviation keys, like
3478−
3479− *[HTML]: Hypertext Markup Language
3480−
3481−Note that the pandoc document model does not support
3482−abbreviations, so if this extension is enabled, abbreviation keys are
3483−simply skipped (as opposed to being parsed as paragraphs).
3484−
3485−#### Extension: `autolink_bare_uris` ####
3486−
3487−Makes all absolute URIs into links, even when not surrounded by
3488−pointy braces `<...>`.
3489−
3490−#### Extension: `ascii_identifiers` ####
3491−
3492−Causes the identifiers produced by `auto_identifiers` to be pure ASCII.
3493−Accents are stripped off of accented Latin letters, and non-Latin
3494−letters are omitted.
3495−
3496−#### Extension: `mmd_link_attributes` ####
3497−
3498−Parses multimarkdown style key-value attributes on link
3499−and image references. This extension should not be confused with the
3500−[`link_attributes`](#extension-link_attributes) extension.
3501−
3502− This is a reference ![image][ref] with multimarkdown attributes.
3503−
3504− [ref]: http://path.to/image "Image title" width=20px height=30px
3505− id=myId class="myClass1 myClass2"
3506−
3507−#### Extension: `mmd_header_identifiers` ####
3508−
3509−Parses multimarkdown style header identifiers (in square brackets,
3510−after the header but before any trailing `#`s in an ATX header).
3511−
3512−#### Extension: `compact_definition_lists` ####
3513−
3514−Activates the definition list syntax of pandoc 1.12.x and earlier.
3515−This syntax differs from the one described above under [Definition lists]
3516−in several respects:
3517−
3518− - No blank line is required between consecutive items of the
3519− definition list.
3520− - To get a "tight" or "compact" list, omit space between consecutive
3521− items; the space between a term and its definition does not affect
3522− anything.
3523− - Lazy wrapping of paragraphs is not allowed: the entire definition must
3524− be indented four spaces.[^6]
3525−
3526−[^6]: To see why laziness is incompatible with relaxing the requirement
3527− of a blank line between items, consider the following example:
3528−
3529− bar
3530− : definition
3531− foo
3532− : definition
3533−
3534− Is this a single list item with two definitions of "bar," the first of
3535− which is lazily wrapped, or two list items? To remove the ambiguity
3536− we must either disallow lazy wrapping or require a blank line between
3537− list items.
3538−
3539−Markdown variants
3540−-----------------
3541−
3542−In addition to pandoc's extended Markdown, the following Markdown
3543−variants are supported:
3544−
3545−`markdown_phpextra` (PHP Markdown Extra)
3546−: `footnotes`, `pipe_tables`, `raw_html`, `markdown_attribute`,
3547− `fenced_code_blocks`, `definition_lists`, `intraword_underscores`,
3548− `header_attributes`, `link_attributes`, `abbreviations`,
3549− `shortcut_reference_links`.
3550−
3551−`markdown_github` (GitHub-Flavored Markdown)
3552−: `pipe_tables`, `raw_html`, `fenced_code_blocks`, `auto_identifiers`,
3553− `ascii_identifiers`, `backtick_code_blocks`, `autolink_bare_uris`,
3554− `intraword_underscores`, `strikeout`, `hard_line_breaks`, `emoji`,
3555− `shortcut_reference_links`, `angle_brackets_escapable`.
3556−
3557−`markdown_mmd` (MultiMarkdown)
3558−: `pipe_tables`, `raw_html`, `markdown_attribute`, `mmd_link_attributes`,
3559− `tex_math_double_backslash`, `intraword_underscores`,
3560− `mmd_title_block`, `footnotes`, `definition_lists`,
3561− `all_symbols_escapable`, `implicit_header_references`,
3562− `auto_identifiers`, `mmd_header_identifiers`,
3563− `shortcut_reference_links`.
3564−
3565−`markdown_strict` (Markdown.pl)
3566−: `raw_html`
3567−
3568−Extensions with formats other than Markdown
3569−-------------------------------------------
3570−
3571−Some of the extensions discussed above can be used with formats
3572−other than Markdown:
3573−
3574−* `auto_identifiers` can be used with `latex`, `rst`, `mediawiki`,
3575− and `textile` input (and is used by default).
3576−
3577−* `tex_math_dollars`, `tex_math_single_backslash`, and
3578− `tex_math_double_backslash` can be used with `html` input.
3579− (This is handy for reading web pages formatted using MathJax,
3580− for example.)
3581−
3582−Producing slide shows with pandoc
3583−=================================
3584−
3585−You can use pandoc to produce an HTML + JavaScript slide presentation
3586−that can be viewed via a web browser. There are five ways to do this,
3587−using [S5], [DZSlides], [Slidy], [Slideous], or [reveal.js].
3588−You can also produce a PDF slide show using LaTeX [`beamer`].
3589−
3590−Here's the Markdown source for a simple slide show, `habits.txt`:
3591−
3592− % Habits
3593− % John Doe
3594− % March 22, 2005
3595−
3596− # In the morning
3597−
3598− ## Getting up
3599−
3600− - Turn off alarm
3601− - Get out of bed
3602−
3603− ## Breakfast
3604−
3605− - Eat eggs
3606− - Drink coffee
3607−
3608− # In the evening
3609−
3610− ## Dinner
3611−
3612− - Eat spaghetti
3613− - Drink wine
3614−
3615− ------------------
3616−
3617− ![picture of spaghetti](images/spaghetti.jpg)
3618−
3619− ## Going to sleep
3620−
3621− - Get in bed
3622− - Count sheep
3623−
3624−To produce an HTML/JavaScript slide show, simply type
3625−
3626− pandoc -t FORMAT -s habits.txt -o habits.html
3627−
3628−where `FORMAT` is either `s5`, `slidy`, `slideous`, `dzslides`, or `revealjs`.
3629−
3630−For Slidy, Slideous, reveal.js, and S5, the file produced by pandoc with the
3631−`-s/--standalone` option embeds a link to JavaScript and CSS files, which are
3632−assumed to be available at the relative path `s5/default` (for S5), `slideous`
3633−(for Slideous), `reveal.js` (for reveal.js), or at the Slidy website at
3634−`w3.org` (for Slidy). (These paths can be changed by setting the `slidy-url`,
3635−`slideous-url`, `revealjs-url`, or `s5-url` variables; see [Variables for slides],
3636−above.) For DZSlides, the (relatively short) JavaScript and CSS are included in
3637−the file by default.
3638−
3639−With all HTML slide formats, the `--self-contained` option can be used to
3640−produce a single file that contains all of the data necessary to display the
3641−slide show, including linked scripts, stylesheets, images, and videos.
3642−
3643−To produce a PDF slide show using beamer, type
3644−
3645− pandoc -t beamer habits.txt -o habits.pdf
3646−
3647−Note that a reveal.js slide show can also be converted to a PDF
3648−by printing it to a file from the browser.
3649−
3650−Structuring the slide show
3651−--------------------------
3652−
3653−By default, the *slide level* is the highest header level in
3654−the hierarchy that is followed immediately by content, and not another
3655−header, somewhere in the document. In the example above, level 1 headers
3656−are always followed by level 2 headers, which are followed by content,
3657−so 2 is the slide level. This default can be overridden using
3658−the `--slide-level` option.
3659−
3660−The document is carved up into slides according to the following
3661−rules:
3662−
3663− * A horizontal rule always starts a new slide.
3664−
3665− * A header at the slide level always starts a new slide.
3666−
3667− * Headers *below* the slide level in the hierarchy create
3668− headers *within* a slide.
3669−
3670− * Headers *above* the slide level in the hierarchy create
3671− "title slides," which just contain the section title
3672− and help to break the slide show into sections.
3673−
3674− * A title page is constructed automatically from the document's title
3675− block, if present. (In the case of beamer, this can be disabled
3676− by commenting out some lines in the default template.)
3677−
3678−These rules are designed to support many different styles of slide show. If
3679−you don't care about structuring your slides into sections and subsections,
3680−you can just use level 1 headers for all each slide. (In that case, level 1
3681−will be the slide level.) But you can also structure the slide show into
3682−sections, as in the example above.
3683−
3684−Note: in reveal.js slide shows, if slide level is 2, a two-dimensional
3685−layout will be produced, with level 1 headers building horizontally
3686−and level 2 headers building vertically. It is not recommended that
3687−you use deeper nesting of section levels with reveal.js.
3688−
3689−Incremental lists
3690−-----------------
3691−
3692−By default, these writers produce lists that display "all at once."
3693−If you want your lists to display incrementally (one item at a time),
3694−use the `-i` option. If you want a particular list to depart from the
3695−default (that is, to display incrementally without the `-i` option and
3696−all at once with the `-i` option), put it in a block quote:
3697−
3698− > - Eat spaghetti
3699− > - Drink wine
3700−
3701−In this way incremental and nonincremental lists can be mixed in
3702−a single document.
3703−
3704−Inserting pauses
3705−----------------
3706−
3707−You can add "pauses" within a slide by including a paragraph containing
3708−three dots, separated by spaces:
3709−
3710− # Slide with a pause
3711−
3712− content before the pause
3713−
3714− . . .
3715−
3716− content after the pause
3717−
3718−Styling the slides
3719−------------------
3720−
3721−You can change the style of HTML slides by putting customized CSS files
3722−in `$DATADIR/s5/default` (for S5), `$DATADIR/slidy` (for Slidy),
3723−or `$DATADIR/slideous` (for Slideous),
3724−where `$DATADIR` is the user data directory (see `--data-dir`, above).
3725−The originals may be found in pandoc's system data directory (generally
3726−`$CABALDIR/pandoc-VERSION/s5/default`). Pandoc will look there for any
3727−files it does not find in the user data directory.
3728−
3729−For dzslides, the CSS is included in the HTML file itself, and may
3730−be modified there.
3731−
3732−All [reveal.js configuration options] can be set through variables.
3733−For example, themes can be used by setting the `theme` variable:
3734−
3735− -V theme=moon
3736−
3737−Or you can specify a custom stylesheet using the `--css` option.
3738−
3739−To style beamer slides, you can specify a `theme`, `colortheme`,
3740−`fonttheme`, `innertheme`, and `outertheme`, using the `-V` option:
3741−
3742− pandoc -t beamer habits.txt -V theme:Warsaw -o habits.pdf
3743−
3744−Note that header attributes will turn into slide attributes
3745−(on a `<div>` or `<section>`) in HTML slide formats, allowing you
3746−to style individual slides. In beamer, the only header attribute
3747−that affects slides is the `allowframebreaks` class, which sets the
3748−`allowframebreaks` option, causing multiple slides to be created
3749−if the content overfills the frame. This is recommended especially for
3750−bibliographies:
3751−
3752− # References {.allowframebreaks}
3753−
3754−Speaker notes
3755−-------------
3756−
3757−reveal.js has good support for speaker notes. You can add notes to your
3758−Markdown document thus:
3759−
3760− <div class="notes">
3761− This is my note.
3762−
3763− - It can contain Markdown
3764− - like this list
3765−
3766− </div>
3767−
3768−To show the notes window, press `s` while viewing the presentation.
3769−Notes are not yet supported for other slide formats, but the notes
3770−will not appear on the slides themselves.
3771−
3772−Frame attributes in beamer
3773−--------------------------
3774−
3775−Sometimes it is necessary to add the LaTeX `[fragile]` option to
3776−a frame in beamer (for example, when using the `minted` environment).
3777−This can be forced by adding the `fragile` class to the header
3778−introducing the slide:
3779−
3780− # Fragile slide {.fragile}
3781−
3782−All of the other frame attributes described in Section 8.1 of
3783−the [Beamer User's Guide] may also be used: `allowdisplaybreaks`,
3784−`allowframebreaks`, `b`, `c`, `t`, `environment`, `label`, `plain`,
3785−`shrink`.
3786−
3787−Creating EPUBs with pandoc
3788−==========================
3789−
3790−EPUB Metadata
3791−-------------
3792−
3793−EPUB metadata may be specified using the `--epub-metadata` option, but
3794−if the source document is Markdown, it is better to use a [YAML metadata
3795−block][Extension: `yaml_metadata_block`]. Here is an example:
3796−
3797− ---
3798− title:
3799− - type: main
3800− text: My Book
3801− - type: subtitle
3802− text: An investigation of metadata
3803− creator:
3804− - role: author
3805− text: John Smith
3806− - role: editor
3807− text: Sarah Jones
3808− identifier:
3809− - scheme: DOI
3810− text: doi:10.234234.234/33
3811− publisher: My Press
3812− rights: © 2007 John Smith, CC BY-NC
3813− ...
3814−
3815−The following fields are recognized:
3816−
3817−`identifier`
3818− ~ Either a string value or an object with fields `text` and
3819− `scheme`. Valid values for `scheme` are `ISBN-10`,
3820− `GTIN-13`, `UPC`, `ISMN-10`, `DOI`, `LCCN`, `GTIN-14`,
3821− `ISBN-13`, `Legal deposit number`, `URN`, `OCLC`,
3822− `ISMN-13`, `ISBN-A`, `JP`, `OLCC`.
3823−
3824−`title`
3825− ~ Either a string value, or an object with fields `file-as` and
3826− `type`, or a list of such objects. Valid values for `type` are
3827− `main`, `subtitle`, `short`, `collection`, `edition`, `extended`.
3828−
3829−`creator`
3830− ~ Either a string value, or an object with fields `role`, `file-as`,
3831− and `text`, or a list of such objects. Valid values for `role` are
3832− [MARC relators], but
3833− pandoc will attempt to translate the human-readable versions
3834− (like "author" and "editor") to the appropriate marc relators.
3835−
3836−`contributor`
3837− ~ Same format as `creator`.
3838−
3839−`date`
3840− ~ A string value in `YYYY-MM-DD` format. (Only the year is necessary.)
3841− Pandoc will attempt to convert other common date formats.
3842−
3843−`lang` (or legacy: `language`)
3844− ~ A string value in [BCP 47] format. Pandoc will default to the local
3845− language if nothing is specified.
3846−
3847−`subject`
3848− ~ A string value or a list of such values.
3849−
3850−`description`
3851− ~ A string value.
3852−
3853−`type`
3854− ~ A string value.
3855−
3856−`format`
3857− ~ A string value.
3858−
3859−`relation`
3860− ~ A string value.
3861−
3862−`coverage`
3863− ~ A string value.
3864−
3865−`rights`
3866− ~ A string value.
3867−
3868−`cover-image`
3869− ~ A string value (path to cover image).
3870−
3871−`stylesheet`
3872− ~ A string value (path to CSS stylesheet).
3873−
3874−`page-progression-direction`
3875− ~ Either `ltr` or `rtl`. Specifies the `page-progression-direction`
3876− attribute for the [`spine` element].
3877−
3878−[MARC relators]: http://loc.gov/marc/relators/relaterm.html
3879−[`spine` element]: http://idpf.org/epub/301/spec/epub-publications.html#sec-spine-elem
3880−
3881−Linked media
3882−------------
3883−
3884−By default, pandoc will download linked media (including audio and
3885−video) and include it in the EPUB container, yielding a completely
3886−self-contained EPUB. If you want to link to external media resources
3887−instead, use raw HTML in your source and add `data-external="1"` to the tag
3888−with the `src` attribute. For example:
3889−
3890− <audio controls="1">
3891− <source src="http://example.com/music/toccata.mp3"
3892− data-external="1" type="audio/mpeg">
3893− </source>
3894− </audio>
3895−
3896−Literate Haskell support
3897−========================
3898−
3899−If you append `+lhs` (or `+literate_haskell`) to an appropriate input or output
3900−format (`markdown`, `markdown_strict`, `rst`, or `latex` for input or output;
3901−`beamer`, `html4` or `html5` for output only), pandoc will treat the document as
3902−literate Haskell source. This means that
3903−
3904− - In Markdown input, "bird track" sections will be parsed as Haskell
3905− code rather than block quotations. Text between `\begin{code}`
3906− and `\end{code}` will also be treated as Haskell code. For
3907− ATX-style headers the character '=' will be used instead of '#'.
3908−
3909− - In Markdown output, code blocks with classes `haskell` and `literate`
3910− will be rendered using bird tracks, and block quotations will be
3911− indented one space, so they will not be treated as Haskell code.
3912− In addition, headers will be rendered setext-style (with underlines)
3913− rather than ATX-style (with '#' characters). (This is because ghc
3914− treats '#' characters in column 1 as introducing line numbers.)
3915−
3916− - In restructured text input, "bird track" sections will be parsed
3917− as Haskell code.
3918−
3919− - In restructured text output, code blocks with class `haskell` will
3920− be rendered using bird tracks.
3921−
3922− - In LaTeX input, text in `code` environments will be parsed as
3923− Haskell code.
3924−
3925− - In LaTeX output, code blocks with class `haskell` will be rendered
3926− inside `code` environments.
3927−
3928− - In HTML output, code blocks with class `haskell` will be rendered
3929− with class `literatehaskell` and bird tracks.
3930−
3931−Examples:
3932−
3933− pandoc -f markdown+lhs -t html
3934−
3935−reads literate Haskell source formatted with Markdown conventions and writes
3936−ordinary HTML (without bird tracks).
3937−
3938− pandoc -f markdown+lhs -t html+lhs
3939−
3940−writes HTML with the Haskell code in bird tracks, so it can be copied
3941−and pasted as literate Haskell source.
3942−
3943−Note that GHC expects the bird tracks in the first column, so indentend literate
3944−code blocks (e.g. inside an itemized environment) will not be picked up by the
3945−Haskell compiler.
3946−
3947−Syntax highlighting
3948−===================
3949−
3950−Pandoc will automatically highlight syntax in [fenced code blocks] that
3951−are marked with a language name. The Haskell library [highlighting-kate] is
3952−used for highlighting, which works in HTML, Docx, and LaTeX/PDF output.
3953−To see a list of language names that pandoc will recognize, type
3954−`pandoc --list-highlight-languages`.
3955−
3956−The color scheme can be selected using the `--highlight-style` option.
3957−The default color scheme is `pygments`, which imitates the default color
3958−scheme used by the Python library pygments (though pygments is not actually
3959−used to do the highlighting). To see a list of highlight styles,
3960−type `pandoc --list-highlight-styles`.
3961−
3962−To disable highlighting, use the `--no-highlight` option.
3963−
3964−[highlighting-kate]: https://github.com/jgm/highlighting-kate
3965−
3966−Custom Styles in Docx Output
3967−============================
3968−
3969−By default, pandoc's docx output applies a predefined set of styles for
3970−blocks such as paragraphs and block quotes, and uses largely default
3971−formatting (italics, bold) for inlines. This will work for most
3972−purposes, especially alongside a `reference.docx` file. However, if you
3973−need to apply your own styles to blocks, or match a preexisting set of
3974−styles, pandoc allows you to define custom styles for blocks and text
3975−using `div`s and `span`s, respectively.
3976−
3977−If you define a `div` or `span` with the attribute `custom-style`,
3978−pandoc will apply your specified style to the contained elements. So,
3979−for example,
3980−
3981− <span custom-style="Emphatically">Get out,</span> he said.
3982−
3983−would produce a docx file with "Get out," styled with character
3984−style `Emphatically`. Similarly,
3985−
3986− Dickinson starts the poem simply:
3987−
3988− <div custom-style="Poetry">
3989− | A Bird came down the Walk---
3990− | He did not know I saw---
3991− </div>
3992−
3993−would style the two contained lines with the `Poetry` paragraph style.
3994−
3995−If the styles are not yet in your reference.docx, they will be defined
3996−in the output file as inheriting from normal text. If they are already
3997−defined, pandoc will not alter the definition.
3998−
3999−This feature allows for greatest customization in conjunction with
4000−[pandoc filters]. If you want all paragraphs after block quotes to be
4001−indented, you can write a filter to apply the styles necessary. If you
4002−want all italics to be transformed to the `Emphasis` character style
4003−(perhaps to change their color), you can write a filter which will
4004−transform all italicized inlines to inlines within an `Emphasis`
4005−custom-style `span`.
4006−
4007−[pandoc filters]: http://pandoc.org/scripting.html
4008−
4009−Custom writers
4010−==============
4011−
4012−Pandoc can be extended with custom writers written in [lua]. (Pandoc
4013−includes a lua interpreter, so lua need not be installed separately.)
4014−
4015−To use a custom writer, simply specify the path to the lua script
4016−in place of the output format. For example:
4017−
4018− pandoc -t data/sample.lua
4019−
4020−Creating a custom writer requires writing a lua function for each
4021−possible element in a pandoc document. To get a documented example
4022−which you can modify according to your needs, do
4023−
4024− pandoc --print-default-data-file sample.lua
4025−
4026−[lua]: http://www.lua.org
4027−
4028−Authors
4029−=======
4030−
4031−© 2006-2016 John MacFarlane (jgm@berkeley.edu). Released under the
4032−[GPL], version 2 or greater. This software carries no warranty of
4033−any kind. (See COPYRIGHT for full copyright and warranty notices.)
4034−
4035−Contributors include
4036−Arata Mizuki,
4037−Aaron Wolen,
4038−Albert Krewinkel,
4039−Alex Ivkin,
4040−Alex Vong,
4041−Alexander Kondratskiy,
4042−Alexander Sulfrian,
4043−Alexander V Vershilov,
4044−Alfred Wechselberger,
4045−Andreas Lööw,
4046−Andrew Dunning,
4047−Antoine Latter,
4048−Arata Mizuki,
4049−Arlo O'Keeffe,
4050−Artyom Kazak,
4051−B. Scott Michel,
4052−Ben Gamari,
4053−Beni Cherniavsky-Paskin,
4054−Benoit Schweblin,
4055−Bjorn Buckwalter,
4056−Bradley Kuhn,
4057−Brent Yorgey,
4058−Bryan O'Sullivan,
4059−Caleb McDaniel,
4060−Calvin Beck,
4061−Carlos Sosa,
4062−Chris Black,
4063−Christian Conkle,
4064−Christoffer Ackelman,
4065−Christoffer Sawicki,
4066−Clare Macrae,
4067−Clint Adams,
4068−Conal Elliott,
4069−Craig S. Bosma,
4070−Daniel Bergey,
4071−Daniel T. Staal,
4072−Daniele D'Orazio,
4073−David Lazar,
4074−David Röthlisberger,
4075−Denis Laxalde,
4076−Douglas Calvert,
4077−Emanuel Evans,
4078−Emily Eisenberg,
4079−Eric Kow,
4080−Eric Seidel,
4081−Felix Yan,
4082−Florian Eitel,
4083−François Gannaz,
4084−Freiric Barral,
4085−Freirich Raabe,
4086−Frerich Raabe,
4087−Fyodor Sheremetyev,
4088−Gabor Pali,
4089−Gavin Beatty,
4090−Gottfried Haider,
4091−Greg Maslov,
4092−Greg Rundlett,
4093−Grégory Bataille,
4094−Gwern Branwen,
4095−Hans-Peter Deifel,
4096−Henrik Tramberend,
4097−Henry de Valence,
4098−Hubert Plociniczak,
4099−Ilya V. Portnov,
4100−Ivo Clarysse,
4101−J. Lewis Muir,
4102−Jaime Marquínez Ferrándiz,
4103−Jakob Voß,
4104−James Aspnes,
4105−Jamie F. Olson,
4106−Jan Larres,
4107−Jan Schulz,
4108−Jason Ronallo,
4109−Jeff Arnold,
4110−Jeff Runningen,
4111−Jens Petersen,
4112−Jesse Rosenthal,
4113−Joe Hillenbrand,
4114−John MacFarlane,
4115−John Muccigrosso,
4116−Jonas Smedegaard,
4117−Jonathan Daugherty,
4118−Jose Luis Duran,
4119−Josef Svenningsson,
4120−Julien Cretel,
4121−Juliusz Gonera,
4122−Justin Bogner,
4123−Jérémy Bobbio,
4124−Kelsey Hightower,
4125−Kolen Cheung,
4126−Konstantin Zudov,
4127−Kristof Bastiaensen,
4128−Lars-Dominik Braun,
4129−Luke Plant,
4130−Mark Szepieniec,
4131−Mark Wright,
4132−Martin Linn,
4133−Masayoshi Takahashi,
4134−Matej Kollar,
4135−Mathias Schenner,
4136−Mathieu Duponchelle,
4137−Matthew Eddey,
4138−Matthew Pickering,
4139−Matthias C. M. Troffaes,
4140−Mauro Bieg,
4141−Max Bolingbroke,
4142−Max Rydahl Andersen,
4143−Merijn Verstraaten,
4144−Michael Beaumont,
4145−Michael Chladek,
4146−Michael Snoyman,
4147−Michael Thompson,
4148−MinRK,
4149−Morton Fox,
4150−Nathan Gass,
4151−Neil Mayhew,
4152−Nick Bart,
4153−Nicolas Kaiser,
4154−Nikolay Yakimov,
4155−Oliver Matthews,
4156−Ophir Lifshitz,
4157−Pablo Rodríguez,
4158−Paul Rivier,
4159−Paulo Tanimoto,
4160−Peter Wang,
4161−Philippe Ombredanne,
4162−Phillip Alday,
4163−Prayag Verma,
4164−Puneeth Chaganti,
4165−Ralf Stephan,
4166−Raniere Silva,
4167−Recai Oktaş,
4168−RyanGlScott,
4169−Scott Morrison,
4170−Sergei Trofimovich,
4171−Sergey Astanin,
4172−Shahbaz Youssefi,
4173−Shaun Attfield,
4174−Sidarth Kapur,
4175−Sidharth Kapur,
4176−Simon Hengel,
4177−Sumit Sahrawat,
4178−Thomas Hodgson,
4179−Thomas Weißschuh,
4180−Tim Lin,
4181−Timothy Humphries,
4182−Tiziano Müller,
4183−Todd Sifleet,
4184−Tom Leese,
4185−Uli Köhler,
4186−Václav Zeman,
4187−Viktor Kronvall,
4188−Vincent,
4189−Václav Haisman,
4190−Václav Zeman,
4191−Wandmalfarbe,
4192−Waldir Pimenta,
4193−Wikiwide,
4194−Xavier Olive,
4195−bumper314,
4196−csforste,
4197−infinity0x,
4198−nkalvi,
4199−qerub,
4200−robabla,
4201−roblabla,
4202−rodja.trappe,
4203−rski,
4204−shreevatsa.public,
4205−takahashim,
4206−tgkokk,
4207−thsutton.
4208−
4209−[GPL]: http://www.gnu.org/copyleft/gpl.html "GNU General Public License"
Makefiledeleted−56
@@ -1,56 +0,0 @@
1−version?=$(shell grep '^Version:' pandoc.cabal | awk '{print $$2;}')
2−pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1)
3−BRANCH?=master
4−
5−quick:
6− stack install --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4'
7−
8−full:
9− stack install --flag 'pandoc:embed_data_files' --test --test-arguments='-j4' --pedantic
10− stack haddock
11−
12−test:
13− stack test --test-arguments='-j4'
14−
15−bench:
16− stack bench
17−
18−changes_github:
19− pandoc --filter extract-changes.hs changelog -t markdown_github | sed -e 's/\\#/#/g' | pbcopy
20−
21−dist: man/pandoc.1
22− cabal sdist
23− rm -rf "pandoc-${version}"
24− tar xvzf dist/pandoc-${version}.tar.gz
25− cd pandoc-${version}
26− stack setup && stack test && cd .. && rm -rf "pandoc-${version}"
27−
28−debpkg: man/pandoc.1
29− make -C deb
30−
31−macospkg: man/pandoc.1
32− ./macos/make_macos_package.sh
33−
34−winpkg: pandoc-$(version)-windows.msi
35−
36−pandoc-$(version)-windows.msi:
37− wget 'https://ci.appveyor.com/api/projects/jgm/pandoc/artifacts/windows/pandoc.msi?branch=$(BRANCH)' -O pandoc.msi && \
38− osslsigncode sign -pkcs12 ~/Private/ComodoCodeSigning.exp2017.p12 -in pandoc.msi -i http://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass
39− rm pandoc.msi
40−
41−man/pandoc.1: MANUAL.txt man/pandoc.1.template
42− pandoc $< -t man -s --template man/pandoc.1.template \
43− --filter man/capitalizeHeaders.hs \
44− --filter man/removeNotes.hs \
45− --filter man/removeLinks.hs \
46− --variable version="pandoc $(version)" \
47− -o $@
48−
49−download_stats:
50− curl https://api.github.com/repos/jgm/pandoc/releases | \
51− jq -r '.[] | .assets | .[] | "\(.download_count)\t\(.name)"'
52−
53−clean:
54− stack clean
55−
56−.PHONY: deps quick full install clean test bench changes_github macospkg dist prof download_stats
README.markdownnew file+42
@@ -0,0 +1,42 @@
1+Templates for [pandoc](http://github.com/jgm/pandoc).
2+
3+If you use custom templates, we recommend forking this repository,
4+so that you can integrate changes to the default templates in future
5+pandoc releases.
6+
7+All of the templates in this repository are dual licensed, under both
8+the GPL (v2 or higher, same as pandoc) and the BSD 3-clause license
9+(included below).
10+
11+----
12+
13+Copyright (c) 2014, John MacFarlane
14+
15+All rights reserved.
16+
17+Redistribution and use in source and binary forms, with or without
18+modification, are permitted provided that the following conditions are met:
19+
20+ * Redistributions of source code must retain the above copyright
21+ notice, this list of conditions and the following disclaimer.
22+
23+ * Redistributions in binary form must reproduce the above
24+ copyright notice, this list of conditions and the following
25+ disclaimer in the documentation and/or other materials provided
26+ with the distribution.
27+
28+ * Neither the name of John MacFarlane nor the names of other
29+ contributors may be used to endorse or promote products derived
30+ from this software without specific prior written permission.
31+
32+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
33+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
34+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
35+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
36+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
37+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
38+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
39+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
40+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
41+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
42+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
README.mddeleted−146
@@ -1,146 +0,0 @@
1−Pandoc
2−======
3−
4−[![github release](https://img.shields.io/github/release/jgm/pandoc.svg?label=current+release)](https://github.com/jgm/pandoc/releases)
5−[![hackage release](https://img.shields.io/hackage/v/pandoc.svg?label=hackage)](http://hackage.haskell.org/package/pandoc)
6−[![homebrew](https://img.shields.io/homebrew/v/pandoc.svg)](http://brewformulas.org/Pandoc)
7−[![stackage LTS package](http://stackage.org/package/pandoc/badge/lts)](http://stackage.org/lts/package/pandoc)
8−[![travis build status](https://img.shields.io/travis/jgm/pandoc/master.svg?label=travis+build)](https://travis-ci.org/jgm/pandoc)
9−[![appveyor build status](https://ci.appveyor.com/api/projects/status/nvqs4ct090igjiqc?svg=true)](https://ci.appveyor.com/project/jgm/pandoc)
10−[![license](https://img.shields.io/badge/license-GPLv2+-lightgray.svg)](https://www.gnu.org/licenses/gpl.html)
11−[![pandoc-discuss on google groups](https://img.shields.io/badge/pandoc-discuss-red.svg?style=social)](https://groups.google.com/forum/#!forum/pandoc-discuss)
12−
13−
14−The universal markup converter
15−------------------------------
16−
17−Pandoc is a [Haskell] library for converting from one markup format to
18−another, and a command-line tool that uses this library. It can read
19−[Markdown], [CommonMark], [PHP Markdown Extra], [GitHub-Flavored Markdown],
20−[MultiMarkdown], and (subsets of) [Textile], [reStructuredText], [HTML],
21−[LaTeX], [MediaWiki markup], [TWiki markup], [Haddock markup], [OPML], [Emacs
22−Org mode], [DocBook], [txt2tags], [EPUB], [ODT] and [Word docx]; and it can
23−write plain text, [Markdown], [CommonMark], [PHP Markdown Extra],
24−[GitHub-Flavored Markdown], [MultiMarkdown], [reStructuredText], [XHTML],
25−[HTML5], [LaTeX] \(including [`beamer`] slide shows\), [ConTeXt], [RTF], [OPML],
26−[DocBook], [OpenDocument], [ODT], [Word docx], [GNU Texinfo], [MediaWiki
27−markup], [DokuWiki markup], [ZimWiki markup], [Haddock markup],
28−[EPUB] \(v2 or v3\), [FictionBook2], [Textile], [groff man] pages,
29−[Emacs Org mode], [AsciiDoc], [InDesign ICML], [TEI Simple], and [Slidy],
30−[Slideous], [DZSlides], [reveal.js] or [S5] HTML slide shows. It can also
31−produce [PDF] output on systems where LaTeX, ConTeXt, or `wkhtmltopdf` is
32−installed.
33−
34−Pandoc's enhanced version of Markdown includes syntax for [footnotes],
35−[tables], flexible [ordered lists], [definition lists], [fenced code blocks],
36−[superscripts and subscripts], [strikeout], [metadata blocks], automatic tables of
37−contents, embedded LaTeX [math], [citations], and [Markdown inside HTML block
38−elements]. (These enhancements, described
39−further under [Pandoc's Markdown], can be disabled using the
40−`markdown_strict` input or output format.)
41−
42−In contrast to most existing tools for converting Markdown to HTML, which
43−use regex substitutions, pandoc has a modular design: it consists of a
44−set of readers, which parse text in a given format and produce a native
45−representation of the document, and a set of writers, which convert
46−this native representation into a target format. Thus, adding an input
47−or output format requires only adding a reader or writer.
48−
49−Because pandoc's intermediate representation of a document is less
50−expressive than many of the formats it converts between, one should
51−not expect perfect conversions between every format and every other.
52−Pandoc attempts to preserve the structural elements of a document, but
53−not formatting details such as margin size. And some document elements,
54−such as complex tables, may not fit into pandoc's simple document
55−model. While conversions from pandoc's Markdown to all formats aspire
56−to be perfect, conversions from formats more expressive than pandoc's
57−Markdown can be expected to be lossy.
58−
59−[Markdown]: http://daringfireball.net/projects/markdown/
60−[CommonMark]: http://commonmark.org
61−[PHP Markdown Extra]: https://michelf.ca/projects/php-markdown/extra/
62−[GitHub-Flavored Markdown]: https://help.github.com/articles/github-flavored-markdown/
63−[MultiMarkdown]: http://fletcherpenney.net/multimarkdown/
64−[reStructuredText]: http://docutils.sourceforge.net/docs/ref/rst/introduction.html
65−[S5]: http://meyerweb.com/eric/tools/s5/
66−[Slidy]: http://www.w3.org/Talks/Tools/Slidy/
67−[Slideous]: http://goessner.net/articles/slideous/
68−[HTML]: http://www.w3.org/html/
69−[HTML5]: http://www.w3.org/TR/html5/
70−[XHTML]: http://www.w3.org/TR/xhtml1/
71−[LaTeX]: http://latex-project.org
72−[`beamer`]: https://ctan.org/pkg/beamer
73−[Beamer User's Guide]: http://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf
74−[ConTeXt]: http://www.contextgarden.net/
75−[RTF]: http://en.wikipedia.org/wiki/Rich_Text_Format
76−[DocBook]: http://docbook.org
77−[txt2tags]: http://txt2tags.org
78−[EPUB]: http://idpf.org/epub
79−[OPML]: http://dev.opml.org/spec2.html
80−[OpenDocument]: http://opendocument.xml.org
81−[ODT]: http://en.wikipedia.org/wiki/OpenDocument
82−[Textile]: http://redcloth.org/textile
83−[MediaWiki markup]: https://www.mediawiki.org/wiki/Help:Formatting
84−[DokuWiki markup]: https://www.dokuwiki.org/dokuwiki
85−[ZimWiki markup]: http://zim-wiki.org/manual/Help/Wiki_Syntax.html
86−[TWiki markup]: http://twiki.org/cgi-bin/view/TWiki/TextFormattingRules
87−[Haddock markup]: https://www.haskell.org/haddock/doc/html/ch03s08.html
88−[groff man]: http://man7.org/linux/man-pages/man7/groff_man.7.html
89−[Haskell]: https://www.haskell.org
90−[GNU Texinfo]: http://www.gnu.org/software/texinfo/
91−[Emacs Org mode]: http://orgmode.org
92−[AsciiDoc]: http://www.methods.co.nz/asciidoc/
93−[DZSlides]: http://paulrouget.com/dzslides/
94−[Word docx]: https://en.wikipedia.org/wiki/Office_Open_XML
95−[PDF]: https://www.adobe.com/pdf/
96−[reveal.js]: http://lab.hakim.se/reveal-js/
97−[FictionBook2]: http://www.fictionbook.org/index.php/Eng:XML_Schema_Fictionbook_2.1
98−[InDesign ICML]: https://www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/IDML/idml-specification.pdf
99−[TEI Simple]: https://github.com/TEIC/TEI-Simple
100−
101−
102−
103−
104−[footnotes]: http://pandoc.org/MANUAL.html#footnotes
105−[tables]: http://pandoc.org/MANUAL.html#tables
106−[ordered lists]: http://pandoc.org/MANUAL.html#ordered-lists
107−[definition lists]: http://pandoc.org/MANUAL.html#definition-lists
108−[fenced code blocks]: http://pandoc.org/MANUAL.html#fenced-code-blocks
109−[superscripts and subscripts]: http://pandoc.org/MANUAL.html#superscripts-and-subscripts
110−[strikeout]: http://pandoc.org/MANUAL.html#strikeout
111−[metadata blocks]: http://pandoc.org/MANUAL.html#metadata-blocks
112−[math]: http://pandoc.org/MANUAL.html#math
113−[citations]: http://pandoc.org/MANUAL.html#citations
114−[Markdown inside HTML block elements]: http://pandoc.org/MANUAL.html#extension-markdown_in_html_blocks
115−[Pandoc's Markdown]: http://pandoc.org/MANUAL.html#pandocs-markdown
116−
117−Installing
118−----------
119−
120−Here's [how to install pandoc](INSTALL.md).
121−
122−Documentation
123−-------------
124−
125−Pandoc's website contains a full [User's Guide](https://pandoc.org/MANUAL.html).
126−It is also available [here](MANUAL.txt) as pandoc-flavored Markdown.
127−The website also contains some [examples of the use of
128−pandoc](https://pandoc.org/demos.html) and a limited [online
129−demo](https://pandoc.org/try).
130−
131−Contributing
132−------------
133−
134−Pull requests, bug reports, and feature requests are welcome. Please make
135−sure to read [the contributor guidelines](CONTRIBUTING.md) before opening a
136−new issue.
137−
138−
139−License
140−-------
141−
142−© 2006-2016 John MacFarlane (jgm@berkeley.edu). Released under the
143−[GPL], version 2 or greater. This software carries no warranty of
144−any kind. (See COPYRIGHT for full copyright and warranty notices.)
145−
146−[GPL]: http://www.gnu.org/copyleft/gpl.html "GNU General Public License"
RELEASE-CHECKLISTdeleted−33
@@ -1,33 +0,0 @@
1−_ Test, on linux, windows, mac (inc. website demos)
2−
3−_ Finalize changelog
4− git log --pretty='format:%n%n* %s (%an)%n%b%n%h%n' --reverse --name-only 1.17.0.3..HEAD > LOG
5−
6−_ make man/pandoc.1 and commit if needed
7−
8−_ Tag release in git
9−
10−_ Tag templates
11−
12−_ Generate Windows package (make winpkg)
13−
14−_ Generate MacOS package (make macospkg)
15−
16−_ Generate Ubuntu/Debian deb package (make debpkg)
17−
18−- Add release on github (use 'make changes_github' and upload files)
19−
20−_ Upload to HackageDB: stack upload .
21−
22−_ if docs don't build on Hackage:
23− 'cabal install neil && neil docs --username=MYUSERNAME'
24−
25−_ Update website, including short description of changes ('make changes')
26−
27−_ Announce on pandoc-announce, pandoc-discuss
28−
29−_ on server, stack install --flag 'pandoc:trypandoc'
30− and then 'cd trypandoc; sudo make install'
31−
32−_ recompile gitit
33−
RELEASE-CHECKLIST.mddeleted−27
@@ -1,27 +0,0 @@
1−- [ ] Test, on linux, windows, mac (inc. website demos)
2−
3−- [ ] Finalize changelog:
4− `git log --pretty='format:%n%n* %s (%an)%n%b%n%h%n' --reverse --name-only 1.17.0.3..HEAD > LOG`
5−
6−- [ ] `make man/pandoc.1` and commit if needed
7−
8−- [ ] Tag release in git
9−
10−- [ ] Tag templates
11−
12−- [ ] Generate Windows package (`make winpkg`)
13−
14−- [ ] Generate Mac OSX package (`make osxpkg`)
15−
16−- [ ] Generate Ubuntu/Debian deb package (`make debpkg`)
17−
18−- [ ] Add release on github (use `make changes_github` and upload files)
19−
20−- [ ] Upload to HackageDB
21−
22−- [ ] Update website (`make update`), including short description of changes (`make changes`)
23−
24−- [ ] on server, `cabal install --enable-tests -ftrypandoc`
25− and then `cd trypandoc; sudo make install`
26−
27−- [ ] Announce on pandoc-announce, pandoc-discuss
Setup.hsdeleted−66
@@ -1,66 +0,0 @@
1−{-
2−Copyright (C) 2006-2015 John MacFarlane <jgm@berkeley.edu>
3−
4−This program is free software; you can redistribute it and/or modify
5−it under the terms of the GNU General Public License as published by
6−the Free Software Foundation; either version 2 of the License, or
7−(at your option) any later version.
8−
9−This program is distributed in the hope that it will be useful,
10−but WITHOUT ANY WARRANTY; without even the implied warranty of
11−MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12−GNU General Public License for more details.
13−
14−You should have received a copy of the GNU General Public License
15−along with this program; if not, write to the Free Software
16−Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17−-}
18−
19−import Distribution.Simple
20−import Distribution.Simple.PreProcess
21−import Distribution.Simple.Setup (ConfigFlags(..), CopyFlags(..), fromFlag)
22−import Distribution.PackageDescription (PackageDescription(..), FlagName(..))
23−import Distribution.Simple.Utils ( rawSystemExitCode, findProgramVersion )
24−import System.Exit
25−import Distribution.Simple.Utils (info, notice, installOrdinaryFiles)
26−import Distribution.Simple.Program (simpleProgram, Program(..))
27−import Distribution.Simple.LocalBuildInfo
28−import Control.Monad (when)
29−
30−main :: IO ()
31−main = defaultMainWithHooks $ simpleUserHooks {
32− -- enable hsb2hs preprocessor for .hsb files
33− hookedPreProcessors = [ppBlobSuffixHandler]
34− , hookedPrograms = [(simpleProgram "hsb2hs"){
35− programFindVersion = \verbosity fp ->
36− findProgramVersion "--version" id verbosity fp }]
37− , postCopy = installManPage
38− }
39−
40−ppBlobSuffixHandler :: PPSuffixHandler
41−ppBlobSuffixHandler = ("hsb", \_ lbi ->
42− PreProcessor {
43− platformIndependent = True,
44− runPreProcessor = mkSimplePreProcessor $ \infile outfile verbosity ->
45− do let embedData = case lookup (FlagName "embed_data_files")
46− (configConfigurationsFlags (configFlags lbi)) of
47− Just True -> True
48− _ -> False
49− when embedData $
50− do info verbosity $ "Preprocessing " ++ infile ++ " to " ++ outfile
51− ec <- rawSystemExitCode verbosity "hsb2hs"
52− [infile, infile, outfile]
53− case ec of
54− ExitSuccess -> return ()
55− ExitFailure _ -> error "hsb2hs is needed to build this program"
56− })
57−
58−installManPage :: Args -> CopyFlags
59− -> PackageDescription -> LocalBuildInfo -> IO ()
60−installManPage _ flags pkg lbi = do
61− let verbosity = fromFlag (copyVerbosity flags)
62− let copydest = fromFlag (copyDest flags)
63− let mandest = mandir (absoluteInstallDirs pkg lbi copydest)
64− ++ "/man1"
65− notice verbosity $ "Copying man page to " ++ mandest
66− installOrdinaryFiles verbosity mandest [("man", "pandoc.1")]
appveyor.ymldeleted−54
@@ -1,54 +0,0 @@
1−clone_folder: "c:\\stack"
2−environment:
3− global:
4− STACK_ROOT: "c:\\sr"
5− STACK_YAML: "c:\\stack\\stack.pkg.yaml"
6− WIXBIN: "c:\\Program Files (x86)\\WiX Toolset v3.10\\bin"
7−
8−cache:
9− - "c:\\sr" # stack root, short paths == fewer problems
10− - "c:\\stack\\stack.exe"
11− - '%WIXBIN%'
12−
13−# We don't do a normal C build, but build in test_script via stack
14−build: off
15−
16−install:
17− - '"%WIXBIN%"\candle -? || choco install wixtoolset'
18− - |
19− stack --version || curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386 && 7z x stack.zip stack.exe
20− - stack setup > nul
21−
22−before_test:
23− # the stack install already fails without the templates...
24− - git submodule update --init
25− # set PATH to where the hsb2hs binary is copied to
26− - cmd: set "PATH=%PATH%;%APPDATA%\\local\\bin"
27− - stack install hsb2hs
28−
29−test_script:
30− # The ugly echo "" hack is to avoid complaints about 0 being an invalid file
31− # descriptor
32− - echo "" | stack clean
33− - echo "" | stack -j1 --no-terminal test
34− - echo "" | stack -j1 --local-bin-path=.\windows install pandoc pandoc-citeproc
35−
36−after_test:
37− # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)
38− - cd windows
39− - 7z a "pandoc.zip" pandoc.exe
40− - .\pandoc.exe -s --toc ..\MANUAL.txt -o MANUAL.html
41− - .\pandoc.exe -s ..\COPYING.md -o COPYING.rtf
42− - copy ..\COPYRIGHT COPYRIGHT.txt
43− - |
44− set VERSION=
45− for /f "tokens=1-2 delims= " %%a in ('.\pandoc.exe --version') do ( if not defined VERSION set "VERSION=%%b" )
46− echo %VERSION%
47− "%WIXBIN%\\candle" -dVERSION=%VERSION% -dBINPATH=. *.wxs -out wixobj\
48− "%WIXBIN%\\light" -sw1076 -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -loc Pandoc-en-us.wxl -out pandoc.msi wixobj\*.wixobj
49−
50−artifacts:
51− - path: windows\pandoc.zip
52− name: exe
53− - path: windows\pandoc.msi
54− name: msi
benchmark/benchmark-pandoc.hsdeleted−86
@@ -1,86 +0,0 @@
1−{-
2−Copyright (C) 2012-2014 John MacFarlane <jgm@berkeley.edu>
3−
4−This program is free software; you can redistribute it and/or modify
5−it under the terms of the GNU General Public License as published by
6−the Free Software Foundation; either version 2 of the License, or
7−(at your option) any later version.
8−
9−This program is distributed in the hope that it will be useful,
10−but WITHOUT ANY WARRANTY; without even the implied warranty of
11−MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12−GNU General Public License for more details.
13−
14−You should have received a copy of the GNU General Public License
15−along with this program; if not, write to the Free Software
16−Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17−-}
18−import Text.Pandoc
19−import Text.Pandoc.Class hiding (getCurrentTime)
20−import Data.Time (getCurrentTime)
21−import qualified Data.ByteString as B
22−import qualified Data.Map as Map
23−import Criterion.Main
24−import Criterion.Types (Config(..))
25−import Data.Maybe (mapMaybe)
26−import Debug.Trace (trace)
27−import System.Environment (getArgs)
28−
29−readerBench :: Pandoc
30− -> (String, ReaderOptions -> String -> Pandoc)
31− -> Maybe Benchmark
32−readerBench doc (name, reader) =
33− case lookup name writers of
34− Just (StringWriter writer) ->
35− let inp = either (error . show) id $ runPure
36− $ writer def{ writerWrapText = WrapAuto} doc
37− in return $ bench (name ++ " reader") $ nf
38− (reader def) inp
39− _ -> trace ("\nCould not find writer for " ++ name ++ "\n") Nothing
40−
41−writerBench :: Pandoc
42− -> (String, WriterOptions -> Pandoc -> String)
43− -> Benchmark
44−writerBench doc (name, writer) = bench (name ++ " writer") $ nf
45− (writer def{ writerWrapText = WrapAuto }) doc
46−
47−main :: IO ()
48−main = do
49− args <- getArgs
50− let matchReader (n, StringReader _) =
51− case args of
52− [] -> True
53− [x] -> x == n
54− (x:y:_) -> x == n && y == "reader"
55− matchReader (_, _) = False
56− let matchWriter (n, StringWriter _) =
57− case args of
58− [] -> True
59− [x] -> x == n
60− (x:y:_) -> x == n && y == "writer"
61− matchWriter (_, _) = False
62− let matchedReaders = filter matchReader readers
63− let matchedWriters = filter matchWriter writers
64− inp <- readFile "tests/testsuite.txt"
65− lalune <- B.readFile "tests/lalune.jpg"
66− movie <- B.readFile "tests/movie.jpg"
67− time <- getCurrentTime
68− let setupFakeFiles = modifyPureState $ \st -> st{ stFiles =
69− FileTree $ Map.fromList [
70− ("lalune.jpg", FileInfo time lalune),
71− ("movie.jpg", FileInfo time movie)
72− ]}
73− let opts = def
74− let doc = either (error . show) id $ runPure $ readMarkdown opts inp
75− let readers' = [(n, \o d ->
76− either (error . show) id $ runPure $ r o d)
77− | (n, StringReader r) <- matchedReaders]
78− let readerBs = mapMaybe (readerBench doc)
79− $ filter (\(n,_) -> n /="haddock") readers'
80− let writers' = [(n, \o d ->
81− either (error . show) id $ runPure $ setupFakeFiles >> w o d)
82− | (n, StringWriter w) <- matchedWriters]
83− let writerBs = map (writerBench doc)
84− $ writers'
85− defaultMainWith defaultConfig{ timeLimit = 6.0 }
86− (writerBs ++ readerBs)
benchmark/weigh-pandoc.hsdeleted−37
@@ -1,37 +0,0 @@
1−import Weigh
2−import Text.Pandoc
3−
4−main :: IO ()
5−main = do
6− doc <- read <$> readFile "tests/testsuite.native"
7− mainWith $ do
8− func "Pandoc document" id doc
9− mapM_
10− (\(n,r) -> weighReader doc n (either (error . show) id . runPure . r def{ readerSmart = True }))
11− [("markdown", readMarkdown)
12− ,("html", readHtml)
13− ,("docbook", readDocBook)
14− ,("latex", readLaTeX)
15− ,("commonmark", readCommonMark)
16− ]
17− mapM_
18− (\(n,w) -> weighWriter doc n (either (error . show) id . runPure . w def))
19− [("markdown", writeMarkdown)
20− ,("html", writeHtmlString)
21− ,("docbook", writeDocbook)
22− ,("latex", writeLaTeX)
23− ,("commonmark", writeCommonMark)
24− ]
25−
26−weighWriter :: Pandoc -> String -> (Pandoc -> String) -> Weigh ()
27−weighWriter doc name writer = func (name ++ " writer") writer doc
28−
29−weighReader :: Pandoc -> String -> (String -> Pandoc) -> Weigh ()
30−weighReader doc name reader = do
31− case lookup name writers of
32− Just (StringWriter writer) ->
33− let inp = either (error . show) id $ runPure $ writer def{ writerWrapText = WrapAuto} doc
34− in func (name ++ " reader") reader inp
35− _ -> return () -- no writer for reader
36−
37−
changelogdeleted−10953
@@ -1,10953 +0,0 @@
1−pandoc (1.19.2)
2−
3− * Use skylighting library instead of highlighting-kate for syntax
4− highlighting. Skylighting is faster and more accurate (#3363).
5− Later we'll be able to add features like warning messages, dynamic
6− loading of xml syntax definitions, and dynamic loading of themes.
7−
8− * Added a new highlight style, `breezeDark`.
9−
10− * Text.Pandoc.Highlighting: Update list of `listings` languages (#3374).
11− This allows more languages to be used when using the `--listings`
12− option.
13−
14− * OpenDocument writer:
15−
16− + Small refactoring. Removed separate 'parent' parameter in paraStyle.
17− + Don't profilerate text styles unnecessarily (#3371).
18− This change makes the writer create only as many temporary
19− text styles as are absolutely necessary. It also consolidates
20− adjacent nodes with the same style.
21−
22− * Org reader (Albert Krewinkel):
23−
24− + Allow short hand for single-line raw blocks (Albert Krewinkel,
25− #3366). Single-line raw blocks can be given via `#+FORMAT: raw line`,
26− where `FORMAT` must be one of `latex`, `beamer`, `html`, or `texinfo`.
27− + Accept org-ref citations followed by commas (Albert Krewinkel).
28− Bugfix for an issue which, whenever the citation was immediately
29− followed by a comma, prevented correct parsing of org-ref citations.
30− + Ensure emphasis markup can be nested. Nested emphasis markup (e.g.
31− `/*strong and emphasized*/`) was interpreted incorrectly in that the
32− inner markup was not recognized.
33− + Remove pipe char irking the haddock coverage tool (Albert Krewinkel).
34−
35− * Docx reader: Empty header should be list of lists (Jesse Rosenthal).
36− In the past, the docx reader wrote an empty header as an empty list. It
37− should have the same width as a row (and be filled with empty cells).
38−
39− * MediaWiki reader:
40−
41− + Improved handling of display math (#3362). Sometimes display math is
42− indented with more than one colon. Previously we handled these cases
43− badly, generating definition lists and missing the math.
44− + Fix quotation mark parsing (#3336, tgkokk). Change MediaWiki reader's
45− behavior when the smart option is parsed to match other readers'
46− behavior.
47−
48− * Markdown reader:
49−
50− + Fixed `-f markdown_github-hard_line_breaks+escaped_line_breaks`
51− (#3341). Previously this did not properly enable escaped line breaks.
52− + Disallow space between inline code and attributes (#3326, #3323,
53− Mauro Bieg).
54−
55− * DocBook5 writer: make id attribute xml:id, fixes #3329 (#3330, Mauro Bieg).
56−
57− * Added some test cases for ODT reader (#3306, #3308, Hubert Plociniczak).
58−
59− * LaTeX writer: allow tables with empty cells to count as "plain."
60− This addresses a problem of too-wide tables when empty cells
61− are used. Thanks to Joost Kremers for reporting the issue.
62−
63− * Org writer: prefix footnote numbers with `fn:` (Albert Krewinkel).
64− Unprefixed numbers where used by older org-mode versions, but are no
65− longer supported.
66−
67− * HTML writer: don't process pars with empty RawInline, (#1040, #3327,
68− Mauro Bieg).
69−
70− * Markdown writer: Fix display math with `--webtex` (#3298).
71−
72− * Fix sample.lua so it properly handles raw blocks/inlines (#3358,
73− bumper314).
74−
75− * Templates:
76−
77− + default.latex: Moved geometry after hyperref (Václav Haisman).
78− Otherwise PDF sizes can be wrong in some circumstances.
79− + Copied a few changes from default.latex to default.beamer
80− (Wandmalfarbe).
81− + default.latex, default.beamer: Changed position of `\VerbatimNotes`
82− and `fancyvrb`. This fixes hyperlinks on footnotes in documents
83− that contain verbatim in notes (#3361). (Note: the beamer template
84− was updated to match the LaTeX template, but at this point verbatim
85− in notes seems not to work in beamer.)
86− + default.latex: Allow passing `microtypeoptions` to microtype
87− (Václav Haisman).
88− + default.latex: Add hyphen option to url package.
89− + default.docbook5: Fix namespace declarations (Mauro Bieg).
90−
91− * Moved `make_osx_package.sh` to `osx/` directory.
92−
93− * Travis continuous integration:
94−
95− + Fix false positives with dist build.
96− + Speed improvements (Kolen Cheung, #3304, #3357).
97−
98− * MANUAL.txt:
99−
100− + Clarify that blank space is needed around footnotes (#3352).
101− + Fixed typo (#3351, Alexey Rogechev).
102− + Note that `--wrap=auto` does not work in HTML output.
103− + Default `--columns` width is 72, not 80.
104− + Fixed broken links (#3316, Kolen Cheung).
105− + Document usage of `@*` in nocite section (#3333, John Muccigrosso).
106−
107− * INSTALL.md:
108−
109− + Indent code so it's properly formatted (#3335, Bheesham Persaud).
110− + Added instructions for extracting binary from OSX, Windows packages.
111−
112− * CONTRIBUTING.md: Describe labels currently used in issue tracker
113− (Albert Krewinkel). The labels have changed over time, the list of
114− labels is updated to reflect the current set of labels used in the
115− issue tracker.
116−
117− * Rearrange and extend badges in README (Albert Krewinkel, #3354)
118−
119− * Bumped version bounds for dependencies.
120−
121−
122−pandoc (1.19.1)
123−
124− * Set `PANDOC_VERSION` environment variable for filters (#2640).
125− This allows filters to check the pandoc version that produced
126− the JSON they are receiving.
127−
128− * Docx reader: Ensure one-row tables don't have header (#3285,
129− Jesse Rosenthal). Tables in MS Word are set by default to have
130− special first-row formatting, which pandoc uses to determine whether
131− or not they have a header. This means that one-row tables will, by
132− default, have only a header -- which we imagine is not what people
133− want. This change ensures that a one-row table is not understood to
134− be a header only. Note that this means that it is impossible to
135− produce a header-only table from docx, even though it is legal
136− pandoc. But we believe that in nearly all cases, it will be an
137− accidental (and unwelcome) result
138−
139− * HTML reader:
140−
141− + Fixed some bad regressions in HTML table parser (#3280).
142− This regression leads to the introduction of empty rows
143− in some circumstances.
144− + Understand `style=width:` as well as `width` in `col` (#3286).
145−
146− * RST reader:
147−
148− + Print warnings when keys, substitition, notes not found.
149− Previously the parsers failed and we got raw text. Now we get a
150− link with an empty URL, or empty inlines in the case of a note or
151− substitution.
152−
153− + Fix hyperlink aliases (#3283).
154−
155− * Man writer: Ensure that periods are escaped at beginning of line
156− (#3270).
157−
158− * LaTeX writer: Fix unnumbered headers when used with `--top-level`
159− (#3272, Albert Krewinkel). Fix interaction of top-level divisions
160− `part` or `chapter` with unnumbered headers when emitting LaTeX. Headers
161− are ensured to be written using stared commands (like `\subsection*{}`).
162−
163− * LaTeX template: use comma not semicolon to separate keywords for
164− `pdfkeywords`. Thanks to Wandmalfarbe.
165−
166− * Markdown writer: Fixed incorrect word wrapping (#3277). Previously pandoc
167− would sometimes wrap lines too early due to this bug.
168−
169− * Text.Pandoc.Pretty: Added `afterBreak` [API change]. This makes it
170− possible to insert escape codes for content that needs escaping at the
171− beginning of a line.
172−
173− * Removed old MathMLInHTML.js from 2004, which should no longer
174− be needed for MathML with modern browsers.
175−
176− * Fixed tests with dynamic linking (#2709).
177−
178− * Makefile: Use stack instead of cabal for targets. This is just
179− a convenience for developers.
180−
181− * Fixed bash completion of filenames with space (#2749).
182−
183− * MANUAL: improved documentation on how to create a custom `reference.docx`.
184−
185− * Fix minor spelling typos in the manual (#3273, Anthony Geoghegan)
186−
187−pandoc (1.19)
188−
189− * Changed resolution of filter paths.
190−
191− + We now first treat the argument of `--filter` as a full (absolute
192− or relative) path, looking for a program there. If it's found, we
193− run it.
194− + If not, and if it is a simple program name or a relative path, we
195− try resolving it relative to `$DATADIR/filters`.
196− + If this fails, then we treat it as a program name and look in the
197− user's PATH.
198− + Removed a hardcoded '/' that may have caused problems with
199− Windows paths.
200−
201− Previously if you did `--filter foo` and you had `foo` in your path and
202− also an executable `foo` in your working directory, the one in the path
203− would be used. Now the one in the working directory is used.
204−
205− In addition, when you do `--filter foo/bar.hs`, pandoc will now find a
206− filter `$DATADIR/filters/foo/bar.hs` -- assuming there isn't a
207− `foo/bar.hs` relative to the working directory.
208−
209− * Allow `file://` URIs as arguments (#3196). Also improved default reader
210− format detection. Previously with a URI ending in .md or .markdown,
211− pandoc would assume HTML input. Now it treats these as markdown.
212−
213− * Allow to overwrite top-level division type heuristics (#3258,
214− Albert Krewinkel). Pandoc uses heuristics to determine the most
215− reasonable top-level division type when emitting LaTeX or
216− Docbook markup. It is now possible to overwrite this implicitly set
217− top-level division via the `top-level-division` command line parameter.
218−
219− * Text.Pandoc.Options \[API changes\]:
220−
221− + Removed `writerStandalone` field in `WriterOptions`, made
222− `writerTemplate` a `Maybe` value. Previously setting
223− `writerStandalone = True` did nothing unless a template was provided
224− in writerTemplate. Now a fragment will be generated if
225− `writerTemplate` is `Nothing`; otherwise, the specified template
226− will be used and standalone output generated.
227− + `Division` has been renamed `TopLevelDivision` (#3197). The
228− `Section`, `Chapter`, and `Part` constructors were renamed to
229− `TopLevelSection`, `TopLevelChapter`, and
230− `TopLevelPart`, respectively. An additional `TopLevelDefault`
231− constructor was added, which is now also the new default value of
232− the `writerTopLevelDivision` field in `WriterOptions`.
233−
234− * Improved error if they give wrong arg to `--top-level-division`.
235−
236− * Use new module from texmath to lookup MS font codepoints in Docx reader.
237− Removed unexported module Text.Pandoc.Readers.Docx.Fonts. Its code now
238− lives in texmath (0.9).
239−
240− * DocBook reader: Fixed xref lookup (#3243). It previously only worked
241− when the qnames lacked the docbook namespace URI.
242−
243− * HTML reader:
244−
245− + Improved table parsing (#3027). We now check explicitly for non-1
246− rowspan or colspan attributes, and fail when we encounter them.
247− Previously we checked that each row had the same number of cells,
248− but that could be true even with rowspans/colspans. And there are
249− cases where it isn't true in tables that we can handle fine -- e.g.
250− when a tr element is empty. So now we just pad rows with empty cells
251− when needed.
252− + Treat `<math>` as MathML by default unless something else is
253− explicitly specified in xmlns. Provided it parses as MathML,
254− of course. Also fixed default which should be to inline math if no
255− display attribute is used.
256− + Only treat "a" element as link if it has href (#3226). Otherwise
257− treat as span.
258−
259− * Docx reader (Jesse Rosenthal):
260−
261− + Add a placeholder value for CHART. We wrap `[CHART]` in a
262− `<span class="chart">`. Note that it maps to inlines because, in
263− docx, anything in a drawing tag can be part of a larger paragraph.
264− + Be more specific in parsing images We not only want `w:drawing`,
265− because that could also include charts. Now we specify
266− `w:drawing/pic:pic`. This shouldn't change behavior at all, but it's
267− a first step toward allowing other sorts of drawing data as well.
268− + Abstract out function to avoid code repetition.
269− + Update tests for img title and alt (#3204).
270− + Handle Alt text and titles in images. We use the "description" field
271− as alt text and the "title" field as title. These can be accessed
272− through the "Format Picture" dialog in Word.
273− + Docx reader utils: handle empty namespace in `elemName`. Previously,
274− if given an empty namespace `(elemName ns "" "foo")` `elemName`
275− would output a QName with a `Just ""` namespace. This is never what
276− we want. Now we output a `Nothing`. If someone *does* want a
277− `Just ""` in the namespace, they can enter the QName
278− value explicitly.
279−
280− * ODT reader/writer:
281−
282− + Inline code when text has a special style (Hubert Plociniczak). When
283− a piece of text has a text `Source_Text` then we assume that this is
284− a piece of the document that represents a code that needs to
285− be inlined. Adapted the writer to also reflect that change.
286− Previously it was just writing a 'preformatted' text using a
287− non-distinguishable font style. Code blocks are still not recognized
288− by the ODT reader. That's a separate issue.
289− + Infer table's caption from the paragraph (#3224,
290− Hubert Plociniczak). ODT's reader always put empty captions for the
291− parsed tables. This commit
292−
293− 1. checks paragraphs that follow the table definition
294− 2. treats specially a paragraph with a style named 'Table'
295− 3. does some postprocessing of the paragraphs that combines tables
296− followed immediately by captions
297−
298− The ODT writer used the `TableCaption` style for the caption
299− paragraph. This commit follows the OpenOffice approach which allows
300− for appending captions to table but uses a built-in style named
301− `Table` instead of `TableCaption`. Users of a custom `reference.odt`
302− should change the style's name from `TableCaption` to `Table`.
303−
304− * ODT reader: Infer tables' header props from rows (#3199,
305− Hubert Plociniczak). ODT reader simply provided an empty header list
306− which meant that the contents of the whole table, even if not empty, was
307− simply ignored. While we still do not infer headers we at least have to
308− provide default properties of columns.
309−
310− * Markdown reader:
311−
312− + Allow reference link labels starting with `@...` if `citations`
313− extension disabled (#3209). Example: in
314−
315− \[link text\]\[@a\]
316−
317− `link text` isn't hyperlinked because `[@a]` is parsed as
318− a citation. Previously this happened whether or not the `citations`
319− extension was enabled. Now it happens only if the `citations`
320− extension is enabled.
321− + Allow alignments to be specified in Markdown grid tables. For
322− example,
323−
324− +-------+---------------+--------------------+
325− | Right | Left | Centered |
326− +=========:+:=================+:=============:+
327− | Bananas | $1.34 | built-in wrapper |
328− +-------+---------------+--------------------+
329−
330− + Allow Small Caps elements to be created using bracketed spans (as
331− they already can be using HTML-syntax spans) (#3191, Kolen Cheung).
332−
333− * LaTeX reader:
334−
335− + Don't treat `\vspace` and `\hspace` as block commands (#3256).
336− Fixed an error which came up, for example, with `\vspace` inside
337− a caption. (Captions expect inlines.)
338− + Improved table handling. We can now parse all of the tables emitted
339− by pandoc in our tests. The only thing we don't get yet are
340− alignments and column widths in more complex tables. See #2669.
341− + Limited support for minipage.
342− + Allow for `[]`s inside LaTeX optional args. Fixes cases like:
343− + Handle BVerbatim from fancyvrb (#3203).
344− + Handle hungarumlaut (#3201).
345− + Allow beamer-style `<...>` options in raw LaTeX (also in Markdown)
346− (#3184). This allows use of things like `\only<2,3>{my content}` in
347− Markdown that is going to be converted to beamer.
348−
349− * Use pre-wrap for code in dzslides template (Nicolas Porcel). Otherwise
350− overly long code will appear on every slide.
351−
352− * Org reader (Albert Krewinkel):
353−
354− + Respect column width settings (#3246). Table column properties can
355− optionally specify a column's width with which it is displayed in
356− the buffer. Some exporters, notably the ODT exporter in org-mode
357− v9.0, use these values to calculate relative column widths. The org
358− reader now implements the same behavior. Note that the org-mode
359− LaTeX and HTML exporters in Emacs don't support this feature yet,
360− which should be kept in mind by users who use the column
361− widths parameters.
362− + Allow HTML attribs on non-figure images (#3222). Images which are
363− the only element in a paragraph can still be given HTML attributes,
364− even if the image does not have a caption and is hence not a figure.
365− The following will add set the `width` attribute of the image to
366− `50%`:
367−
368− +ATTR\_HTML: :width 50%
369− =======================
370−
371− \[\[file:image.jpg\]\]
372−
373− + Support `ATTR_HTML` for special blocks (#3182). Special
374− blocks (i.e. blocks with unrecognized names) can be prefixed with an
375− `ATTR_HTML` block attribute. The attributes defined in that
376− meta-directive are added to the `Div` which is used to represent the
377− special block.
378− + Support the `todo` export option. The `todo` export option allows to
379− toggle the inclusion of TODO keywords in the output. Setting this to
380− `nil` causes TODO keywords to be dropped from headlines. The default
381− is to include the keywords.
382− + Add support for todo-markers. Headlines can have optional
383− todo-markers which can be controlled via the `#+TODO`, `#+SEQ_TODO`,
384− or `#+TYP_TODO` meta directive. Multiple such directives can be
385− given, each adding a new set of recognized todo-markers. If no
386− custom todo-markers are defined, the default `TODO` and `DONE`
387− markers are used. Todo-markers are conceptually separate from
388− headline text and are hence excluded when autogenerating
389− headline IDs. The markers are rendered as spans and labelled with
390− two classes: One class is the markers name, the other signals the
391− todo-state of the marker (either `todo` or `done`).
392−
393− * LaTeX writer:
394−
395− + Use `\autocites*` when "suppress-author" citation used.
396− + Ensure that simple tables have simple cells (#2666). If cells
397− contain more than a single Plain or Para, then we need to set
398− nonzero widths and put contents into minipages.
399− + Remove invalid inlines in sections (#3218, Hubert Plociniczak).
400−
401− * Markdown writer:
402−
403− + Fix calculation of column widths for aligned multiline tables
404− (#1911, Björn Peemöller). This also fixes excessive CPU and memory
405− usage for tables when `--columns` is set in such a way that cells
406− must be very tiny. Now cells are guaranteed to be big enough so that
407− single words don't need to line break, even if this pushes the line
408− length above the column width.
409− + Use bracketed form for native spans when `bracketed_spans`
410− enabled (#3229).
411− + Fixed inconsistent spacing issue (#3232). Previously a tight bullet
412− sublist got rendered with a blank line after, while a tight ordered
413− sublist did not. Now we don't get the blank line in either case.
414− + Fix escaping of spaces in super/subscript (#3225). Previously two
415− backslashes were inserted, which gave a literal backslash.
416− + Adjust widths in Markdown grid tables so that they match
417− on round-trip.
418−
419− * Docx writer:
420−
421− + Give full detail when there are errors converting tex math.
422− + Handle title text in images (Jesse Rosenthal). We already handled
423− alt text. This just puts the image "title" into the docx
424− "title" attr.
425− + Fixed XML markup for empty cells (#3238). Previously the Compact
426− style wasn't being applied properly to empty cells.
427−
428− * HTML writer:
429−
430− + Updated `renderHtml` import from blaze-html.
431−
432− * Text.Pandoc.Pretty:
433−
434− + Fixed some bugs that caused blank lines in tables (#3251). The bugs
435− caused spurious blank lines in grid tables when we had things like
436− `blankline $$ blankline`.
437− + Add exported function `minOffet` \[API change\] (Björn Peemöller).
438− + Added error message for illegal call to `block` (Björn Peemöller).
439−
440− * Text.Pandoc.Shared:
441−
442− + Put `warn` in MonadIO.
443− + `fetchItem`: Better handling of protocol-relative URL (#2635). If
444− URL starts with `//` and there is no "base URL" (as there would be
445− if a URL were used on the command line), then default to http:.
446−
447− * Export Text.Pandoc.getDefaultExtensions \[API change\] (#3178).
448−
449− * In --version, trap error in `getAppUserDataDirectory` (#3241). This
450− fixes a crash with `pandoc --version` on unusual systems with no real
451− user (e.g. SQL Server 2016).
452−
453− * Added weigh-pandoc for memory usage diagnostics (#3169).
454−
455− * Use correct mime types for woff and woff2 (#3228).
456−
457− * Remove make\_travis\_yml.hs (#3235, Kolen Cheung).
458−
459− * changelog: Moved an item that was misplaced in the 1.17.2 section to the
460− 1.18 section where it belongs.
461−
462− * CONTRIBUTING.md: minor change in wording and punctuation (#3252,
463− Kolen Cheung).
464−
465− * Further revisions to manual for `--version` changes (#3244).
466−
467−
468−pandoc (1.18)
469−
470− * Added `--list-input-formats`, `--list-output-formats`,
471− `--list-extensions`, `--list-highlight-languages`, and
472− `--list-highlight-styles` (#3173). Removed list of highlighting
473− languages from `--version` output. Removed list of input and output
474− formats from default `--help` output.
475−
476− * Added `--reference-location=block|section|document` option
477− (Jesse Rosenthal). This determines whether Markdown link references
478− and footnotes are placed at the end of the document, the end of the
479− section, or the end of the top-level block.
480−
481− * Added `--top-level-division=section|chapter|part` (Albert Krewinkel).
482− This determines what a level-1 header corresponds to in LaTeX,
483− ConTeXt, DocBook, and TEI output. The default is `section`.
484− The `--chapters` option has been deprecated in favor of
485− `--top-level-division=chapter`.
486−
487− * Added `LineBlock` constructor for `Block` (Albert Krewinkel). This
488− is now used in parsing RST and Markdown line blocks, DocBook
489− `linegroup`/`line` combinations, and Org-mode `VERSE` blocks.
490− Previously `Para` blocks with hard linebreaks were used. `LineBlock`s
491− are handled specially in the following ouput formats: AsciiDoc
492− (as `[verse]` blocks), ConTeXt (`\startlines`/`\endlines`),
493− HTML (`div` with a style), Markdown (line blocks if `line_blocks`
494− is enabled), Org-mode (`VERSE` blocks), RST (line blocks). In
495− other output formats, a paragraph with hard linebreaks is emitted.
496−
497− * Allow binary formats to be written to stdout (but not to tty) (#2677).
498− Only works on posix, since we use the unix library to check whether
499− output is to tty. On Windows, pandoc works as before and always requires
500− an output file parameter for binary formats.
501−
502− * Changed JSON output format (Jesse Rosenthal). Previously we used
503− generically generated JSON, but this was subject to change depending
504− on the version of aeson pandoc was compiled with. To ensure stability,
505− we switched to using manually written ToJSON and FromJSON
506− instances, and encoding the API version. **Note:** pandoc filter
507− libraries will need to be revised to handle the format change.
508− Here is a summary of the essential changes:
509−
510− + The toplevel JSON format is now `{"pandoc-api-version" :
511− [MAJ, MIN, REV], "meta" : META, "blocks": BLOCKS}`
512− instead of `[{"unMeta": META}, [BLOCKS]]`.
513− Decoding fails if the major and minor version numbers don't
514− match.
515− + Leaf nodes no longer have an empty array for their "c" value.
516− Thus, for example, a `Space` is encoded as `{"t":"Space"}`
517− rather than `{"t":"Space","c":[]}` as before.
518−
519− * Removed `tests/Tests/Arbitrary.hs` and added a `Text.Pandoc.Arbitrary`
520− module to pandoc-types (Jesse Rosenthal). This makes it easier
521− to use QuickCheck with pandoc types outside of pandoc itself.
522−
523− * Add `bracketed_spans` Markdown extension, enabled by default
524− in pandoc `markdown`. This allows you to create a native span
525− using this syntax: `[Here is my span]{#id .class key="val"}`.
526−
527− * Added `angle_brackets_escapable` Markdown extension (#2846).
528− This is needed because github flavored Markdown has a slightly
529− different set of escapable symbols than original Markdown;
530− it includes angle brackets.
531−
532− * Export `Text.Pandoc.Error` in `Text.Pandoc` [API change].
533−
534− * Print highlighting-kate version in `--version`.
535−
536− * `Text.Pandoc.Options`:
537−
538− + `Extension` has new constructors `Ext_brackted_spans` and
539− `Ext_angle_brackets_escapable` [API change].
540− + Added `ReferenceLocation` type [API change] (Jesse Rosenthal).
541− + Added `writerReferenceLocation` field to `WriterOptions` (Jesse
542− Rosenthal).
543−
544− * `--filter`: we now check `$DATADIR/filters` for filters before
545− looking in the path (#3127, Jesse Rosenthal, thanks to Jakob
546− Voß for the idea). Filters placed in this directory need not
547− be executable; if the extension is `.hs`, `.php`, `.pl`, `.js`,
548− or `.rb`, pandoc will run the right interpreter.
549−
550− * For `--webtex`, replace deprecated Google Chart API by CodeCogs as
551− default (Kolen Cheung).
552−
553− * Removed `raw_tex` extension from `markdown_mmd` defaults (Kolen Cheung).
554−
555− * Execute .js filters with node (Jakob Voß).
556−
557− * Textile reader:
558−
559− + Support `bc..` extended code blocks (#3037). Also, remove trailing
560− newline in code blocks (consistently with Markdown reader).
561− + Improve table parsing. We now handle cell and row attributes, mostly
562− by skipping them. However, alignments are now handled properly.
563− Since in pandoc alignment is per-column, not per-cell, we
564− try to devine column alignments from cell alignments.
565− Table captions are also now parsed, and textile indicators
566− for thead and tfoot no longer cause parse failure. (However,
567− a row designated as tfoot will just be a regular row in pandoc.)
568− + Improve definition list parsing. We now allow multiple terms
569− (which we concatenate with linebreaks). An exponential parsing
570− bug (#3020) is also fixed.
571− + Disallow empty URL in explicit link (#3036).
572−
573− * RST reader:
574−
575− + Use Div instead of BlockQuote for admonitions (#3031).
576− The Div has class `admonition` and (if relevant) one of the
577− following: `attention`, `caution`, `danger`, `error`, `hint`,
578− `important`, `note`, `tip`, `warning`. **Note:** This will change
579− the rendering of some RST documents! The word ("Warning", "Attention",
580− etc.) is no longer added; that must be done with CSS or a filter.
581− + A Div is now used for `sidebar` as well.
582− + Skip whitespace before note (Jesse Rosenthal, #3163). RST requires a
583− space before a footnote marker. We discard those spaces so that footnotes
584− will be adjacent to the text that comes before it. This is in line with
585− what rst2latex does.
586− + Allow empty lines when parsing line blocks (Albert Krewinkel).
587−
588− * Markdown reader:
589−
590− + Allow empty lines when parsing line blocks (Albert Krewinkel).
591− + Allow attributes on autolinks (#3183, Daniele D'Orazio).
592−
593− * LaTeX reader:
594−
595− + More robust parsing of unknown environments (#3026).
596− We no longer fail on things like `^` inside options for tikz.
597− + Be more forgiving of non-standard characters, e.g. `^` outside of math.
598− Some custom environments give these a meaning, so we should try not to
599− fall over when we encounter them.
600− + Drop duplicate `*` in bibtexKeyChars (Albert Krewinkel)
601−
602− * MediaWiki reader:
603−
604− + Fix for unquoted attribute values in mediawiki tables (#3053).
605− Previously an unquoted attribute value in a table row
606− could cause parsing problems.
607− + Improved treatment of verbatim constructions (#3055).
608− Previously these yielded strings of alternating Code and Space
609− elements; we now incorporate the spaces into the Code. Emphasis
610− etc. is still possible inside these.
611− + Properly interpret XML tags in pre environments (#3042). They are meant
612− to be interpreted as literal text.
613−
614− * EPUB reader: don't add root path to data: URIs (#3150).
615− Thanks to @lep for the bug report and patch.
616−
617− * Org reader (Albert Krewinkel):
618−
619− + Preserve indentation of verse lines (#3064). Leading spaces in verse
620− lines are converted to non-breaking spaces, so indentation is preserved.
621− + Ensure image sources are proper links. Image sources as those in plain
622− images, image links, or figures, must be proper URIs or relative file
623− paths to be recognized as images. This restriction is now enforced
624− for all image sources. This also fixes the reader's usage of uncleaned
625− image sources, leading to `file:` prefixes not being deleted from
626− figure images. Thanks to @bsag for noticing this bug.
627− + Trim verse lines properly (Albert Krewinkel).
628− + Extract meta parsing code to module. Parsing of meta-data is well
629− separable from other block parsing tasks. Moving into new module to
630− get small files and clearly arranged code.
631− + Read markup only for special meta keys. Most meta-keys should be read
632− as normal string values, only a few are interpreted as marked-up text.
633− + Allow multiple, comma-separated authors. Multiple authors can be
634− specified in the `#+AUTHOR` meta line if they are given as a
635− comma-separated list.
636− + Give precedence to later meta lines. The last meta-line of any given
637− type is the significant line. Previously the value of the first line
638− was kept, even if more lines of the same type were encounterd.
639− + Read LaTeX_header as header-includes. LaTeX-specific header commands
640− can be defined in `#+LaTeX_header` lines. They are parsed as
641− format-specific inlines to ensure that they will only show up in LaTeX
642− output.
643− + Set documentclass meta from LaTeX_class.
644− + Set classoption meta from LaTeX_class_options.
645− + Read HTML_head as header-includes. HTML-specific head content can be
646− defined in `#+HTML_head` lines. They are parsed as format-specific
647− inlines to ensure that they will only show up in HTML output.
648− + Respect `author` export option. The `author` option controls whether
649− the author should be included in the final markup. Setting
650− `#+OPTIONS: author:nil` will drop the author from the final meta-data
651− output.
652− + Respect `email` export option. The `email` option controls whether the
653− email meta-field should be included in the final markup. Setting
654− `#+OPTIONS: email:nil` will drop the email field from the final
655− meta-data output.
656− + Respect `creator` export option. The `creator` option controls whether
657− the creator meta-field should be included in the final markup. Setting
658− `#+OPTIONS: creator:nil` will drop the creator field from the final
659− meta-data output. Org-mode recognizes the special value `comment` for
660− this field, causing the creator to be included in a comment. This is
661− difficult to translate to Pandoc internals and is hence interpreted the
662− same as other truish values (i.e. the meta field is kept if it's
663− present).
664− + Respect unnumbered header property (#3095). Sections the `unnumbered`
665− property should, as the name implies, be excluded from the automatic
666− numbering of section provided by some output formats. The Pandoc
667− convention for this is to add an "unnumbered" class to the header. The
668− reader treats properties as key-value pairs per default, so a special
669− case is added to translate the above property to a class instead.
670− + Allow figure with empty caption (Albert Krewinkel, #3161).
671− A `#+CAPTION` attribute before an image is enough to turn an image into
672− a figure. This wasn't the case because the `parseFromString` function,
673− which processes the caption value, would fail on empty values. Adding
674− a newline character to the caption value fixes this.
675−
676− * Docx reader:
677−
678− + Use XML convenience functions (Jesse Rosenthal).
679− The functions `isElem` and `elemName` (defined in Docx/Util.hs) make
680− the code a lot cleaner than the original XML.Light functions, but they
681− had been used inconsistently. This puts them in wherever applicable.
682− + Handle anchor spans with content in headers. Previously, we would only
683− be able to figure out internal links to a header in a docx if the
684− anchor span was empty. We change that to read the inlines out of the
685− first anchor span in a header.
686− + Let headers use exisiting id. Previously we always generated an id for
687− headers (since they wouldn't bring one from Docx). Now we let it use an
688− existing one if possible. This should allow us to recurs through anchor
689− spans.
690− + Use all anchor spans for header ids. Previously we only used the first
691− anchor span to affect header ids. This allows us to use all the anchor
692− spans in a header, whether they're nested or not (#3088).
693− + Test for nested anchor spans in header. This ensures that anchor spans
694− in header with content (or with other anchor spans inside) will resolve
695− to links to a header id properly.
696−
697− * ODT reader (Hubert Plociniczak)
698−
699− + Include list's starting value. Previously the starting value of
700− the lists' items has been hardcoded to 1. In reality ODT's list
701− style definition can provide a new starting value in one of its
702− attributes.
703− + Infer caption from the text following the image.
704− Frame can contain other frames with the text boxes.
705− + Add `fig:` to title for Image with a caption (as expected
706− by pandoc's writers).
707− + Basic support for images in ODT documents.
708− + Don't duplicate text for anchors (#3143). When creating an anchor
709− element we were adding its representation as well as the original
710− content, leading to text duplication.
711−
712− * DocBook writer:
713−
714− + Include an anchor element when a div or span has an id (#3102).
715− Note that DocBook does not have a class attribute, but at least this
716− provides an anchor for internal links.
717−
718− * LaTeX writer:
719−
720− + Don't use * for unnumbered paragraph, subparagraph. The starred
721− variants don't exist. This helps with part of #3058...it gets rid of
722− the spurious `*`s. But we still have numbers on the 4th and 5th level
723− headers.
724− + Properly escape backticks in verbatim (#3121, Jesse Rosenthal).
725− Otherwise they can cause unintended ligatures like `` ?` ``.
726− + Handle NARRAOW NO-BREAK SPACE into LaTeX (Vaclav Zeman) as `\,`.
727− + Don't include `[htbp]` placement for figures (#3103, Václav Haisman).
728− This allows figure placement defaults to be changed by the user
729− in the template.
730−
731− * HTML writer (slide show formats): In slide shows, don't change slide title
732− to level 1 header (#2221).
733−
734− * TEI writer: remove heuristic to detect book template (Albert Krewinkel).
735− TEI doesn't have `<book>` elements but only generic `<divN>` division
736− elements. Checking the template for a trailing `</book>` is nonsensical.
737−
738− * MediaWiki writer: transform filename with underscores in images (#3052).
739− `foo bar.jpg` becomes `foo_bar.jpg`. This was already done
740− for internal links, but it also needs to happen for images.
741−
742− * ICML writer: replace partial function (!!) in table handling (#3175,
743− Mauro Bieg).
744−
745− * Man writer: allow section numbers that are not a single digit (#3089).
746−
747− * AsciiDoc writer: avoid unnecessary use of "unconstrained" emphasis
748− (#3068). In AsciiDoc, you must use a special form of emphasis
749− (double `__`) for intraword emphasis. Pandoc was previously using
750− this more than necessary.
751−
752− * EPUB writer: use stringify instead of plain writer for metadata
753− (#3066). This means that underscores won't be used for emphasis,
754− or CAPS for bold. The metadata fields will just have unadorned
755− text.
756−
757− * Docx Writer:
758−
759− + Implement user-defined styles (Jesse Rosenthal). Divs and Spans
760− with a `custom-style` key in the attributes will apply the corresponding
761− key to the contained blocks or inlines.
762− + Add ReaderT env to the docx writer (Jesse Rosenthal).
763− + Clean up and streamline RTL behavior (Jesse Rosenthal, #3140).
764− You can set `dir: rtl` in YAML metadata, or use `-M dir=rtl`
765− on the command line. For finer-grained control, you can set
766− the `dir` attribute in Div or Span elements.
767−
768− * Org writer (Albert Krewinkel):
769−
770− + Remove blank line after figure caption. Org-mode only treats an image
771− as a figure if it is directly preceded by a caption.
772− + Ensure blank line after figure. An Org-mode figure should be surrounded
773− by blank lines. The figure would be recognized regardless, but images
774− in the following line would unintentionally be treated as figures as
775− well.
776− + Ensure link targets are paths or URLs. Org-mode treats links as
777− document internal searches unless the link target looks like a URL or
778− file path, either relative or absolute. This change ensures that this
779− is always the case.
780− + Translate language identifiers. Pandoc and Org-mode use different
781− programming language identifiers. An additional translation between
782− those identifiers is added to avoid unexpected behavior. This fixes a
783− problem where language specific source code would sometimes be output
784− as example code.
785− + Drop space before footnote markers (Albert Krewinkel, #3162).
786− The writer no longer adds an extra space before footnote markers.
787−
788− * Markdown writer:
789−
790− + Don't emit HTML for tables unless `raw_html` extension is set (#3154).
791− Emit `[TABLE]` if no suitable table formats are enabled and raw HTML
792− is disabled.
793− + Check for the `raw_html` extension before emiting a raw HTML block.
794− + Abstract out note/ref function (Jesse Rosenthal).
795− + Add ReaderT monad for environment variables (Jesse Rosenthal).
796−
797− * HTML, EPUB, slidy, revealjs templates: Use `<p>` instead of `<h1>` for
798− subtitle, author, date (#3119). Note that, as a result of this change,
799− authors may need to update CSS.
800−
801− * revealjs template: Added `notes-server` option
802− (jgm/pandoc-templates#212, Yoan Blanc).
803−
804− * Beamer template:
805−
806− + Restore whitespace between paragraphs. This was
807− a regression in the last release (jgm/pandoc-templates#207).
808− + Added `themeoptions` variable (Carsten Gips).
809− + Added `beamerarticle` variable. This causes the `beamerarticle`
810− package to be loaded in beamer, to produce an article from beamer
811− slides. (Carsten Gips)
812− + Added support for `fontfamilies` structured variable
813− (Artem Klevtsov).
814− + Added hypersetup options (Jake Zimmerman).
815−
816− * LaTeX template:
817−
818− + Added dummy definition for `\institute`.
819− This isn't a standard command, and we want to avoid a crash when
820− `institute` is used with the default template.
821− + Define default figure placement (Václav Haisman), since pandoc
822− no longer includes `[htbp]` for figures. Users with custom templates
823− will want to add this. See #3103.
824− + Use footnote package to fix notes in tables (jgm/pandoc-templates#208,
825− Václav Haisman).
826−
827− * Moved template compiling/rendering code to a separate library.
828− `doctemplates`. This allows the pandoc templating system to be
829− used independently.
830−
831− * Text.Pandoc.Error: Fix out of index error in `handleError`
832− (Matthew Pickering). The fix is to not try to show the exact line when
833− it would cause an out-of-bounds error as a result of included files.
834−
835− * Text.Pandoc.Shared: Add `linesToBlock` function (Albert Krewinkel).
836−
837− * Text.Pandoc.Parsing.emailAddress: tighten up parsing of email
838− addresses. Technically `**@user` is a valid email address, but if we
839− allow things like this, we get bad results in markdown flavors
840− that autolink raw email addresses (see #2940). So we exclude a few
841− valid email addresses in order to avoid these more common bad cases.
842−
843− * Text.Pandoc.PDF: Don't crash with nonexistent image (#3100). Instead,
844− emit the alt text, emphasized. This accords with what the ODT writer
845− currently does. The user will still get a warning about a nonexistent
846− image.
847−
848− * Fix example in API documentation (#3176, Thomas Weißschuh).
849−
850− * Tell where to get tarball in INSTALL (#3062).
851−
852− * Rename README to MANUAL.txt and add GitHub-friendly README.md
853− (Albert Krewinkel, Kolen Cheung).
854−
855− * Replace COPYING with Markdown version COPYING.md from GNU (Kolen Cheung).
856−
857− * MANUAL.txt:
858−
859− + Put note on structured vars in separate paragraph (#2148, Albert
860− Krewinkel). Make it clearer that structured author variables require a
861− custom template
862− + Note that `--katex` works best with `html5` (#3077).
863− + Fix the LaTeX and EPUB links in manual (Morton Fox).
864− + Document `biblio-title` variable.
865−
866− * Improve spacing of footnotes in `--help` output (Waldir Pimenta).
867−
868− * Update KaTeX to v0.6.0 (Kolen Cheung).
869−
870− * Allow latest dependencies.
871−
872− * Use texmath 0.8.6.6 (#3040).
873−
874− * Allow http-client 0.4.30, which is the version in stackage lts.
875− Previously we required 0.5.
876− Remove CPP conditionals for earlier versions.
877−
878− * Remove support for GHC < 7.8 (Jesse Rosenthal).
879−
880− + Remove Compat.Monoid.
881− + Remove an inline monad compatibility macro.
882− + Remove Text.Pandoc.Compat.Except.
883− + Remove directory compat.
884− + Change constraint on mtl.
885− + Remove unnecessary CPP condition in UTF8.
886− + Bump base lower bound to 4.7.
887− + Remove 7.6 build from .travis.yaml.
888− + Bump supported ghc version in CONTRIBUTING.md.
889− + Add note about GHC version support to INSTALL.
890− + Remove GHC 7.6 from list of tested versions (Albert Krewinkel).
891− + Remove TagSoup compat.
892− + Add EOL note to time compat module. Because time 1.4 is a boot library
893− for GHC 7.8, we will support the compatibility module as long as we
894− support 7.8. But we should be clear about when we will no longer need
895− it.
896− + Remove blaze-html CPP conditional.
897− + Remove unnecessary CPP in custom Prelude.
898−
899−pandoc (1.17.2)
900−
901− * Added Zim Wiki writer, template and tests. `zimwiki` is now
902− a valid output format. (Alex Ivkin)
903−
904− * Changed email-obfuscation default to no obfuscation (#2988).
905− + `writerEmailObfuscation` in `defaultWriterOptions` is now
906− `NoObfuscation`.
907− + the default for the command-line `--email-obfuscation` option is
908− now `none`.
909−
910− * Docbook writer: Declare xlink namespace in Docbook5 output (Ivo Clarysse).
911−
912− * Org writer:
913−
914− + Support arbitrary raw inlines (Albert Krewinkel).
915− Org mode allows arbitrary raw inlines ("export snippets" in Emacs
916− parlance) to be included as `@@format:raw foreign format text@@`.
917− + Improve Div handling (Albert Krewinkel). Div blocks handling is
918− changed to make the output look more like idiomatic org mode:
919− - Div-wrapped content is output as-is if the div's attribute is the
920− null attribute.
921− - Div containers with an id but neither classes nor key-value pairs
922− are unwrapped and the id is added as an anchor.
923− - Divs with classes associated with greater block elements are
924− wrapped in a `#+BEGIN`...`#+END` block.
925− - The old behavior for Divs with more complex attributes is kept.
926−
927− * HTML writer:
928−
929− + Better support for raw LaTeX environments (#2758).
930− Previously we just passed all raw TeX through when MathJax was used for
931− HTML math. This passed through too much. With this patch, only raw
932− LaTeX environments that MathJax can handle get passed through.
933− This patch also causes raw LaTeX environments to be treated
934− as math, when possible, with MathML and WebTeX output.
935−
936− * Markdown writer: use raw HTML for simple, pipe tables with linebreaks
937− (#2993). Markdown line breaks involve a newline, and simple and pipe
938− tables can't contain one.
939−
940− * Make --webtex work with the Markdown writer (#1177).
941− This is a convenient option for people using
942− websites whose Markdown flavors don't provide for math.
943−
944− * Docx writer:
945−
946− + Set paragraph to FirstPara after display math (Jesse Rosenthal).
947− We treat display math like block quotes, and apply FirstParagraph style
948− to paragraphs that follow them. These can be styled as the user
949− wishes. (But, when the user is using indentation, this allows for
950− paragraphs to continue after display math without indentation.)
951− + Use actual creation time as doc prop (Jesse Rosenthal).
952− Previously, we had used the user-supplied date, if available, for Word's
953− document creation metadata. This could lead to weird results, as in
954− cases where the user post-dates a document (so the modification might be
955− prior to the creation). Here we use the actual computer time to set the
956− document creation.
957−
958− * LaTeX writer:
959−
960− + Don't URI-escape image source (#2825). Usually this is a local file,
961− and replacing spaces with `%20` ruins things.
962− + Allow 'standout' as a beamer frame option (#3007).
963− `## Slide title {.standout}`.
964−
965− * RST reader: Fixed links with no explicit link text. The link
966− `` `<foo>`_ `` should have `foo` as both its link text and its URL.
967− See RST spec at <http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#embedded-uris-and-aliases>
968− Closes Debian #828167 -- reported by Christian Heller.
969−
970− * Textile reader:
971−
972− + Fixed attributes (#2984). Attributes can't be followed by
973− a space. So, `_(class)emph_` but `_(noclass) emph_`.
974− + Fixed exponential parsing bug (#3020).
975− + Fix overly aggressive interpretation as images (#2998).
976− Spaces are not allowed in the image URL in textile.
977−
978− * LaTeX reader:
979−
980− + Fix `\cite` so it is a NormalCitation not AuthorInText.
981− + Strip off double quotes around image source if present (#2825).
982− Avoids interpreting these as part of the literal filename.
983−
984− * Org reader:
985−
986− + Add semicolon to list of special chars (Albert Krewinkel)
987− Semicolons are used as special characters in citations syntax. This
988− ensures the correct parsing of Pandoc-style citations: `[prefix; @key;
989− suffix]`. Previously, parsing would have failed unless there was a space
990− or other special character as the last <prefix> character.
991− + Add support for "Berkeley-style" cites (Albert Krewinkel, #1978).
992− A specification for an official Org-mode citation syntax was drafted by
993− Richard Lawrence and enhanced with the help of others on the orgmode
994− mailing list. Basic support for this citation style is added to the
995− reader.
996− + Support arbitrary raw inlines (Albert Krewinkel).
997− Org mode allows arbitrary raw inlines ("export snippets" in Emacs
998− parlance) to be included as `@@format:raw foreign format text@@`.
999− + Remove partial functions (Albert Krewinkel, #2991).
1000− Partial functions like `head` lead to avoidable errors and should be
1001− avoided. They are replaced with total functions.
1002− + Support figure labels (Albert Krewinkel, #2496, #2999).
1003− Figure labels given as `#+LABEL: thelabel` are used as the ID of the
1004− respective image. This allows e.g. the LaTeX to add proper `\label`
1005− markup.
1006− + Improve tag and properties type safety (Albert Krewinkel).
1007− Specific newtype definitions are used to replace stringly typing of tags
1008− and properties. Type safety is increased while readability is improved.
1009− + Parse as headlines, convert to blocks (Albert Krewinkel).
1010− Emacs org-mode is based on outline-mode, which treats documents as trees
1011− with headlines are nodes. The reader is refactored to parse into a
1012− similar tree structure. This simplifies transformations acting on
1013− document (sub-)trees.
1014− * Refactor comment tree handling (Albert Krewinkel).
1015− Comment trees were handled after parsing, as pattern matching on lists
1016− is easier than matching on sequences. The new method of reading
1017− documents as trees allows for more elegant subtree removal.
1018− * Support archived trees export options (Albert Krewinkel).
1019− Handling of archived trees can be modified using the `arch` option.
1020− Archived trees are either dropped, exported completely, or collapsed to
1021− include just the header when the `arch` option is nil, non-nil, or
1022− `headline`, respectively.
1023− * Put export setting parser into module (Albert Krewinkel).
1024− Export option parsing is distinct enough from general block parsing to
1025− justify putting it into a separate module.
1026− * Support headline levels export setting (Albert Krewinkel).
1027− The depths of headlines can be modified using the `H` option. Deeper
1028− headlines will be converted to lists.
1029− * Replace ugly code with view pattern (Albert Krewinkel).
1030− Some less-than-smart code required a pragma switching of overlapping
1031− pattern warnings in order to compile seamlessly. Using view patterns
1032− makes the code easier to read and also doesn't require overlapping
1033− pattern checks to be disabled.
1034− * Fix parsing of verbatim inlines (Albert Krewinkel, #3016).
1035− Org rules for allowed characters before or after markup chars were not
1036− checked for verbatim text. This resultet in wrong parsing outcomes of
1037− if the verbatim text contained e.g. space enclosed markup characters as
1038− part of the text (`=is_substr = True=`). Forcing the parser to update
1039− the positions of allowed/forbidden markup border characters fixes this.
1040−
1041− * LaTeX template: fix for obscure hyperref/xelatex issue.
1042− Here's a minimal case:
1043−
1044− \documentclass[]{article}
1045− \usepackage{hyperref}
1046− \begin{document}
1047− \section{\%á}
1048− \end{document}
1049−
1050− Without this change, this fails on the second invocation of xelatex.
1051− This affects inputs this like `# %á` with pdf output via xelatex.
1052−
1053− * trypandoc: call results 'html' instead of 'result'.
1054− This is for better compatibility with babelmark2.
1055−
1056− * Document MultiMarkdown as input/output format (Albert Krewinkel, #2973).
1057− MultiMarkdown was only mentioned as a supported Markdown dialect but not
1058− as a possible input or output format. A brief mention is added
1059− everywhere the other supported markdown dialects are mentioned.
1060−
1061− * Document Org mode as a format containing raw HTML (Albert Krewinkel)
1062− Raw HTML is kept when the output format is Emacs Org mode.
1063−
1064− * Implement `RawInline` and `RawBlock` in sample lua custom writer (#2985).
1065−
1066− * Text.Pandoc.Shared:
1067−
1068− + Introduce blocksToInlines function (Jesse Rosenthal).
1069− This is a lossy function for converting `[Block] -> [Inline]`. Its main
1070− use, at the moment, is for docx comments, which can contain arbitrary
1071− blocks (except for footnotes), but which will be converted to spans.
1072− This is, at the moment, pretty useless for everything but the basic
1073− `Para` and `Plain` comments. It can be improved, but the docx reader
1074− should probably emit a warning if the comment contains more than this.
1075− + Add BlockQuote to blocksToInlines (Jesse Rosenthal).
1076− + Add further formats for `normalizeDate` (Jesse Rosenthal).
1077− We want to avoid illegal dates -- in particular years with greater than
1078− four digits. We attempt to parse series of digits first as `%Y%m%d`, then
1079− `%Y%m`, and finally `%Y`.
1080− + `normalizeDate` should reject illegal years (Jesse Rosenthal).
1081− We only allow years between 1601 and 9999, inclusive. The ISO 8601
1082− actually says that years are supposed to start with 1583, but MS Word
1083− only allows 1601-9999. This should stop corrupted word files if the date
1084− is out of that range, or is parsed incorrectly.
1085− + Improve year sanity check in normalizeDate (Jesse Rosenthal).
1086− Previously we parsed a list of dates, took the first one, and then
1087− tested its year range. That meant that if the first one failed, we
1088− returned nothing, regardless of what the others did. Now we test for
1089− sanity before running `msum` over the list of Maybe values. Anything
1090− failing the test will be Nothing, so will not be a candidate.
1091−
1092− * Docx reader:
1093−
1094− + Add simple comment functionality. (Jesse Rosenthal).
1095− This adds simple track-changes comment parsing to the docx reader. It is
1096− turned on with `--track-changes=all`. All comments are converted to
1097− inlines, which can list some information. In the future a warning will be
1098− added for comments with formatting that seems like it will be excessively
1099− denatured. Note that comments can extend across blocks. For that reason
1100− there are two spans: `comment-start` and `comment-end`. `comment-start`
1101− will contain the comment. `comment-end` will always be empty. The two
1102− will be associated by a numeric id.
1103− + Enable warnings in top-level reader (Jesse Rosenthal).
1104− Previously we had only allowed for warnings in the parser. Now we allow
1105− for them in the `Docx.hs` as well. The warnings are simply concatenated.
1106− + Add warning for advanced comment formatting. (Jesse Rosenthal).
1107− We can't guarantee we'll convert every comment correctly, though we'll
1108− do the best we can. This warns if the comment includes something other
1109− than Para or Plain.
1110− + Add tests for warnings. (Jesse Rosenthal).
1111− + Add tests for comments (Jesse Rosenthal).
1112− We test for comments, using all track-changes options. Note that we
1113− should only output comments if `--track-changes=all`. We also test for
1114− emitting warnings if there is complicated formatting.
1115−
1116− * README: update to include track-changes comments. (Jesse Rosenthal)
1117−
1118− * Improved Windows installer - don't ignore properties set on command-line.
1119− See #2708. Needs testing to see if this resolves the issue.
1120− Thanks to @nkalvi.
1121−
1122− * Process markdown extensions on command line in L->R order (#2995).
1123− Previously they were processed, very unintuitively, in R->L
1124− order, so that `markdown-tex_math_dollars+tex_math_dollars`
1125− had `tex_math_dollars` disabled.
1126−
1127− * Added `secnumdepth` variable to LaTeX template (#2920).
1128−
1129− * Include table of contents in README.html in Windows package.
1130−
1131− * Writers: treat SoftBreak as space for stripping (Jesse Rosenthal)
1132− In Writers.Shared, we strip leading and trailing spaces for display
1133− math. Since SoftBreak's are treated as spaces, we should strip those
1134− too.
1135−
1136− * beamer, latex templates: pass biblatexoptions directly in package load.
1137− This allows runtime optinos to be used. Fixes jgm/pandoc-citeproc#201
1138−
1139− * CPP workaround for deprecation of `parseUrl` in http-client.
1140−
1141− * Removed some redundant class constraints.
1142−
1143− * make_oxs_package.sh - use OSX env variable.
1144−
1145− * Replaced INSTALL with INSTALL.md, incorporating INSTALL and the
1146− old installing page from website.
1147−
1148− * Added `winpkg` target to Makefile. This downloads the windows package
1149− from appveyor and signs it using the key.
1150−
1151− * Document Org mode as a format containing raw TeX (Albert Krewinkel).
1152− Raw TeX is kept verbatim when the output format is Emacs Org mode.
1153−
1154− * Support math with haddock-library >= 1.4.
1155−
1156− * Removed `-rtsopts` from library stanza. It has no effect, and Hackage
1157− wouldn't accept the package.
1158−
1159− * Update library dependency versions.
1160−
1161−pandoc (1.17.1)
1162−
1163− * New output format: `docbook5` (Ivo Clarysse).
1164−
1165− * `Text.Pandoc.Options`: Add `writerDocBook5` to `WriterOptions`
1166− (API change).
1167−
1168− * Org writer:
1169−
1170− + Add :PROPERTIES: drawer support (Albert Krewinkel, #1962).
1171− This allows header attributes to be added to org documents in the form
1172− of `:PROPERTIES:` drawers. All available attributes are stored as
1173− key/value pairs. This reflects the way the org reader handles
1174− `:PROPERTIES:` blocks.
1175− + Add drawer capability (Carlos Sosa). For the implementation of the
1176− Drawer element in the Org Writer, we make use of a generic Block
1177− container with attributes. The presence of a `drawer` class defines
1178− that the `Div` constructor is a drawer. The first class defines the
1179− drawer name to use. The key-value list in the attributes defines
1180− the keys to add inside the Drawer. Lastly, the list of Block elements
1181− contains miscellaneous blocks elements to add inside of the Drawer.
1182− + Use `CUSTOM_ID` in properties (Albert Krewinkel). The `ID` property is
1183− reserved for internal use by Org-mode and should not be used.
1184− The `CUSTOM_ID` property is to be used instead, it is converted to the
1185− `ID` property for certain export format.
1186−
1187− * LaTeX writer:
1188−
1189− + Ignore `--incremental` unless output format is beamer (#2843).
1190− + Fix polyglossia to babel env mapping (Mauro Bieg, #2728).
1191− Allow for optional argument in square brackets.
1192− + Recognize `la-x-classic` as Classical Latin (Andrew Dunning).
1193− This allows one to access the hyphenation patterns in CTAN's
1194− hyph-utf8.
1195− + Add missing languages from hyph-utf8 (Andrew Dunning).
1196− + Improve use of `\strut` with `\minipage` inside tables
1197− (Jose Luis Duran). This improves spacing in multiline
1198− tables.
1199− + Use `{}` around options containing special chars (#2892).
1200− + Avoid lazy `foldl`.
1201− + Don't escape underscore in labels (#2921). Previously they were
1202− escaped as `ux5f`.
1203− + brazilian -> brazil for polyglossia (#2953).
1204−
1205− * HTML writer: Ensure mathjax link is added when math appears in footnote
1206− (#2881). Previously if a document only had math in a footnote, the
1207− MathJax link would not be added.
1208−
1209− * EPUB writer: set `navpage` variable on nav page.
1210− This allows templates to treat it differently.
1211−
1212− * DocBook writer:
1213−
1214− + Use docbook5 if `writerDocbook5` is set (Ivo Clarysse).
1215− + Properly handle `ulink`/`link` (Ivo Clarysse).
1216−
1217− * EPUB reader:
1218−
1219− + Unescape URIs in spine (#2924).
1220− + EPUB reader: normalise link id (Mauro Bieg).
1221−
1222− * Docx Reader:
1223−
1224− + Parse `moveTo` and `moveFrom` (Jesse Rosenthal).
1225− `moveTo` and `moveFrom` are track-changes tags that are used when a
1226− block of text is moved in the document. We now recognize these tags and
1227− treat them the same as `insert` and `delete`, respectively. So,
1228− `--track-changes=accept` will show the moved version, while
1229− `--track-changes=reject` will show the original version.
1230− + Tests for track-changes moving (Jesse Rosenthal).
1231−
1232− * ODT, EPUB, Docx readers: throw `PandocError` on unzip failure
1233− (Jesse Rosenthal) Previously, `readDocx`, `readEPUB`, and `readOdt`
1234− would error out if zip-archive failed. We change the archive extraction
1235− step from `toArchive` to `toArchiveOrFail`, which returns an Either value.
1236−
1237− * Markdown, HTML readers: be more forgiving about unescaped `&` in
1238− HTML (#2410). We are now more forgiving about parsing invalid HTML with
1239− unescaped `&` as raw HTML. (Previously any unescaped `&`
1240− would cause pandoc not to recognize the string as raw HTML.)
1241−
1242− * Markdown reader:
1243−
1244− + Added bracket syntax for native spans (#168).
1245− + Fix pandoc title blocks with lines ending in 2 spaces (#2799).
1246− + Added `-s` to markdown-reader-more test.
1247−
1248− * HTML reader: fixed bug in `pClose`. This caused exponential parsing
1249− behavior in documnets with unclosed tags in `dl`, `dd`, `dt`.
1250−
1251− * MediaWiki reader: Allow spaces before `!` in MediaWiki table header
1252− (roblabla).
1253−
1254− * RST reader: Support `:class:` option for code block in RST reader
1255− (Sidharth Kapur).
1256−
1257− * Org reader (all Albert Krewinkel, except where noted otherwise):
1258−
1259− + Stop padding short table rows.
1260− Emacs Org-mode doesn't add any padding to table rows. The first
1261− row (header or first body row) is used to determine the column count,
1262− no other magic is performed.
1263− + Refactor rows-to-table conversion. This refactors
1264− the codes conversing a list table lines to an org table ADT.
1265− The old code was simplified and is now slightly less ugly.
1266− + Fix handling of empty table cells, rows (Albert Krewinkel, #2616).
1267− This fixes Org mode parsing of some corner cases regarding empty cells
1268− and rows. Empty cells weren't parsed correctly, e.g. `|||` should be
1269− two empty cells, but would be parsed as a single cell containing a pipe
1270− character. Empty rows where parsed as alignment rows and dropped from
1271− the output.
1272− + Fix spacing after LaTeX-style symbols.
1273− The org-reader was droping space after unescaped LaTeX-style symbol
1274− commands: `\ForAll \Auml` resulted in `∀Ä` but should give `∀ Ä`
1275− instead. This seems to be because the LaTeX-reader treats the
1276− command-terminating space as part of the command. Dropping the trailing
1277− space from the symbol-command fixes this issue.
1278− + Print empty table rows. Empty table rows should not
1279− be dropped from the output, so row-height is always set to be at least 1.
1280− + Move parser state into separate module.
1281− The org reader code has become large and confusing. Extracting smaller
1282− parts into submodules should help to clean things up.
1283− + Add support for sub/superscript export options.
1284− Org-mode allows to specify export settings via `#+OPTIONS` lines.
1285− Disabling simple sub- and superscripts is one of these export options,
1286− this options is now supported.
1287− + Support special strings export option Parsing of special strings
1288− (like `...` as ellipsis or `--` as en dash) can be toggled using the `-`
1289− option.
1290− + Support emphasized text export option. Parsing of emphasized text can
1291− be toggled using the `*` option. This influences parsing of text marked
1292− as emphasized, strong, strikeout, and underline. Parsing of inline math,
1293− code, and verbatim text is not affected by this option.
1294− + Support smart quotes export option. Reading of smart quotes can be
1295− toggled using the `'` option.
1296− + Parse but ignore export options. All known export options are parsed
1297− but ignored.
1298− + Refactor block attribute handling. A parser state attribute was used
1299− to keep track of block attributes defined in meta-lines. Global state
1300− is undesirable, so block attributes are no longer saved as part of the
1301− parser state. Old functions and the respective part of the parser state
1302− are removed.
1303− + Use custom `anyLine`. Additional state changes need to be made after
1304− a newline is parsed, otherwise markup may not be recognized correctly.
1305− This fixes a bug where markup after certain block-types would not be
1306− recognized.
1307− + Add support for `ATTR_HTML` attributes (#1906).
1308− Arbitrary key-value pairs can be added to some block types using a
1309− `#+ATTR_HTML` line before the block. Emacs Org-mode only includes these
1310− when exporting to HTML, but since we cannot make this distinction here,
1311− the attributes are always added. The functionality is now supported
1312− for figures.
1313− + Add `:PROPERTIES:` drawer support (#1877).
1314− Headers can have optional `:PROPERTIES:` drawers associated with them.
1315− These drawers contain key/value pairs like the header's `id`. The
1316− reader adds all listed pairs to the header's attributes; `id` and
1317− `class` attributes are handled specially to match the way `Attr` are
1318− defined. This also changes behavior of how drawers of unknown type
1319− are handled. Instead of including all unknown drawers, those are not
1320− read/exported, thereby matching current Emacs behavior.
1321− + Use `CUSTOM_ID` in properties. See above on Org writer changes.
1322− + Respect drawer export setting. The `d` export option can be used
1323− to control which drawers are exported and which are discarded.
1324− Basic support for this option is added here.
1325− + Ignore leading space in org code blocks (Emanuel Evans, #2862).
1326− Also fix up tab handling for leading whitespace in code blocks.
1327− + Support new syntax for export blocks. Org-mode version 9
1328− uses a new syntax for export blocks. Instead of `#+BEGIN_<FORMAT>`,
1329− where `<FORMAT>` is the format of the block's content, the new
1330− format uses `#+BEGIN_export <FORMAT>` instead. Both types are
1331− supported.
1332− + Refactor `BEGIN...END` block parsing.
1333− + Fix handling of whitespace in blocks, allowing content to be indented
1334− less then the block header.
1335− + Support org-ref style citations. The *org-ref* package is an
1336− org-mode extension commonly used to manage citations in org
1337− documents. Basic support for the `cite:citeKey` and
1338− `[[cite:citeKey][prefix text::suffix text]]` syntax is added.
1339− + Split code into separate modules, making for cleaner code and
1340− better decoupling.
1341−
1342− * Added `docbook5` template.
1343−
1344− * `--mathjax` improvements:
1345−
1346− + Use new CommonHTML output for MathJax (updated default MathJax URL,
1347− #2858).
1348− + Change default mathjax setup to use `TeX-AMS_CHTML` configuration.
1349− This is designed for cases where the input is always TeX and maximal
1350− conformity with TeX is desired. It seems to be smaller and load faster
1351− than what we used before. See #2858.
1352− + Load the full MathJax config to maximize loading speed (KolenCheung).
1353−
1354− * Bumped upper version bounds to allow use of latest packages
1355− and compilation with ghc 8.
1356−
1357− * Require texmath 0.8.6.2. Closes several texmath-related bugs (#2775,
1358− #2310, #2310, #2824). This fixes behavior of roots, e.g.
1359− `\sqrt[3]{x}`, and issues with sub/superscript positioning
1360− and matrix column alignment in docx.
1361−
1362− * README:
1363−
1364− + Clarified documentation of `implicit_header_references` (#2904).
1365− + Improved documentation of `--columns` option.
1366−
1367− * Added appveyor setup, with artefacts (Jan Schulz).
1368−
1369− * stack.yaml versions: Use proper flags used for texmath, pandoc-citeproc.
1370−
1371− * LaTeX template: support for custom font families (vladipus).
1372− Needed for correct polyglossia operation with Cyrillic fonts and perhaps
1373− can find some other usages. Example usage in YAML metadata:
1374−
1375− fontfamilies:
1376− - name: \cyrillicfont
1377− font: Liberation Serif
1378− - name: \cyrillicfonttt
1379− options: Scale=MatchLowercase
1380− font: Liberation
1381−
1382− * Create unsigned msi as build artifact in appveyor build.
1383−
1384− * On travis, test with ghc 8.0.1; drop testing for ghc 7.4.1.
1385−
1386−pandoc (1.17.0.3)
1387−
1388− * LaTeX writer: Fixed position of label in figures (#2813).
1389− Previously the label wasn't in the right place, and `\ref`
1390− wouldn't work properly.
1391− * Added .tei test files to pandoc.cabal so they'll be included
1392− in tarball (#2811).
1393− * Updated copyright dates.
1394−
1395−pandoc (1.17.0.2)
1396−
1397− * Fixed serious regression in `htmlInBalanced`, which caused
1398− newlines to be omitted in some raw HTML blocks in Markdown
1399− (#2804).
1400−
1401−pandoc (1.17.0.1)
1402−
1403− * File scope is no longer used when there are no input files (i.e.,
1404− when input comes from stdin). Previously file scope was triggered
1405− when the `json` reader was specified and input came from `stdin`,
1406− and this caused no output to be produced. (Fix due to Jesse Rosenthal;
1407− thanks to Fedor Sheremetyev for calling the bug to our attention.)
1408− * Improved documentation of templates (#2797).
1409−
1410−pandoc (1.17)
1411−
1412− * Added `--file-scope` option (Jesse Rosenthal).
1413− By default pandoc operates on multiple files by first concatenating
1414− them (around extra line breaks) and then processing the joined file. So
1415− it only parses a multi-file document at the document scope. This has the
1416− benefit that footnotes and links can be in different files, but for
1417− some purposes it is useful to parse the individual files first
1418− and then combine their outputs (e.g. when the files use footnotes
1419− or links with the same labels). The `--file-scope` option causes
1420− pandoc to parse the files first, and then combine the parsed output,
1421− instead of combining before parsing. `--file-scope` is selected
1422− automatically for binary input files (which cannot be concatenated)
1423− and for pandoc json.
1424−
1425− * Add TEI Writer (Chris Forster) and `tei` output format.
1426−
1427− * Added a general `ByteStringReader` with warnings, used by the docx
1428− reader (API change, Jesse Rosenthal).
1429−
1430− * Add `readDocxWithWarnings` (API change, Jesse Rosenthal).
1431−
1432− * Changed type of `Shared.uniqueIdent`'s argument from `[String]`
1433− to `Set String.` This avoids performance problems in documents with
1434− many identically named headers (API change, #2671).
1435−
1436− * Removed `tex_math_single_backslash` from `markdown_github` options
1437− (#2707).
1438−
1439− * Make language extensions as well as full language names
1440− trigger syntax highlighting. For example, `py` will now work as
1441− well as `python` (jgm/highlighting-kate#83).
1442−
1443− * Added `institute` variable to latex, beamer templates (Fraser
1444− Tweedale, Josef Svenningsson).
1445−
1446− * Docx reader (Jesse Rosenthal):
1447−
1448− + Handle alternate content. Some word functions (especially graphics)
1449− give various choices for content so there can be backwards compatibility.
1450− + Don't turn numbered headers into lists.
1451− + Docx Reader: Add state to the parser, for warnings
1452− + Update feature checklist in source code.
1453− + Get rid of `Modifiable` typeclass.
1454− + Add tests for adjacent hyperlinks.
1455− + Add a "Link" modifier to `Reducible`. We want to make sure that
1456− links have their spaces removed, and are appropriately smushed
1457− together (#2689).
1458−
1459− * HTML reader:
1460−
1461− + Fixed behavior of base tag (#2777).
1462− If the base path does not end with slash, the last component
1463− will be replaced. E.g. base = `http://example.com/foo`
1464− combines with `bar.html` to give `http://example.com/bar.html`.
1465− If the href begins with a slash, the whole path of the base
1466− is replaced. E.g. base = `http://example.com/foo/` combines
1467− with `/bar.html` to give `http://example.com/bar.html`.
1468− + Rewrote `htmlInBalanced`. This version avoids an exponential
1469− performance problem with `<script>` tags, and it should be faster
1470− in general (#2730).
1471− + Properly handle an empty cell in a simple table (#2718).
1472− + Handle multiple `<meta>` tags with same name. Put them in a list
1473− in the metadata so they are all preserved, rather than (as before)
1474− throwing out all but one..
1475−
1476− * Markdown reader:
1477−
1478− + Improved pipe table parsing (#2765).
1479− + Allow `+` separators in pipe table cells. We already allowed
1480− them in the header, but not in the body rows, for some reason.
1481− This gives compatibility with org-mode tables.
1482− + Don't cross line boundary parsing pipe table row.
1483− Previously an Emph element could be parsed across the newline
1484− at the end of the pipe table row.
1485− + Use `htmlInBalanced` for `rawVerbatimBlock`, for better
1486− performance (#2730).
1487− + Fixed bug with smart quotes around tex math.
1488−
1489− * LaTeX reader:
1490−
1491− + Handle interior `$` characters in math (#2743). For example,
1492− `$$\hbox{$i$}$$`.
1493− + `inlineCommand` now gobbles an empty `{}` after any command (#2687).
1494− This gives better results when people write e.g. `\TeX{}` in Markdown.
1495− + Properly handle LaTeX "math" environment as inline math (#2171).
1496−
1497− * Textile reader: Support `>`, `<`, `=`, `<>` text alignment attributes.
1498− Closes #2674.
1499−
1500− * Org reader (Albert Krewinkel):
1501−
1502− + Prefix even empty figure names with "fig:" (#2643). The
1503− convention used by pandoc for figures is to mark them by prefixing
1504− the name with `fig:`. The org reader failed to do this if a figure
1505− had no name.
1506− + Refactor link-target processing (#2684).
1507−
1508− * ConTeXt writer: Fix whitespace at line beginning in line blocks (#2744).
1509− Thanks to @c-foster.
1510−
1511− * HTML writer: Don't include alignment attribute for default table columns.
1512− Previously these were given "left" alignment. Better to leave off
1513− alignment attributes altogether (#2694).
1514−
1515− * Markdown writer: Use hyphens for YAML metadata block bottom line, for
1516− better compatibility with other Markdown flavors (Henrik Tramberend).
1517−
1518− * LaTeX writer:
1519−
1520− + Use image identifier to create a label and hypertarget for
1521− figures (Mauro Bieg).
1522− + Avoid double toprule in headerless table with caption (#2742).
1523− + Clean up options parser (Jesse Rosenthal).
1524− + Treat `memoir` template with `article` option as article, instead
1525− of treating all `memoir` templates as books.
1526− + Allow more flexible table alignment (Henrik Tramberend, #2665).
1527− New default is not to include `[c]` option (which is the default
1528− anyway if no positioning is specified). Now LaTeX emplates can
1529− control the overall table alignment in a document by setting the
1530− longtable length variables `LTleft` and `LTright`. For example,
1531− `\setlength\LTleft\parindent\setlength\LTright\fill`
1532− will create left-aligned tables that respect paragraph indentation.
1533−
1534− * Docx writer: Handle image alt text (#2754, Mauro Bieg).
1535−
1536− * Org writer - pass through RawInline with format "org".
1537−
1538− * DokuWiki writer: use `$$` for display math.
1539−
1540− * Custom writer: Pass attributes parameter to CaptionedImage (#2697).
1541−
1542− * Make protocol-relative URIs work again (#2737).
1543−
1544− * make_osx_package.sh: Use env variable for developer id certs.
1545−
1546− * Raise `tagsoup` lower bound to 0.13.7 to fix entity-related
1547− problems (#2734).
1548−
1549− * Allow `zip-archive` 0.3.
1550−
1551− * Allow `aeson` 0.11.
1552−
1553−pandoc (1.16.0.2)
1554−
1555− * Depend on deepseq rather than deepseq-generics (fpco/stackage#1096).
1556−
1557− * Fixed regression in latex smart quote parsing (#2645).
1558− In cases where a match was not found for a quote, everything
1559− from the open quote to the end of the paragraph was being dropped.
1560−
1561−pandoc (1.16.0.1)
1562−
1563− * Fixed regression with `--latex-engine` (#2618). In 1.16 `--latex-engine`
1564− raises an error if a full path is given.
1565−
1566− * Org reader: Fix function dropping subtrees tagged `:noexport`
1567− (Albert Krewinkel, #2628):
1568−
1569− * Markdown reader: renormalize table column widths if they exceed 100%
1570− (#2626).
1571−
1572− * Textile reader: don't allow block HTML tags in inline contexts.
1573− The reader previously did allow this, following redcloth,
1574− which happily parses
1575−
1576− Html blocks can be <div>inlined</div> as well.
1577−
1578− as
1579−
1580− <p>Html blocks can be <div>inlined</div> as well.</p>
1581−
1582− This is invalid HTML. The above sample now produces;
1583−
1584− <p>Html blocks can be</p>
1585− <div>
1586− <p>inlined</p>
1587− </div>
1588− <p>as well.</p>
1589−
1590− * Improved default template lookup for custom lua scripts (#2625).
1591− Previously, if you tried to do `pandoc -s -t /path/to/lua/script.lua`,
1592− pandoc would look for the template in
1593− `~/.pandoc/templates/default./path/to/lua/script.lua`.
1594− With this change it will look in the more reasonable
1595− `~/.pandoc/templates/default.script.lua`. This makes it possible to
1596− store default templates for custom writers.
1597−
1598− * RST, Markdown writers: Fixed rendering of grid tables with blank rows
1599− (#2615).
1600−
1601− * LaTeX writer: restore old treatment of Span (#2624). A Span is
1602− now rendered with surrounding `{}`, as it was before 1.16.
1603−
1604− * Entity handling fixes: improved handling of entities like
1605− `&lang;` that require a trailing semicolon. Allow uppercase
1606− `x` in numerical hexidecimal character references, working
1607− around a tagsoup bug.
1608−
1609− * `stack.yaml` - use lts-4.0, but with older aeson to avoid excessive
1610− memory use on compile. With aeson 0.10 we were getting an out of
1611− memory error on a 2GB Ubuntu 64-bit VM.
1612−
1613− * Improved deb package creation script. Made `DPKGVER` work.
1614− Renamed `COMMIT` to `TREE`. You should now be able to do
1615− `TREE=1.16.0.1 DPKGVER=2 make deb`.
1616−
1617−
1618−pandoc (1.16)
1619−
1620− * Added `Attr` field to `Link` and `Image` (Mauro Bieg, #261, API change).
1621−
1622− + Added syntax for link and image attributes to pandoc's Markdown.
1623− + Updated readers and writers to use link and image attributes
1624− when appropriate.
1625− + Support image attributes in Docx, Textile, RST readers.
1626−
1627− * Renamed link attribute extensions. The old `link_attributes` is
1628− now `mmd_link_attributes`, and `link_attributes` now enables the
1629− new pandoc-style link and image attributes (API change).
1630− Note: this change could break some existing workflows.
1631−
1632− * Implemented `SoftBreak` and new `--wrap` option (#1701, API change).
1633− Added threefold wrapping option.
1634−
1635− + Command line option: deprecated `--no-wrap`, added
1636− `--wrap=[auto|none|preserve]`
1637− + Added `WrapOption`, exported from `Text.Pandoc.Options`
1638− + Changed type of `writerWrapText` in `WriterOptions` from
1639− `Bool` to `WrapOption`.
1640− + Modified `Text.Pandoc.Shared` functions to allow `SoftBreak`.
1641− + Supported `SoftBreak` in readers and writers.
1642−
1643− * Text.Pandoc.Options: Added `writerDpi` to `WriterOptions` (API
1644− change, Mauro Bieg).
1645−
1646− * Added `--dpi` command-line option (Mauro Bieg).
1647−
1648− * Rationalized behavior of `--no-tex-ligatures` and `--smart` (#2541).
1649− This change makes `--no-tex-ligatures` affect the LaTeX reader
1650− as well as the LaTeX and ConTeXt writers. If it is used,
1651− the LaTeX reader will parse characters `` ` ``, `'`, and `-`
1652− literally, rather than parsing ligatures for quotation marks
1653− and dashes. And the LaTeX writer will print unicode quotation
1654− mark and dash characters literally, rather than converting
1655− them to the standard ASCII ligatures. Note that `--smart` has
1656− no effect on the LaTeX reader. `--smart` is still the default
1657− for all input formats when LaTeX or ConTeXt is the output format,
1658− *unless* `--no-tex-ligatures` is used.
1659−
1660− Some examples to illustrate the logic:
1661−
1662− ```
1663− % echo "'hi'" | pandoc -t latex
1664− `hi'
1665− % echo "'hi'" | pandoc -t latex --no-tex-ligatures
1666− 'hi'
1667− % echo "'hi'" | pandoc -t latex --no-tex-ligatures --smart
1668− ‘hi’
1669− % echo "'hi'" | pandoc -f latex --no-tex-ligatures
1670− <p>'hi'</p>
1671− % echo "'hi'" | pandoc -f latex
1672− <p>’hi’</p>
1673− ```
1674−
1675− * Removed deprecated options `--offline` and `--html5`.
1676−
1677− * Fixed language code for Czech (`cs` not `cz`) (#2597).
1678−
1679− * Implemented `east_asian_line_breaks` extension (#2586).
1680− In `Text.Pandoc.Options`, added `Ext_east_asian_line_breaks` constructor
1681− to `Extension` (API change). This extension is like
1682− `ignore_line_breaks`, but smarter -- it only ignores line breaks
1683− between two East Asian wide characters. This makes it better suited
1684− for writing with a mix of East Asian and non-East Asian scripts.
1685−
1686− * Added support for PDF creation via `wkhtmltopdf`.
1687− To use this: `pandoc -t html5 -o result.pdf` (and add `--mathjax`
1688− if you have math.) Margins can be set using the variables
1689− `margin-top`, `margin-bottom`, `margin-left`, `margin-right`.
1690− Other styling can be done through CSS.
1691−
1692− * Fixed cite key parsing regression (jgm/pandoc-citeproc#201).
1693− We were capturing final colons as in `[@foo: bar]`; the citation id
1694− was being parsed as `@foo:`.
1695−
1696− * ICML writer:
1697−
1698− + Fixed image syntax for local files (#2589).
1699− + Changed type of `writeICML` (Mauro Bieg).
1700− API change: It is now `WriterOptions -> Pandoc -> IO String`.
1701− Also handle new image attributes.
1702− + Intersperse line breaks instead of appending them to
1703− every `ParagraphStyleRange` (Mauro Bieg, #2501).
1704− + Add `Cite` style to citations (Mauro Bieg).
1705− + Added figure handling (#2590, Mauro Bieg).
1706− + Better handling of math. Instead of just printing the raw tex,
1707− we now try to fake it with unicode characters.
1708−
1709− * HTML writer: Include `example` class for example lists (#2524).
1710−
1711− * ODT/OpenDocument writer: improved image attributes (Mauro Bieg).
1712−
1713− + Support for percentage widths/heights
1714− + Use `Attr` instead of title to get dimensions from ODT walker
1715− to `writeOpenDocument`.
1716−
1717− * AsciiDoc writer:
1718−
1719− + Support anchors in spans and divs with id elements
1720− (jgm/pandoc-citeproc#143).
1721− + Fixed code blocks (#1861).
1722−
1723− * Haddock writer: omit formatting inside links, which isn't supported
1724− by Haddock (#2515).
1725−
1726− * MediaWiki writer: Fixed spacing issues in table cells.
1727−
1728− + Start cell on new line unless it's a single Para or Plain
1729− (#2606).
1730− + For single Para or Plain, insert a space after the `|` to
1731− avoid problems when the text begins with a character like
1732− `-` (#2604).
1733−
1734− * Beamer writer: mark frame as fragile when it contains verbatim (#1613).
1735−
1736− * LaTeX writer:
1737−
1738− + Add support for GAP highlighting using listings (Raniere Silva).
1739− + Consider `header-includes` content as well as templates
1740− when determining whether to use csquotes (Andreas Lööw).
1741− + Create defaults for geometry using `margin-left` etc.
1742− If `geometry` has no value, but `margin-left`, `margin-right`,
1743− `margin-top`, and/or `-margin-bottom` are given, a default value
1744− for `geometry` is created from these. Note that these variables
1745− already affect PDF production via HTML5 with `wkhtmltopdf`.
1746−
1747− * ConTeXt writer: set default layout based on `margin-left`, etc.
1748− This sets up `\setuplayout` based on the variables `margin-left`,
1749− `margin-right`, `margin-bottom`, and `margin-top`, if no layout
1750− is given.
1751−
1752− * Docx writer: better handling of PDF images. Previously we tried
1753− to get the image size from the image even if an explicit size was
1754− specified. Since we still can't get image size for PDFs, this made
1755− it impossible to use PDF images in docx. Now we don't try to get
1756− the image size when a size is already explicitly specified.
1757−
1758− * Markdown writer: use raw HTML for link/image attributes when
1759− the `link_attributes` extension is unset and `raw_html` is set (#2554).
1760−
1761− * MediaWiki reader: interpret markup inside `<tt>`, `<code>` (#2607).
1762−
1763− * LaTeX reader:
1764−
1765− + Improved smart quote parsing (#2555). This fixes redering of
1766− unmatched quotes.
1767− + Use curly quotes for unmatched ` (#2555).
1768− + Allow blank space between braced arguments of commands (#2592).
1769−
1770− * Markdown reader:
1771−
1772− + Improved pipe table relative widths. Previously pipe table
1773− columns got relative widths (based on the header underscore lines)
1774− when the source of one of the rows was greater in width than the
1775− column width. This gave bad results in some cases where much of
1776− the width of the row was due to nonprinting material (e.g. link
1777− URLs). Now pandoc only looks at printable width (the width of a
1778− plain string version of the source), which should give better results.
1779− Thanks to John Muccigrosso for bringing up the issue.
1780− + Fixed parsing bug with macros. Previously macro definitions in
1781− indented code blocks were being parsed as macro definitions, not code.
1782−
1783− * Textile reader: skip over attribute in image source (#2515).
1784− We don't have a place yet for styles or sizes on images, but
1785− we can skip the attributes rather than incorrectly taking them
1786− to be part of the filename.
1787−
1788− * Docx reader: Handle dummy list items (Jesse Rosenthal).
1789− These come up when people create a list item and then delete the
1790− bullet. It doesn't refer to any real list item, and we used to ignore
1791− it.
1792−
1793− * CommonMark reader/writer rewritten to use latest `cmark`.
1794−
1795− * Fixed Emoji character definitions (#2523). There were many bugs in the
1796− definitions.
1797−
1798− * `Text.Pandoc.CSS`:
1799−
1800− + Added `pickStylesToKVs` function to extract multiple properties at
1801− once (API change, Mauro Bieg).
1802− + Parse CSS that doesn't contain the optional semicolon (Mauro Bieg).
1803−
1804− * `trypandoc`: sort drop-down lists.
1805−
1806− * Beamer template:
1807−
1808− + Made `\euro` conditional on presence of character.
1809− for xelatex and lualatex, as it is for pdflatex (Andrew Dunning).
1810− + Moved `header-includes` before setting of title (Thomas Hodgson),
1811− to match the LaTeX template (jgm/pandoc-templates#168).
1812− + Added `section-titles` variable (defaults to true)
1813− to enable/suppress section title pages in beamer
1814− slide shows (Thomas Hodgson).
1815− + Moved beamer themes after fonts, so that themes can
1816− change fonts. (Previously the fonts set were being
1817− clobbered by lmodern.sty.) (Thomas Hodgson).
1818−
1819− * Beamer/LaTeX template changes (Thomas Hodgson):
1820− + Added `thanks` variable
1821− + Use `parskip.sty` when `indent` isn't set (fall back to using
1822− `setlength` as before if `parskip.sty` isn't available).
1823− + Use `biblio-style` with biblatex.
1824− + Added `biblatexoptions` variable.
1825−
1826− * LaTeX template changes:
1827−
1828− + Added `paper` after `$papersize$` variable in latex template.
1829− Thus you can say `papersize: a4` and the latex will contain
1830− `a4paper`. This change may break some existing workflows; if
1831− you currently specify `a4paper`, you'll get `a4paperpaper` which
1832− is meaningless. However, the change seems worth it, as it will
1833− make the `papersize` variable work uniformly across ConTeXt, LaTeX,
1834− and html->pdf via wkhtmltopdf.
1835− + Only pass options to color package if `colorlinks` is set
1836− (Andrew Dunning).
1837− + Make definition of `\euro` conditional in xelatex/lualatex,
1838− as it is already for pdflatex (Andrew Dunning).
1839− + Removed setting of `subject` in PDF metadata.
1840− This used to be set to the subtitle, but really the subtitle
1841− need not give the subject. Also, `subtitle` can contain formatting,
1842− so we'd need, at least, a plain text version for this.
1843− + Moved `header-includes` before setting of `\title`, `\author`,
1844− etc. This allows these macros to be redefined.
1845− + Use `\subtitle` command for `subtitle`, instead of tacking it
1846− on to the title as before. We give a no-op fallback definition if it
1847− is not defined. This change should produce much better results
1848− in classes that support `\subtitle`. With the default article
1849− class, which does not define `\subtitle`, subtitles will no
1850− longer be printed unless the user defines `\subtitle` and
1851− redefines `\maketitle`.
1852− + Moved redefinitions of `\paragraph` and `\subparagraph` to
1853− before header-includes.
1854−
1855− * Context template:
1856−
1857− + Use `simplefonts` for font loading (Paolo Rodríguez). This is
1858− needed for things to work on ConTeXt stable from TeXLive 2015.
1859− + Revert use of `\setuphead` in title block (Andrew Dunning,
1860− Rik Kabel).
1861−
1862− * Update LaTeX/ConTeXt link colour usage (Andrew Dunning).
1863−
1864− * Fixed man template so disabling hyphenation actually works.
1865− The command needs to come after .TH.
1866−
1867− * Added 'navigation' variable to beamer template (#2543).
1868− Valid values are `empty` (the default), `horizontal`, `vertical`,
1869− and `frame`. Note that this changes the default behavior from
1870− `horizontal` to `empty`. Closes #2543.
1871−
1872− * Added `toc` to HTML slide format templates (Andrew Dunning),
1873− so that `--toc` creates a contents slide.
1874−
1875− * Added `stack.full.yaml` to build `pandoc-citeproc` as well.
1876−
1877− * Allow pipe tables with no body rows (#2556).
1878− Previously this raised a runtime error.
1879−
1880− * Shared: Improved `fetchItem` so that `C:/Blah/Blah.jpg` isn't treated
1881− as URL. The Haskell URI parsing routines will accept "C:" as a
1882− scheme, so we rule that out manually. This helps with
1883− `--self-contained` and absolute Windows paths.
1884−
1885− * Define a `meta-json` variable for all writers (#2019). This contains
1886− a JSON version of all the metadata, in the format selected for the
1887− writer. So, for example, to get just the YAML metadata, you can run
1888− pandoc with the following custom template: `$meta-json$`. The intent
1889− is to make it easier for static site generators and other tools to get
1890− at the metadata.
1891−
1892− * Document limitations of --self-contained (#2553).
1893−
1894− * Improved Citations section of README (#2551). Added information
1895− about `link-citations` and a link to the pandoc-citeproc man page.
1896−
1897− * `ImageSize`: use `safeRead` instead of `readMaybe`, which isn't
1898− in base < 4.6.
1899−
1900− * Allow .adoc file extension for AsciiDoc (Andrew Dunning).
1901−
1902− * Improved implicit pandoc-citeproc inclusion.
1903− The filter pandoc-citeproc is automatically used when
1904− `--bibliography` is specified on the command line, unless
1905− `--natbib` or `--biblatex` is used. However, previously this
1906− only worked if `--bibliography` was spelled out in full, and not
1907− if `--biblio` was used.
1908−
1909− * reveal.js: Interpret pauses correctly for all headers (#2530).
1910− Previously, when using headers below the slide level, pauses are left
1911− uninterpreted into pauses. In my opinion, unexpected behavior but
1912− intentional looking at the code.
1913−
1914− * Remove redundant `center` variable for reveal.js (Andrew Dunning).
1915−
1916− * Parsing: Add `extractIdClass`, modified type of `KeyTable` (Mauro
1917− Bieg, API change).
1918−
1919− * ImageSize: Added functions for converting between image dimensions
1920− (Mauro Bieg).
1921−
1922− * Use lts-3.18 in stack.yaml. This avoids Windows build
1923− issues with the HTTP library.
1924−
1925− * Bump version bounds for dependencies.
1926−
1927−pandoc (1.15.2.1)
1928−
1929− * Added two missing test files, and `stack.yaml`, to
1930− `extra-source-files` so they're included in the source tarball.
1931−
1932− * reveal.js template: Fixed parallaxBackground options.
1933− `parallaxBackgroundHorizontal` and `parallaxBackgroundVertical`
1934− need integer values, not strings. (Vaughn Iverson)
1935−
1936−pandoc (1.15.2)
1937−
1938− * `pandoc my.md -t context -o my.pdf` will now create a PDF using
1939− ConTeXt rather than LaTeX (#2463).
1940−
1941− * Fixed omitted `url(...)` in CSS data-uri with `--self-contained` (#2489).
1942−
1943− * Added `emoji` Markdown extension, enabled by default in `markdown_github`
1944− (#2523). Added `Ext_emoji` to `Extension` in `Text.Pandoc.Options`
1945− (API change).
1946−
1947− * `Text.Pandoc.Readers.HTML.parseTags`: Fixed over-eager raw HTML inline
1948− parsing (#2469). Tightened up the inline HTML parser so it disallows
1949− TagWarnings.
1950−
1951− * Derive `Generic` instances for the types in `Text.Pandoc.Options`.
1952−
1953− * Org reader:
1954−
1955− + Fix paragraph/list interaction (Albert Krewinkel, #2464).
1956− Paragraphs can be followed by lists, even if there is no blank line
1957− between the two blocks. However, this should only be true if the
1958− paragraph is not within a list, were the preceding block should be
1959− parsed as a plain instead of paragraph (to allow for compact lists).
1960− Thanks to @rgaiacs for bringing this up.
1961− + Allow toggling header args (Albert Krewinkel, #2269).
1962− Org-mode allows to skip the argument of a code block header argument if
1963− it's toggling a value. Argument-less headers are now recognized,
1964− avoiding weird parsing errors.
1965− + Fix markup parsing in headers (Albert Krewinkel, #2504).
1966− Markup as the very first item in a header wasn't recognized. This was
1967− caused by an incorrect parser state: positions at which inline markup
1968− can start need to be marked explicitly by changing the parser state.
1969− This wasn't done for headers. The proper function to update the state
1970− is now called at the beginning of the header parser, fixing this issue.
1971− + Fix emphasis rules for smart parsing (Albert Krewinkel, #2513).
1972− Smart quotes, ellipses, and dashes should behave like normal quotes,
1973− single dashes, and dots with respect to text markup parsing.
1974− + Require whitespace around definition list markers (#2518).
1975− This rule was not checked before, resulting in bugs with footnotes
1976− and some link types.
1977−
1978− * Markdown reader:
1979−
1980− + Pipe tables with long lines now get relative cell widths (#2471).
1981− If a pipe table contains a line longer than the column width (as set by
1982− `--columns` or 80 by default), relative widths are computed based on the
1983− widths of the separator lines relative to the column width. This should
1984− solve persistent problems with long pipe tables in LaTeX/PDF output, and
1985− give more flexibility for determining relative column widths in other
1986− formats, too. For narrower pipe tables, column widths of 0 are used,
1987− telling pandoc not to specify widths explicitly in output formats that
1988− permit this.
1989− + Improved parser for `mmd_title_block`. We now allow blank metadata
1990− fields. These were explicitly disallowed before.
1991− + Citation keys can now contain `://`, so URLs and DOIs can be used
1992− as citation keys (jgm/pandoc-citeproc#166).
1993−
1994− * Beamer template: fix incompatibility of section slides with natbib.
1995− Natbib (and presumably biblatex) bibliography commands create
1996− their own section. Since these are in frame environments,
1997− we have an incompatibility with the `\AtBeginSection` macro
1998− which creates a special frame when a new section occurs.
1999− (We can't have a frame inside another frame.) This change disables
2000− `\AtBeginSection` inside bibliography slides. Thinks to Yihui Xie for
2001− bringing the problem to my attention. This supersedes #145. See
2002− discussion there.
2003−
2004− * Textile reader: don't do smart punctuation unless explicitly asked
2005− (#2480). Note that although smart punctuation is part of the textile
2006− spec, it's not always wanted when converting from textile
2007− to, say, Markdown. So it seems better to make this an option.
2008−
2009− * LaTeX reader: Handle `comment` environment (Arata Mizuki).
2010− The `comment` environment is handled in a similar way to the
2011− `verbatim` environment, except that its content is discarded.
2012−
2013− * Docx reader: Follow relationships correctly in foot/endnotes (#2258,
2014− Jesse Rosenthal). This fixes a problem with links in notes.
2015−
2016− * LaTeX and ConTeXt writers: support `lang` attribute on divs and spans
2017− (Mauro Bieg). For LaTeX, also collect `lang` and `dir` attributes on
2018− spans and divs to set the `lang`, `otherlangs` and `dir` variables if
2019− they aren’t set already. See #895.
2020−
2021− * LaTeX writer:
2022−
2023− + Use proper command for `\textarabic` (Mauro Bieg).
2024− + Added `de-CH-1901`, fixed `el-polyton` in `toPloyglossia` (Nick Bart).
2025− + Use `\hypertarget` and `\hyperlink` for links. This works correctly
2026− to link to Div or Span elements. We now don't bother defining `\label`
2027− for Div or Span elements. Closes jgm/pandoc-citeproc#174.
2028− + Avoid footnotes in list of figures (#1506).
2029− + Properly handle footnotes in captions (#1506).
2030− + Add `\protect` to `\hyperlink` (#2490). Thanks to Hadrien Mary.
2031− + Set `colorlinks` if `linkcolor`, `urlcolor`, `citecolor`, or
2032− `toccolor` is set (#2508).
2033−
2034− * Textile writer: support start number in ordered lists (#2465).
2035−
2036− * OpenDocument writer: Allow customization of opendocument
2037− automatic styles. Automatic styles can now be inserted in the
2038− template, which now provides the enclosing `<office:automatic-styles>`
2039− tags (#2520).
2040−
2041− * Docx writer: insert space between footnote reference and note (#2527).
2042− This matches Word's default behavior.
2043−
2044− * EPUB writer: don't download linked media when `data-external` attribute
2045− set (#2473). By default pandoc downloads all linked media and includes it
2046− in the EPUB container. This can be disabled by setting `data-external` on
2047− the tags linking to media that should not be downloaded. Example:
2048−
2049− <audio controls="1">
2050− <source src="http://example.com/music/toccata.mp3"
2051− data-external="1" type="audio/mpeg">
2052− </source>
2053− </audio>
2054−
2055− * HTML writer: use width on whole table if col widths sum to < 100%.
2056− Otherwise some browsers display the table with the columns
2057− separated far apart.
2058−
2059− * AsciiDoc template: Fix `author` and `date`; add `keywords`,
2060− `abstract` (Andrew Dunning).
2061−
2062− * HTML-based templates (Andrew Dunning):
2063−
2064− + Use en dash instead of hyphen between title prefix and title.
2065− + Add `keywords` to metadata.
2066− + Add `lang`, `dir`, `quotes` where missing.
2067− + Always make author and date display conditional.
2068− + Updated dzslides template from source.
2069−
2070− * Man template: make "generated by" comment conditional.
2071−
2072− * LaTeX, Beamer templates:
2073−
2074− + Add `babel-otherlangs` for language divs/spans; `babel-newcommands`,
2075− filled by commands that make babel understand the polyglossia-style
2076− language directives (Mauro Bieg, #137).
2077− + Improved formatting of conditionals; `$for$` is always provided to allow
2078− multiple options (Andrew Dunning, #141).
2079− + Use `Ligatures=TeX` rather than `Mapping=tex-text` with `fontspec`
2080− to improve support for LuaTeX (Andrew Dunning, #135).
2081− + Revise `hyperref` usage (Andrew Dunning, #139, #141):
2082− - use same options for all LaTeX engines;
2083− - add `subtitle` and `keywords` to PDF metadata;
2084− - do not override `hyperref` link coloring without user input, effectively making
2085− the `hidelinks` option the default (removed as a separate variable);
2086− - link colors can be enabled (using a slightly darker version of the old
2087− defaults) using a new `colorlinks` variable, automatically used by
2088− the LaTeX writer when custom colors are specified;
2089− - `pdfborder={0 0 0}` is automatically set by `hyperref` with
2090− `colorlinks`, and is only applied if `colorlinks` is disabled.
2091−
2092− * ConTeXt template (Andrew Dunning):
2093−
2094− + New variables for controlling styles: `linkstyle`, `linkcolor`,
2095− `linkcontrastcolor`, `layout`, `pagenumbering`, `whitespace`, `indenting`,
2096− `interlinespace`, `headertext`, `footertext`, `mainfont`, `sansfont`,
2097− `monofont`, `mathfont`, `fontsize`.
2098− + Default template no longer supports MkII.
2099− + Improve writing of title block (suppressing numbering of first page).
2100− + Add `title` `subtitle`, `author`, `date`, `keywords` to PDF metadata.
2101− + Support `subtitle`, `abstract`.
2102− + Support list of figures (`lof`), list of tables (`lot`).
2103− + Disable link styling by default.
2104− + Define styles for all section types.
2105− + Enable microtype.
2106− + Improved formatting of conditionals.
2107−
2108− * Beamer template: added code to prevent slide breaks inside paragraphs
2109− (#2422, thanks to Nick Bart). This will matter, in practice, only when
2110− `allowframebreaks` is used. It is especially helpful for bibliography
2111− slides.
2112−
2113− * OpenDocument template: Add `<office:automatic-styles>` tag around
2114− automatic styles. The writer now longer provides this (see #2520).
2115−
2116− * Restored Text.Pandoc.Compat.Monoid.
2117−
2118− * Do not export (<>) from custom Prelude. The Prelude now matches
2119− base 4.8 Prelude's API.
2120−
2121− * Don't use custom prelude with ghc 7.10. Use the custom prelude
2122− only for earlier versions. This change makes `stack ghci` and
2123− `cabal repl` work (#2503), at least with ghc 7.10.
2124−
2125− * Changed § to % in operators from Odt.Arrows.Utils (#2457).
2126− This prevents problems building haddocks with "C" locale.
2127−
2128− * Change default for old-locale flag to False.
2129−
2130− * Use stack in deb, osx, and Windows package generators.
2131−
2132− * Added Vagrantfile for building deb in vm.
2133− This should help in automating binary package creation. 'make package'
2134− will make the package. 'make package COMMIT=blah' will make the package
2135− from commit blah.
2136−
2137− * README:
2138−
2139− + Consistent capitalization for pandoc and Markdown.
2140− + Fixed `auto_identifiers` examples (Benoit Schweblin).
2141− + Improved documentation of template variables (Andrew Dunning).
2142−
2143−pandoc (1.15.1.1)
2144−
2145− * `Text.Pandoc.Data`: store paths in dataFiles using posix separators.
2146− This way we have uniform separators, whether on Windows or Linux.
2147− This should solve a problem where on some Windows versions
2148− the data files weren't being found (#2459).
2149−
2150−pandoc (1.15.1)
2151−
2152− * `pandocVersion` is now defined in `Text.Pandoc.Shared`
2153− and reexported from `Text.Pandoc` (Alex Vong). This allows
2154− writers to access it. (Alex Vong) (API change)
2155−
2156− * For `markdown_mmd`, add: `implicit_figures`, `superscripts`,
2157− `subscripts` (#2401).
2158−
2159− * Added `odt` as input format (Martin Linnemann). Added new module
2160− `Text.Pandoc.Reader.ODT` (API change). Fully implemented features:
2161− Paragraphs, Headers, Basic styling, Unordered lists, Ordered lists,
2162− External Links, Internal Links, Footnotes, Endnotes, Blockquotes.
2163− Partly implemented features: Citations, Tables.
2164−
2165− * Markdown Reader:
2166−
2167− + Add basic tests for each header style (Ophir Lifshitz).
2168− + Add implicit header ref tests for headers with spaces (Ophir Lifshitz).
2169− + Skip spaces in headers (Ophir Lifshitz).
2170− + Handle 'id' and 'class' in parsing key/value attributes (#2396).
2171− `# Header {id="myid" class="foo bar"}`
2172− is now equivalent to `# Header {#myid .foo .bar}`.
2173− + Use '=' instead of '#' for atx-style headers in markdown+lhs.
2174− (Kristof Bastiaensen)
2175− + Pipe tables: allow indented columns. Previously the left-hand column
2176− could not start with 4 or more spaces indent. This was inconvenient
2177− for right-aligned left columns. Note that the first (header column)
2178− must still have 3 or fewer spaces indentation, or the table will be
2179− treated as an indented code block.
2180− + Fix regression: allow HTML comments containing `--`.
2181− Technically this isn't allowed in an HTML comment, but
2182− we've always allowed it, and so do most other implementations.
2183− It is handy if e.g. you want to put command line arguments
2184− in HTML comments.
2185−
2186− * LaTeX reader:
2187−
2188− + Don't eat excess whitespace after macros with only optional
2189− arguments (#2446).
2190− + Support longtable (#2411).
2191− + Implement `\Cite` (#2335).
2192− + Support abstract environment. The abstract populates an
2193− `abstract` metadata field.
2194− + Properly handle booktabs lines. Lines aren't part of the
2195− pandoc table model, so we just ignore them (#2307).
2196−
2197− * HTML reader:
2198−
2199− + Handle type attribute on ol, e.g. `<ol type="i">` (#2313).
2200− + Updated for new automatic header attributes.
2201− + Add auto identifiers if not present on headers. This makes
2202− TOC linking work properly.
2203− + Detect `font-variant` with `pickStyleAttrProps` (Ophir Lifshitz).
2204− + Test `<ol>` type, class, and inline list-style(-type) CSS
2205− (Ophir Lifshitz).
2206− + Better handling of "section" elements (#2438). Previously
2207− `<section>` tags were just parsed as raw HTML blocks. With
2208− this change, section elements are parsed as Div elements with
2209− the class "section".
2210−
2211− * MediaWiki reader: handle unquoted table attributes (#2355).
2212−
2213− * DocBook reader:
2214−
2215− + Added proper support for DocBook `xref` elements (Frerich Raabe).
2216− Added `dbContent` field to reader state, so we can lookup
2217− cross refs.
2218− + Handle `informalexample` (#2319).
2219−
2220− * Docx Reader:
2221−
2222− + Create special punctuation test (Ophir Lifshitz).
2223− + Parse soft, no-break hyphen elements (Ophir Lifshitz).
2224− + Updated headers test (Ophir Lifshitz). Replaced `styles.xml`
2225− in `headers.docx` with pandoc's current `styles.xml`, which
2226− contains styles for Heading 1 through 6. Added Heading 4
2227− through 7 to the test document. Note that Heading 7 is not
2228− parsed as a Heading because there is no Heading 7 style.
2229−
2230− * RST reader: better handling of indirect roles.
2231− Previously the parser failed on this kind of case
2232−
2233− .. role:: indirect(code)
2234−
2235− .. role:: py(indirect)
2236− :language: python
2237−
2238− :py:`hi`
2239−
2240− Now it correctly recognizes `:py:` as a code role.
2241−
2242− * Org reader:
2243−
2244− + Add auto identifiers if not present on headers
2245− (#2354, Juliusz Gonera).
2246− + Allow verse blocks to contain empty lines (#2402,
2247− Albert Krewinkel).
2248−
2249− * EPUB reader: stop mangling external URLs (#2284).
2250−
2251− * RST writer:
2252−
2253− + Don't insert `\ ` when complex expression in matched pairs.
2254− E.g. `` [:sup:`3`] `` is okay; you don't need `` [:sup:`3`\ ] ``.
2255− + Ensure that `\ ` is inserted when needed before Cite and Span
2256− elements that begin with a "complex" element (jgm/pandoc-citeproc#157).
2257− + Normalize headers only in "standalone" mode (#2394).
2258−
2259− * Haddock writer: escape `*` and `^` (G. Bataille).
2260−
2261− * Markdown writer:
2262−
2263− + In TOC, add links to headers (#829).
2264− + Use unicode super/subscripts for digits in plain output
2265− (when the `superscripts` and `subscripts` extensions are
2266− not enabled).
2267−
2268− * Docx writer:
2269−
2270− + Moved invalid character stripping to `formattedString`.
2271− This avoids an inefficient generic traversal (#2356).
2272− + Use user data directory for `reference.docx` archive.
2273− This allows the test suite to work without installing pandoc first.
2274− It also brings the docx writer in line with the odt writer.
2275− + Tests: docx writer tests now use `../data` for data directory.
2276− This allows tests to be run without installing first.
2277− + Tests: Use real jpg (not empty) for docx tests to avoid warning.
2278−
2279− * LaTeX writer:
2280−
2281− + Fixed detection of 'chapters' from template.
2282− If a documentclass isn't specified in metadata, but the
2283− template has a hardwired bookish documentclass, act as if
2284− `--chapters` was used. This was the default in earlier
2285− versions, but it has been broken for a little while.
2286− + Correctly recognize book documentclass in metadata (#2395).
2287− + Set language-related variables automatically, depending
2288− on the value of the `lang` field, which is now always
2289− assumed to be in BCP47 format (Mauro Bieg, #1614, #2437).
2290− + Add `\protect` to `\hyperdef` in inline context. This way we
2291− don't get an error when this is used as a moveable argument (#2136).
2292− + Support all frame attributes in Beamer.
2293− + Percent-encode more special characters in URLs (#1640, #2377).
2294− The special characters are '<','>','|','"','{','}','[',']','^', '`'.
2295−
2296− * HTML writer:
2297−
2298− + Update KaTeX JS and CSS versions (Emily Eisenberg).
2299− + For dzslides, add `role="note"` for speaker notes (#1693).
2300− + Percent-encode more special characters in URLs (#1640, #2377).
2301− The special characters are '<','>','|','"','{','}','[',']','^', '`'.
2302− + Render Div with class `section` as `<section>` in HTML5.
2303−
2304− * EPUB writer:
2305−
2306− + In TOC, replace literal `<br/>` with space (#2105).
2307− + With `--webtex`, include image file rather than `data:` URI (#2363).
2308−
2309− * Native writer: format Div properly, with blocks separated.
2310−
2311− * Support bidirectional text output with XeLaTeX, ConTeXt and HTML
2312− (#2191, Mauro Bieg).
2313−
2314− * Reference Docx:
2315−
2316− + Add missing Header 6 style (steel blue) (Ophir Lifshitz).
2317− + Correct `outlineLvl` for Header styles (Ophir Lifshitz).
2318−
2319− * Templates
2320−
2321− + Beamer: Add `innertheme`, `outertheme` variables
2322− (Guilhem Bonnefille, #121). Add space after colon in figure caption.
2323− Integrate recent font and language updates from LaTeX template;
2324− allow use of `mainfont` variable for changing the slide text
2325− in XeTeX and LuaTeX (Andrew Dunning, #131).
2326− + LaTeX: Add `mainfontoptions`, `sansfontoptions`,
2327− `monofontoptions`, `mathfontoptions`, `fontfamilyoptions`
2328− (Andrew Dunning, #122). Support handling of bidirectional
2329− text (Mauro Bieg, #120). Improve reliability of superscripts/subscripts
2330− under XeTeX and prevent letters and numbers from appearing on a
2331− different baseline by removing use of the `realscripts` package
2332− (via `xltxtra`). To restore use of OpenType characters for these
2333− features under XeTeX or LuaTeX, add `\usepackage{realscripts}` to
2334− `header-includes` (Andrew Dunning, #130). Remove redundant
2335− reference to `xunicode` (Andrew Dunning, #130). Add `fontenc`,
2336− `indent`, `subparagraph` variables (Andrew Dunning).
2337− Allow use of `hidelinks` variable for `hyperref` package (Hugo Roy,
2338− #113). Prevent package clash with `tufte-latex` and other classes that
2339− include `hyperref` or `color` (Xavier Olive, #115).
2340− + ConTeXt: Support handling of bidirectional text (Mauro Bieg, #120).
2341− + LaTeX and ConTeXt: Use more specific language variables.
2342− Instead of directly using `lang`, we now use `babel-lang` and
2343− `polyglossia-lang` and `context-lang`. These variables are set by
2344− the writers to the necessary values, based on the `lang` variable
2345− (which now always takes a value in BCP47 format). (Mauro Bieg, #114,
2346− #129).
2347− + HTML: Support handling of bidirectional text (Mauro Bieg, #120).
2348− Move HTML5 shiv after CSS and fix URL (Andrew Dunning).
2349− Add dir attribute in html5 (Andrew Dunning).
2350− + reveal.js: Add `controls`, `progress` variables (Grégoire Pineau, #127).
2351− Add `width`, `height` variables (Andrew Dunning). Update template
2352− from 3.1 source (Andrew Dunning). All configuration options are now
2353− available as variables, but are only be included if set (reveal.js
2354− uses defaults otherwise).
2355− + man: Added comment stating that the page is autogenerated by pandoc,
2356− giving version. Added `adjusting` and `hyphenate` variables
2357− (Alex Vong, #123).
2358−
2359− * epub.css: added selectors for nested emphasis (Pablo Rodriguez).
2360−
2361− * MediaBag: ensure that `/` is always used as path separator.
2362−
2363− * `sample.lua`: define `CaptionedImage`, add newline at end (#2393).
2364−
2365− * Added `--bash-completion` option. This generates a bash completion
2366− script. To use: `eval "$(pandoc --bash-completion)"`.
2367−
2368− * Text.Pandoc.Error: Define Typeable and Exception instances
2369− for PandocError (#2386).
2370−
2371− * Text.Pandoc.Parsing: `toKey`: strip off outer brackets.
2372− This makes keys with extra space at the beginning and end
2373− work: e.g.
2374−
2375− [foo]: bar
2376−
2377− [ foo ]
2378−
2379− will now be a link to bar (it wasn't before).
2380−
2381− * Text.Pandoc: disable `auto_identifiers` for epub.
2382− The epub writer inserts its own auto identifiers;
2383− this is more complex due to splitting into "chapter" files.
2384−
2385− * Renamed Text.Pandoc.Compat.Locale -> Text.Pandoc.Compat.Time.
2386− It now reexports Data.Time.
2387−
2388− * Use custom Prelude to avoid compiler warnings.
2389−
2390− + The (non-exported) prelude is in prelude/Prelude.hs.
2391− + It exports Monoid and Applicative, like base 4.8 prelude,
2392− but works with older base versions.
2393− + It exports (<>) for mappend.
2394− + It hides 'catch' on older base versions.
2395−
2396− * Added a `stack.ymal` and stack install instructions to INSTALL.
2397−
2398− * Clarified what is "out of scope" in README and CONTRIBUTING.md.
2399−
2400− * Added note to CONTRIBUTING.md about ghc versions and travis.
2401−
2402− * Clarify docs on block quotes. The space after `>` is optional (#2346).
2403−
2404− * Removed obsolete reference to default.csl (#2372).
2405−
2406− * List all styles in manual for `--reference-docx` (Chris Black)
2407−
2408− * Don't capitalize header links in man page.
2409−
2410− * Added section on repl to CONTRIBUTING.md.
2411−
2412− * README: Added space after backslash in image example (#2329).
2413−
2414− * Document details of citation locator terms (Nick Bart).
2415−
2416− * Fixed some internal links in README (#2309).
2417−
2418− * Improve CSL documentation, variables documentations,
2419− links, and cross-references in README. (Andrew Dunning)
2420−
2421− * Fix build failure with `--flags=-https` (Sergei Trofimovich).
2422−
2423− * Use `newManager` instead of `withManager` in recent `http-client`.
2424− This avoids a deprecation warning.
2425−
2426− * Allow building with latest versions of http-types,
2427− HUnit, criterion, syb, aeson.
2428−
2429− * Updated benchmark program for new criterion API.
2430−
2431− * Setup.hs: rewrite so as not to use process, directory, filepath.
2432− Using anything outside base is dangerous, since older
2433− versions of ghc may link against two different versions.
2434−
2435− * Added appveyor (Windows continuous integration) builds.
2436−
2437− * New `.travis.yml`. Autgenerated using `make_travis_yml.hs`.
2438− This script has been modified in a few ways, e.g. to add `GHCOPTS`.
2439− `make .travis.yml` regenerates it based on the tested-with
2440− field of the cabal file.
2441−
2442−pandoc (1.15.0.6)
2443−
2444− * `--self-contained`: Fixed overaggressive CSS minimization (#2301, 2286).
2445− Previously `--self-contained` wiped out all spaces in CSS,
2446− including semantically significant spaces. This was a regression
2447− from 1.14.x.
2448−
2449− * Markdown reader: don't allow bare URI links or autolinks in link
2450− label (#2300). Added test cases.
2451−
2452− * `Text.Pandoc.Parsing`, `uri`: Improved bare autolink detection (#2299).
2453− Previously we disallowed `-` at the end of an autolink,
2454− and disallowed the combination `=-`. This commit liberalizes the
2455− rules for allowing punctuation in a bare URI, and adds test cases.
2456− One potential drawback is that you can no longer put a bare
2457− URI in em dashes like this:
2458− `this uri---http://example.com---is an example.`
2459− But in this respect we now match github's treatment of bare URIs.
2460−
2461− * HTML writer: support speaker notes in dzslides.
2462− With this change `<div class="notes">` and also `<div class="notes"
2463− role="note">` will be output if `-t dzslides` is used. So we can
2464− have speaker notes in dzslides too. Thanks to maybegeek.
2465−
2466− * Updated dzslides template.
2467−
2468− * Improved documentation of options to print system default files (#2298).
2469− `--print-default-data-file` and `--print-default-template`.
2470−
2471− * DokuWiki writer: use `$..$` for Math instead of `<math>..</math>`
2472− (Tiziano Müller). MathJax seems currently to be the only maintained
2473− math rendering extension for DokuWiki.
2474−
2475− * `Text.Pandoc.Shared`: Changed `hierarchicalize` so it treats references
2476− div as top-level header (#2294). This fixes a bug with `--section-divs`,
2477− where the final references section added by pandoc-citeproc, enclosed in
2478− its own div, got nested in the div for the section previous to it.
2479−
2480− * Allow vector 0.11.
2481−
2482− * Require cmark > 0.4.
2483−
2484−pandoc (1.15.0.5)
2485−
2486− * HTML writer: Fixed email javascript obfuscation with `mailto:`
2487− URLs (#2280). This fixes a potential security issue. Because
2488− single quotes weren't being escaped in the link portion, a
2489− specially crafted email address could allow javascript code injection.
2490−
2491− * Markdown/HTML readers: Avoid parsing partial URLs like
2492− `<www.pandoc.org/blah#foo>` as HTML tags (#2277).
2493−
2494− * RST reader: allow inline formatting in definition list field
2495− names (Lars-Dominik Braun).
2496−
2497− * PDF: Make sure `--latex-engine-opt` goes before the filename
2498− on the command line. LaTeX needs the argument to come after
2499− the options (#1779).
2500−
2501− * CommonMark writer: fixed tags used for super/subscript.
2502−
2503− * ConTeXt template: activate hanging indent for definition lists
2504− (Mauro Bieg).
2505−
2506− * Make cabal require `hsb2hs` >= 0.3.1 if `embed_data_files` specified.
2507− This is done by adding `hookedPrograms` in `Setup.hs`, which allows us
2508− to include `hsb2hs` in Build-Tools in cabal.
2509−
2510− * Improved Windows installer (thanks to nkalvi).
2511−
2512− + When per-machine installation is chosen, the system path
2513− is updated instead of the user's.
2514− + An appropriate default is used for per-machine installation
2515− directory.
2516− + Admin privileges are no longer required for a per-user install
2517−
2518− * Travis: unpack sdist for build to catch packaging bugs.
2519−
2520− * Improved documentation on where user templates go (#2272).
2521−
2522−pandoc (1.15.0.4)
2523−
2524− * Added pandoc.1 man page to the repository. It is no longer
2525− built as part of the cabal build process. (This proved too
2526− fragile.) pandoc.1 can be regenerated (`make man/pandoc.1`)
2527− when `README` is changed.
2528−
2529− * Copying of the man page now respects `--destdir` (#2262).
2530−
2531− * Improved error messages for filters. User is now informed if
2532− the filter requires an interpreter that isn't found in the path,
2533− or if the filter returns an error status.
2534−
2535−pandoc (1.15.0.3)
2536−
2537− * Ensure target directory is created when installing man page.
2538−
2539−pandoc (1.15.0.2)
2540−
2541− * Added files needed for building man page to Extra-Source-Files.
2542−
2543−pandoc (1.15.0.1)
2544−
2545− * Man page is now built and installed as part of the cabal build
2546− process. Removed Makefile target for man page.
2547−
2548−pandoc (1.15)
2549−
2550− * Man page changes:
2551−
2552− + Removed `--man1`, `--man5` options (breaking change).
2553− + Removed `Text.Pandoc.ManPages` module (breaking API change).
2554− + Makefile target for `man/man1/pandoc.1`. This uses pandoc to
2555− create the man page from README using a custom template and filters.
2556− + Added `man/` directory with template and filters needed to build
2557− man page.
2558− + We no longer have two man pages: `pandoc.1` and `pandoc_markdown.5`.
2559− Now there is just pandoc.1, which has all the content from README.
2560− This change was needed because of the extensive cross-references
2561− between parts of the README.
2562− + Removed old `data/pandoc.1.template` and
2563− `data/pandoc_markdown.5.template`.
2564−
2565− * OpenDocument writer: Do not add a carriage return after a hard
2566− line break (Michael Chladek).
2567−
2568− * ConTeXt writer:
2569−
2570− + use `\goto` for internal links.
2571− + Added a `%` at end for `\reference` to avoid spurious space.
2572−
2573− * Ignore sandbox on 'make quick'
2574−
2575−pandoc (1.14.1)
2576−
2577− * Added `--man1` and `--man5` options to pandoc, allowing pandoc
2578− to generate its own man pages. Man pages are no longer automatically
2579− generated in the build process (the process for this was too complex
2580− and prone to failure, #2190). The `make-pandoc-man-pages` executable
2581− has been removed. The `man/` directory has been removed, and man page
2582− templates have been moved to `data/`. NOTE TO PACKAGERS: You will no
2583− longer find pandoc's man pages in `man/`, but you can generate them using
2584− `pandoc --man1 > pandoc.1` and `pandoc --man5 > pandoc_markdown.5`.
2585−
2586− * Added new unexported module: `Text.Pandoc.ManPages`.
2587−
2588− * `README` now acts like a data file (even though it isn't in
2589− `data/`). So, for example, `pandoc --print-default-data-file README`
2590− will produce the README.) This change was required for the `--man1`
2591− and `--man5` options, since the man pages are produced from the
2592− README, but it may be useful for other purposes as well.
2593−
2594− * Allow `reference.docx` and `reference.odt` to be used with
2595− `--print-default-data-file` and to shadow defaults if placed in
2596− the user data directory. Note that as of 1.14, we no longer
2597− include these files as data files; instead, we include their
2598− components. This change causes pandoc to behave as if it has
2599− these data files; they are constructed on demand when needed
2600− using `getDefaultReferenceDocx` and `getDefaultReferenceODT`.
2601−
2602− * Fixed regression in CSS parsing with `--self-contained` (#2224).
2603− Pandoc 1.14.0.x used css-text to parse the CSS, but its parser
2604− silently drops big sections of CSS. This commit replaces the
2605− use of css-text with a small but principled CSS preprocessor,
2606− which removes whitespace and comments and replaces `url()` with
2607− base 64 data when possible.
2608−
2609− * Use `https://` instead of `//` for MathJax and KaTeX CDN URLs (#1920).
2610− This will allow math to work when pages are being viewed locally.
2611−
2612− * `Text.Pandoc.Options`: Export `plainExtensions`.
2613− These are the extensions used in `plain` output.
2614−
2615− * LaTeX reader: Don't parse `_` and `^` as sub/superscript outside of
2616− math mode; treat them as regular inline text. Normally these will
2617− cause an error in LaTeX, but there are contexts (e.g. `alltt`
2618− environments) where they are allowed.
2619−
2620− * HTML reader: allow `<body>` to close `<head>`.
2621−
2622− * DocBook reader: support `mediaobject`s and `figures` (#2184, Mauro Bieg).
2623−
2624− * RST reader: Fix reference names with special characters
2625− (Lars-Dominik Braun).
2626−
2627− * Textile writer: escape `+` and `-` as entities (#2225).
2628−
2629− * DokuWiki writer: Use proper `<code>` tags for code blocks (#2213).
2630−
2631− * Plain writer: don't use symbols for super/subscript (#2237).
2632− Simplified code by using `plainExtensions`.
2633−
2634− * InDesign writer: Properly escape URLs containing more than one
2635− colon character (gohai).
2636−
2637− * Docx writer: Make sure we use dist version of `reference.docx`
2638− (and not the user's version) for certain settings. Taking some
2639− settings values from a user-supplied reference.docx can lead to
2640− corruption. This fixes a regression from the last release (#2249).
2641−
2642− * `Text.Pandoc.Shared`: exports `getDefaultReferenceDocx` and
2643− `getDefaultReferenceODT` (API change). These functions have been
2644− removed from the Docx and ODT writers.
2645−
2646− * LaTeX template (Xavier Olive):
2647− + Added `CJKmainfont` and `CJKoptions` variables.
2648− + Allow dvipsnames (e.g. `MidnightBlue`) for colors (Xavier Olive).
2649−
2650− * Epub templates: use `author.role`, not `author.type`.
2651−
2652− * Bump cmark version to >= 0.3.4.
2653−
2654− * Improved Windows installer (#2205, thanks to nkalvi).
2655− Users can now select a per-user or systemwide install, and can set
2656− the installation path. At the end of installation, the install location
2657− is given. The install location is also now given in the list of
2658− installed programs in Control Panel. Cleaner WiX syntax is used for
2659− setting the path.
2660−
2661− * Added `download_stats` target to Makefile.
2662−
2663−pandoc (1.14.0.4)
2664−
2665− * Added missing commonmark template.
2666−
2667− * Improved try pandoc (moved button, show raw command).
2668−
2669−pandoc (1.14.0.3)
2670−
2671− * Allow compilation with syb 0.5.*.
2672−
2673− * Custom writer: fixed some compiler warnings for ghc < 7.10.
2674−
2675−pandoc (1.14.0.2)
2676−
2677− * Allow building with hslua 0.4.
2678−
2679−pandoc (1.14.0.1)
2680−
2681− * Fixed problem with building of `reference.docx` and `reference.odt`
2682− when the `embed_data_files` flag is used. Instead of having a phase
2683− of the build where `reference.docx` and `reference.odt` are created
2684− from their constituent data files, we now construct these archives
2685− from their constituents when a `docx` or `odt` is built. The
2686− constituent files have been moved from `extra-source-files` to
2687− `data-files`, and `reference.docx` and `reference.odt` have been
2688− removed. Users can create their own `reference.docx` or
2689− `reference.odt` by using pandoc to create a simple `docx` or `odt`.
2690− `make-reference-files.hs` has been removed, simplifying the build
2691− process (#2187)
2692−
2693− * Don't include generated man pages in extra-source-files (#2189).
2694−
2695− * Bumped upper bound for aeson.
2696−
2697− * ConTeXt writer: create internal link anchors for Div elements with
2698− identifiers. (This is needed for linked citations to work.)
2699−
2700−pandoc (1.14)
2701−
2702− [new features]
2703−
2704− * Added `commonmark` as input and output format.
2705−
2706− * Added `--verbose` flag for debugging output in PDF production (#1840,
2707− #1653).
2708−
2709− * Allow wildcards in `--epub-embed-font` arguments (#1939).
2710−
2711− * Added `--latex-engine-opt` option (#969, #1779, Sumit Sahrawat).
2712−
2713− * Added `shortcut_reference_links` extension (Konstantin Zudov, #1977).
2714− This is enabled by default for those markdown flavors that
2715− support reading shortcut reference links, namely: `markdown`,
2716− `markdown_strict`, `markdown_github`, `markdown_php`.
2717− If the extension is enabled, the reader parses shortcut reference
2718− links like `[foo]`, and the writer creates such links unless doing
2719− so would cause problems. Users of markdown flavors that support
2720− shortcut reference links should not notice a difference in reading
2721− markdown, but the markdown pandoc produces may differ.
2722− If shortcut links are not desired, the extension can be disabled
2723− in the normal way.
2724−
2725− [behavior changes]
2726−
2727− * `--toc` is now supported for `docx` output (#458, Nikolay Yakimov).
2728− A "dirty" TOC is created at the beginning of document.
2729− It can be regenerated after the document has been opened.
2730−
2731− * An implicit `--filter pandoc-citeproc` is now triggered only when the
2732− `--bibliography` option is used, and not when the `bibliography`
2733− field in metadata is specified (#1849).
2734−
2735− * Markdown reader:
2736−
2737− + Reference links with `implicit_header_references` are no longer
2738− case-sensitive (#1606).
2739− + Definition lists no longer require indentation for first line (#2087).
2740− Previously the body of the definition (after the `:` or `~` marker)
2741− needed to be in column 4. This commit relaxes that requirement,
2742− to better match the behavior of PHP Markdown Extra. So, now
2743− this is a valid definition list:
2744−
2745− foo
2746− : bar
2747− + Resolve a potentially ambiguity with table captions:
2748−
2749− foo
2750−
2751− : bar
2752−
2753− -----
2754− table
2755− -----
2756−
2757− Is "bar" a definition, or the caption for the table? We'll count
2758− it as a caption for the table.
2759− + Disallow headerless pipe tables (#1996), to conform to GFM and PHP
2760− Markdown Extra. Note: If you have been using headerless pipe tables,
2761− this change may cause existing tables to break.
2762− + Allow pipe tables with header but no body (#2017).
2763− + Allow a digit as first character of a citation key (Matthias Troffaes).
2764− See https://github.com/jgm/pandoc-citeproc/issues/97
2765−
2766− * LaTeX reader:
2767−
2768− + Don't limit includes to `.tex` extension (#1882).
2769− If the extension is not `.tex`, it must be given explicitly in
2770− the `\input` or `\include`.
2771−
2772− * Docx reader:
2773−
2774− + Allow numbering in the style file. This allows inherited styles
2775− with numbering (lists) (Jesse Rosenthal).
2776−
2777− * Org reader:
2778−
2779− + Support smart punctuation (Craig Bosma).
2780− + Drop trees with a :noexport: tag (Albert Krewinkel). Trees having a
2781− `:noexport:` tag set are not exported. This mirrors org-mode.
2782− + Put header tags into empty spans (Albert Krewinkel, #2160).
2783− Org mode allows headers to be tagged: `* Headline :TAG1:TAG2`.
2784− Instead of being interpreted as part of the headline, the tags are now
2785− put into the attributes of empty spans. Spans without textual content
2786− won't be visible by default, but they are detectable by filters. They
2787− can also be styled using CSS when written as HTML.
2788− + Generalize code block result parsing (Albert Krewinkel).
2789− Previously, only code blocks were recognized as result blocks;
2790− now, any kind of block can be the result.
2791−
2792− * Append newline to the LineBreak in Dokuwiki, HTML, EPUB,
2793− LaTeX, MediaWiki, OpenDocument, Texinfo writers (#1924, Tim Lin).
2794−
2795− * HTML writer:
2796−
2797− + Add "inline" or "display" class to math spans (#1914).
2798− This allows inline and display math to be styled differently.
2799− + Include raw latex blocks if `--mathjax` specified (#1938).
2800− + Require highlighting-kate >= 0.5.14 (#1903).
2801− This ensures that all code blocks will be wrapped in a `div`
2802− with class `sourceCode`. Also, the default highlighting CSS
2803− now adds `div.sourceCode { x-overflow: auto; }`, which means
2804− that code blocks (even with line numbers) will acquire a scroll
2805− bar on screens too small to display them (e.g. mobile phones).
2806− See also jgm/highlighting-kate#65.
2807−
2808− * LaTeX writer:
2809−
2810− + Use a declaration for tight lists (Jose Luis Duran, Joseph
2811− Harriott). Previously, pandoc hard-coded some commands to make
2812− tight lists in LaTeX. Now we use a custom command instead,
2813− allowing the styling to be changed in a macro in the header.
2814− (Note: existing templates may need to be modified to include
2815− the definition of this macro. See the current template.)
2816− + Beamer output: if the header introducing a slide has the
2817− class `fragile`, add the `[fragile]` option to the slide (#2119).
2818−
2819− * MediaWiki writer:
2820−
2821− + Use `File:` instead of the deprecated `Image:` for images and
2822− other media files (Greg Rundlett).
2823−
2824− * DocBook writer:
2825−
2826− + Render a `Div (id,_,_) [Para _]` element as a `para` element
2827− with an `id` attribute. This makes links to citations work in
2828− DocBook with pandoc-citeproc.
2829−
2830− * RST writer:
2831−
2832− + Normalize headings to sequential levels (Nikolay Yakimov).
2833− This is pretty much required by docutils.
2834− + Treat headings in block quotes, etc as rubrics (Nikolay Yakimov).
2835− + Better handling of raw latex inline (#1961). We use
2836− `` :raw-latex:`...` `` and add a definition for this role to
2837− the template.
2838−
2839− * EPUB writer:
2840−
2841− + Remove `linear=no` from cover `itemref` (#1609).
2842− + Don't use `sup` element for epub footnotes (#1995).
2843− Instead, just use an a element with class `footnoteRef`.
2844− This allows more styling options, and provides better results
2845− in some readers (e.g. iBooks, where anything inside the a
2846− tag breaks popup footnotes).
2847− + Take TOC title from `toc-title` metadata field.
2848−
2849− * Docx writer:
2850−
2851− + Implemented `FirstParagraph` style (Jesse Rosenthal).
2852− Following the ODT writer, we add the `FirstParagraph` style to the
2853− first text paragraph following an image, blockquote, table, heading,
2854− or beginning of document. This allows it to be styled differently.
2855− The default is for it to be the same as `Normal`.
2856− + Added `BodyText` style (Jesse Rosenthal).
2857− We apply a `BodyText` style to all unstyled paragraphs. This is,
2858− essentially, the same as `Normal`, except that since not everything
2859− inherits from `BodyText` (the metadata won't, for example, or
2860− the headers or footnote numbers), we can change the text in the body
2861− without having to make exceptions for everything. If we do want to
2862− change *everything*, we can still do it through `Normal`.
2863− + Altered `Blockquote` style slightly (Jesse Rosenthal).
2864− Since `BlockQuote` derives from `BodyText`, we just want to specify
2865− by default that it won't indent, regardless of what `BodyText` does.
2866− Note that this will not produce any visible difference in the default
2867− configuration.
2868− + Take TOC title from `toc-title` metadata field (Nikolay Yakimov).
2869− + Added a style to figure images (Nikolay Yakimov).
2870− Figures with empty captions use style `Figure`.
2871− Figures with nonempty captions use style `Figure with Caption`, which
2872− is based on `Figure`, and additionally has `keepNext` set.
2873−
2874− * ODT writer:
2875−
2876− + Added figure captions (Nikolay Yakimov). The following styles are
2877− used for figures:
2878− `Figure` -- for figure with empty caption),
2879− `FigureWithCaption` (based on `Figure`) -- for figure with caption,
2880− `FigureCaption` (based on `Caption`) -- for figure captions.
2881− Also, `TableCaption` (based on `Caption`) is used for table captions.
2882−
2883− [API changes]
2884−
2885− * New `Text.Pandoc.Error` module with `PandocError` type
2886− (Matthew Pickering).
2887−
2888− * All readers now return `Either PandocError Pandoc` instead of `Pandoc`
2889− (Matthew Pickering). This allows better handling of errors.
2890−
2891− * Added `Text.Pandoc.Writers.CommonMark`, exporting `writeCommonMark`.
2892−
2893− * Added `Text.Pandoc.Readers.CommonMark`, exporting `readCommonMark`.
2894−
2895− * Derive `Data` and `Typeable` instances for `MediaBag`, `Extension`,
2896− `ReaderOptions`, `EPUBVersion`, `CiteMethod`, `ObfuscationMethod`,
2897− `HTMLSlideVariant`, `TrackChanges`, `WriterOptions` (Shabbaz
2898− Youssefi).
2899−
2900− * New `Ext_shortcut_reference_links` constructor for `Extension`
2901− (Konstantin Zudov).
2902−
2903− [bug fixes]
2904−
2905− * Markdown reader:
2906−
2907− + Allow smart `'` after inline math (#1909, Nikolay Yakimov).
2908− + Check for tex macros after indented code (#1973).
2909− + Rewrote `charsInBalancedBrackets` for efficiency.
2910− + Make sure a closing `</div>` doesn't get included in a
2911− definition list item (#2127).
2912− + Don't parse bracketed text as citation if it might be a link,
2913− image, or footnote (Nikolay Yakimov).
2914− + Require space after key in mmd title block (#2026, Nikolay
2915− Yakimov). Require space after key-value delimiter colon in mmd title
2916− block.
2917− + Require nonempty value in mmd title block (Nikolay Yakimov).
2918− + Disable all metadata block extensions when parsing
2919− metadata field values (#2026, Nikolay Yakimov). Otherwise we
2920− could get a mmd title block inside YAML metadata, for example.
2921−
2922− * HTML reader:
2923−
2924− + Improve self-closing tag detection in `htmlInBalanced` (#2146).
2925− + Handle tables with `<th>` in body rows (#1859, Mauro Bieg).
2926− + Fixed `htmlTag` (#1820). If the tag parses as a comment, we check
2927− to see if the input starts with `<!--`. If not, it's bogus comment
2928− mode and we fail `htmlTag`.
2929− + Handle `base` tag; if it has an `href` value, this is added to
2930− all relative URLs in links and images.
2931−
2932− * DocBook reader:
2933−
2934− + Look inside "info" elements for section titles (#1931).
2935−
2936− * Docx reader:
2937−
2938− + Parse images in deprecated vml format (Jesse Rosenthal).
2939− + Allow sub/superscript verbatims (Jesse Rosenthal).
2940− Verbatim usually shuts off all other run styles, but we don't want it
2941− to shut off sub/superscript.
2942−
2943− * LaTeX reader:
2944−
2945− + Handle `tabular*` environment (#1850).
2946− Note that the table width is not actually parsed or taken into
2947− account, but pandoc no longer chokes on it.
2948− + Ignore options in `\lstinline` rather than raising error (#1997).
2949− + Add some test cases for simple tables (Mathias Schenner).
2950− + Handle valign argument in tables (Mathias Schenner) (currently
2951− we just ignore this).
2952− + Allow non-empty colsep in tables (Mathias Schenner).
2953− The `tabular` environment allows non-empty column separators
2954− with the "@{...}" syntax. Previously, pandoc would fail to
2955− parse tables if a non-empty colsep was present. With this
2956− commit, these separators are still ignored, but the table gets
2957− parsed. A test case is included.
2958− + Recognize `\newpage` as a block command.
2959− + Allow block content in \title{} (#2001).
2960− + Check for block-level newcommand aliases in blockCommand (Nikolay
2961− Yakimov).
2962− + Guard against paragraph starting with inline macro (Nikolay Yakimov).
2963− + Properly gobble spaces after `\\` (#2007).
2964−
2965− * Textile reader:
2966−
2967− + Handle newlines in table cells, and empty cells (#1919).
2968−
2969− * Org reader:
2970−
2971− + Allow image links with non-image targets (Hans-Peter Deifel).
2972− This matches behavior of Org-Mode for links like
2973− `[[http://example.com][https://www.haskell.org/static/img/logo.png]]`.
2974−
2975− * Docbook writer:
2976−
2977− + Don't print empty id attributes (thanks to Steve Horne).
2978−
2979− * HTML writer:
2980−
2981− + Fixed list-style-type for numbered example lists.
2982− Should be "decimal," not "example" (#1902).
2983− + Do not omit missing `alt` attribute on `img` tag (#1131,
2984− Konstantin Zudov).
2985− + Allow multiple colgroups in table (#2122).
2986− + In revealjs, ensure that lists in speaker notes don't add "fragment"
2987− classes, which can cause additional keypresses to be needed to
2988− advance a slide (#1394).
2989−
2990− * LaTeX writer:
2991−
2992− + Don't escape `$` in URL (#1913).
2993− + Don't use listings in headers (Matthew Pickering, #1963).
2994− + Recognize book documentclass if set in metadata (#1971).
2995− This sets `--chapters` implicitly if the documentclass in metadata
2996− is a book documentclass. Previously this was done only if a book
2997− documentclass was set in a variable.
2998− + Add a `\label` in `\hyperdef` for Div, Span (or links don't work).
2999− + Make `mainlang` work when `lang` is in metadata (#2174).
3000−
3001− * Texinfo writer:
3002−
3003− + Fix wrapping by using breakable spaces (Tim Lin).
3004−
3005− * RST writer:
3006−
3007− + Fixed toc depth in RST writer. Previously the depth was being
3008− rendered as a floating point number with a decimal point.
3009−
3010− * Markdown writer:
3011−
3012− + Improved escaping (#2086). `<` should not be escaped as `\<`, for
3013− compatibility with original Markdown. We now escape `<` and `>`
3014− with entities. Also, we now backslash-escape square brackets.
3015− + Avoid introducing spurious list items through wrapping (#1946).
3016− + Don't emit span tags if plain or raw HTML disabled.
3017−
3018− * MediaWiki writer:
3019−
3020− + Convert spaces to underscores in wikilink URL (#1982), like MediaWiki.
3021−
3022− * AsciiDoc writer:
3023−
3024− + Insert some needed blank lines (#1860).
3025− + Avoid wrapping after list marker (#1858).
3026−
3027− * EPUB writer:
3028−
3029− + Properly handle internal links to IDs in spans, divs (#1884).
3030− + Use plain writer for metadata dc: fields (#2121).
3031− This gives better results when we have, e.g. multiple paragraphs.
3032− Note that tags aren't allowed in these fields.
3033− + Properly handle image links without an extension (#1855).
3034− + Improved chapter splitting and internal link rewriting (#1887,
3035− #2162, #2163). This will ensure that internal links work and
3036− that the references section produced by pandoc-citeproc is
3037− in its own chapter.
3038− + Fixed handling of svg images (#2183).
3039−
3040− * ICML writer:
3041−
3042− + Better handling of raw blocks and inlines (#1951).
3043− Previously these were always escaped and printed verbatim.
3044− Now they are ignored unless the format is `icml`, in which
3045− case they are passed through unescaped.
3046− + Fixed image URIs in ICML output (gohai).
3047−
3048− * Custom writer:
3049−
3050− + Raise error if loadstring returns an error status.
3051− + Raise `PandocLuaException` instead of using 'error'.
3052− Eventually we'll change the return type so that no exception
3053− is involved, but at least this can be trapped.
3054− + Use UTF-8 aware bytestring conversion.
3055− + Set foreign encoding to UTF-8 (Nikolay Yakimov, #2101, #1634).
3056− Also factored out ByteString, since it's only used as an intermediate
3057− representation.
3058−
3059− * Docx writer:
3060−
3061− + Copy hyphenation settings from reference.docx (Nikolay Yakimov).
3062− + Filter out illegal XML characters (#1992, Matthew Pickering).
3063− + Added `noProof` to docx syntax highlighting `SourceCode` style.
3064− + Added footnotes id -1 and 0 (Jesse Rosenthal).
3065− Word uses, by default, footnotes with id -1 and 0 for separators. If a
3066− user modifies `reference.docx`, they will end up with a `settings.xml`
3067− file that references these footnotes, but no such footnotes in the
3068− document. This will produce a corruption error. Here we add these to the
3069− document and `settings.xml` file, so future modifications won't break
3070− the file.
3071− + Handle lists correctly inside table cells (Jesse Rosenthal).
3072− Previously we didn't transform lists inside table cells.
3073− + Set firstRow information in tables (Nikolay Yakimov).
3074− + Don't replace `SourceCode` style in `reference.docx` if it is defined
3075− there (Nikolay Yakimov, #1872). If `--no-highlight` specified, remove
3076− any `SourceCode` and `*Tok` styles in `reference.docx`.
3077− + Attempt to match international style names (#1607, Nikolay Yakimov).
3078− + Set these styles as custom (Nikolay Yakimov): `Author`, `Abstract`,
3079− `Compact`, `Image Caption`, `Table Caption`, `Definition Term`,
3080− `Definition`, `First Paragraph`.
3081− + Rename these styles to correspond with Word `Normal.dotm` (Nikolay
3082− Yakimov): `Block Quote -> Block Text`, `Link -> Hyperlink`,
3083− `Footnote Ref -> Footnote Reference`.
3084− + Added `Caption` style (Nikolay Yakimov).
3085− + Changed these styles' inheritance (Nikolay Yakimov):
3086− `Image Caption <- Caption`, `Table Caption <- Caption`.
3087− + Remove `SourceCode` style from `reference.docx` (#1872).
3088− This is added automatically by the docx writer.
3089− + Added toc heading style to `reference.docx` (Nikolay Yakimov).
3090−
3091− * `Text.Pandoc.PDF`
3092−
3093− + Don't suggest "Try xelatex" if xelatex already in use (Mauro Bieg,
3094− #1832).
3095− + More comprehensible errors on image conversion (#2067).
3096− EPS can't be supported without shelling out to something like
3097− ImageMagick, but at least we can avoid mysterious error messages.
3098−
3099− * `Text.Pandoc.Shared`:
3100−
3101− + Make safeRead safe (#1801, Matthew Pickering).
3102− + Addded `mapLeft`, `hush` (Matthew Pickering).
3103−
3104− * `Text.Pandoc.Pretty`:
3105−
3106− + Remove partial function (Matthew Pickering).
3107−
3108− * `Text.Pandoc.SelfContained`:
3109−
3110− + Add `;charset=utf-8` to script mime type if missing (#1842).
3111− + Improved building of data URIs (#1940). Now base64 is used except
3112− for `text/*` mime types.
3113− + `cssURLs` no longer tries to fetch fragment URLs (#2121).
3114− + Properly handle data URIs in css urls (#2129).
3115− Use a proper CSS parser (adds dependency on `text-css`).
3116−
3117− * `Text.Pandoc.UTF8`:
3118−
3119− + Better handling of bare CRs in input files (#2132).
3120− Previously we just stripped them out; now we convert
3121− other line ending styles to LF line endings.
3122−
3123− * `Text.Pandoc.ImageSize`:
3124−
3125− + Fixed some exif header parsing bugs (#1834).
3126− + Make imageSize return an Either, not a Maybe (#1834).
3127− Use `runGetOrFail` (with `binary >= 0.7`) to return `Left` on
3128− parse failure (rather than `error`).
3129− + Improved warnings when image size can't be determined.
3130− + Removed error landmines (Matthew Pickering).
3131−
3132− * Added woff2 to MIME types (Alfred Wechselberger).
3133−
3134− * pandoc: When a binary input format is used, warn that file
3135− arguments past the first one are being ignored (Matthew Pickering).
3136−
3137− [template changes]
3138−
3139− * LaTeX template:
3140−
3141− + Degrade gracefully if `\paragraph` not defined.
3142− + Include `grffile` together with `graphicx` (#2074).
3143− This properly handles filenames containing spaces and dots.
3144− + Redefine `\paragraph`, `\subparagraph`... to behave more
3145− like section headers (#1658).
3146− + Import hyperref before polyglossia to avoid an error with xelatex,
3147− "please load package hyperref before bidi package" (Nick Bart).
3148− + Added `toccolor` variable to control link color in toc (Kaixhin).
3149−
3150− * LaTeX, Beamer templates:
3151−
3152− + Provide `\tightlist`, which is now used by the LaTeX writer.
3153− + Use polyglossia in beamer (#85).
3154− + Use `bibliography` instead of `biblio-files`
3155− (#1661). Also use `\addbibresource` instead of `\bibliography` for
3156− biblatex.
3157− + Added `setotherlanguages` in polyglossia. This uses an `otherlang`
3158− variable that is derived from a comma-separated list in `lang`;
3159− the last language is `mainlang` and the others are `otherlang`.
3160−
3161− * EPUB templates:
3162−
3163− + Use `div`, not `p`, for "rights" on title page.
3164− + Added header-includes, include-before, include-after (#1987).
3165−
3166− * OpenDocument template:
3167−
3168− + Use `text:p` instead of `text:h` for title.
3169− Using `text:h` causes problems with numbering. Closes #2059.
3170− Thansk to @nkalvi for diagnosing this.
3171−
3172− * reveal.js template:
3173−
3174− + Link to non-minified css, js. The minified versions no longer
3175− ship with the library.
3176− + Correctly include style CSS (#1949).
3177− + New configurable options options: `center`, `maxScale`, `slideNuber`
3178− (Dmitry Smirnov, pandoc-templates#89).
3179− + Moved custom CSS after theme. This allows custom CSS to modify
3180− themes, instead of being replaced by them.
3181− + Allow `center` to be set to false.
3182−
3183− [under the hood improvements]
3184−
3185− * Removed pre-built `reference.docx` and `reference.odt` (Nikolay
3186− Yakimov). Instead the repository now includes the component text files,
3187− and the zipped binaries are built from these using a helper
3188− program, `make-reference-files`. This should make maintenance of
3189− these components easier going forward.
3190−
3191− * `Text.Pandoc.Parsing`:
3192−
3193− + Added new `<+?>` combinator (Nikolay Yakimov).
3194− + Added `stateHeaderKeys` to `ParserState`.
3195−
3196− * `make_deb.sh` fixes:
3197−
3198− + Detect architecture.
3199− + Add Installed-Size to debian package control file (#1900).
3200− + Use `fakeroot` to get permissions right.
3201− + Use `mkdir` and `cp` instead of `install`.
3202− + Set permissions of directories to 755.
3203− + Install in `/usr` rather than `/usr/local`.
3204− + Compress man pages.
3205− + Combine copyright files for `pandoc`, `pandoc-citeproc`.
3206−
3207− * Added `Text.Pandoc.Compat.Locale` and `old-locale` flag
3208− to assist with transition to `time` 1.5.
3209−
3210− * Updated CONTRIBUTING.md with information about issue tags (Matthew
3211− Pickering).
3212−
3213− * Updated travis installs to the new sudo-less syntax (Tim Lin).
3214−
3215− * Updated dependency version bounds.
3216−
3217− * EPUB tests: don't use `joinPath`, which varies across platforms.
3218− Instead, use a forward-slash to join paths, regardless of the
3219− platform. This matches the way `MediaBag` now works.
3220−
3221− * Clarify JSON input and output in usage message (Caleb McDaniel).
3222−
3223− * Improved INSTALL instructions.
3224−
3225− * Always build man pages. Removed make-pandoc-man-pages flag.
3226−
3227− * Makefile: removed man target, now that we generate man pages by default.
3228−
3229− * README:
3230−
3231− + Fixed typos (J. Lewis Muir).
3232− + Added documentation on backtick_code_blocks (#2135, Nikolay Yakimov).
3233− + Added note on in-field markup in biblio databases (Nick Bart).
3234− + Fixed misleading example of raw HTML block.
3235− + Various minor formatting and consistency fixes for the program
3236− options (Andreas Lööw).
3237− + Made definition lists for options all "loose" for consistency.
3238− + Added YAML biblio format to table, and note on `pandoc-citeproc`'s
3239− `--bib2json` and `--bib2yaml` options (Nick Bart).
3240− + Removed obsolete reference to `mods2yaml` (Nick Bart).
3241− + Added section on syntax highlighting.
3242− + Documented `toccolor` variable.
3243−
3244−pandoc (1.13.2.1)
3245−
3246− * Updated to build with ghc 7.10.1.
3247−
3248− * Bumped package upper bounds for filepath, blaze-html,
3249− blaze-markup.
3250−
3251−pandoc (1.13.2)
3252−
3253− * TWiki Reader: add new new twiki reader (API chaneg, Alexander Sulfrian).
3254−
3255− * Markdown reader:
3256−
3257− + Better handling of paragraph in div (#1591).
3258− Previously text that ended a div would be parsed as Plain
3259− unless there was a blank line before the closing div tag.
3260− + Don't treat a citation as a reference link label (#1763).
3261− + Fix autolinks with following punctuation (#1811).
3262− The price of this is that autolinked bare URIs can no longer
3263− contain `>` characters, but this is not a big issue.
3264− + Fix `Ext_lists_without_preceding_blankline` bug (#1636, Artyom).
3265− + Allow `startnum` to work without `fancy_lists`. Formerly
3266− `pandoc -f markdown-fancy_lists+startnum` did not work properly.
3267−
3268− * RST reader (all Daniel Bergey):
3269−
3270− + Parse quoted literal blocks (#65). RST quoted literal blocks are
3271− the same as indented literal blocks (which pandoc already supports)
3272− except that the quote character is preserved in each line.
3273− + Parse RST class directives. The class directive accepts one or more
3274− class names, and creates a Div value with those classes. If the
3275− directive has an indented body, the body is parsed as the children of
3276− the Div. If not, the first block folowing the directive is made a
3277− child of the Div. This differs from the behavior of rst2xml, which
3278− does not create a Div element. Instead, the specified classes are
3279− applied to each child of the directive. However, most Pandoc Block
3280− constructors to not take an Attr argument, so we can't duplicate this
3281− behavior.
3282− + Warn about skipped directives.
3283− + Literal role now produces Code. Code role should have "code" class.
3284− + Improved support for custom roles
3285−
3286− - Added `sourceCode` to classes for `:code:` role, and anything
3287− inheriting from it.
3288− - Add the name of the custom role to classes if the Inline
3289− constructor supports Attr.
3290− - If the custom role directive does not specify a parent role,
3291− inherit from the `:span:` role.
3292−
3293− This differs somewhat from the `rst2xml.py` behavior. If a custom
3294− role inherits from another custom role, Pandoc will attach both
3295− roles' names as classes. `rst2xml.py` will only use the class of
3296− the directly invoked role (though in the case of inheriting from a
3297− `:code:` role with a `:language:` defined, it will also provide the
3298− inherited language as a class).
3299− + Warn about ignored fields in role directives.
3300−
3301− * LaTeX reader:
3302−
3303− + Parse label after caption into a span instead of
3304− inserting an additional paragraph of bracketed text (#1747).
3305− + Parse math environments as inline when possible (#1821).
3306− + Better handling of `\noindent` and `\greektext` (#1783).
3307− + Handle `\texorpdfstring` more gracefully.
3308− + Handle `\cref` and `\sep` (Wikiwide).
3309− + Support `\smartcite` and `\Smartcite` from biblatex.
3310−
3311− * HTML reader:
3312−
3313− + Retain display type of MathML output (#1719, Matthew Pickering).
3314− + Recognise `<br>` tags inside `<pre>` blocks (#1620, Matthew Pickering).
3315− + Make `embed` tag either block or inline (#1756).
3316−
3317− * DocBook reader:
3318−
3319− + Handle `keycombo`, `keycap` (#1815).
3320− + Get string content in inner tags for literal elements (#1816).
3321− + Handle `menuchoice` elements better, with a `>` between (#1817).
3322− + Include `id` on section headers (#1818).
3323− + Document/test "type" as implemented (Brian O'Sullivan).
3324− + Add support for calloutlist and callout (Brian O'Sullivan).
3325− We treat a calloutlist as a bulleted list. This works well in practice.
3326− + Add support for `classname` (Bryan O'Sullivan).
3327−
3328− * Docx reader:
3329−
3330− + Fix window path for image lookup (Jesse Rosenthal).
3331− Don't use os-sensitive "combine", since we always want the paths in our
3332− zip-archive to use forward-slashes.
3333− + Single-item headers in ordered lists are headers (Jesse Rosenthal).
3334− When users number their headers, Word understands that as a single item
3335− enumerated list. We make the assumption that such a list is, in fact,
3336− a header.
3337− + Rewrite rewriteLink to work with new headers (Jesse Rosenthal).
3338− There could be new top-level headers after making lists, so we have to
3339− rewrite links after that.
3340− + Use polyglot header list (Jesse Rosenthal).
3341− We're just keeping a list of header formats that different languages
3342− use as their default styles. At the moment, we have English, German,
3343− Danish, and French. We can continue to add to this.
3344− This is simpler than parsing the styles file, and perhaps less
3345− error-prone, since there seems to be some variations, even within a
3346− language, of how a style file will define headers.
3347− + Remove header class properly in other langs (Jesse Rosenthal).
3348− When we encounter one of the polyglot header styles, we want to remove
3349− that from the par styles after we convert to a header. To do that, we
3350− have to keep track of the style name, and remove it appropriately.
3351− + Account for external link URLs with anchors. Previously, if a URL
3352− had an anchor, the reader would incorrectly identify it as an
3353− internal link and return only the anchor as URL. (Caleb McDaniel)
3354− + Fix for Issue #1692 (i18n styles) (Nikolay Yakimov).
3355−
3356− * Org reader:
3357−
3358− + Added state changing blanklines (Jesse Rosenthal).
3359− This allows us to emphasize at the beginning of a new paragraph (or, in
3360− general, after blank lines).
3361− + Fixed bug with bulleted lists:
3362−
3363− - a
3364− - b
3365− * c
3366−
3367− was being parsed as a list, even though an unindented `*`
3368− should make a heading. See
3369− <http://orgmode.org/manual/Plain-lists.html#fn-1>.
3370− + Org reader: absolute, relative paths in link (#1741, Albert
3371− Krewinkel). The org reader was too restrictive when parsing links;
3372− some relative links and links to files given as absolute paths
3373− were not recognized correctly.
3374− + Org reader: allow empty links (jgm/gitit#471, Albert Krewinkel).
3375− This is important for use in gitit, which uses empty links
3376− for wikilinks.
3377− + Respect indent when parsing Org bullet lists (#1650, Timothy
3378− Humphries). Fixes issue with top-level bullet list parsing.
3379− + Fix indent issue for definition lists (Timothy Humphries,
3380− see #1650, #1698, #1680).
3381− + Parse multi-inline terms correctly in definition list (#1649,
3382− Matthew Pickering).
3383− + Fix rules for emphasis recognition (Albert Krewinkel).
3384− Things like `/hello,/` or `/hi'/` were falsy recognized as emphasised
3385− strings. This is wrong, as `,` and `'` are forbidden border chars and
3386− may not occur on the inner border of emphasized text.
3387− + Drop COMMENT document trees (Albert Krewinkel).
3388− Document trees under a header starting with the word `COMMENT` are
3389− comment trees and should not be exported. Those trees are dropped
3390− silently (#1678).
3391− + Properly handle links to `file:target` (Albert Krewinkel).
3392− Org links like `[[file:target][title]]` were not handled correctly,
3393− parsing the link target verbatim. The org reader is changed such that
3394− the leading `file:` is dropped from the link target (see #756, #1812).
3395− + Parse LaTeX-style MathML entities (#1657, Albert Krewinkel).
3396− Org supports special symbols which can be included using LaTeX syntax,
3397− but are actually MathML entities. Examples for this are
3398− `\nbsp` (non-breaking space), `\Aacute` (the letter A with accent acute)
3399− or `\copy` (the copyright sign ©)
3400−
3401− * EPUB reader:
3402−
3403− + URI handling improvements. Now we outsource most of the work to
3404− `fetchItem'`. Also, do not include queries in file extensions (#1671).
3405−
3406− * LaTeX writer:
3407−
3408− + Use `\texorpdfstring` for section captions when needed (Vaclav Zeman).
3409− + Handle consecutive linebreaks (#1733).
3410− + Protect graphics in headers (Jesse Rosenthal).
3411− Graphics in `\section`/`\subsection` etc titles need to be `\protect`ed.
3412− + Put `~` before header in list item text (Jesse Rosenthal).
3413− Because of the built-in line skip, LaTeX can't handle a section header
3414− as the first element in a list item.
3415− + Avoid using reserved characters as `\lstinline` delimiters (#1595).
3416− + Better handling of display math in simple tables (#1754).
3417− We convert display math to inline math in simple tables,
3418− since LaTeX can't deal with display math in simple tables.
3419− + Escape spaces in code (#1694, Bjorn Buckwalter).
3420−
3421− * MediaWiki writer:
3422−
3423− + Fixed links with URL = text. Previously these were rendered as bare
3424− words, even if the URL was not an absolute URL (#1825).
3425−
3426− * ICML writer:
3427−
3428− + Don't force all citations into footnotes.
3429−
3430− * RTF writer:
3431−
3432− + Add blankline at end of output (#1732, Matthew Pickering).
3433−
3434− * RST writer:
3435−
3436− + Ensure blank line after figure.
3437− + Avoid exces whitespace after last list item (#1777).
3438− + Wrap line blocks with spaces before continuations (#1656).
3439− + Fixed double-rendering of footnotes in RST tables (#1769).
3440−
3441− * DokuWiki writer:
3442−
3443− + Better handling of block quotes. This change ensures that
3444− multiple paragraph blockquotes are rendered using native `>`
3445− rather than as HTML (#1738).
3446− + Fix external images (#1739). Preface relative links with ":",
3447− absolute URIs without. (Timothy Humphries)
3448−
3449− * HTML writer:
3450−
3451− + Use protocol-relative URL for mathjax.
3452− + Put newline btw img and caption paragraph.
3453− + MathML now outputted with tex annotation (#1635, Matthew Pickering).
3454− + Add support for KaTeX HTML math (#1626, Matthew Pickering).
3455− This adds `KaTeX` to `HTMLMathMethod` (API change).
3456− + Don't double render when `email-obfuscation=none` (#1625, Matthew
3457− Pickering).
3458− + Make header attributes work outside top level (#1711).
3459− Previously they only appeared on top level header elements.
3460− Now they work e.g. in blockquotes.
3461−
3462− * ODT writer:
3463−
3464− + Correctly handle images without extensions (#1729).
3465− + Strip querystring in ODT write (#1682, Todd Sifleet).
3466−
3467− * FB2 writer:
3468−
3469− + Add newline to output.
3470−
3471− * EPUB writer:
3472−
3473− + Don't add `sourceURL` to absolute URIs (#1669).
3474− + Don't use unsupported `opf:title-type` for epub2.
3475− + Include "landmarks" section in nav document for epub3 (#1757).
3476− + Removed playOrder from navpoint elements in ncx file (#1760).
3477− These aren't required, and they make manual modification of epubs
3478− difficult.
3479− + Extract title even from structured title.
3480− + Don't include nav node in spine unless `--toc` was requested.
3481− Previously we included it in the spine with `linear="no"`, leading
3482− to odd results in some readers (#1593).
3483− + Fixed absolute URI detection (#1672).
3484− + Correctly resolve relative URIs (#1671).
3485− + Use regular page template for `nav.xhtml`, including doctype (#1759).
3486−
3487− * Docx writer:
3488−
3489− + Put docx table captions above tables (#1641, Nikolay Yakimov).
3490− + Get the page width from the reference docx file, and use
3491− it to scale images that are too large to fit (Grégory Bataille).
3492− + Partial fix for #1607 (Nikolay Yakimov). International heading styles
3493− are inferred based on `<w:name val="heading #">` fallback, if there
3494− are no en-US "Heading#" styles
3495− + Look in user data dir for archive `reference.docx`.
3496− + Renumber header and footer relationships to avoid collisions (Jesse
3497− Rosenthal). We previously took the old relationship names of the
3498− headers and footer in secptr. That led to collisions. We now make
3499− a map of availabl names in the relationships file, and then rename
3500− in secptr.
3501−
3502− * ConTeXt writer:
3503−
3504− + Add function toLabel (Mark Szepieniec).
3505− This function can be used to sanitize reference labels so that
3506− they do not contain any of the illegal characters \#[]",{}%()|= .
3507− Currently only Links have their labels sanitized, because they
3508− are the only Elements that use passed labels.
3509−
3510− * `Text.Pandoc.Shared`:
3511−
3512− + Moved import of `toChunks` outside of CPP conditional (#1590).
3513− + Fix `inDirectory` to reset to the original directory in case
3514− an exception occurs (Freiric Barral).
3515−
3516− * Templates:
3517−
3518− + LaTeX template: load polyglossia before bibtex (jgm/pandoc-templates#70).
3519− Thanks to bluebirch.
3520− + LaTeX template: Added `\VerbatimFootnotes` if there is verbatim in notes
3521− (#1616).
3522− + LaTeX template: Add shorthands=off to babel options (#1648).
3523− + EPUB, EPUB3 templates: Added `id="cover"` to body of cover page.
3524− This aids styling, making it possible for example to set 0 margins
3525− on the title page (#1758).
3526− + EPUB, EPUB3 templates: Handle structured metadata on titlepage.
3527− Previously we just expected 'title', 'subtitle', 'author', 'date'.
3528− Now we still support those, but also support the format recommended
3529− for epub metadata in the pandoc README:
3530−
3531− ---
3532− title:
3533− - type: main
3534− text: My Book
3535− - type: subtitle
3536− text: An investigation of metadata
3537− creator:
3538− - role: author
3539− text: John Smith
3540− - role: editor
3541− text: Sarah Jones
3542− identifier:
3543− - scheme: DOI
3544− text: doi:10.234234.234/33
3545− publisher: My Press
3546− rights: (c) 2007 John Smith, CC BY-NC
3547− ...
3548−
3549− * `Text.Pandoc.Templates.getDefaultTemplate`:
3550− don't fail when called with "fb2" (#1660).
3551−
3552− * `Text.Pandoc.Parsing`:
3553−
3554− + Fixed `inlineMath` so it handles `\text{..}` containing `$`.
3555− For example: `$x = \text{the $n$th root of $y$}` (#1677).
3556− + Change `parseFromString` to fail if not all input is consumed.
3557− (Matthew Pickering)
3558− + Moved `addWarning` from Markdown reader to `Parsing`, so it can be
3559− used by more readers (API change, Daniel Bergey).
3560−
3561− * `Text.Pandoc.Pretty`:
3562−
3563− + Improve performance of `realLength` (Matthew Pickering).
3564− + Make CR + BLANKLINE = BLANKLINE. This fixes an extra blank line we
3565− were getting at the end of markdown fragments (as well as rst, org,
3566− etc.) (#1705).
3567−
3568− * `Text.Pandoc.MIME`:
3569−
3570− + Add mime type for WebVTT (Jason Ronallo).
3571− + Changed mime type for `otf` to `application/vnd.ms-opentype` (#1761).
3572− This is needed for epub3 validation.
3573−
3574− * `Text.Pandoc.MediaBag`:
3575−
3576− + Fix Windows specific path problems (#1597).
3577−
3578− * `Text.Pandoc.Shared`:
3579−
3580− + Make `collapseFilePath` OS-agnostic (Matthew Pickering).
3581−
3582− * Link the test suite using `-threaded`.
3583− This allows the test suite to be run using `+RTS -N`.
3584−
3585− * Added `network` dependency under `network-uri` flag in test section.
3586−
3587− * Give better error messages when someone tries to convert from
3588− pdf, doc, odt (#1683).
3589−
3590− * Added `track` to list of tags treated by `--self-contained` (#1664).
3591−
3592−pandoc (1.13.1)
3593−
3594− * Fixed `--self-contained` with Windows paths (#1558).
3595− Previously `C:\foo.js` was being wrongly interpreted as a URI.
3596−
3597− * HTML reader: improved handling of tags that can be block or inline.
3598− Previously a section like this would be enclosed in a paragraph,
3599− with RawInline for the video tags (since video is a tag that can
3600− be either block or inline):
3601−
3602− <video controls="controls">
3603− <source src="../videos/test.mp4" type="video/mp4" />
3604− <source src="../videos/test.webm" type="video/webm" />
3605− <p>
3606− The videos can not be played back on your system.<br/>
3607− Try viewing on Youtube (requires Internet connection):
3608− <a href="http://youtu.be/etE5urBps_w">Relative Velocity on
3609− Youtube</a>.
3610− </p>
3611− </video>
3612−
3613− This change will cause the video and source tags to be parsed
3614− as RawBlock instead, giving better output.
3615− The general change is this: when we're parsing a "plain" sequence
3616− of inlines, we don't parse anything that COULD be a block-level tag.
3617−
3618− * Docx reader:
3619−
3620− + Be sensitive to user styles. Note that "Hyperlink" is
3621− "blacklisted," as we don't want the default underline styling to be
3622− inherited by all links by default (Jesse Rosenthal).
3623− + Read single paragraph in table cell as `Plain` (Jesse Rosenthal).
3624− This makes to docx reader's native output fit with the way the markdown
3625− reader understands its markdown output.
3626−
3627− * Textile writer: Extended the range of cases where native textile
3628− tables will be used (as opposed to raw HTML): we now handle any
3629− alignment type, but only for simple tables with no captions.
3630−
3631− * Txt2Tags reader:
3632−
3633− + Header is now parsed only if standalone flag is set (Matthew Pickering).
3634− + The header is now parsed as meta information. The first line is the
3635− `title`, the second is the `author` and third line is the `date`
3636− (Matthew Pickering).
3637− + Corrected formatting of `%%mtime` macro (Matthew Pickering).
3638− + Fixed crash when reading from stdin.
3639−
3640− * EPUB writer: Don't use page-progression-direction in EPUB2, which
3641− doesn't support it. Also, if page-progression-direction not specified
3642− in metadata, don't include the attribute even in EPUB3; not including it
3643− is the same as including it with the value "default", as we did before.
3644− (#1550)
3645−
3646− * Org writer: Accept example lines with indentation at the beginning
3647− (Calvin Beck).
3648−
3649− * DokuWiki writer:
3650−
3651− + Refactor to use Reader monad (Matthew Pickering).
3652− + Avoid using raw HTML in table cells; instead, use `\\`
3653− instead of newlines (Jesse Rosenthal).
3654− + Properly handle HTML table cell alignments, and use spacing
3655− to make the tables look prettier (#1566).
3656−
3657− * Docx writer:
3658−
3659− + Bibliography entries get `Bibliography` style (#1559).
3660− + Implement change tracking (Jesse Rosenthal).
3661−
3662− * LaTeX writer:
3663−
3664− + Fixed a bug that caused a table caption to repeat across all pages
3665− (Jose Luis Duran).
3666− + Improved vertical spacing in tables and made it customizable using
3667− standard lengths set by booktab. See
3668− <https://groups.google.com/forum/#!msg/pandoc-discuss/qMu6_5lYy0o/ZAU7lzAIKw0J>
3669− (Jose Luis Duran).
3670− + Added `\strut` to fix spacing in multiline tables (Jose Luis Duran).
3671− + Use `\tabularnewline` instead of `\\` in table cells (Jose Luis Duran).
3672− + Made horizontal rules more flexible (Jose Luis Duran).
3673−
3674− * Text.Pandoc.MIME:
3675−
3676− + Added `MimeType` (type synonym for `String`) and `getMimeTypeDef`.
3677− Code cleanups (Artyom Kazak).
3678−
3679− * Templates:
3680−
3681− + LaTeX template: disable microtype protrusion for typewriter font (#1549,
3682− thanks lemzwerg).
3683−
3684− * Improved OSX build procedure.
3685−
3686− * Added `network-uri` flag, to deal with split of `network-uri` from
3687− `network`.
3688−
3689− * Fix build dependencies for the `trypandoc` flag, so that they are
3690− ignored if `trypandoc` flag is set to False (Gabor Pali).
3691−
3692− * Updated README to remove outdated claim that `--self-contained`
3693− looks in the user data directory for missing files.
3694−
3695−pandoc (1.13.0.1)
3696−
3697− * Docx writer:
3698−
3699− + Fixed regression which bungled list numbering (#1544), causing
3700− all lists to appear as basic ordered lists.
3701− + Include row width in table rows (Christoffer Ackelman, Viktor Kronvall).
3702− Added a property to all table rows where the sum of column widths
3703− is specified in pct (fraction of 5000). This helps persuade Word
3704− to lay out the table with the widths we specify.
3705−
3706− * Fixed a bug in Windows 8 which caused pandoc not to find the
3707− `pandoc-citeproc` filter (#1542).
3708−
3709− * Docx reader: miscellaneous under-the-hood improvements (Jesse Rosenthal).
3710− Most significantly, the reader now uses Builder, leading to some
3711− performance improvements.
3712−
3713− * HTML reader: Parse appropriately styled span as SmallCaps.
3714−
3715− * Markdown writer: don't escape `$`, `^`, `~` when `tex_math_dollars`,
3716− `superscript`, and `subscript` extensions, respectively, are
3717− deactivated (#1127).
3718−
3719− * Added `trypandoc` flag to build CGI executable used in the online
3720− demo.
3721−
3722− * Makefile: Added 'quick', 'osxpkg' targets.
3723−
3724− * Updated README in templates to indicate templates license.
3725− The templates are dual-licensed, BSD3 and GPL2+.
3726−
3727−pandoc (1.13)
3728−
3729− [new features]
3730−
3731− * Added `docx` as an input format (Jesse Rosenthal). The docx
3732− reader includes conversion of native Word equations to pandoc
3733− LaTeX `Math` elements. Metadata is taken from paragraphs at the
3734− beginning of the document with styles `Author`, `Title`, `Subtitle`,
3735− `Date`, and `Abstract`.
3736−
3737− * Added `epub` as an input format (Matthew Pickering). The epub
3738− reader includes conversion of MathML to pandoc LaTeX `Math`
3739− elements.
3740−
3741− * Added `t2t` (Txt2Tags) as an input format (Matthew Pickering).
3742− Txt2tags is a lightweight markup format described at
3743− <http://txt2tags.org/>.
3744−
3745− * Added `dokuwiki` as an output format (Clare Macrae).
3746−
3747− * Added `haddock` as an output format.
3748−
3749− * Added `--extract-media` option to extract media contained in a zip
3750− container (docx or epub) while adjusting image paths to point to the
3751− extracted images.
3752−
3753− * Added a new markdown extension, `compact_definition_lists`, that
3754− restores the syntax for definition lists of pandoc 1.12.x, allowing
3755− tight definition lists with no blank space between items, and
3756− disallowing lazy wrapping. (See below under behavior changes.)
3757−
3758− * Added an extension `epub_html_exts` for parsing HTML in EPUBs.
3759−
3760− * Added extensions `native_spans` and `native_divs` to activate
3761− parsing of material in HTML span or div tags as Pandoc Span
3762− inlines or Div blocks.
3763−
3764− * `--trace` now works with the Markdown, HTML, Haddock, EPUB,
3765− Textile, and MediaWiki readers. This is an option intended
3766− for debugging parsing problems; ordinary users should not need
3767− to use it.
3768−
3769− [behavior changes]
3770−
3771− * Changed behavior of the `markdown_attribute` extension, to bring
3772− it in line with PHP markdown extra and multimarkdown. Setting
3773− `markdown="1"` on an outer tag affects all contained tags,
3774− recursively, until it is reversed with `markdown="0"` (#1378).
3775−
3776− * Revised markdown definition list syntax (#1429). Both the reader
3777− and writer are affected. This change brings pandoc's definition list
3778− syntax into alignment with that used in PHP markdown extra and
3779− multimarkdown (with the exception that pandoc is more flexible about
3780− the definition markers, allowing tildes as well as colons). Lazily
3781− wrapped definitions are now allowed. Blank space is required
3782− between list items. The space before a definition is used to determine
3783− whether it is a paragraph or a "plain" element. **WARNING: This change
3784− may break existing documents!** Either check your documents for
3785− definition lists without blank space between items, or use
3786− `markdown+compact_definition_lists` for the old behavior.
3787−
3788− * `.numberLines` now works in fenced code blocks even if no language
3789− is given (#1287, jgm/highlighting-kate#40).
3790−
3791− * Improvements to `--filter`:
3792−
3793− + Don't search PATH for a filter with an explicit path.
3794− This fixed a bug wherein `--filter ./caps.py` would run `caps.py` from
3795− the system path, even if there was a `caps.py` in the working directory.
3796− + Respect shebang if filter is executable (#1389).
3797− + Don't print misleading error message.
3798− Previously pandoc would say that a filter was not found,
3799− even in a case where the filter had a syntax error.
3800−
3801− * HTML reader:
3802−
3803− + Parse `div` and `span` elements even without `--parse-raw`,
3804− provided `native_divs` and `native_spans` extensions are set.
3805− Motivation: these now generate native pandoc Div and Span
3806− elements, not raw HTML.
3807− + Parse EPUB-specific elements if the `epub_html_exts`
3808− extension is enabled. These include `switch`, `footnote`,
3809− `rearnote`, `noteref`.
3810−
3811− * Org reader:
3812−
3813− + Support for inline LaTeX. Inline LaTeX is now accepted and parsed by the
3814− org-mode reader. Both math symbols (like `\tau`) and LaTeX commands (like
3815− `\cite{Coffee}`), can be used without any further escaping (Albert
3816− Krewinkel).
3817−
3818− * Textile reader and writer:
3819−
3820− + The `raw_tex` extension is no longer set by default. You can
3821− enable it with `textile+raw_tex`.
3822−
3823− * DocBook reader:
3824−
3825− + Support `equation`, `informalequation`, `inlineequation` elements with
3826− `mml:math` content. This is converted into LaTeX and put into a Pandoc
3827− Math inline.
3828−
3829− * Revised `plain` output, largely following the style of Project
3830− Gutenberg:
3831−
3832− + Emphasis is rendered with `_underscores_`, strong emphasis
3833− with ALL CAPS.
3834− + Headings are rendered differently, with space to set them off,
3835− not with setext style underlines. Level 1 headers are ALL CAPS.
3836− + Math is rendered using unicode when possible, but without the
3837− distracting emphasis markers around variables.
3838− + Footnotes use a regular `[n]` style.
3839−
3840− * Markdown writer:
3841−
3842− + Horizontal rules are now a line across the whole page.
3843− + Prettier pipe tables. Columns are now aligned (#1323).
3844− + Respect the `raw_html` extension. `pandoc -t markdown-raw_html`
3845− no longer emits any raw HTML, including span and div tags
3846− generated by Span and Div elements.
3847− + Use span with style for `SmallCaps` (#1360).
3848−
3849− * HTML writer:
3850−
3851− + Autolinks now have class `uri`, and email autolinks have class
3852− `email`, so they can be styled.
3853−
3854− * Docx writer:
3855−
3856− + Document formatting is carried over from `reference.docx`.
3857− This includes margins, page size, page orientation, header,
3858− and footer, including images in headers and footers.
3859− + Include abstract (if present) with `Abstract` style (#1451).
3860− + Include subtitle (if present) with `Subtitle` style, rather
3861− than tacking it on to the title (#1451).
3862−
3863− * Org writer:
3864−
3865− + Write empty span elements with an id attribute as org anchors.
3866− For example `Span ("uid",[],[]) []` becomes `<<uid>>`.
3867−
3868− * LaTeX writer:
3869−
3870− + Put table captions above tables, to match the conventional
3871− standard. (Previously they appeared below tables.)
3872− + Use `\(..\)` instead of `$..$` for inline math (#1464).
3873− + Use `\nolinkurl` in email autolinks. This allows them to be styled
3874− using `\urlstyle{tt}`. Thanks to Ulrike Fischer for the solution.
3875− + Use `\textquotesingle` for `'` in inline code. Otherwise we get
3876− curly quotes in the PDF output (#1364).
3877− + Use `\footnote<.>{..}` for notes in beamer, so that footnotes
3878− do not appear before the overlays in which their markers appear
3879− (#1525).
3880− + Don't produce a `\label{..}` for a Div or Span element. Do produce
3881− a `\hyperdef{..}` (#1519).
3882−
3883− * EPUB writer:
3884−
3885− + If the metadata includes `page-progression-direction` (which can be
3886− `ltr` or `rtl`, the `page-progression-direction` attribute will
3887− be set in the EPUB spine (#1455).
3888−
3889− * Custom lua writers:
3890−
3891− + Custom writers now work with `--template`.
3892− + Removed HTML header scaffolding from `sample.lua`.
3893− + Made citation information available in lua writers.
3894−
3895− * `--normalize` and `Text.Pandoc.Shared.normalize` now consolidate
3896− adjacent `RawBlock`s when possible.
3897−
3898− [API changes]
3899−
3900− * Added `Text.Pandoc.Readers.Docx`, exporting `readDocx` (Jesse Rosenthal).
3901−
3902− * Added `Text.Pandoc.Readers.EPUB`, exporting `readEPUB` (Matthew
3903− Pickering).
3904−
3905− * Added `Text.Pandoc.Readers.Txt2Tags`, exporting `readTxt2Tags` (Matthew
3906− Pickering).
3907−
3908− * Added `Text.Pandoc.Writers.DokuWiki`, exporting `writeDokuWiki`
3909− (Clare Macrae).
3910−
3911− * Added `Text.Pandoc.Writers.Haddock`, exporting `writeHaddock`.
3912−
3913− * Added `Text.Pandoc.MediaBag`, exporting `MediaBag`, `lookupMedia`,
3914− `insertMedia`, `mediaDirectory`, `extractMediaBag`. The docx and epub
3915− readers return a pair of a `Pandoc` document and a `MediaBag` with
3916− the media resources they contain. This can be extracted using
3917− `--extract-media`. Writers that incorporate media (PDF, Docx,
3918− ODT, EPUB, RTF, or HTML formats with `--self-contained`) will look
3919− for resources in the `MediaBag` generated by the reader, in addition to
3920− the file system or web.
3921−
3922− * `Text.Pandoc.Readers.TexMath`: Removed deprecated `readTeXMath`.
3923− Renamed `readTeXMath'` to `texMathToInlines`.
3924−
3925− * `Text.Pandoc`: Added `Reader` data type (Matthew Pickering).
3926− `readers` now associates names of readers with `Reader`
3927− structures. This allows inclusion of readers, like the docx
3928− reader, that take binary rather than textual input.
3929−
3930− * `Text.Pandoc.Shared`:
3931−
3932− + Added `capitalize` (Artyom Kazak), and replaced uses of
3933− `map toUpper` (which give bad results for many languages).
3934− + Added `collapseFilePath`, which removes intermediate `.` and
3935− `..` from a path (Matthew Pickering).
3936− + Added `fetchItem'`, which works like `fetchItem` but searches
3937− a `MediaBag` before looking on the net or file system.
3938− + Added `withTempDir`.
3939− + Added `removeFormatting`.
3940− + Added `extractSpaces` (from HTML reader) and generalized its type
3941− so that it can be used by the docx reader (Matthew Pickering).
3942− + Added `ordNub`.
3943− + Added `normalizeInlines`, `normalizeBlocks`.
3944− + `normalize` is now `Pandoc -> Pandoc` instead of
3945− `Data a :: a -> a`. Some users may need to change their uses of
3946− `normalize` to the newly exported `normalizeInlines` or
3947− `normalizeBlocks`.
3948−
3949− * `Text.Pandoc.Options`:
3950−
3951− + Added `writerMediaBag` to `WriterOptions`.
3952− + Removed deprecated and no longer used `readerStrict` in
3953− `ReaderOptions`. This is handled by `readerExtensions` now.
3954− + Added `Ext_compact_definition_lists`.
3955− + Added `Ext_epub_html_exts`.
3956− + Added `Ext_native_divs` and `Ext_native_spans`.
3957− This allows users to turn off the default pandoc behavior of
3958− parsing contents of div and span tags in markdown and HTML
3959− as native pandoc Div blocks and Span inlines.
3960−
3961− * `Text.Pandoc.Parsing`:
3962−
3963− + Generalized `readWith` to `readWithM` (Matthew Pickering).
3964− + Export `runParserT` and `Stream` (Matthew Pickering).
3965− + Added `HasQuoteContext` type class (Matthew Pickering).
3966− + Generalized types of `mathInline`, `smartPunctuation`, `quoted`,
3967− `singleQuoted`, `doubleQuoted`, `failIfInQuoteContext`,
3968− `applyMacros` (Matthew Pickering).
3969− + Added custom `token` (Matthew Pickering).
3970− + Added `stateInHtmlBlock` to `ParserState`. This is used to keep
3971− track of the ending tag we're waiting for when we're parsing inside
3972− HTML block tags.
3973− + Added `stateMarkdownAttribute` to `ParserState`. This is used
3974− to keep track of whether the markdown attribute has been set in
3975− an enclosing tag.
3976− + Generalized type of `registerHeader`, using new type classes
3977− `HasReaderOptions`, `HasIdentifierList`, `HasHeaderMap` (Matthew
3978− Pickering). These allow certain common functions to be reused
3979− even in parsers that use custom state (instead of `ParserState`),
3980− such as the MediaWiki reader.
3981− + Moved `inlineMath`, `displayMath` from Markdown reader to Parsing,
3982− and generalized their types (Matthew Pickering).
3983−
3984− * `Text.Pandoc.Pretty`:
3985−
3986− + Added `nestle`.
3987− + Added `blanklines`, which guarantees a certain number of blank lines
3988− (and no more).
3989−
3990− [bug fixes]
3991−
3992− * Markdown reader:
3993−
3994− + Fixed parsing of indented code in list items. Indented code
3995− at the beginning of a list item must be indented eight spaces
3996− from the margin (or edge of the container), or four spaces
3997− from the list marker, whichever is greater.
3998− + Fixed small bug in HTML parsing with `markdown_attribute`, which
3999− caused incorrect tag nesting for input like
4000− `<aside markdown="1">*hi*</aside>`.
4001− + Fixed regression with intraword underscores (#1121).
4002− + Improved parsing of inline links containing quote characters (#1534).
4003− + Slight rewrite of `enclosure`/`emphOrStrong` code.
4004− + Revamped raw HTML block parsing in markdown (#1330).
4005− We no longer include trailing spaces and newlines in the
4006− raw blocks. We look for closing tags for elements (but without
4007− backtracking). Each block-level tag is its own `RawBlock`;
4008− we no longer try to consolidate them (though `--normalize` will do so).
4009− + Combine consecutive latex environments. This helps when you have
4010− two minipages which can't have blank lines between them (#690, #1196).
4011− + Support smallcaps through span.
4012− `<span style="font-variant:small-caps;">foo</span>` will be
4013− parsed as a `SmallCaps` inline, and will work in all output
4014− formats that support small caps (#1360).
4015− + Prevent spurious line breaks after list items (#1137). When the
4016− `hard_line_breaks` option was specified, pandoc would formerly
4017− produce a spurious line break after a tight list item.
4018− + Fixed table parsing bug (#1333).
4019− + Handle `c++` and `objective-c` as language identifiers in
4020− github-style fenced blocks (#1318).
4021− + Inline math must have nonspace before final `$` (#1313).
4022−
4023− * LaTeX reader:
4024−
4025− + Handle comments at the end of tables. This resolves the issue
4026− illustrated in <http://stackoverflow.com/questions/24009489>.
4027− + Correctly handle table rows with too few cells. LaTeX seems to
4028− treat them as if they have empty cells at the end (#241).
4029− + Handle leading/trailing spaces in `\emph` better.
4030− `\emph{ hi }` gets parsed as `[Space, Emph [Str "hi"], Space]`
4031− so that we don't get things like `* hi *` in markdown output.
4032− Also applies to `\textbf` and some other constructions (#1146).
4033− + Don't assume preamble doesn't contain environments (#1338).
4034− + Allow (and discard) optional argument for `\caption` (James Aspnes).
4035−
4036− * HTML reader:
4037−
4038− + Fixed major parsing problem with HTML tables. Table cells were
4039− being combined into one cell (#1341).
4040− + Fixed performance issue with malformed HTML tables.
4041− We let a `</table>` tag close an open `<tr>` or `<td>` (#1167).
4042− + Allow space between `<col>` and `</col>`.
4043− + Added `audio` and `source` in `eitherBlockOrInline`.
4044− + Moved `video`, `svg`, `progress`, `script`, `noscript`, `svg` from
4045− `blockTags` to `eitherBlockOrInline`.
4046− + `map` and `object` were mistakenly in both lists; they have been removed
4047− from `blockTags`.
4048− + Ignore `DOCTYPE` and `xml` declarations.
4049−
4050− * MediaWiki reader:
4051−
4052− + Don't parse backslash escapes inside `<source>` (#1445).
4053− + Tightened up template parsing.
4054− The opening `{{` must be followed by an alphanumeric or `:`.
4055− This prevents the exponential slowdown in #1033.
4056− + Support "Bild" for images.
4057−
4058− * DocBook reader:
4059−
4060− + Better handle elements inside code environments. Pandoc's document
4061− model does not allow structure inside code blocks, but at least this way
4062− we preserve the text (#1449).
4063− + Support `<?asciidoc-br?>` (#1236).
4064−
4065− * Textile reader:
4066−
4067− + Fixed list parsing. Lists can now start without an intervening
4068− blank line (#1513).
4069− + HTML block-level tags that do not start a line are parsed as
4070− inline HTML and do not interrupt paragraphs (as in RedCloth).
4071−
4072− * Org reader:
4073−
4074− + Make tildes create inline code (#1345). Also relabeled `code` and
4075− `verbatim` parsers to accord with the org-mode manual.
4076− + Respect `:exports` header argument in code blocks (Craig Bosma).
4077− + Fixed tight lists with sublists (#1437).
4078−
4079− * EPUB writer:
4080−
4081− + Avoid excess whitespace in `nav.xhtml`. This should improve
4082− TOC view in iBooks (#1392).
4083− + Fixed regression on cover image.
4084− In 1.12.4 and 1.12.4.2, the cover image would not appear properly,
4085− because the metadata id was not correct. Now we derive the id from the
4086− actual cover image filename, which we preserve rather than using
4087− "cover-image."
4088− + Keep newlines between block elements. This allows
4089− easier diff-ability (#1424).
4090− + Use `stringify` instead of custom `plainify`.
4091− + Use `renderTags'` for all tag rendering. This properly handles tags
4092− that should be self-closing. Previously `<hr/>` would appear in EPUB
4093− output as `<hr></hr>` (#1420).
4094− + Better handle HTML media tags.
4095− + Handle multiple dates with OPF `event` attributes. Note: in EPUB3 we
4096− can have only one dc:date, so only the first one is used.
4097−
4098− * LaTeX writer:
4099−
4100− + Correctly handle figures in notes. Notes can't contain figures in
4101− LaTeX, so we fake it to avoid an error (#1053).
4102− + Fixed strikeout + highlighted code (#1294).
4103− Previously strikeout highlighted code caused an error.
4104−
4105− * ConTeXt writer:
4106−
4107− + Improved detection of autolinks with URLs containing escapes.
4108−
4109− * RTF writer:
4110−
4111− + Improved image embedding: `fetchItem'` is now used to get the
4112− images, and calculated image sizes are indicated in the RTF.
4113− + Avoid extra paragraph tags in metadata (#1421).
4114−
4115− * HTML writer:
4116−
4117− + Deactivate "incremental" inside slide speaker notes (#1394).
4118− + Don't include empty items in the table of contents for
4119− slide shows. (These would result from creating a slide
4120− using a horizontal rule.)
4121−
4122− * MediaWiki writer:
4123−
4124− + Minor renaming of `st` prefixed names.
4125−
4126− * AsciiDoc writer:
4127−
4128− + Double up emphasis and strong emphasis markers in intraword
4129− contexts, as required by asciidoc (#1441).
4130−
4131− * Markdown writer:
4132−
4133− + Avoid wrapping that might start a list, blockquote, or header (#1013).
4134− + Use Span instead of (hackish) `SmallCaps` in `plainify`.
4135− + Don't use braced attributes for fenced code (#1416).
4136− If `Ext_fenced_code_attributes` is not set, the first class
4137− attribute will be printed after the opening fence as a bare word.
4138− + Separate adjacent lists of the same kind with an HTML comment (#1458).
4139−
4140− * PDF writer:
4141−
4142− + Fixed treatment of data uris for images (#1062).
4143−
4144− * Docx writer:
4145−
4146− + Use Compact style for empty table cells (#1353).
4147− Otherwise we get overly tall lines when there are empty
4148− table cells and the other cells are compact.
4149− + Create overrides per-image for `media/` in reference docx.
4150− This should be somewhat more robust and cover more types of images.
4151− + Improved `entryFromArchive` to avoid an unneeded parse.
4152− + Section numbering carries over from reference.docx (#1305).
4153− + Simplified `abstractNumId` numbering. Instead of sequential numbering,
4154− we assign numbers based on the list marker styles.
4155−
4156− * `Text.Pandoc.Options`:
4157−
4158− + Removed `Ext_fenced_code_attributes` from `markdown_github`
4159− extensions.
4160−
4161− * `Text.Pandoc.ImageSize`:
4162−
4163− + Use default instead of failing if image size not found
4164− in exif header (#1358).
4165− + ignore unknown exif header tag rather than crashing.
4166− Some images seem to have tag type of 256, which was causing
4167− a runtime error.
4168−
4169− * `Text.Pandoc.Shared`:
4170−
4171− + `fetchItem`: unescape URI encoding before reading local file (#1427).
4172− + `fetchItem`: strip a fragment like `?#iefix` from the extension before
4173− doing mime lookup, to improve mime type guessing.
4174− + Improved logic of `fetchItem`: absolute URIs are fetched from the net;
4175− other things are treated as relative URIs if `sourceURL` is `Just _`,
4176− otherwise as file paths on the local file system.
4177− + `fetchItem` now properly handles links without a protocol (#1477).
4178− + `fetchItem` now escapes characters not allowed in URIs before trying
4179− to parse the URIs.
4180− + Fixed runtime error with `compactify'DL` on certain lists (#1452).
4181−
4182− * `pandoc.hs`: Don't strip path off of `writerSourceURL`: the path is
4183− needed to resolve relative URLs when we fetch resources (#750).
4184−
4185− * `Text.Pandoc.Parsing`
4186−
4187− + Simplified `dash` and `ellipsis` (#1419).
4188− + Removed `(>>~)` in favor of the equivalent `(<*)` (Matthew Pickering).
4189− + Generalized functions to use `ParsecT` (Matthew Pickering).
4190− + Added `isbn` and `pmid` to list of recognized schemes (Matthew
4191− Pickering).
4192−
4193− [template changes]
4194−
4195− * Added haddock template.
4196− * EPUB3: Added `type` attribute to `link` tags. They are supposed to
4197− be "advisory" in HTML5, but kindlegen seems to require them.
4198− * EPUB3: Put title page in section with `epub:type="titlepage"`.
4199− * LaTeX: Made `\subtitle` work properly (#1327).
4200− * LaTeX/Beamer: remove conditional around date (#1321).
4201− * LaTeX: Added `lot` and `lof` variables, which can be set to
4202− get `\listoftables` and `\listoffigures` (#1407). Note that
4203− these variables can be set at the command line with `-Vlot -Vlof`
4204− or in YAML metadata.
4205−
4206− [under the hood improvements]
4207−
4208− * Rewrote normalize for efficiency (#1385).
4209−
4210− * Rewrote Haddock reader to use `haddock-library` (#1346).
4211−
4212− + This brings pandoc's rendering of haddock markup in line
4213− with the new haddock.
4214− + Fixed line breaks in `@` code blocks.
4215− + alex and happy are no longer build-depends.
4216−
4217− * Added `Text.Pandoc.Compat.Directory` to allow building against
4218− different versions of the `directory` library.
4219−
4220− + Added `Text.Pandoc.Compat.Except` to allow building against
4221− different verions of `mtl`.
4222−
4223− * Code cleanup in some writers, using Reader monad to avoid
4224− passing options parameter around (Matej Kollar).
4225−
4226− * Improved readability in `pandoc.hs`.
4227−
4228− * Miscellaneous code cleanups (Artyom Kazak).
4229−
4230− * Avoid `import Prelude hiding (catch)` (#1309, thanks to Michael
4231− Thompson).
4232−
4233− * Changed `http-conduit` flag to `https`. Depend on `http-client`
4234− and `http-client-tls` instead of `http-conduit`. (Note: pandoc still
4235− depends on `conduit` via `yaml`.)
4236−
4237− * Require `highlighting-kate >= 0.5.8.5` (#1271, #1317, Debian #753299).
4238− This change to highlighting-kate means that PHP fragments no longer need
4239− to start with `<?php`. It also fixes a serious bug causing failures with
4240− ocaml and fsharp.
4241−
4242− * Require latest `texmath`. This fixes `\tilde{E}` and allows
4243− `\left` to be used with `]`, `)` etc. (#1319), among many other
4244− improvements.
4245−
4246− * Require latest `zip-archive`. This has fixes for unicode path names.
4247−
4248− * Added tests for plain writer.
4249−
4250− * `Text.Pandoc.Templates`:
4251−
4252− + Fail informatively on template syntax errors.
4253− With the move from parsec to attoparsec, we lost good error
4254− reporting. In fact, since we weren't testing for end of input,
4255− malformed templates would fail silently. Here we revert back to
4256− Parsec for better error messages.
4257− + Use `ordNub` (#1022).
4258−
4259− * Benchmarks:
4260−
4261− + Made benchmarks compile again (Artyom Kazak).
4262− + Fixed so that the failure of one benchmark does not prevent others
4263− from running (Artyom Kazak).
4264− + Use `nfIO` instead of the `getLength` trick to force full evaluation.
4265− + Changed benchmark to use only the test suite, so that benchmarks
4266− run more quickly.
4267−
4268− * Windows build script:
4269−
4270− + Add `-windows` to file name.
4271− + Use one install command for pandoc, pandoc-citeproc.
4272− + Force install of pandoc-citeproc.
4273−
4274− * `make_osx_package`: Call zip file `pandoc-VERSION-osx.zip`.
4275− The zip should not be named `SOMETHING.pkg.zip`, or OSX finder
4276− will extract it into a folder named `SOMETHING.pkg`, which it
4277− will interpret as a defective package (#1308).
4278−
4279− * `README`:
4280−
4281− + Made headers for all extensions so they have IDs and can be
4282− linked to (Beni Cherniavsky-Paskin).
4283− + Fixed typos (Phillip Alday).
4284− + Fixed documentation of attributes (#1315).
4285− + Clarified documentation on small caps (#1360).
4286− + Better documentation for `fenced_code_attributes` extension
4287− (Caleb McDaniel).
4288− + Documented fact that you can put YAML metadata in a separate file
4289− (#1412).
4290−
4291−
4292−pandoc (1.12.4.2)
4293−
4294− * Require highlighting-kate >= 0.5.8. Fixes a performance regression.
4295−
4296− * Shared: `addMetaValue` now behaves slightly differently:
4297− if both the new and old values are lists, it concatenates their
4298− contents to form a new list.
4299−
4300− * LaTeX reader:
4301−
4302− + Set `bibliography` in metadata from `\bibliography` or
4303− `\addbibresource` command.
4304− + Don't error on `%foo` with no trailing newline.
4305−
4306− * Org reader:
4307−
4308− + Support code block headers (`#+BEGIN_SRC ...`) (Albert Krewinkel).
4309− + Fix parsing of blank lines within blocks (Albert Krewinkel).
4310− + Support pandoc citation extension (Albert Krewinkel). This can
4311− be turned off by specifying `org-citations` as the input format.
4312−
4313− * Markdown reader:
4314−
4315− + `citeKey` moved to `Text.Pandoc.Parsing` so it can be used by
4316− other readers (Albert Krewinkel).
4317−
4318− * `Text.Pandoc.Parsing`:
4319−
4320− + Added `citeKey` (see above).
4321− + Added `HasLastStrPosition` type class and `updateLastStrPos`
4322− and `notAfterString` functions.
4323−
4324− * Updated copyright notices (Albert Krewinkel).
4325−
4326− * Added default.icml to data files so it installs with the package.
4327−
4328− * OSX package:
4329−
4330− + The binary is now built with options to ensure that it can be
4331− used with OSX 10.6+.
4332− + Moved OSX package materials to osx directory.
4333− + Added OSX package uninstall script, included in the zip container
4334− (thanks to Daniel T. Staal).
4335−
4336−pandoc (1.12.4)
4337−
4338− * Made it possible to run filters that aren't executable (#1096).
4339− Pandoc first tries to find the executable (searching the path
4340− if path isn't given). If it fails, but the file exists and has
4341− a `.py`, `.pl`, `.rb`, `.hs`, or `.php` extension, pandoc runs the filter
4342− using the appropriate interpreter. This should make it easier to
4343− use filters on Windows, and make it more convenient for everyone.
4344−
4345− * Added Emacs org-mode reader (Albert Krewinkel).
4346−
4347− * Added InDesign ICML Writer (Mauro Bieg).
4348−
4349− * MediaWiki reader:
4350−
4351− + Accept image links in more languages (Jaime Marquínez Ferrándiz).
4352− + Fixed bug in certain nested lists (#1213). If a level 2 list was
4353− followed by a level 1 list, the first item of the level 1 list
4354− would be lost.
4355− + Handle table rows containing just an HTML comment (#1230).
4356−
4357− * LaTeX reader:
4358−
4359− + Give better location information on errors, pointing to line
4360− numbers within included files (#1274).
4361− + LaTeX reader: Better handling of `table` environment (#1204).
4362− Positioning options no longer rendered verbatim.
4363− + Better handling of figure and table with caption (#1204).
4364− + Handle `@{}` and `p{length}` in tabular. The length is not actually
4365− recorded, but at least we get a table (#1180).
4366− + Properly handle `\nocite`. It now adds a `nocite` metadata
4367− field. Citations there will appear in the bibliography but not
4368− in the text (unless you explicitly put a `$nocite$` variable
4369− in your template).
4370−
4371− * Markdown reader:
4372−
4373− + Ensure that whole numbers in YAML metadata are rendered without
4374− decimal points. (This became necessary with changes to aeson
4375− and yaml libraries. aeson >= 0.7 and yaml >= 0.8.8.2 are now required.)
4376− + Fixed regression on line breaks in strict mode (#1203).
4377− + Small efficiency improvements.
4378− + Improved parsing of nested `div`s. Formerly a closing `div` tag
4379− would be missed if it came right after other block-level tags.
4380− + Avoid backtracking when closing `</div>` not found.
4381− + Fixed bug in reference link parsing in `markdown_mmd`.
4382− + Fixed a bug in list parsing (#1154). When reading a raw list
4383− item, we now strip off up to 4 spaces.
4384− + Fixed parsing of empty reference link definitions (#1186).
4385− + Made one-column pipe tables work (#1218).
4386−
4387− * Textile reader:
4388−
4389− + Better support for attributes. Instead of being ignored, attributes
4390− are now parsed and included in Span inlines. The output will be a bit
4391− different from stock textile: e.g. for `*(foo)hi*`, we'll get
4392− `<em><span class="foo">hi</span></em>` instead of
4393− `<em class="foo">hi</em>`. But at least the data is not lost.
4394− + Improved treatment of HTML spans (%) (#1115).
4395− + Improved link parsing. In particular we now pick up on attributes.
4396− Since pandoc links can't have attributes, we enclose the whole link in
4397− a span if there are attributes (#1008).
4398− + Implemented correct parsing rules for inline markup (#1175, Matthew
4399− Pickering).
4400− + Use Builder (Matthew Pickering).
4401− + Fixed list parsing bug (#1500).
4402− + Don't allow inline formatting to extend over newlines.
4403− This matches the behavior of RedCarpet, avoids some ugly bugs,
4404− and improves performance.
4405−
4406− * DocBook reader:
4407−
4408− + Better treatment of `formalpara`. We now emit the title (if present)
4409− as a separate paragraph with boldface text (#1215).
4410− + Set metadata `author` not `authors`.
4411− + Added recognition of `authorgroup` and `releaseinfo` elements (#1214,
4412− Matthew Pickering).
4413− + Converted current meta information parsing in DocBook to a more
4414− extensible version which is aware of the more recent meta
4415− representation (Matthew Pickering).
4416−
4417− * HTML reader:
4418−
4419− + Require tagsoup 0.13.1, to fix a bug with parsing of script tags
4420− (#1248).
4421− + Treat processing instructions & declarations as block. Previously
4422− these were treated as inline, and included in paragraph tags in HTML
4423− or DocBook output, which is generally not what is wanted (#1233).
4424− + Updated `closes` with rules from HTML5 spec.
4425− + Use Builder (Matthew Pickering, #1162).
4426−
4427− * RST reader:
4428−
4429− + Remove duplicate `http` in PEP links (Albert Krewinkel).
4430− + Make rst figures true figures (#1168, CasperVector)
4431− + Enhanced Pandoc's support for rST roles (Merijn Verstaaten).
4432− rST parser now supports: all built-in rST roles, new role definition,
4433− role inheritance, though with some limitations.
4434− + Use `author` rather than `authors` in metadata.
4435− + Better handling of directives. We now correctly handle field
4436− lists that are indented more than three spaces. We treat an
4437− `aafig` directive as a code block with attributes, so it can be
4438− processed in a filter (#1212).
4439−
4440− * LaTeX writer:
4441−
4442− + Mark span contents with label if span has an ID (Albert Krewinkel).
4443− + Made `--toc-depth` work well with books in latex/pdf output (#1210).
4444− + Handle line breaks in simple table cells (#1217).
4445− + Workaround for level 4-5 headers in quotes. These previously produced
4446− invalid LaTeX: `\paragraph` or `\subparagraph` in a `quote` environment.
4447− This adds an `mbox{}` in these contexts to work around the problem.
4448− See <http://tex.stackexchange.com/a/169833/22451> (#1221).
4449− + Use `\/` to avoid en-dash ligature instead of `-{}-` (Vaclav Zeman).
4450− This is to fix LuaLaTeX output. The `-{}-` sequence does not avoid the
4451− ligature with LuaLaTeX but `\/` does.
4452− + Fixed string escaping in `hyperref` and `hyperdef` (#1130).
4453−
4454− * ConTeXt writer: Improved autolinks (#1270).
4455−
4456− * DocBook writer:
4457−
4458− + Improve handling of hard line breaks in Docbook writer
4459− (Neil Mayhew). Use a `<literallayout>` for the entire paragraph, not
4460− just for the newline character.
4461− + Don't let line breaks inside footnotes influence the enclosing
4462− paragraph (Neil Mayhew).
4463− + Distinguish tight and loose lists in DocBook output, using
4464− `spacing="compact"` (Neil Mayhew, #1250).
4465−
4466− * Docx writer: When needed files are not present in the user's
4467− `reference.docx`, fall back on the versions in the `reference.docx`
4468− in pandoc's data files. This fixes a bug that occurs when a
4469− `reference.docx` saved by LibreOffice is used. (#1185)
4470−
4471− * EPUB writer:
4472−
4473− + Include extension in epub ids. This fixes a problem with duplicate
4474− extensions for fonts and images with the same base name but different
4475− extensions (#1254).
4476− + Handle files linked in raw `img` tags (#1170).
4477− + Handle media in `audio` source tags (#1170).
4478− Note that we now use a `media` directory rather than `images`.
4479− + Incorporate files linked in `video` tags (#1170). `src` and `poster`
4480− will both be incorporated into `content.opf` and the epub container.
4481−
4482− * HTML writer:
4483−
4484− + Add colgroup around col tags (#877). Also affects EPUB writer.
4485− + Fixed bug with unnumbered section headings. Unnumbered section
4486− headings (with class `unnumbered`) were getting numbers.
4487− + Improved detection of image links. Previously image links with
4488− queries were not recognized, causing `<embed>` to be used instead
4489− of `<img>`.
4490−
4491− * Man writer: Ensure that terms in definition lists aren't line wrapped
4492− (#1195).
4493−
4494− * Markdown writer:
4495−
4496− + Use proper escapes to avoid unwanted lists (#980). Previously we used
4497− 0-width spaces, an ugly hack.
4498− + Use longer backtick fences if needed (#1206). If the content contains a
4499− backtick fence and there are attributes, make sure longer fences are
4500− used to delimit the code. Note: This works well in pandoc, but github
4501− markdown is more limited, and will interpret the first string of three
4502− or more backticks as ending the code block.
4503−
4504− * RST writer: Avoid stack overflow with certain tables (#1197).
4505−
4506− * RTF writer: Fixed table cells containing paragraphs.
4507−
4508− * Custom writer:
4509−
4510− + Correctly handle UTF-8 in custom lua scripts (#1189).
4511− + Fix bugs with lua scripts with mixed-case filenames and
4512− paths containing `+` or `-` (#1267). Note that `getWriter`
4513− in `Text.Pandoc` no longer returns a custom writer on input
4514− `foo.lua`.
4515−
4516− * AsciiDoc writer: Handle multiblock and empty table cells
4517− (#1245, #1246). Added tests.
4518−
4519− * `Text.Pandoc.Options`: Added `readerTrace` to `ReaderOptions`
4520−
4521− * `Text.Pandoc.Shared`:
4522−
4523− + Added `compactify'DL` (formerly in markdown reader) (Albert Krewinkel).
4524− + Fixed bug in `toRomanNumeral`: numbers ending with '9' would
4525− be rendered as Roman numerals ending with 'IXIV' (#1249). Thanks to
4526− Jesse Rosenthal.
4527− + `openURL`: set proxy with value of http_proxy env variable (#1211).
4528− Note: proxies with non-root paths are not supported, due to
4529− limitations in `http-conduit`.
4530−
4531− * `Text.Pandoc.PDF`:
4532−
4533− + Ensure that temp directories deleted on Windows (#1192). The PDF is
4534− now read as a strict bytestring, ensuring that process ownership will
4535− be terminated, so the temp directory can be deleted.
4536− + Use `/` as path separators in a few places, even on Windows.
4537− This seems to be necessary for texlive (#1151, thanks to Tim Lin).
4538− + Use `;` for `TEXINPUTS` separator on Windows (#1151).
4539− + Changes to error reporting, to handle non-UTF8 error output.
4540−
4541− * `Text.Pandoc.Templates`:
4542−
4543− + Removed unneeded datatype context (Merijn Verstraaten).
4544−
4545− + YAML objects resolve to "true" in conditionals (#1133).
4546− Note: If `address` is a YAML object and you just have `$address$`
4547− in your template, the word `true` will appear, which may be
4548− unexpected. (Previously nothing would appear.)
4549−
4550− * `Text.Pandoc.SelfContained`:
4551−
4552− + `mkSelfContained` now takes just two arguments, `WriterOptions` and
4553− the string.
4554− * It no longer looks in data files. This only made sense when we
4555− had copies of slidy and S5 code there.
4556− * `fetchItem'` is used instead of the nearly duplicate `getItem`.
4557− + Handle `poster` attribute in `video` tags (#1188).
4558−
4559− * `Text.Pandoc.Parsing`:
4560−
4561− + Made `F` an instance of Applicative (#1138).
4562− + Added `stateCaption`.
4563− + Added `HasMacros`, simplified other typeclasses.
4564− Removed `updateHeaderMap`, `setHeaderMap`, `getHeaderMap`,
4565− `updateIdentifierList`, `setIdentifierList`, `getIdentifierList`.
4566− + Changed the smart punctuation parser to return `Inlines`
4567− rather than `Inline` (Matthew Pickering).
4568− + Changed `HasReaderOptions`, `HasHeaderMap`, `HasIdentifierList`
4569− from typeclasses of monads to typeclasses of states. This simplifies
4570− the instance definitions and provides more flexibility. Generalized
4571− type of `getOption` and added a default definition. Removed
4572− `askReaderOption`. Added `extractReaderOption`. Added
4573− `extractHeaderMap` and `updateHeaderMap` in `HasHeaderMap`.
4574− Gave default definitions for `getHeaderMap`, `putHeaderMap`,
4575− `modifyHeaderMap`. Added `extractIdentifierList` and
4576− `updateIdentifierList` in `HasIdentifierList`. Gave defaults
4577− for `getIdentifierList`, `putIdentifierList`, and
4578− `modifyIdentifierList`. The ultimate goal here is to allow different
4579− parsers to use their own, tailored parser states (instead of
4580− `ParserState`) while still using shared functions.
4581−
4582− * Template changes:
4583−
4584− + LaTeX template: Use `fontenc` package only with `pdflatex` (#1164).
4585− + LaTeX template: Add `linestretch` and `fontfamily` variables.
4586− + LaTeX template: Conditionalize author and date commands.
4587− + Beamer template: Consistent styles for figure and table captions
4588− (aaronwolen).
4589− + LaTeX and beamer template: Adjust widths correctly for oversized
4590− images. Use `\setkeys{Gin}{}` to set appropriate defaults for
4591− `\includegraphics` (Yihui Xie, Garrick Aden-Buie). Load
4592− `upquote` only after `fontenc` (Yihui Xie).
4593− + Beamer template: Added caption package (#1200).
4594− + Beamer template: changes for better unicode handling (KarolS).
4595− + DocBook template: use `authorgroup` if there are authors.
4596− + revealjs template: Move `include-after` to end (certainlyakey).
4597− + revealjs template: Fixed PDF print function (#1220, kevinkenan).
4598−
4599− * Bumped version bounds of dependencies.
4600−
4601− * Added a `--trace` command line option, for debugging backtracking
4602− bugs. So far this only works with the markdown reader.
4603−
4604− * MathMLinHTML: Fixed deprecation warning (#362, gwern, Albert Krewinkel).
4605−
4606− * Updated travis script to test with multiple GHC versions.
4607−
4608− * Force failure of a Travis build if GHC produces warnings (Albert
4609− Krewinkel).
4610−
4611− * Add `.editorconfig` (Albert Krewinkel).
4612− See <http://editorconfig.org/> for details.
4613−
4614− * Give more useful error message if '-t pdf' is specified (#1155).
4615−
4616− * Added `Cite`, `SmallCaps` to `Arbitrary` instance (#1269).
4617−
4618− * Allow `html4` as a synonym of `html` as a reader (it already works
4619− as a writer).
4620−
4621− * README:
4622−
4623− + Added an explanation of how to use YAML metadata to
4624− force items to appear in the bibliography without citations in
4625− the text (like LaTeX `\nocite`).
4626− + Added note to `--bibtex/--natbib`: not for use in making PDF
4627− (#1194, thanks to nahoj).
4628− + Added explanatory notes about `--natbib` and `--biblatex`.
4629− + Added specification of legal syntax for citation keys.
4630− + Fixed variable defaults documentation (Albert Krewinkel).
4631−
4632− * Removed copyright statements for files that have been removed
4633− (Albert Krewinkel).
4634−
4635− * Moved some doc files from `data-files` to `extra-source-files` (#1123).
4636− They aren't needed at runtime. We keep README and COPYRIGHT in data
4637− to ensure that they'll be available on all systems on which pandoc
4638− is installed.
4639−
4640− * Use cabal sandboxes in Windows build script.
4641−
4642−pandoc (1.12.3.3)
4643−
4644− * To changes to source; recompiled tarball with latest alex and
4645− happy, so they will work with GHC 7.8.
4646−
4647−pandoc (1.12.3.2)
4648−
4649− * Bumped version bounds for blaze-html, blaze-markup.
4650−
4651− * ImageSize: Avoid use of lookAhead, which is not in binary >= 0.6
4652− (#1124).
4653−
4654− * Fixed mediawiki ordered list parsing (#1122).
4655−
4656− * HTML reader: Fixed bug reading inline math with `$$` (#225).
4657−
4658− * Added support for LaTeX style literate Haskell code blocks in rST
4659− (Merijn Verstraaten).
4660−
4661−pandoc (1.12.3.1)
4662−
4663− * Relaxed version constraint on binary, allowing the use of binary 0.5.
4664−
4665−pandoc (1.12.3)
4666−
4667− * The `--bibliography` option now sets the `biblio-files` variable.
4668− So, if you're using `--natbib` or `--biblatex`, you can just use
4669− `--bibliography=foo.bib` instead of `-V bibliofiles=foo`.
4670−
4671− * Don't run pandoc-citeproc filter if `--bibliography` is
4672− used together with `--natbib` or `--biblatex` (Florian Eitel).
4673−
4674− * Template changes:
4675−
4676− + Updated beamer template to include booktabs.
4677− + Added `abstract` variable to LaTeX template.
4678− + Put `header-includes` after `title` in LaTeX template (#908).
4679− + Allow use of `\includegraphics[size]` in beamer.
4680− This just required porting a macro definition from the default
4681− LaTeX template to the default beamer template.
4682−
4683− * `reference.docx`: Include `FootnoteText` style.
4684− Otherwise Word ignores the style, even when specified in the `pPr`.
4685− (#901)
4686−
4687− * `reference.odt`: Tidied `styles.xml`.
4688−
4689− * Relaxed version bounds for dependencies.
4690−
4691− * Added `withSocketsDo` around http conduit code in `openURL`,
4692− so it works on Windows (#1080).
4693−
4694− * Added `Cite` function to `sample.lua`.
4695−
4696− * Markdown reader:
4697−
4698− + Fixed regression in title blocks (#1089).
4699− If author field was empty, date was being ignored.
4700− + Allow backslash-newline hard line breaks in grid and
4701− multiline table cells.
4702− + Citation keys may now start with underscores, and may contain
4703− underscores adjacent to internal punctuation.
4704−
4705− * LaTeX reader:
4706−
4707− + Add support for `Verb` macro (jrnold) (#1090).
4708− + Support babel-style quoting: `` "`..."' ``.
4709−
4710− * Properly handle script blocks in strict mode. (That is,
4711− `markdown-markdown_in_html_blocks`.) Previously a spurious
4712− `<p>` tag was being added (#1093).
4713−
4714− * Docbook reader: Avoid failure if `tbody` contains no `tr` or `row`
4715− elements.
4716−
4717− * LaTeX writer:
4718−
4719− + Factored out function for table cell creation.
4720− + Better treatment of footnotes in tables.
4721− Notes now appear in the regular sequence, rather than in the
4722− table cell. (This was a regression in 1.10.)
4723−
4724− * HTML reader: Parse name/content pairs from meta tags as metadata.
4725− Closes #1106.
4726−
4727− * Moved `fixDisplayMath` from Docx writer to `Writer.Shared`.
4728−
4729− * OpenDocument writer: Fixed `RawInline`, `RawBlock` so they don't escape.
4730−
4731− * ODT writer: Use mathml for proper rendering of formulas.
4732− Note: LibreOffice's support for this seems a bit buggy. But
4733− it should be better than what we had before.
4734−
4735− * RST writer: Ensure no blank line after def in definition list (#992).
4736−
4737− * Markdown writer: Don't use tilde code blocks with braced attributes in
4738− `markdown_github` output. A consequence of this change is that the
4739− backtick form will be preferred in general if both are enabled. That
4740− is good, as it is much more widespread than the tilde form. (#1084)
4741−
4742− * Docx writer: Fixed problem with some modified reference docx files.
4743− Include `word/_rels/settings.xml.rels` if it exists, as well as other
4744− `rels` files besides the ones pandoc generates explicitly.
4745−
4746− * HTML writer:
4747−
4748− + With `--toc`, headers no longer link to themselves (#1081).
4749− + Omit footnotes from TOC entries. Otherwise we get doubled
4750− footnotes when headers have notes!
4751−
4752− * EPUB writer:
4753−
4754− + Avoid duplicate notes when headings contain notes.
4755− This arose because the headings are copied into the metadata
4756− "title" field, and the note gets rendered twice. We strip the
4757− note now before putting the heading in "title".
4758− + Strip out footnotes from toc entries.
4759− + Fixed bug with `--epub-stylesheet`. Now the contents of
4760− `writerEpubStylesheet` (set by `--epub-stylesheet`)
4761− should again work, and take precedence over a stylesheet specified
4762− in the metadata.
4763−
4764− * `Text.Pandoc.MIME`: Added `wmf`, `emf`.
4765−
4766− * `Text.Pandoc.Shared`: `fetchItem` now handles image URLs beginning
4767− with `//`.
4768−
4769− * `Text.Pandoc.ImageSize`: Parse EXIF format JPEGs. Previously
4770− we could only get size information for JFIF format, which led
4771− to squished images in Word documents. Closes #976.
4772−
4773− * Removed old `MarkdownTest_1.0.3` directory (#1104).
4774−
4775−pandoc (1.12.2.1)
4776−
4777− * Markdown reader: Fixed regression in list parser, involving
4778− continuation lines containing raw HTML (or even verbatim raw HTML).
4779−
4780−pandoc (1.12.2)
4781−
4782− * Metadata may now be included in YAML blocks in a markdown document.
4783− For example,
4784−
4785− ---
4786− title:
4787− - type: main
4788− text: My Book
4789− - type: subtitle
4790− text: An investigation of metadata
4791− creator:
4792− - role: author
4793− text: John Smith
4794− - role: editor
4795− text: Sarah Jones
4796− identifier:
4797− - scheme: DOI
4798− text: doi:10.234234.234/33
4799− publisher: My Press
4800− rights: (c) 2007 John Smith, CC BY-NC
4801− cover-image: img/mypic.jpg
4802− ...
4803−
4804− Metadata may still be provided using `--epub-metadata`; it will
4805− be merged with the metadata in YAML blocks.
4806−
4807− * EPUB writer:
4808−
4809− + `meta` tags are now used instead of `opf` attributes for EPUB3.
4810− + Insert "svg" property as needed in opf (EPUB 3).
4811− + Simplify `imageTypeOf` using `getMimeType`.
4812− + Add properties attribute to `cover-image` item for EPUB 3.
4813− + Don't include node for `cover.xhtml` if no cover!
4814− + Ensure that same identifier is used throughout (#1044).
4815− If an identifier is given in metadata, we use that; otherwise
4816− we generate a random uuid.
4817− + Add cover reference to guide element (EPUB 2) (Shaun Attfield).
4818− Fixes an issue with Calibre putting the cover at the end of the book
4819− if the spine has `linear="no"`. Apparently this is best practice
4820− for other converters as well:
4821− <http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6>.
4822− + Allow `stylesheet` in metadata. The value is a path to the stylesheet.
4823− + Allow partial dates: `YYYY`, `YYYY-MM`.
4824−
4825− * Markdown writer: Fix rendering of tight sublists (#1050).
4826− Previously a spurious blank line was included after a tight sublist.
4827−
4828− * ODT writer: Add `draw:name` attribute to `draw:frame` elements (#1069).
4829− This is reported to be necessary to avoid an error from recent
4830− versions of Libre Office when files contain more than one image
4831− Thanks to wmanley for reporting and diagnosing the problem.
4832−
4833− * ConTeXt writer: Don't hardcode figure/table placement and numbering.
4834− Instead, let this be set in the template, using `\setupfloat`.
4835− Thanks to on4aa and Aditya Mahajan for the suggestion (#1067).
4836−
4837− * Implemented CSL flipflopping spans in DOCX, LaTeX, and HTML writers.
4838−
4839− * Fixed bug with markdown intraword emphasis. Closes #1066.
4840−
4841− * Docbook writer: Hierarchicalize block content in metadata.
4842− Previously headers just disappeared from block-level metadata
4843− when it was used in templates. Now we apply the 'hierarchicalize'
4844− transformation. Note that a block headed by a level-2 header will
4845− turn into a `<sect1>` element.
4846−
4847− * OpenDocument writer: Skip raw HTML (#1035).
4848− Previously it was erroneously included as verbatim text.
4849−
4850− * HTML/EPUB writer, footnotes: Put `<sup>` tag inside `<a>` tags.
4851− This allows better control of formatting, since the `<a>`
4852− tags have a distinguishing class (#1049).
4853−
4854− * Docx writer:
4855−
4856− + Use mime type info returned by fetchItem.
4857− + Fixed core metadata (#1046).
4858− Don't create empty date nodes if no date given.
4859− Don't create multiple `dc:creator` nodes; instead separate by
4860− semicolons.
4861− + Fix URL for core-properties in `_rels/.rels` (#1046).
4862−
4863− * Plain writer: don't print `<span>` tags.
4864−
4865− * LaTeX writer:
4866−
4867− + Fix definition lists with internal links in terms (#1032).
4868− This fix puts braces around a term that contains an internal
4869− link, to avoid problems with square brackets.
4870− + Properly escape pdftitle, pdfauthor (#1059).
4871− + Use booktabs package for tables (thanks to Jose Luis Duran).
4872−
4873− * Updated beamer template. Now references should work properly
4874− (in a slide) when `--biblatex` or `--natbib` is used.
4875−
4876− * LaTeX reader:
4877−
4878− + Parse contents of curly quotes or matched `"` as quotes.
4879− + Support `\textnormal` as span with class `nodecor`.
4880− This is needed for pandoc-citeproc.
4881− + Improved citation parsing. This fixes a run-time error that occured
4882− with `\citet{}` (empty list of keys). It also ensures that empty keys
4883− don't get produced.
4884−
4885− * MediaWiki reader: Add automatic header identifiers.
4886−
4887− * HTML reader:
4888−
4889− + Use pandoc `Div` and `Span` for raw `<div>`, `<span>` when
4890− `--parse-raw`.
4891− + Recognize `svg` tags as block level content (thanks to MinRK).
4892− + Parse LaTeX math if appropriate options are set.
4893−
4894− * Markdown reader:
4895−
4896− + Yaml block must start immediately after `---`. If there's a blank
4897− line after `---`, we interpreted it as a horizontal rule.
4898− + Correctly handle empty bullet list items.
4899− + Stop parsing "list lines" when we hit a block tag.
4900− This fixes exponential slowdown in certain input, e.g.
4901− a series of lists followed by `</div>`.
4902−
4903− * Slides: Preserve `<div class="references">` in references slide.
4904−
4905− * `Text.Pandoc.Writer.Shared`:
4906−
4907− + Fixed bug in `tagWithAttrs`. A space was omitted before key-value
4908− attributes, leading to invalid HTML.
4909− + `normalizeDate`: Allow dates with year only (thanks to Shaun Attfield).
4910− + Fixed bug in `openURL` with `data:` URIs. Previously the base-64
4911− encoded bytestring was returned. We now decode it so it's a proper
4912− image!
4913−
4914− * DocBook reader: Handle numerical attributes starting with decimal.
4915− Also use `safeRead` instead of `read`.
4916−
4917− * `Text.Pandoc.Readers.TexMath`: Export `readTeXMath'`, which attends
4918− to display/inline. Deprecate `readTeXMath`, and use `readTeXMath'`
4919− in all the writers. Require `texmath >= 0.6.5.2`.
4920−
4921− * `Text.Pandoc.MIME`:
4922−
4923− + Add entry for `jfif`.
4924− + In looking up extensions, drop the encoding info.
4925− E.g. for 'image/jpg;base64' we should lookup 'image/jpg'.
4926−
4927− * Templates: Changed how array variables are resolved. Previously if
4928− `foo` is an array (which might be because multiple values were set on
4929− the command line), `$foo$` would resolve to the concatenation of the
4930− elements of foo. This is rarely useful behavior. It has been changed
4931− so that the first value is rendered. Of course, you can still iterate
4932− over the values using `$for(foo)$`. This has the result that you can
4933− override earlier settings using `-V` by putting new values later on the
4934− command line, which is useful for many purposes.
4935−
4936− * `Text.Pandoc`: Don't default to `pandocExtensions` for all writers.
4937−
4938− * Allow "epub2" as synonym for "epub", "html4" for "html".
4939−
4940− * Don't look for slidy files in data files with `--self-contained`.
4941−
4942− * Allow `https:` command line arguments to be downloaded.
4943−
4944− * Fixed `make_osx_package.sh` so data files embedded in `pandoc-citeproc`.
4945−
4946−pandoc (1.12.1)
4947−
4948− * `Text.Pandoc.Definition`: Changed default JSON serialization format.
4949− Instead of `{"Str": "foo"}`, for example, we now have `{"t": "Str",
4950− "c": "foo"}`. This new format is easier to work with outside of Haskell.
4951− Incidentally, "t" stands for "tag", "c" for "contents".
4952−
4953− * MediaWiki reader: Trim contents of `<math>` tags, to avoid problems
4954− when converting to markdown (#1027).
4955−
4956− * LaTeX reader:
4957−
4958− + Ensure that preamble doesn't contribute to the text of
4959− the document.
4960− + Fixed character escaping in \url{}. Previously `\~` wasn't handled
4961− properly, among others.
4962− + Parse `{groups}` as `Span`. This is needed for accurate conversion of
4963− bibtex titles, since we need to know what was protected from
4964− titlecase conversions.
4965−
4966− * LaTeX writer:
4967−
4968− + Specially escape non-ascii characters in labels.
4969− Otherwise we can get compile errors and other bugs when
4970− compiled with pdflatex (#1007). Thanks to begemotv2718 for the fix.
4971− + Add link anchors for code blocks with identifiers (#1025).
4972−
4973− * Throughout the code, use `isURI` instead of `isAbsoluteURI`.
4974− It allows fragments identifiers.
4975−
4976− * Slide formats:
4977−
4978− + A Div element with class "notes" is treated as speaker
4979− notes. Currently beamer goes to `\note{}`, revealjs to
4980− `<aside class="notes">`, and the notes are simply suppressed in
4981− other formats (#925).
4982− + Fixed `. . .` (pause) on HTML slide formats. Closes #1029.
4983− The old version caused a pause to be inserted before the first
4984− material on a slide. This has been fixed.
4985− + Removed data files for s5, slideous, slidy.
4986− Users of s5 and slideous will have to download the needed
4987− files, as has been documented for some time in the README.
4988− By default, slidy code will be sought on the web, as before.
4989−
4990− * HTML writer: Insert command to typeset mathjax only in slideous output
4991− (#966, #1012).
4992−
4993− * RST writer: Skip spaces after display math. Otherwise we get indentation
4994− problems, and part of the next paragraph may be rendered as part of the
4995− math.
4996−
4997− * OpenDocument writer: Fix formatting of strikeout code (#995),
4998− thanks to wilx. don't use `font-face-decls` variable.
4999−
5000− * Fixed test suite so it works with cabal sandboxes.
5001−
5002−pandoc (1.12.0.2)
5003−
5004− * Removed `stringable` dependency.
5005−
5006−pandoc (1.12.0.1)
5007−
5008− * Allow `--metadata` to be repeated for the same key to form a list.
5009− This also has the effect that `--bibliography` can be repeated,
5010− as before.
5011−
5012− * Handle boolean values in `--metadata`. Note that anything not parseable
5013− as a YAML boolean or string is treated as a literal string.
5014− You can get a string value with "yes", or any of the strings interpretable
5015− as booleans, by quoting it:
5016−
5017− -M boolvalue=yes -M stringvalue='"yes"'
5018−
5019− * LaTeX writer: Don't print references if `--natbib` or `--biblatex`
5020− option used.
5021−
5022− * DOCX writer: Add `settings.xml` to the zip container. Fixes a bug
5023− in which docx files could not be read by some versions of Word
5024− and LibreOffice (#990).
5025−
5026− * Fixed a regression involving slide shows with bibliographies.
5027− The Div container around references messed up the procedure for carving
5028− a document into slides. So we now remove the surrounding Div in
5029− `prepSlides`.
5030−
5031− * More informative error message when a filter is not found in path.
5032−
5033− * Depend on pandoc-types 1.12.1. This provide `ToJSONFilter`
5034− instances for `Data a => a -> [a]` and `Data a => a -> IO [a]`.
5035−
5036− * Don't use unicode_collation in building OSX package:
5037− it adds something like 50MB of dependencies to the package.
5038−
5039− * Declare alex and happy as build-tools (#986).
5040−
5041−pandoc (1.12)
5042−
5043− [new features]
5044−
5045− * Much more flexible metadata, including arbitrary fields and structured
5046− values. Metadata can be specified flexibly in pandoc markdown using
5047− YAML metadata blocks, which may occur anywhere in the document:
5048−
5049− ---
5050− title: Here is my title.
5051− abstract: |
5052− This is the abstract.
5053−
5054− 1. It can contain
5055− 2. block content
5056− and *inline markup*
5057−
5058− tags: [cat, dog, animal]
5059− ...
5060−
5061− Metadata fields automatically populate template variables.
5062−
5063− * Added `opml` (OPML) as input and output format. The `_note` attribute,
5064− used in OmniOutliner and supported by multimarkdown, is supported.
5065− We treat the contents as markdown blocks under a section header.
5066−
5067− * Added `haddock` (Haddock markup) as input format (David Lazar).
5068−
5069− * Added `revealjs` output format, for reveal.js HTML 5 slide shows.
5070− (Thanks to Jamie F. Olson for the initial patch.)
5071− Nested vertical stacks are used for hierarchical structure.
5072− Results for more than one level of nesting may be odd.
5073−
5074− * Custom writers can now be written in lua.
5075−
5076− pandoc -t data/sample.lua
5077−
5078− will load the script sample.lua and use it as a custom writer.
5079− (For a sample, do `pandoc --print-default-data-file sample.lua`.)
5080− Note that pandoc embeds a lua interpreter, so lua need not be
5081− installed separately.
5082−
5083− * New `--filter/-F` option to make it easier to run "filters"
5084− (Pandoc AST transformations that operate on JSON serializations).
5085− Filters are always passed the name of the output format, so their
5086− behavior can be tailored to it. The repository
5087− <https://github.com/jgm/pandocfilters> contains
5088− a python module for writing pandoc filters in python, with
5089− a number of examples.
5090−
5091− * Added `--metadata/-M` option.
5092− This is like `--variable/-V`, but actually adds to metadata, not
5093− just variables.
5094−
5095− * Added `--print-default-data-file` option, which allows printing
5096− of any of pandoc's data files. (For example,
5097− `pandoc --print-default-data-file reference.odt` will print
5098− `reference.odt`.)
5099−
5100− * Added syntax for "pauses" in slide shows:
5101−
5102− This gives
5103−
5104− . . .
5105−
5106− me pause.
5107−
5108− * New markdown extensions:
5109−
5110− + `ignore_line_breaks`: causes intra-paragraph line breaks to be ignored,
5111− rather than being treated as hard line breaks or spaces. This is useful
5112− for some East Asian languages, where spaces aren't used between words,
5113− but text is separated into lines for readability.
5114− + `yaml_metadata_block`: Parse YAML metadata blocks. (Default.)
5115− + `ascii_identifiers`: This will force `auto_identifiers` to use ASCII
5116− only. (Default for `markdown_github`.) (#807)
5117− + `lists_without_preceding_blankline`: Allow lists to start without
5118− preceding blank space. (Default for `markdown_github`.) (#972)
5119−
5120− [behavior changes]
5121−
5122− * `--toc-level` no longer implies `--toc`.
5123− Reason: EPUB users who don't want a visible TOC may still want
5124− to set the TOC level for in the book navigation.
5125−
5126− * `--help` now prints in and out formats in alphabetical order, and
5127− says something about PDF output (#720).
5128−
5129− * `--self-contained` now returns less verbose output (telling you
5130− which URLs it is fetching, but not giving the full header). In
5131− addition, there are better error messages when fetching a URL fails.
5132−
5133− * Citation support is no longer baked in to core pandoc. Users who
5134− need citations will need to install and use a separate filter
5135− (`--filter pandoc-citeproc`). This filter will take `bibliography`,
5136− `csl`, and `citation-abbreviations` from the metadata, though it
5137− may still be specified on the command line as before.
5138−
5139− * A `Cite` element is now created in parsing markdown whether or not
5140− there is a matching reference.
5141−
5142− * The `pandoc-citeproc` script will put the bibliography at the
5143− end of the document, as before. However, it will be put inside a `Div`
5144− element with class "references", allowing users some control
5145− over the styling of references. A final header, if any, will
5146− be included in the `Div`.
5147−
5148− * The markdown writer will not print a bibliography if the
5149− `citations` extension is enabled. (If the citations are formatted
5150− as markdown citations, it is redundant to have a bibliography,
5151− since one will be generated automatically.)
5152−
5153− * Previously we used to store the directory of the first input file,
5154− even if it was local, and used this as a base directory for finding
5155− images in ODT, EPUB, Docx, and PDF. This has been confusing to many
5156− users. So we now look for images relative to the current
5157− working directory, even if the first file argument is in another
5158− directory. Note that this change may break some existing workflows.
5159− If you have been assuming that relative links will be interpreted
5160− relative to the directory of the first file argument, you'll need
5161− to make that the current directory before running pandoc. (#942)
5162−
5163− * Better error reporting in some readers, due to changes in `readWith`:
5164− the line in which the error occured is printed, with a caret pointing
5165− to the column.
5166−
5167− * All slide formats now support incremental slide view for definition lists.
5168−
5169− * Parse `\(..\)` and `\[..\]` as math in MediaWiki reader.
5170− Parse `:<math>...</math>` as display math. These notations are used with
5171− the MathJax MediaWiki extension.
5172−
5173− * All writers: template variables are set automatically from metadata
5174− fields. However, variables specified on the command line with
5175− `--variable` will completely shadow metadata fields.
5176−
5177− * If `--variable` is used to set many variables with the same name,
5178− a list is created.
5179−
5180− * Man writer: The `title`, `section`, `header`, and `footer` can now
5181− all be set individually in metadata. The `description` variable has been
5182− removed. Quotes have been added so that spaces are allowed in the
5183− title. If you have a title that begins
5184−
5185− COMMAND(1) footer here | header here
5186−
5187− pandoc will still parse it into a title, section, header, and
5188− footer. But you can also specify these elements explicitly (#885).
5189−
5190− * Markdown reader
5191−
5192− + Added support for YAML metadata blocks, which can come anywhere
5193− in the document (not just at the beginning). A document can contain
5194− multiple YAML metadata blocks.
5195− + HTML span and div tags are parsed as pandoc Span and Div elements.
5196−
5197− * Markdown writer
5198−
5199− + Allow simple tables to be printed as grid tables,
5200− if other table options are disabled. This means you can do
5201− `pandoc -t markdown-pipe_tables-simple_tables-multiline_tables`
5202− and all tables will render as grid tables.
5203− + Support YAML title block (render fields in alphabetical order
5204− to make output predictable).
5205−
5206− [API changes]
5207−
5208− * `Meta` in `Text.Pandoc.Definition` has been changed to allow
5209− structured metadata. (Note: existing code that pattern-matches
5210− on `Meta` will have to be revised.) Metadata can now contain
5211− indefinitely many fields, with content that can be a string,
5212− a Boolean, a list of `Inline` elements, a list of `Block`
5213− elements, or a map or list of these.
5214−
5215− * A new generic block container (`Div`) has been added to `Block`,
5216− and a generic inline container (`Span`) has been added to `Inline`.
5217− These can take attributes. They will render in HTML, Textile,
5218− MediaWiki, Org, RST and and Markdown (with `markdown_in_html`
5219− extension) as HTML `<div>` and `<span>` elements; in other formats
5220− they will simply pass through their contents. But they can be
5221− targeted by scripts.
5222−
5223− * `Format` is now a newtype, not an alias for String.
5224− Equality comparisons are case-insensitive.
5225−
5226− * Added `Text.Pandoc.Walk`, which exports hand-written tree-walking
5227− functions that are much faster than the SYB functions from
5228− `Text.Pandoc.Generic`. These functions are now used where possible
5229− in pandoc's code. (`Tests.Walk` verifies that `walk` and `query`
5230− match the generic traversals `bottomUp` and `queryWith`.)
5231−
5232− * Added `Text.Pandoc.JSON`, which provides `ToJSON` and `FromJSON`
5233− instances for the basic pandoc types. They use GHC generics and
5234− should be faster than the old JSON serialization using
5235− `Data.Aeson.Generic`.
5236−
5237− * Added `Text.Pandoc.Process`, exporting `pipeProcess`.
5238− This is a souped-up version of `readProcessWithErrorcode` that
5239− uses lazy bytestrings instead of strings and allows setting
5240− environment variables. (Used in `Text.Pandoc.PDF`.)
5241−
5242− * New module `Text.Pandoc.Readers.OPML`.
5243−
5244− * New module `Text.Pandoc.Writers.OPML`.
5245−
5246− * New module `Text.Pandoc.Readers.Haddock` (David Lazar).
5247− This is based on Haddock's own lexer/parser.
5248−
5249− * New module `Text.Pandoc.Writers.Custom`.
5250−
5251− * In `Text.Pandoc.Shared`, `openURL` and `fetchItem` now return an
5252− Either, for better error handling.
5253−
5254− * Made `stringify` polymorphic in `Text.Pandoc.Shared`.
5255−
5256− * Removed `stripTags` from `Text.Pandoc.XML`.
5257−
5258− * `Text.Pandoc.Templates`:
5259−
5260− + Simplified `Template` type to a newtype.
5261− + Removed `Empty`.
5262− + Changed type of `renderTemplate`: it now takes a JSON context
5263− and a compiled template.
5264− + Export `compileTemplate`.
5265− + Export `renderTemplate'` that takes a string instead of a compiled
5266− template.
5267− + Export `varListToJSON`.
5268−
5269− * `Text.Pandoc.PDF` exports `makePDF` instead of `tex2pdf`.
5270−
5271− * `Text.Pandoc`:
5272−
5273− + Made `toJsonFilter` an alias for `toJSONFilter` from `Text.Pandoc.JSON`.
5274− + Removed `ToJsonFilter` typeclass. `ToJSONFilter` from
5275− `Text.Pandoc.JSON` should be used instead. (Compiling against
5276− pandoc-types instead of pandoc will also produce smaller executables.)
5277− * Removed the deprecated `jsonFilter` function.
5278− + Added `readJSON`, `writeJSON` to the API (#817).
5279−
5280− * `Text.Pandoc.Options`:
5281−
5282− + Added `Ext_lists_without_preceding_blankline`,
5283− `Ext_ascii_identifiers`, `Ext_ignore_line_breaks`,
5284− `Ext_yaml_metadataBlock` to `Extension`.
5285− + Changed `writerSourceDirectory` to `writerSourceURL` and changed the
5286− type to a `Maybe`. `writerSourceURL` is set to 'Just url' when the
5287− first command-line argument is an absolute URL. (So, relative links
5288− will be resolved in relation to the first page.) Otherwise, 'Nothing'.
5289− + All bibliography-related fields have been removed from
5290− `ReaderOptions` and `WriterOptions`: `writerBiblioFiles`,
5291− `readerReferences`, `readerCitationStyle`.
5292−
5293− * The `Text.Pandoc.Biblio` module has been removed. Users of the
5294− pandoc library who want citation support will need to use
5295− `Text.CSL.Pandoc` from `pandoc-citeproc`.
5296−
5297−
5298− [bug fixes]
5299−
5300− * In markdown, don't autolink a bare URI that is followed by `</a>`
5301− (#937).
5302−
5303− * `Text.Pandoc.Shared`
5304−
5305− + `openURL` now follows redirects (#701), properly handles `data:`
5306− URIs, and prints diagnostic output to stderr rather than stdout.
5307− + `readDefaultDataFile`: normalize the paths. This fixes bugs in
5308− `--self-contained` on pandoc compiled with `embed_data_files` (#833).
5309− + Fixed `readDefaultDataFile` so it works on Windows.
5310− + Better error messages for `readDefaultDataFile`. Instead of
5311− listing the last path tried, which can confuse people who are
5312− using `--self-contained`, so now we just list the data file name.
5313− + URL-escape pipe characters. Even though these are legal, `Network.URI`
5314− doesn't regard them as legal in URLs. So we escape them first (#535).
5315−
5316− * Mathjax in HTML slide shows: include explicit "Typeset" call.
5317− This seems to be needed for some formats (e.g. slideous) and won't
5318− hurt in others (#966).
5319−
5320− * `Text.Pandoc.PDF`
5321−
5322− + On Windows, create temdir in working directory, since the system
5323− temp directory path may contain tildes, which can cause
5324− problems in LaTeX (#777).
5325− + Put temporary output directory in `TEXINPUTS` (see #917).
5326− + `makePDF` tries to download images that are not found locally,
5327− if the first argument is a URL (#917).
5328− + If compiling with `pdflatex` yields an encoding error, offer
5329− the suggestion to use `--latex-engine=xelatex`.
5330−
5331− * Produce automatic header identifiers in parsing textile, RST,
5332− and LaTeX, unless `auto_identifiers` extension is disabled (#967).
5333−
5334− * `Text.Pandoc.SelfContained`: Strip off fragment, query of relative URL
5335− before treating as a filename. This fixes `--self-contained` when used
5336− with CSS files that include web fonts using the method described here:
5337− <http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/>
5338− (#739). Handle `src` in `embed`, `audio`, `source`, `input` tags.
5339−
5340− * `Text.Pandoc.Parsing`: `uri` parser no longer treats punctuation before
5341− percent-encoding, or a `+` character, as final punctuation.
5342−
5343− * `Text.Pandoc.ImageSize`: Handle EPS (#903). This change will make
5344− EPS images properly sized on conversion to Word.
5345−
5346− * Slidy: Use slidy.js rather than slidy.js.gz.
5347− Reason: some browsers have trouble with the gzipped js file,
5348− at least on the local file system (#795).
5349−
5350− * Markdown reader
5351−
5352− + Properly handle blank line at beginning of input (#882).
5353− + Fixed bug in unmatched reference links. The input
5354− `[*infile*] [*outfile*]` was getting improperly parsed:
5355− "infile" was emphasized, but "*outfile*" was literal (#883).
5356− + Allow internal `+` in citation identifiers (#856).
5357− + Allow `.` or `)` after `#` in ATX headers if no `fancy_lists`.
5358− + Do not generate blank title, author, or date metadata elements.
5359− Leave these out entirely if they aren't present.
5360− + Allow backtick code blocks not to be preceded by blank line (#975).
5361−
5362− * Textile reader:
5363−
5364− + Correctly handle entities.
5365− + Improved handling of `<pre>` blocks (#927). Remove internal HTML tags
5366− in code blocks, rather than printing them verbatim. Parse attributes
5367− on `<pre>` tag for code blocks.
5368−
5369− * HTML reader: Handle non-simple tables (#893). Column widths are read from
5370− `col` tags if present, otherwise divided equally.
5371−
5372− * LaTeX reader
5373−
5374− + Support alltt environment (#892).
5375− + Support `\textasciitilde`, `\textasciicircum` (#810).
5376− + Treat `\textsl` as emphasized text reader (#850).
5377− + Skip positional options after `\begin{figure}`.
5378− + Support `\v{}` for hacek (#926).
5379− + Don't add spurious ", " to citation suffixes.
5380− This is added when needed in pandoc-citeproc.
5381− + Allow spaces in alignment spec in tables, e.g. `{ l r c }`.
5382− + Improved support for accented characters (thanks to Scott Morrison).
5383− + Parse label after section command and set id (#951).
5384−
5385− * RST reader:
5386−
5387− + Don't insert paragraphs where docutils doesn't.
5388− `rst2html` doesn't add `<p>` tags to list items (even when they are
5389− separated by blank lines) unless there are multiple paragraphs in the
5390− list. This commit changes the RST reader to conform more closely to
5391− what docutils does (#880).
5392− + Improved metadata. Treat initial field list as metadata when
5393− standalone specified. Previously ALL fields "title", "author",
5394− "date" in field lists were treated as metadata, even if not at
5395− the beginning. Use `subtitle` metadata field for subtitle.
5396− + Fixed 'authors' metadata parsing in reST. Semicolons separate
5397− different authors.
5398−
5399− * MediaWiki reader
5400−
5401− + Allow space before table rows.
5402− + Fixed regression for `<ref>URL</ref>`.
5403− `<` is no longer allowed in URLs, according to the uri parser
5404− in `Text.Pandoc.Parsing`. Added a test case.
5405− + Correctly handle indented preformatted text without preceding
5406− or following blank line.
5407− + Fixed `|` links inside table cells. Improved attribute parsing.
5408− + Skip attributes on table rows. Previously we just crashed if
5409− rows had attributes, now we ignore them.
5410− + Ignore attributes on headers.
5411− + Allow `Image:` for images (#971).
5412− + Parse an image with caption in a paragraph by itself as a figure.
5413−
5414− * LaTeX writer
5415−
5416− + Don't use ligatures in escaping inline code.
5417− + Fixed footnote numbers in LaTeX/PDF tables. This fixes a bug
5418− wherein notes were numbered incorrectly in tables (#827).
5419− + Always create labels for sections. Previously the labels were only
5420− created when there were links to the section in the document (#871).
5421− + Stop escaping `|` in LaTeX math.
5422− This caused problems with array environments (#891).
5423− + Change `\` to `/` in paths. `/` works even on Windows in LaTeX.
5424− `\` will cause major problems if unescaped.
5425− + Write id for code block to label attribute in LaTeX when listings
5426− is used (thanks to Florian Eitel).
5427− + Scale LaTeX tables so they don't exceed columnwidth.
5428− + Avoid problem with footnotes in unnumbered headers (#940).
5429−
5430− * Beamer writer: when creating beamer slides, add `allowframebreaks` option
5431− to the slide if it is one of the header classes. It is recommended
5432− that your bibliography slide have this attribute:
5433−
5434− # References {.allowframebreaks}
5435−
5436− This causes multiple slides to be created if necessary, depending
5437− on the length of the bibliography.
5438−
5439− * ConTeXt writer: Properly handle tables without captions. The old output
5440− only worked in MkII. This should work in MkIV as well (#837).
5441−
5442− * MediaWiki writer: Use native mediawiki tables instead of HTML (#720).
5443−
5444− * HTML writer:
5445−
5446− + Fixed `--no-highlight` (Alexander Kondratskiy).
5447− + Don't convert to lowercase in email obfuscation (#839).
5448− + Ensure proper escaping in `<title>` and `<meta>` fields.
5449−
5450− * AsciiDoc writer:
5451−
5452− + Support `--atx-headers` (Max Rydahl Andersen).
5453− + Don't print empty identifier blocks `([[]])` on headers (Max
5454− Rydahl Andersen).
5455−
5456− * ODT writer:
5457−
5458− + Fixing wrong numbered-list indentation in open document format
5459− (Alexander Kondratskiy) (#369).
5460− + `reference.odt`: Added pandoc as "generator" in `meta.xml`.
5461− + Minor changes for ODF 1.2 conformance (#939). We leave the
5462− nonconforming `contextual-spacing` attribute, which is provided by
5463− LibreOffice itself and seems well supported.
5464−
5465− * Docx writer:
5466−
5467− + Fixed rendering of display math in lists.
5468− In 1.11 and 1.11.1, display math in lists rendered as a new list
5469− item. Now it always appears centered, just as outside of lists,
5470− and in proper display math style, no matter how far indented the
5471− containing list item is (#784).
5472− + Use `w:br` with `w:type` `textWrapping` for linebreaks.
5473− Previously we used `w:cr` (#873).
5474− + Use Compact style for Plain block elements, to
5475− differentiate between tight and loose lists (#775).
5476− + Ignore most components of `reference.docx`.
5477− We take the `word/styles.xml`, `docProps/app.xml`,
5478− `word/theme/theme1.xml`, and `word/fontTable.xml` from
5479− `reference.docx`, ignoring everything else. This should help
5480− with the corruption problems caused when different versions of
5481− Word resave the reference.docx and reorganize things.
5482− + Made `--no-highlight` work properly.
5483−
5484− * EPUB writer
5485−
5486− + Don't add `dc:creator` tags if present in EPUB metadata.
5487− + Add `id="toc-title"` to `h1` in `nav.xhtml` (#799).
5488− + Don't put blank title page in reading sequence.
5489− Set `linear="no"` if no title block. Addresses #797.
5490− + Download webtex images and include as data URLs.
5491− This allows you to use `--webtex` in creating EPUBs.
5492− Math with `--webtex` is automatically made self-contained.
5493− + In `data/epub.css`, removed highlighting styles (which
5494− are no longer needed, since styles are added by the HTML
5495− writer according to `--highlighting-style`). Simplified
5496− margin fields.
5497− + If resource not found, skip it, as in Docx writer (#916).
5498−
5499− * RTF writer:
5500−
5501− + Properly handle characters above the 0000-FFFF range.
5502− Uses surrogate pairs. Thanks to Hiromi Ishii for the patch.
5503− + Fixed regression with RTF table of contents.
5504− + Only autolink absolute URIs. This fixes a regression, #830.
5505−
5506− * Markdown writer:
5507−
5508− + Only autolink absolute URIs. This fixes a regression, #830.
5509− + Don't wrap attributes in fenced code blocks.
5510− + Write full metadata in MMD style title blocks.
5511− + Put multiple authors on separate lines in pandoc titleblock.
5512− Also, don't wrap long author entries, as new lines get treated
5513− as new authors.
5514−
5515− * `Text.Pandoc.Templates`:
5516−
5517− + Fixed bug retrieving default template for markdown variants.
5518− + Templates can now contain "record lookups" in variables;
5519− for example, `author.institution` will retrieve the `institution`
5520− field of the `author` variable.
5521− + More consistent behavior of `$for$`. When `foo` is not a list,
5522− `$for(foo)$...$endfor$` should behave like $if(foo)$...$endif$.
5523− So if `foo` resolves to "", no output should be produced.
5524− See pandoc-templates#39.
5525−
5526− * Citation processing improvements (now part of pandoc-citeproc):
5527−
5528− + Fixed `endWithPunct` The new version correctly sees a sentence
5529− ending in '.)' as ending with punctuation. This fixes a bug which
5530− led such sentences to receive an extra period at the end: '.).'.
5531− Thanks to Steve Petersen for reporting.
5532− + Don't interfere with Notes that aren't citation notes.
5533− This fixes a bug in which notes not generated from citations were
5534− being altered (e.g. first letter capitalized) (#898).
5535− + Only capitalize footnote citations when they have a prefix.
5536− + Changes in suffix parsing. A suffix beginning with a digit gets 'p'
5537− inserted before it before passing to citeproc-hs, so that bare numbers
5538− are treated as page numbers by default. A suffix not beginning with
5539− punctuation has a space added at the beginning (rather than a comma and
5540− space, as was done before for not-author-in-text citations).
5541− The result is that `\citep[23]{item1}` in LaTeX will be interpreted
5542− properly, with '23' treated as a locator of type 'page'.
5543− + Many improvements to citation rendering, due to fixes in citeproc-hs
5544− (thanks to Andrea Rossato).
5545− + Warnings are issued for undefined citations, which are rendered
5546− as `???`.
5547− + Fixed hanging behavior when locale files cannot be found.
5548−
5549− [template changes]
5550−
5551− * DocBook: Use DocBook 4.5 doctype.
5552−
5553− * Org: '#+TITLE:' is inserted before the title.
5554− Previously the writer did this.
5555−
5556− * LaTeX: Changes to make mathfont work with xelatex.
5557− We need the mathspec library, not just fontspec, for this.
5558− We also need to set options for setmathfont (#734).
5559−
5560− * LaTeX: Use `tex-ansi` mapping for `monofont`.
5561− This ensures that straight quotes appear as straight, rather than
5562− being treated as curly. See #889.
5563−
5564− * Made `\includegraphics` more flexible in LaTeX template.
5565− Now it can be used with options, if needed. Thanks to Bernhard Weichel.
5566−
5567− * LaTeX/Beamer: Added `classoption` variable.
5568− This is intended for class options like `oneside`; it may
5569− be repeated with different options. (Thanks to Oliver Matthews.)
5570−
5571− * Beamer: Added `fonttheme` variable. (Thanks to Luis Osa.)
5572−
5573− * LaTeX: Added `biblio-style` variable (#920).
5574−
5575− * DZSlides: title attribute on title section.
5576−
5577− * HTML5: add meta tag to allow scaling by user (Erik Evenson)
5578−
5579− [under-the-hood improvements]
5580−
5581− * Markdown reader:Improved strong/emph parsing, using the strategy of
5582− <https://github.com/jgm/Markdown>. The new parsing algorithm requires
5583− no backtracking, and no keeping track of nesting levels. It will give
5584− different results in some edge cases, but these should not affect normal
5585− uses.
5586−
5587− * Added `Text.Pandoc.Compat.Monoid`.
5588− This allows pandoc to compile with `base` < 4.5, where `Data.Monoid`
5589− doesn't export `<>`. Thanks to Dirk Ullirch for the patch.
5590−
5591− * Added `Text.Pandoc.Compat.TagSoupEntity`.
5592− This allows pandoc to compile with `tagsoup` 0.13.x.
5593− Thanks to Dirk Ullrich for the patch.
5594−
5595− * Most of `Text.Pandoc.Readers.TeXMath` has been moved to the
5596− `texmath` module (0.6.4). (This allows `pandoc-citeproc` to
5597− handle simple math in bibliography fields.)
5598−
5599− * Added `Text.Pandoc.Writers.Shared` for shared functions used
5600− only in writers. `metaToJSON` is used in writers to create a
5601− JSON object for use in the templates from the pandoc metadata
5602− and variables. `getField`, `setField`, and `defField` are
5603− for working with JSON template contexts.
5604−
5605− * Added `Text.Pandoc.Asciify` utility module.
5606− This exports functions to create ASCII-only versions of identifiers.
5607−
5608− * `Text.Pandoc.Parsing`
5609−
5610− + Generalized state type on `readWith` (API change).
5611− + Specialize readWith to `String` input. (API change).
5612− + In `ParserState`, replace `stateTitle`, `stateAuthors`, `stateDate`
5613− with `stateMeta` and `stateMeta'`.
5614−
5615− * `Text.Pandoc.UTF8`: use strict bytestrings in reading. The use of lazy
5616− bytestrings seemed to cause problems using pandoc on 64-bit Windows
5617− 7/8 (#874).
5618−
5619− * Factored out `registerHeader` from markdown reader, added to
5620− `Text.Pandoc.Parsing`.
5621−
5622− * Removed `blaze_html_0_5` flag, require `blaze-html` >= 0.5.
5623− Reason: < 0.5 does not provide a monoid instance for Attribute,
5624− which is now needed by the HTML writer (#803).
5625−
5626− * Added `http-conduit` flag, which allows fetching https resources.
5627− It also brings in a large number of dependencies (`http-conduit`
5628− and its dependencies), which is why for now it is an optional flag
5629− (#820).
5630−
5631− * Added CONTRIBUTING.md.
5632−
5633− * Improved INSTALL instructions.
5634−
5635− * `make-windows-installer.bat`: Removed explicit paths for executables.
5636−
5637− * `aeson` is now used instead of `json` for JSON.
5638−
5639− * Set default stack size to 16M. This is needed for some large
5640− conversions, esp. if pandoc is compiled with 64-bit ghc.
5641−
5642− * Various small documentation improvements.
5643− Thanks to achalddave and drothlis for patches.
5644−
5645− * Removed comment that chokes recent versions of CPP (#933).
5646−
5647− * Removed support for GHC version < 7.2, since pandoc-types now
5648− requires at least GHC 7.2 for GHC generics.
5649−
5650−
5651−pandoc (1.11.1)
5652−
5653− * Markdown reader:
5654−
5655− + Fixed regression in which parentheses were lost in link URLs.
5656− Added tests. Closes #786.
5657− + Better handling of unmatched double quotes in `--smart` mode.
5658− These occur frequently in fiction, since it is customary not to
5659− close quotes in dialogue if the speaker does not change between
5660− paragraphs. The unmatched quotes now get turned into literal
5661− left double quotes. (No `Quoted` inline is generated, however.)
5662− Closes #99 (again).
5663−
5664− * HTML writer: Fixed numbering mismatch between TOC and sections.
5665− `--number-offset` now affects TOC numbering as well
5666− as section numbering, as it should have all along. Closes #789.
5667−
5668− * Markdown writer: Reverted 1.11 change that caused citations to be rendered
5669− as markdown citations, even if `--bibliography` was specified, unless
5670− `citation` extension is disabled. Now, formatted citations are always
5671− printed if `--bibliography` was specified. If you want to reformat
5672− markdown keeping pandoc markdown citations intact, don't use
5673− `--bibliography`. Note that citations parsed from LaTeX documents will
5674− be rendered as pandoc markdown citations when `--bibliography` is not
5675− specified.
5676−
5677− * ODT writer: Fixed regression leading to corrupt ODTs.
5678− This was due to a change in the `Show` instance for
5679− `Text.Pandoc.Pretty.Doc`. Closes #780.
5680−
5681− * Fixed spacing bugs involving code block attributes in
5682− RST reader and Markdown writer. Closes #763.
5683−
5684− * Windows package: Various improvements due to Fyodor Sheremetyev.
5685−
5686− + Automatically set installation path (Program Files or Local App Data).
5687− + Set system PATH environment variable when installing for all users.
5688− + Pandoc can installed for all users using the following command.
5689− `msiexec /i pandoc-1.11.msi ALLUSERS=1`.
5690−
5691− * Bumped QuickCheck version bound.
5692−
5693−pandoc (1.11)
5694−
5695− * Added `--number-offset` option. (See README for description.)
5696−
5697− * Added `--default-image-extension` option. (See README for description.)
5698−
5699− * `--number-sections` behavior change: headers with class `unnumbered`
5700− will not be numbered.
5701−
5702− * `--version` now reports the default data directory.
5703−
5704− * `Text.Pandoc.Parsing` is no longer exposed. (API change.)
5705−
5706− * `Text.Pandoc.Highlighting` is no longer exposed. (API change.)
5707−
5708− * `Text.Pandoc.Shared`: Changed type of `Element`. `Sec` now includes
5709− a field for `Attr` rather than just `String`. (API change.)
5710−
5711− * Added `markdown_github` as input format. This was an accidental
5712− omission in 1.10.
5713−
5714− * Added `readerDefaultImageExtension` field to `ReaderOptions`. (API
5715− change.)
5716−
5717− * Added `writerNumberOffset` field in `WriterOptions`. (API change.)
5718−
5719− * Beamer template:
5720−
5721− + Fixed captions with longtable. Thanks to Joost Kremers.
5722− + Provide `\Oldincludegraphics` as in LaTeX template (Benjamin Bannier).
5723−
5724− * LaTeX template:
5725−
5726− + Load microtype after fonts. Microtype needs to know
5727− what fonts are being used. Thanks to dfc for the patch.
5728− + Set `secnumdepth` to 5 if `--number-sections` specified.
5729− This yields behavior equivalent to the other writers, numbering
5730− level 4 and 5 headers too. Closes #753.
5731−
5732− * HTML reader:
5733−
5734− + Handle `<colgroup>` tag.
5735− + Preserve all header attributes.
5736−
5737− * LaTeX reader:
5738−
5739− + Parse `\hrule` as `HorizontalRule`. Closes #746.
5740− + Parse starred variants of `\section` etc. as headers with
5741− attribute `unnumbered`.
5742− + Read optional attributes in `lstlisting` and `Verbatim` environments.
5743− We convert these to pandoc standard names, e.g. `numberLines`
5744− for `numbers=left`, `startFrom=100` from `firstnumber=100`.
5745− + Handle language attribute for lstlistings.
5746− + Better support for Verbatim and minted environments. Closes #763.
5747−
5748− * Markdown reader:
5749−
5750− + `-` in an attribute context = `.unnumbered`. The point of this
5751− is to provide a way to specify unnumbered headers in non-English
5752− documents.
5753− + Fixed bug parsing key/value attributes. Parsing failed if you
5754− had an unquoted attribute immediately before the final '}'.
5755− + Make backslash escape work in attributes.
5756− + Fix title block parsing. Now if `mmd_title_blocks` is specified,
5757− pandoc will parse a MMD title block if it sees one, even if
5758− `pandoc_title_blocks` is enabled.
5759− + Refactoring: `litChar` now includes entities, so we don't need
5760− to use `fromEntities` e.g. on titles.
5761− + Allow spaces around borders in pipe tables. Closes #772.
5762− + Allow all punctuation in angle-bracket autolinks. Previously
5763− things like `----` were disallowed, because the uri parser
5764− treated them as trailing punctuation. Closes #768.
5765− + Make `implicit_header_references` work properly when
5766− headers are given explicit identifiers.
5767− + Check for tables before line blocks. Otherwise some pipe
5768− tables get treated as line blocks.
5769− + Allow `&` in emails (for entities).
5770− + Properly handle entities in titles and links. A markdown link
5771− `<http://g&ouml;ogle.com>` should be a link to `http://göogle.com`.
5772− Closes #723.
5773−
5774− * Textile reader:
5775−
5776− + Handle attributes on headers.
5777−
5778− * LaTeX reader:
5779−
5780− + Add `fig:` as title for images with captions.
5781− This is needed for them to be rendered as figures. Closes #766.
5782− + Never emit an empty paragraph. See #761.
5783− + Handle `\caption` for images in figures. Closes #766.
5784− + Parse `\section*`, etc. as unnumbered sections.
5785−
5786− * HTML writer:
5787−
5788− + Support header attributes. The attributes go on
5789− the enclosing `section` or `div` tag if `--section-divs` is specified.
5790− + Fixed a regression (only now noticed) in html+lhs output.
5791− Previously the bird tracks were being omitted.
5792−
5793− * LaTeX writer:
5794−
5795− + Omit lists with no items to avoid LaTeX errors.
5796− + Support line numbering with `--listings`.
5797− If `numberLines` class is present, we add `numbers=left`;
5798− if `startFrom` is present, we add `firstnumber=`. (#763)
5799−
5800− * ConTeXt writer:
5801−
5802− + Removed `\placecontent`. This produced a duplicate toc,
5803− in conjunction with `\placelist`.
5804− + Use `\title`, `\subject` etc. for headers with
5805− `unnumbered` class.
5806−
5807− * Textile writer:
5808−
5809− + Support header attributes.
5810−
5811− * Markdown writer:
5812−
5813− + Use grid tables when needed, and if enabled. Closes #740.
5814− + Render citations as pandoc-markdown citations.
5815− Previously citations were rendered as citeproc-formatted citations
5816− by default. Now we render them as pandoc citations, e.g. `[@item1]`,
5817− unless the `citations` extension is disabled.
5818− If you still want formatted citations in your markdown output,
5819− use `pandoc -t markdown-citations`.
5820−
5821− * RST writer:
5822−
5823− + Support `:number-lines:` in code blocks.
5824−
5825− * Docx writer:
5826−
5827− + Better treatment of display math. Display math inside a
5828− paragraph is now put in a separate paragraph, so it will render
5829− properly (centered and without extra blank lines around it).
5830− Partially addresses #742.
5831− + Content types and document rels xml files are now created from
5832− scratch, rather than being taken over from `reference.docx`.
5833− This fixes problems that arise when you edit the `reference.docx`
5834− with Word.
5835− + We also now encode mime types for each individual image rather
5836− than using defaults. This should allow us to handle a wider
5837− range of image types (including PDF). Closes #414.
5838− + Changed style names in `reference docx`.
5839− `FootnoteReference` -> `FootnoteRef`, `Hyperlink` -> `Link`.
5840− The old names got changed by Word when the `reference.docx` was
5841− edited. Closes #414.
5842−
5843− * EPUB writer:
5844−
5845− + Fix section numbering. Previously the numbering restarted from 1
5846− in each chapter (with `--number-sections`), though the numbers in
5847− the table of contents were correct.
5848− + Headers with "unnumbered" attribute are not numbered. (Nor do they
5849− cause an increment in running numbering.) Section numbers now work
5850− properly, even when there is material before the first numbered section.
5851− + Include HTML TOC, even in epub2. The TOC is included in `<spine>`,
5852− but `linear` is set to `no` unless the `--toc` option is specified.
5853− Include `<guide>` element in OPF. This should allow the TOC to
5854− be useable in Kindles when converted with kindlegen. Closes #773.
5855−
5856− * `Text.Pandoc.Parsing`: Optimized `oneOfStringsCI`.
5857− This dramatically reduces the speed penalty that comes from enabling the
5858− `autolink_bare_uris` extension. The penalty is still substantial (in one
5859− test, from 0.33s to 0.44s), but nowhere near what it used to be.
5860− The RST reader is also much faster now, as it autodetects URIs.
5861−
5862− * `Text.Pandoc.Shared`: `hierarchicalize` will not number section
5863− with class "unnumbered". Unnumbered sections get `[]` for their
5864− section number.
5865−
5866− * `Text.Pandoc.Pretty`:
5867−
5868− + Fixed `chomp` so it works inside `Prefixed` elements.
5869− + Changed `Show` instance so it is better for debugging.
5870−
5871− * `Text.Pandoc.ImageSize`: Added `Pdf` to `ImageType`.
5872−
5873− * `Text.Pandoc.UTF8`: Strip off BOM if present. Closes #743.
5874−
5875− * Windows installer improvements:
5876−
5877− + The installer is now signed with a certificate (thanks to
5878− Fyodor Sheremetyev).
5879− + WiX is used instead of InnoSetup. The installer is now a
5880− standard msi file.
5881− + The version number is now auto-detected, and need not be
5882− updated separately.
5883−
5884− * OSX installer improvements:
5885−
5886− + The package and pandoc executable are now signed with a
5887− certificate (thanks to Fyodor Sheremetyev).
5888− + RTF version of license is used.
5889− + Use full path for sysctl in `InstallationCheck` script (jonahbull).
5890− Closes #580.
5891−
5892− * Converted COPYING to markdown.
5893−
5894− * pandoc.cabal: Require latest versions of highlighting-kate,
5895− texmath, citeproc-hs, zip-archive.
5896−
5897−pandoc (1.10.1)
5898−
5899− * Markdown reader: various optimizations, leading to a
5900− significant performance boost.
5901−
5902− * RST reader: Allow anonymous form of inline links:
5903− `` `hello <url>`__ `` Closes #724.
5904−
5905− * Mediawiki reader: Don't require newlines after tables.
5906− Thanks to jrunningen for the patch. Closes #733.
5907−
5908− * Fixed LaTeX macro parsing. Now LaTeX macro definitions are preserved
5909− when output is LaTeX, and applied when it is another format.
5910− Partially addresses #730.
5911−
5912− * Markdown and RST readers: Added parser to `block` that skips blank
5913− lines. This fixes a subtle regression involving grid tables with
5914− empty cells. Also added test for grid table with empty cells.
5915− Closes #732.
5916−
5917− * RST writer: Use `.. code:: language` for code blocks with language.
5918− Closes #721.
5919−
5920− * DocBook writer: Fixed output for hard line breaks, adding a newline
5921− between `<literallayout>` tags.
5922−
5923− * Markdown writer: Use an autolink when link text matches url.
5924− Previously we also checked for a null title, but this
5925− test fails for links produced by citeproc-hs in bibliographies.
5926− So, if the link has a title, it will be lost on conversion
5927− to an autolink, but that seems okay.
5928−
5929− * Markdown writer: Set title, author, date variables as before.
5930− These are no longer used in the default template, since we use
5931− titleblock, but we set them anyway for those who use custom templates.
5932−
5933− * LaTeX writer: Avoid extra space at start/end of table cell.
5934− Thanks to Nick Bart for the suggestion of using @{}.
5935−
5936− * `Text.Pandoc.Parsing`:
5937−
5938− + More efficient version of `anyLine`.
5939− + Type of `macro` has changed; the parser now returns `Blocks`
5940− instead of `Block`.
5941−
5942− * Relaxed old-time version bound, allowing 1.0.*.
5943−
5944− * Removed obsolete `hsmarkdown` script. Those who need `hsmarkdown`
5945− should create a symlink as described in the README.
5946−
5947−pandoc (1.10.0.5)
5948−
5949− * Markdown reader: Try `lhsCodeBlock` before `rawTeXBlock`. Otherwise
5950− `\begin{code}...\end{code}` isn't handled properly in markdown+lhs.
5951− Thanks to Daniel Miot for noticing the bug and suggesting the fix.
5952−
5953− * Markdown reader: Fixed bug with headerless grid tables.
5954− The 1.10 code assumed that each table header cell contains exactly one
5955− block. That failed for headerless tables (0) and also for tables with
5956− multiple blocks in a header cell. The code is fixed and tests provided.
5957− Thanks to Andrew Lee for pointing out the bug.
5958−
5959− * Markdown reader: Fixed regressions in fenced code blocks. Closes #722.
5960−
5961− + Tilde code fences can again take a bare language string
5962− (`~~~ haskell`), not just curly-bracketed attributes
5963− (`~~~ {.haskell}`).
5964− + Backtick code blocks can take the curly-bracketed attributes.
5965− + Backtick code blocks don't *require* a language.
5966− + Consolidated code for the two kinds of fenced code blocks.
5967−
5968− * LaTeX template: Use `\urlstyle{same}` to avoid monospace URLs.
5969−
5970− * Markdown writer: Use proportional font for email autolinks with
5971− obfuscation. Closes #714.
5972−
5973− * Corrected name of `blank_before_blockquote` in README. Closes #718.
5974−
5975− * `Text.Pandoc.Shared`: Fixed bug in `uri` parser.
5976− The bug prevented an autolink at the end of a string (e.g.
5977− at the end of a line block line) from counting as a link. Closes #711.
5978−
5979− * Use the `hsb2hs` preprocessor instead of TH for embed_data_files.
5980− This should work on Windows, unlike the TH solution with
5981− file-embed.
5982−
5983− * Eliminated use of TH in test suite.
5984−
5985− * Added `Text.Pandoc.Data` (non-exported) to hold the association
5986− list of embedded data files, if the `embed_data_files` flag is selected.
5987− This isolates the code that needs special treatment with file-embed or
5988− `hsb2hs`.
5989−
5990− * Changes to `make-windows-installer.bat`.
5991−
5992− + Exit batch file if any of the cabal-dev installs fail.
5993− + There's no longer any need to reinstall `highlighting-kate`.
5994− + Don't start with a `cabal update`; leave that to the user.
5995− + Force reinstall of pandoc.
5996−
5997− * Fixed EPUB writer so it builds with blaze-html 0.4.x. Thanks to
5998− Jens Petersen.
5999−
6000−pandoc (1.10.0.4)
6001−
6002− * Fixed bug with escaped % in LaTeX reader. Closes #710.
6003−
6004−pandoc (1.10.0.3)
6005−
6006− * Added further missing fb2 tests to cabal file.
6007−
6008−pandoc (1.10.0.2)
6009−
6010− * Added fb2 tests to cabal file's extra-source-files.
6011−
6012−pandoc (1.10.0.1)
6013−
6014− * Bump version bounds on test-framework packages.
6015−
6016−pandoc (1.10)
6017−
6018− [new features]
6019−
6020− * New input formats: `mediawiki` (MediaWiki markup).
6021−
6022− * New output formats: `epub3` (EPUB v3 with MathML),
6023− `fb2` (FictionBook2 ebooks).
6024−
6025− * New `--toc-depth` option, specifying how many levels of
6026− headers to include in a table of contents.
6027−
6028− * New `--epub-chapter-level` option, specifying the header
6029− level at which to divide EPUBs into separate files.
6030− Note that this normally affects only performance, not the
6031− visual presentation of the EPUB in a reader.
6032−
6033− * Removed the `--strict` option. Instead of using `--strict`,
6034− one can now use the format name `markdown_strict` for either input
6035− or output. This gives more fine-grained control that `--strict`
6036− did, allowing one to convert from pandoc's markdown to strict
6037− markdown or vice versa.
6038−
6039− * It is now possible to enable or disable specific syntax
6040− extensions by appending them (with `+` or `-`) to the writer
6041− or reader name. For example,
6042−
6043− pandoc -f markdown-footnotes+hard_line_breaks
6044−
6045− disables footnotes and enables treating newlines as hard
6046− line breaks. The literate Haskell extensions are now implemented
6047− this way as well, using either `+lhs` or `+literate_haskell`.
6048− For a list of extension names, see the README under
6049− "Pandoc's Markdown."
6050−
6051− * The following aliases have been introduced for specific
6052− combinations of markdown extensions: `markdown_phpextra`,
6053− `markdown_github`, `markdown_mmd`, `markdown_strict`. These aliases
6054− work just like regular reader and writer names, and can be modified
6055− with extension modifiers as described above. (Note that conversion
6056− from one markdown dialect to another does not work perfectly,
6057− because there are differences in markdown parsers besides
6058− just the extensions, and because pandoc's internal document model is
6059− not rich enough to capture all of the extensions.)
6060−
6061− * New `--html-q-tags` option. The previous default was to use `<q>`
6062− tags for smart quotes in HTML5. But `<q>` tags are also valid HTML4.
6063− Moreover, they are not a robust way of typesetting quotes, since
6064− some user agents don't support them, and some CSS resets (e.g.
6065− bootstrap) prevent pandoc's quotes CSS from working properly.
6066− We now just insert literal quote characters by default in both
6067− `html` and `html5` output, but this option is provided for
6068− those who still want `<q>` tags.
6069−
6070− * The markdown reader now prints warnings (to stderr) about
6071− duplicate link and note references. Closes #375.
6072−
6073− * Markdown syntax extensions:
6074−
6075− + Added pipe tables. Thanks to François Gannaz for the initial patch.
6076− These conform to PHP Markdown Extra's pipe table syntax. A subset
6077− of org-mode table syntax is also supported, which means that you can
6078− use org-mode's nice table editor to create tables.
6079−
6080− + Added support for RST-style line blocks. These are
6081− useful for verse and addresses.
6082−
6083− + Attributes can now be specified for headers, using the same
6084− syntax as in code blocks. (However, currently only the
6085− identifier has any effect in most writers.) For example,
6086−
6087− # My header {#foo}
6088−
6089− See [the header above](#foo).
6090−
6091− + Pandoc will now act as if link references have been defined
6092− for all headers without explicit identifiers.
6093− So, you can do this:
6094−
6095− # My header
6096−
6097− Link to [My header].
6098− Another link to [it][My header].
6099−
6100− Closes #691.
6101−
6102− * LaTeX reader:
6103−
6104− + Command macros now work everywhere, including non-math.
6105− Environment macros still not supported.
6106− + `\input` now works, as well as `\include`. TEXINPUTS is used.
6107− Pandoc looks recursively into included files for more included files.
6108−
6109− [behavior changes]
6110−
6111− * The Markdown reader no longer puts the text of autolinks in a
6112− `Code` inline. This means that autolinks will no longer appear
6113− in a monospace font.
6114−
6115− * The character `/` can now appear in markdown citation keys.
6116−
6117− * HTML blocks in strict_markdown are no longer required to begin
6118− at the left margin. Technically this is required, according to
6119− the markdown syntax document, but `Markdown.pl` and other markdown
6120− processors are more liberal.
6121−
6122− * The `-V` option has been changed so that if there are duplicate
6123− variables, those specified later on the command line take precedence.
6124−
6125− * Tight lists now work in LaTeX and ConTeXt output.
6126−
6127− * The LaTeX writer no longer relien on the `enumerate` package.
6128− Instead, it uses standard LaTeX commands to change the list numbering
6129− style.
6130−
6131− * The LaTeX writer now uses `longtable` instead of `ctable`. This allows
6132− tables to be split over page boundaries.
6133−
6134− * The RST writer now uses a line block to render paragraphs containing
6135− linebreaks (which previously weren't supported at all).
6136−
6137− * The markdown writer now applies the `--id-prefix` to footnote IDs.
6138− Closes #614.
6139−
6140− * The plain writer no longer uses backslash-escaped line breaks
6141− (which are not very "plain").
6142−
6143− * `Text.Pandoc.UTF8`: Better error message for invalid UTF8.
6144− Read bytestring and use `Text`'s decodeUtf8 instead of using
6145− `System.IO.hGetContents`. This way you get a message saying
6146− "invalid UTF-8 stream" instead of "invalid byte sequence."
6147− You are also told which byte caused the problem.
6148−
6149− * Docx, ODT, and EPUB writers now download images specified by a URL
6150− instead of skipping them or raising an error.
6151−
6152− * EPUB writer:
6153−
6154− + The default CSS now left-aligns headers by default, instead of
6155− centering. This is more consistent with the rest of the writers.
6156− + A proper multi-level table of contents is now used in `toc.ncx`.
6157− There is no longer a subsidiary table of contents at the beginning
6158− of each chapter.
6159− + Code highlighting now works by default.
6160− + Section divs are used by default for better semantic markup.
6161− + The title is used instead of "Title Page" in the table of contents.
6162− Otherwise we have a hard-coded English string, which looks
6163− strange in ebooks written in other languages. Closes #572.
6164−
6165− * HTML writer:
6166−
6167− + Put mathjax in span with class "math". Closes #562.
6168− + Put citations in a span with class "citation." In HTML5, also include
6169− a `data-cite` attribute with a space-separated list of citation
6170− keys.
6171−
6172− * `Text.Pandoc.UTF8`: use universalNewlineMode in reading.
6173− This treats both `\r\n` and `\n` as `\n` on input, no matter
6174− what platform we're running on.
6175−
6176− * Citation processing is now done in the Markdown and LaTeX
6177− readers, not in `pandoc.hs`. This makes it easier for library users
6178− to use citations.
6179−
6180− [template changes]
6181−
6182− * HTML: Added css to template to preserve spaces in `<code>` tags.
6183− Thanks to Dirk Laurie.
6184−
6185− * Beamer: Remove English-centric strings in section pages.
6186− Section pages used to have "Section" and a number as well as the
6187− section title. Now they just have the title. Similarly for part
6188− and subsection. Closes #566.
6189−
6190− * LaTeX, ConTeXt: Added papersize variable.
6191−
6192− * LaTeX, Beamer templates: Use longtable instead of ctable.
6193−
6194− * LaTeX, Beamer templates: Don't require 'float' package for tables.
6195− We don't actually seem to use the '[H]' option.
6196−
6197− * LaTeX: Use `upquote` package if it is available. This fixes
6198− straight quotes in verbatim environments.
6199−
6200− * Markdown, plain: Fixed titleblock so it is just a single string.
6201− Previously separate title, author, and date variables were used,
6202− but this didn't allow different kinds of title blocks.
6203−
6204− * EPUB:
6205−
6206− + Rationalized templates. Previously there were three different
6207− templates involved in epub production. There is now just one
6208− template, `default.epub` or `default.epub3`. It can now be
6209− overridden using `--template`, just like other templates.
6210− The titlepage is now folded into the default template.
6211− A `titlepage` variable selects it.
6212− + UTF-8, lang tag, meta tags, title element.
6213−
6214− * Added scale-to-width feature to beamer template
6215−
6216− [API changes]
6217−
6218− * `Text.Pandoc.Definition`: Added `Attr` field to `Header`.
6219− Previously header identifers were autogenerated by the writers.
6220− Now they are added in the readers (either automatically or explicitly).
6221−
6222− * `Text.Pandoc.Builder`:
6223−
6224− + `Inlines` and `Blocks` are now synonyms for `Many Inline` and
6225− `Many Block`. `Many` is a newtype wrapper around `Seq`, with
6226− custom Monoid instances for `Many Inline` and `Many Block. This
6227− allows `Many` to be made an instance of `Foldable` and `Traversable`.
6228− + The old `Listable` class has been removed.
6229− + The module now exports `isNull`, `toList`, `fromList`.
6230− + The old `Read` and `Show` instances have been removed; derived
6231− instances are now used.
6232− + Added `headerWith`.
6233−
6234− * The readers now take a `ReaderOptions` rather than a `ParserState`
6235− as a parameter. Indeed, not all parsers use the `ParserState` type;
6236− some have a custom state. The motivation for this change was to separate
6237− user-specifiable options from the accounting functions of parser state.
6238−
6239− * New module `Text.Pandoc.Options`. This includes the `WriterOptions`
6240− formerly in `Text.Pandoc.Shared`, and its associated
6241− data types. It also includes a new type `ReaderOptions`, which
6242− contains many options formerly in `ParserState`, and its associated
6243− data types:
6244−
6245− + `ParserState.stateParseRaw` -> `ReaderOptions.readerParseRaw`.
6246− + `ParserState.stateColumns` -> `ReaderOptions.readerColumns`.
6247− + `ParserState.stateTabStop` -> `ReaderOptions.readerTabStop`.
6248− + `ParserState.stateOldDashes` -> `ReaderOptions.readerOldDashes`.
6249− + `ParserState.stateLiterateHaskell` -> `ReaderOptions.readerLiterateHaskell`.
6250− + `ParserState.stateCitations` -> `ReaderOptions.readerReferences`.
6251− + `ParserState.stateApplyMacros` -> `ReaderOptions.readerApplyMacros`.
6252− + `ParserState.stateIndentedCodeClasses` ->
6253− `ReaderOptions.readerIndentedCodeClasses`.
6254− + Added `ReaderOptions.readerCitationStyle`.
6255−
6256− * `WriterOptions` now includes `writerEpubVersion`, `writerEpubChapterLevel`,
6257− `writerEpubStylesheet`, `writerEpubFonts`, `writerReferenceODT`,
6258− `writerReferenceDocx`, and `writerTOCDepth`. `writerEPUBMetadata` has
6259− been renamed `writerEpubMetadata` for consistency.
6260−
6261− * Changed signatures of `writeODT`, `writeDocx`, `writeEPUB`, since they no
6262− longer stylesheet, fonts, reference files as separate parameters.
6263−
6264− * Removed `writerLiterateHaskell` from `WriterOptions`, and
6265− `readerLiterateHaskell` from `ReaderOptions`. LHS is now handled
6266− by an extension (`Ext_literate_haskell`).
6267−
6268− * Removed deprecated `writerXeTeX`.
6269−
6270− * Removed `writerStrict` from `WriterOptions`. Added `writerExtensions`.
6271− Strict is now handled through extensions.
6272−
6273− * `Text.Pandoc.Options` exports `pandocExtensions`, `strictExtensions`,
6274− `phpMarkdownExtraExtensions`, `githubMarkdownExtensions`,
6275− and `multimarkdownExtensions`, as well as the `Extensions` type.
6276−
6277− * New `Text.Pandoc.Readers.MediaWiki` module, exporting
6278− `readMediaWiki`.
6279−
6280− * New `Text.Pandoc.Writers.FB2` module, exporting `writeFB2`
6281− (thanks to Sergey Astanin).
6282−
6283− * `Text.Pandoc`:
6284−
6285− + Added `getReader`, `getWriter` to `Text.Pandoc`.
6286− + `writers` is now an association list `(String, Writer)`.
6287− A `Writer` can be a `PureStringWriter`, an `IOStringWriter`, or
6288− an `IOByteStringWriter`. ALL writers are now in the 'writers'
6289− list, including the binary writers and FB2 writer. This allows
6290− code in `pandoc.hs` to be simplified.
6291− + Changed type of `readers`, so all readers are in IO.
6292− Users who want pure readers can still get them form the reader
6293− modules; this just affects the function `getReader` that looks up
6294− a reader based on the format name. The point of this change is to
6295− make it possible to print warnings from the parser.
6296−
6297− * `Text.Pandoc.Parsing`:
6298−
6299− + `Text.Parsec` now exports all Parsec functions used in pandoc code.
6300− No other module directly imports Parsec. This will make it easier
6301− to change the parsing backend in the future, if we want to.
6302− + `Text.Parsec` is used instead of `Text.ParserCombinators.Parsec`.
6303− + Export the type synonym `Parser`.
6304− + Export `widthsFromIndices`, `NoteTable'`, `KeyTable'`, `Key'`, `toKey'`,
6305− `withQuoteContext`, `singleQuoteStart`, `singleQuoteEnd`,
6306− `doubleQuoteStart`, `doubleQuoteEnd`, `ellipses`, `apostrophe`,
6307− `dash`, `nested`, `F(..)`, `askF`, `asksF`, `runF`, `lineBlockLines`.
6308− + `ParserState` is no longer an instance of `Show`.
6309− + Added `stateSubstitutions` and `stateWarnings` to `ParserState`.
6310− + Generalized type of `withQuoteContext`.
6311− + Added `guardEnabled`, `guardDisabled`, `getOption`.
6312− + Removed `failIfStrict`.
6313− + `lookupKeySrc` and `fromKey` are no longer exported.
6314−
6315− * `Data.Default` instances are now provided for `ReaderOptions`,
6316− `WriterOptions`, and `ParserState`. `Text.Pandoc` re-exports `def`.
6317− Now you can use `def` (which is re-exported by `Text.Pandoc`) instead
6318− of `defaultWriterOptions` (which is still defined). Closes #546.
6319−
6320− * `Text.Pandoc.Shared`:
6321−
6322− + Added `safeRead`.
6323− + Renamed `removedLeadingTrailingSpace` to `trim`,
6324− `removeLeadingSpace` to `triml`, and `removeTrailingSpace` to `trimr`.
6325− + Count `\r` as space in `trim` functions.
6326− + Moved `renderTags'` from HTML reader and `Text.Pandoc.SelfContained`
6327− to `Shared`.
6328− + Removed `failUnlessLHS`.
6329− + Export `compactify'`, formerly in Markdown reader.
6330− + Export `isTightList`.
6331− + Do not export `findDataFile`.
6332− + `readDataFile` now returns a strict ByteString.
6333− + Export `readDataFileUTF8` which returns a String, like the
6334− old `readDataFile`.
6335− + Export `fetchItem` and `openURL`.
6336−
6337− * `Text.Pandoc.ImageSize`: Use strict, not lazy bytestrings.
6338− Removed `readImageSize`.
6339−
6340− * `Text.Pandoc.UTF8`: Export `encodePath`, `decodePath`,
6341− `decodeArg`, `toString`, `fromString`, `toStringLazy`,
6342− `fromStringLazy`.
6343−
6344− * `Text.Pandoc.UTF8` is now an exposed module.
6345−
6346− * `Text.Pandoc.Biblio`:
6347−
6348− + csl parameter now a `String` rather than a `FilePath`.
6349− + Changed type of `processBiblio`. It is no longer in the IO monad.
6350− It now takes a `Maybe Style` argument rather than parameters for CSL
6351− and abbrev filenames. (`pandoc.hs` now calls the functions to parse
6352− the style file and add abbreviations.)
6353−
6354− * Markdown reader now exports `readMarkdownWithWarnings`.
6355−
6356− * `Text.Pandoc.RTF` now exports `writeRTFWithEmbeddedImages` instead of
6357− `rtfEmbedImage`.
6358−
6359− [bug fixes]
6360−
6361− * Make `--ascii` work properly with `--self-contained`. Closes #568.
6362−
6363− * Markdown reader:
6364−
6365− + Fixed link parser to avoid exponential slowdowns. Closes #620.
6366− Previously the parser would hang on input like this:
6367−
6368− [[[[[[[[[[[[[[[[[[hi
6369−
6370− We fixed this by making the link parser parser characters
6371− between balanced brackets (skipping brackets in inline code spans),
6372− then parsing the result as an inline list. One change is that
6373−
6374− [hi *there]* bud](/url)
6375−
6376− is now no longer parsed as a link. But in this respect pandoc behaved
6377− differently from most other implementations anyway, so that seems okay.
6378−
6379− + Look for raw html/latex blocks before tables.
6380− Otherwise the following gets parsed as a table:
6381−
6382− \begin{code}
6383− --------------
6384− -- My comment.
6385− \end{code}
6386−
6387− Closes #578.
6388−
6389− * RST reader:
6390−
6391− + Added support for `:target:` on `.. image::` blocks
6392− and substitutions.
6393− + Field list fixes:
6394−
6395− - Fixed field lists items with body beginning after a new line
6396− (Denis Laxalde).
6397− - Allow any char but ':' in names of field lists in RST reader
6398− (Denis Laxalde).
6399− - Don't allow line breaks in field names.
6400− - Require whitespace after field list field names.
6401− - Don't create empty definition list for metadata field lists.
6402− Previously a field list consisting only of metadata fields (author,
6403− title, date) would be parsed as an empty DefinitionList, which is
6404− not legal in LaTeX and not needed in any format.
6405−
6406− + Don't recognize inline-markup starts inside words.
6407− For example, `2*2 = 4*1` should not contain an emphasized
6408− section. Added test case for "Literal symbols". Closes #569.
6409− + Allow dashes as separator in simple tables. Closes #555.
6410− + Added support for `container`, `compound`, `epigraph`,
6411− `rubric`, `highlights`, `pull-quote`.
6412− + Added support for `.. code::`.
6413− + Made directive labels case-insensitive.
6414− + Removed requirement that directives begin at left margin.
6415− This was (correctly) not in earlier releases; docutils doesn't
6416− make the requirement.
6417− + Added support for `replace::` and `unicode::` substitutions.
6418− + Ignore unknown interpreted roles.
6419− + Renamed image parser to `subst`, since it now handles all
6420− substitution references.
6421−
6422− * Textile reader:
6423−
6424− + Allow newlines before pipes in table. Closes #654.
6425− + Fixed bug with list items containing line breaks.
6426− Now pandoc correctly handles hard line breaks inside list items.
6427− Previously they broke list parsing.
6428− + Implemented comment blocks.
6429− + Fixed bug affected words ending in hyphen.
6430− + Properly handle links with surrounding brackets.
6431− Square brackets need to be used when the link isn't surrounded by
6432− spaces or punctuation, or when the URL ending may be ambiguous.
6433− Closes #564.
6434− + Removed nullBlock. Better to know about parsing problems than
6435− to skip stuff when we get stuck.
6436− + Allow ID attributes on headers.
6437− + Textile reader: Avoid parsing dashes as strikeout.
6438− Previously the input
6439−
6440− text--
6441− text--
6442− text--
6443− text--
6444−
6445− would be parsed with strikeouts rather than dashes. This fixes
6446− the problem by requiring that a strikeout delimiting - not be
6447− followed by a -. Closes #631.
6448− + Expanded list of `stringBreakers`.
6449− This fixes a bug on input like "(_hello_)" which should
6450− be a parenthesized emphasized "hello".
6451− The new list is taken from the PHP source of textile 2.4.
6452− + Fixed autolinks. Previously the textile reader and writer
6453− incorrectly implented RST-style autolinks for URLs and email
6454− addresses. This has been fixed. Now an autolink is done this way:
6455− `"$":http://myurl.com`.
6456− + Fixed footnotes bug in textile. This affected notes occuring
6457− before punctuation, e.g. `foo[1].`. Closes #518.
6458−
6459− * LaTeX reader:
6460−
6461− + Better handling of citation commands.
6462− + Better handling of `\noindent`.
6463− + Added a 'try' in rawLaTeXBlock, so we can handle `\begin` without `{`.
6464− Closes #622.
6465− + Made `rawLaTeXInline` try to parse block commands as well. This
6466− is usually what we want, given how `rawLaTeXInline` is used in
6467− the markdown and textile readers. If a block-level LaTeX command
6468− is used in the middle of a paragraph (e.g. `\subtitle` inside a title),
6469− we can treat it as raw inline LaTeX.
6470− + Handle \slash command. Closes #605.
6471− + Basic `\enquote` support.
6472− + Fixed parsing of paragraphs beginning with a group. Closes #606.
6473− + Use curly quotes for bare straight quotes.
6474− + Support obeylines environment. Closes #604.
6475− + Guard against "begin", "end" in inlineCommand and
6476− blockCommand.
6477− + Better error messages for environments. Now it should tell you that
6478− it was looking for \end{env}, instead of giving "unknown parse error."
6479−
6480− * HTML reader:
6481−
6482− + Added HTML 5 tags to list of block-level tags.
6483− + HTML reader: Fixed bug in `htmlBalanced`, which
6484− caused hangs in parsing certain markdown input using
6485− strict mode.
6486− + Parse `<q>` as `Quoted DoubleQuote`.
6487− + Handle nested `<q>` tags properly.
6488− + Modified `htmlTag` for fewer false positives.
6489− A tag must start with `<` followed by `!`,`?`, `/`, or a letter.
6490− This makes it more useful in the wikimedia and markdown parsers.
6491−
6492− * DocBook reader: Support title in "figure" element. Closes #650.
6493−
6494− * MediaWiki writer:
6495−
6496− + Remove newline after `<br/>` in translation of `LineBreak`
6497− There's no particular need for a newline (other than making the
6498− generated MediaWiki source look nice to a human), and in fact
6499− sometimes it is incorrect: in particular, inside an enumeration, list
6500− items cannot have embedded newline characters. (Brent Yorgey)
6501− + Use `<code>` not `<tt>` for Code.
6502−
6503− * Man writer: Escape `-` as `\-`.
6504− Unescaped `-`'s become hyphens, while `\-`'s are left as ascii minus
6505− signs. That is preferable for use with command-line options. See
6506− <http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html>. Thanks
6507− to Andrea Bolognani for bringing the issue to our attention.
6508−
6509− * RST writer:
6510−
6511− + Improved line block output. Use nonbreaking spaces for
6512− initial indent (otherwise lost in HTML and LaTeX).
6513− Allow multiple paragraphs in a single line block.
6514− Allow soft breaks w continuations in line blocks.
6515− + Properly handle images with no alt text. Closes #678.
6516− + Fixed bug with links with duplicate text. We now (a) use anonymous
6517− links for links with inline URLs, and (b) use an inline link instead
6518− of a reference link if the reference link would require a label that
6519− has already been used for a different link. Closes #511.
6520− + Fixed hyperlinked images. Closes #611. Use `:target:`
6521− field when you have a simple linked image.
6522− + Don't add `:align: center` to figures.
6523−
6524− * Texinfo writer: Fixed internal cross-references.
6525− Now we insert anchors after each header, and use `@ref` instead of `@uref`
6526− for links. Commas are now escaped as `@comma{}` only when needed;
6527− previously all commas were escaped. (This change is needed, in part,
6528− because `@ref` commands must be followed by a real comma or period.) Also
6529− insert a blank line in from of `@verbatim` environments.
6530−
6531− * DocBook writer:
6532−
6533− + Made --id-prefix work in DocBook as well as HTML.
6534− Closes #607.
6535− + Don't include empty captions in figures. Closes #581.
6536−
6537− * LaTeX writer:
6538−
6539− + Use `\hspace*` for nonbreaking space after line break,
6540− since `~` spaces after a line break are just ignored.
6541− Closes #687.
6542− + Don't escape `_` in URLs or hyperref identifiers.
6543− + Properly escape strings inside \url{}. Closes #576.
6544− + Use `[fragile]` only for slides containing code rendered
6545− using listings. Closes #649.
6546− + Escape `|` as `\vert` in LaTeX math. This avoids a clash with
6547− highlighting-kate's macros, which redefine `|` as a short verbatim
6548− delimiter. Thanks to Björn Peemöller for raising this issue.
6549− + Use minipage rather than parbox for block containers in tables.
6550− This allows verbatim code to be included in grid tables.
6551− Closes #663.
6552− + Prevent paragraphs containing only linebreaks or spaces.
6553−
6554− * HTML writer:
6555−
6556− + Included `highlighting-css` for code spans, too.
6557− Previously it was only included if used in a code block. Closes #653.
6558− + Improved line breaks with `<dd>` tags. We now put a newline between
6559− `</dd>` and `<dd>` when there are multiple definitions.
6560− + Changed mathjax cdn url so it doesn't use https. (This caused
6561− problems when used with `--self-contained`.) See #609.
6562−
6563− * EPUB writer:
6564−
6565− + `--number-sections` now works properly.
6566− + Don't strip meta and link elements in epub metadata.
6567− Patch from aberrancy. Closes #589.
6568− + Fixed a couple validation bugs.
6569− + Use ch001, ch002, etc. for chapter filenames. This improves sorting
6570− of chapters in some readers, which apparently sort ch2 after ch10.
6571− Closes #610.
6572−
6573− * ODT writer: properly set title property (Arlo O'Keeffe).
6574−
6575− * Docx writer:
6576−
6577− + Fixed bug with nested lists. Previously a list like
6578−
6579− 1. one
6580− - a
6581− - b
6582− 2. two
6583−
6584− would come out with a bullet instead of "2."
6585− Thanks to Russell Allen for reporting the bug.
6586− + Use `w:cr` in `w:r` instead of `w:br` for linebreaks.
6587− This seems to fix a problem viewing pandoc-generated
6588− docx files in LibreOffice.
6589− + Use integer ids for bookmarks. Closes #626.
6590− + Added nsid to abstractNum elements. This helps when merging
6591− word documents with numbered or bulleted lists. Closes #627.
6592− + Use separate footnotes.xml for notes.
6593− This seems to help LibreOffice convert the file, even though
6594− it was valid docx before. Closes #637.
6595− + Use rIdNN identifiers for r:embed in images.
6596− + Avoid reading image files again when we've already processed them.
6597− + Fixed typo in `referenc.docx` that prevented image captions from
6598− working. Thanks to Huashan Chen.
6599−
6600− * `Text.Pandoc.Parsing`:
6601−
6602− + Fixed bug in `withRaw`, which didn't correctly handle the case
6603− where nothing is parsed.
6604− + Made `emailAddress` parser more correct. Now it is based on RFC 822,
6605− though it still doesn't implement quoted strings in email addresses.
6606− + Revised URI parser. It now allows many more schemes, allows
6607− uppercase URIs, and better handles trailing punctuation and
6608− trailing slashes in bare URIs. Added many tests.
6609− + Simplified and improved singleQuoteStart. This makes `'s'`, `'l'`,
6610− etc. parse properly. Formerly we had some English-centric heuristics,
6611− but they are no longer needed. Closes #698.
6612−
6613− * `Text.Pandoc.Pretty`: Added wide punctuation range to `charWidth`.
6614− This fixes bug with Chinese commas in markdown and reST tables, and
6615− a bug that caused combining characters to be dropped.
6616−
6617− * `Text.Pandoc.MIME`: Added MIME types for .wof and .eot. Closes #640.
6618−
6619− * `Text.Pandoc.Biblio`:
6620−
6621− + Run `mvPunc` and `deNote` on metadata too.
6622− This fixed a bug with notes on titles using footnote styles.
6623− + Fixed bug in fetching CSL files from CSL data directory.
6624−
6625− * `pandoc.hs`: Give correct value to `writerSourceDirectory` when a URL
6626− is provided. It should be the URL up to the path.
6627−
6628− * Fixed/simplified diff output for tests.
6629− Biblio: Make sure mvPunc and deNote run on metadata too.
6630− This fixed a bug with notes on titles using footnote styles.
6631−
6632− [under the hood improvements]
6633−
6634− * We no longer depend on `utf8-string`. Instead we use functions
6635− defined in `Text.Pandoc.UTF8` that use `Data.Text`'s conversions.
6636−
6637− * Use `safeRead` instead of using `reads` directly (various modules).
6638−
6639− * "Implicit figures" (images alone in a paragraph) are now handled
6640− differently. The markdown reader gives their titles the prefix `fig:`; the
6641− writers look for this before treating the image as a figure. Though this
6642− is a bit of a hack, it has two advantages: (i) implicit figures can be
6643− limited to the markdown reader, and (ii) they can be deactivated by turning
6644− off the `implicit_figures` extension.
6645−
6646− * `catch` from `Control.Exception` is now used instead of the
6647− old Preface `catch`.
6648−
6649− * `Text.Pandoc.Shared`: Improved algorithm for `normalizeSpaces`
6650− and `oneOfStrings` (which is now non-backtracking).
6651−
6652− * `Text.Pandoc.Biblio`: Remove workaround for `toCapital`.
6653− Now citeproc-hs is fixed upstream, so this is no longer needed.
6654− Closes #531.
6655−
6656− * Textile reader: Improved speed of `hyphenedWords`.
6657− This speeds up the textile reader by about a factor of 4.
6658−
6659− * Use `Text.Pandoc.Builder` in RST reader, for more flexibility,
6660− better performance, and automatic normalization.
6661−
6662− * Major rewrite of markdown reader:
6663−
6664− + Use `Text.Pandoc.Builder` instead of lists. This also
6665− means that everything is normalized automatically.
6666− + Move to a one-pass parsing strategy, returning values in the reader
6667− monad, which are then run (at the end of parsing) against the final
6668− parser state.
6669−
6670− * In HTML writer, we now use `toHtml` instead of pre-escaping.
6671− We work around the problem that blaze-html unnecessarily escapes `'`
6672− by pre-escaping just the `'` characters, instead of the whole string.
6673− If blaze-html later stops escaping `'` characters, we can simplify
6674− `strToHtml` to `toHtml`. Closes #629.
6675−
6676− * Moved code for embedding images in RTFs from `pandoc.hs` to the
6677− RTF writer (which now exports `writeRTFWithEmbeddedImages`).
6678−
6679− * Moved citation processing from `pandoc.hs` into the readers.
6680− This makes things more convenient for library users.
6681−
6682− * The man pages are now built by an executable `make-pandoc-man-pages`,
6683− which has its own stanza in the cabal file so that dependencies can be
6684− handled by Cabal. Special treatment in `Setup.hs` ensures that this
6685− executable never gets installed; it is only used to create the man pages.
6686−
6687− * The cabal file has been modified so that the pandoc library is used
6688− in building the pandoc executable. (This required moving `pandoc.hs`
6689− from `src` to `.`.) This cuts compile time in half.
6690−
6691− * `-O2` is no longer used in building pandoc. The performance improvement
6692− it yields is so slight that it is not worth it. (Measured with
6693− benchmarks on ghc 7.4.)
6694−
6695− * The `executable` and `library` flags have been removed.
6696−
6697− * `-threaded` has been removed from ghc-options.
6698−
6699− * Version bounds of dependencies have been raised, and the
6700− `blaze_html_0_5` flag now defaults to True. Pandoc now compiles on
6701− GHC 7.6.
6702−
6703− * We now require base >= 4.2.
6704−
6705− * Integrated the benchmark program into cabal. One can now do:
6706−
6707− cabal configure --enable-benchmarks && cabal build
6708− cabal bench --benchmark-option='markdown' --benchmark-option='-s 20'
6709−
6710− The benchmark now uses README + testsuite, so benchmark results
6711− from older versions aren't comparable.
6712−
6713− * Integrated test suite with cabal.
6714− To run tests, configure with `--enable-tests`, then `cabal test`.
6715− You can specify particular tests using `--test-options='-t markdown'`.
6716− No output is shown unless tests fail. The Haskell test modules
6717− have been moved from `src/` to `tests/`.
6718−
6719− * Moved all data files and templates to the `data/` subdirectory.
6720−
6721− * Added an `embed_data_files` cabal flag. This causes all
6722− data files to be embedded in the binary, so that the binary
6723− is self-sufficient and can be relocated anywhere, copied on
6724− a USB key, etc. The Windows installer now uses this.
6725− (Since we no longer have the option to build the executable
6726− without the library, this is the only way to get a relocatable
6727− binary on Windows.)
6728−
6729− * Removed pcre3.dll from windows package.
6730− It isn't needed unless highlighting-kate is compilled with the
6731− `pcre-light` flag. By default, regex-prce-builtin is used.
6732−
6733−
6734−pandoc (1.9.4.2)
6735−
6736− * Don't encode/decode file paths if base >= 4.4.
6737− Prior to base 4.4, filepaths and command line arguments were treated
6738− as unencoded lists of bytes, not unicode strings, so we had to work
6739− around that by encoding and decoding them. This commit adds CPP
6740− checks for the base version that intelligibly enable encoding/decoding
6741− when needed. Fixes a bug with multilingual filenames when pandoc was
6742− compiled with ghc 7.4 (#540).
6743−
6744− * Don't generate an empty H1 after hrule slide breaks.
6745− We now use a slide-level header with contents `[Str "\0"]` to mark
6746− an hrule break. This avoids creation of an empty H1 in these
6747− contexts. Closes #484.
6748−
6749− * Docbook reader: Added support for "bold" emphasis. Thanks to Mauro Bieg.
6750−
6751− * In make_osx_package.sh, ensure citeproc-hs is built with the
6752− embed_data_files flag.
6753−
6754− * MediaWiki writer: Avoid extra blank lines after sublists (Gavin Beatty).
6755−
6756− * ConTeXt writer: Don't escape `&`, `^`, `<`, `>`, `_`,
6757− simplified escapes for `}` and `{` to `\{` and `\}` (Aditya Mahajan).
6758−
6759− * Fixed handling of absolute URLs in CSS imports with `--self-contained`.
6760− Closes #535.
6761−
6762− * Added webm to mime types. Closes #543.
6763−
6764− * Added some missing exports and tests to the cabal file
6765− (Alexander V Vershilov).
6766−
6767− * Compile with `-rtsopts` and `-threaded` by default.
6768−
6769−pandoc (1.9.4.1)
6770−
6771− * Markdown reader: Added `cf.` and `cp.` to list of likely abbreviations.
6772−
6773− * LaTeX template: Added `linkcolor`, `urlcolor` and `links-as-notes`
6774− variables. Make TOC links black.
6775−
6776− * LaTeX template improvements.
6777−
6778− + Don't print date unless one is given explicitly in the document.
6779− + Simplified templates.
6780− + Use fontenc [T1] by default, and lmodern.
6781− + Use microtype if available.
6782−
6783− * Biblio:
6784−
6785− + Add comma to beginning of bare suffix, e.g. `@item1 [50]`.
6786− Motivation: `@item1 [50]` should be as close as possible to
6787− `[@item1, 50]`.
6788− + Added workaround for a bug in citeproc-hs 0.3.4 that causes footnotes
6789− beginning with a citation to be empty. Closes #531.
6790−
6791− * Fixed documentation on mixed lists. Closes #533.
6792−
6793−pandoc (1.9.4)
6794−
6795− * Simplified `Text.Pandoc.Biblio` and fixed bugs with citations inside
6796− footnotes and captions. We now handle note citations by inserting
6797− footnotes during initial citation processing, and doing a separate
6798− pass later to remove notes inside notes.
6799−
6800− * Added 'zenburn' highlight style from highlighting-kate.
6801−
6802− * Added Slideous writer. Slideous is an HTML + javascript slide show
6803− format, similar to Slidy, but works with IE 7. (Jonas Smedegaard)
6804−
6805− * LaTeX writer:
6806−
6807− + Ensure we don't have extra blank lines at ends of cells.
6808− This can cause LaTeX errors, as they are interpreted as new paragraphs.
6809− + More consistent interblock spacing.
6810− + Require highlighting-kate >= 0.5.1, for proper highlighted inline
6811− code in LaTeX. Closes #527.
6812− + Ensure that a Verbatim at the end of a footnote is followed by
6813− a newline. (Fixes a regression in the previous version.)
6814− + In default template, use black for internal links and TOC.
6815− Added commented-out code to use footnotes for links, as would
6816− be suitable in print output.
6817−
6818− * Beamer writer: When `--incremental` is used, lists inside
6819− a block quote should appear all at once. (This makes Beamer
6820− output consistent with the HTML slide show formats.)
6821−
6822− * ConTeXt writer:
6823−
6824− + Escape `%` as `\letterpercent{}` not `\letterpercent `,
6825− to avoid gobbling spaces after the `%` sign.
6826− + Ensure space after `\stopformula`.
6827−
6828− * Markdown writer:
6829−
6830− + Use `:` form instead of `~` in definition lists, for better
6831− compatibility with other markdown implementations.
6832− + Don't wrap the term, because it breaks definition lists.
6833− + Use a nonzero space to prevent false recognition
6834− of list marker in ordered lists. Closes #516.
6835−
6836− * Org writer: Add space before language name. Closes #523.
6837−
6838− * Docx writer: Simplified bullet characters so they work properly
6839− with Word 2007. Closes #520.
6840−
6841− * LaTeX reader: Support `\centerline`.
6842−
6843− * RST reader: handle figures. Closes #522.
6844−
6845− * Textile reader: fix for `<notextile>` and `==`. Closes #517.
6846− (Paul Rivier)
6847−
6848−pandoc (1.9.3)
6849−
6850− * Fixed bug in `fromEntities`. The previous version would turn
6851− `hi & low you know;` into `hi &`.
6852−
6853− * HTML reader:
6854−
6855− + Don't skip nonbreaking spaces.
6856− Previously a paragraph containing just `&nbsp;` would be rendered
6857− as an empty paragraph. Thanks to Paul Vorbach for pointing out the bug.
6858− + Support `<col>` and `<caption>` in tables. Closes #486.
6859−
6860− * Markdown reader:
6861−
6862− + Don't recognize references inside delimited code blocks.
6863− + Allow list items to begin with lists.
6864−
6865− * Added basic docbook reader (John MacFarlane and Mauro Bieg).
6866−
6867− * LaTeX reader:
6868−
6869− + Handle `\bgroup`, `\egroup`, `\begingroup`, `\endgroup`.
6870− + Control sequences can't be followed by a letter.
6871− This fixes a bug where `\begingroup` was parsed as `\begin`
6872− followed by `group`.
6873− + Parse 'dimension' arguments to unknown commands. e.g. `\parindent0pt`
6874− + Make `\label` and `\ref` sensitive to `--parse-raw`.
6875− If `--parse-raw` is selected, these will be parsed as raw latex
6876− inlines, rather than bracketed text.
6877− + Don't crash on unknown block commands (like `\vspace{10pt}`)
6878− inside `\author`; just skip them. Closes #505.
6879−
6880− * Textile reader:
6881−
6882− + Implemented literal escapes with `==` and `<notextile>`. Closes #473.
6883− + Added support for LaTeX blocks and inlines (Paul Rivier).
6884− + Better conformance to RedCloth inline parsing (Paul Rivier).
6885− + Parse '+text+' as emphasized (should be underlined, but this
6886− is better than leaving literal plus characters in the output.
6887−
6888− * Docx writer: Fixed multi-paragraph list items. Previously they each
6889− got a list marker. Closes #457.
6890−
6891− * LaTeX writer:
6892−
6893− + Added `--no-tex-ligatures` option to avoid replacing
6894− quotation marks and dashes with TeX ligatures.
6895− + Use `fixltx2e` package to provide '\textsubscript'.
6896− + Improve spacing around LaTeX block environments:
6897− quote, verbatim, itemize, description, enumerate.
6898− Closes #502.
6899− + Use blue instead of pink for URL links in latex/pdf output.
6900−
6901− * ConTeXt writer: Fixed escaping of `%`.
6902− In text, `%` needs to be escaped as `\letterpercent`, not `\%`
6903− Inside URLs, `%` needs to be escaped as `\%`
6904− Thanks to jmarca and adityam for the fix. Closes #492.
6905−
6906− * Texinfo writer: Escape special characters in node titles.
6907− This fixes a problem pointed out by Joost Kremers. Pandoc used
6908− to escape an '@' in a chapter title, but not in the corresponding
6909− node title, leading to invalid texinfo.
6910−
6911− * Fixed document encoding in texinfo template.
6912− Resolves Debian Bug #667816.
6913−
6914− * Markdown writer:
6915−
6916− + Don't force delimited code blocks to be flush left.
6917− Fixes bug with delimited code blocks inside lists etc.
6918− + Escape `<` and `$`.
6919−
6920− * LaTeX writer: Use `\hyperref[ident]{text}` for internal links.
6921− Previously we used `\href{\#ident}{text}`, which didn't work on
6922− all systems. Thanks to Dirk Laurie.
6923−
6924− * RST writer: Don't wrap link references. Closes #487.
6925−
6926− * Updated to use latest versions of blaze-html, mtl.
6927−
6928−
6929−pandoc (1.9.2)
6930−
6931− * LaTeX reader:
6932−
6933− + Made `lstlisting` work as a proper verbatim environment.
6934− + Fixed bug parsing LaTeX tables with one column.
6935−
6936− * LaTeX writer:
6937−
6938− + Use `{}` around `ctable` caption, so that formatting can be used.
6939− + Don't require eurosym package unless document has a €.
6940−
6941− * LaTeX template: Added variables for `geometry`, `romanfont`,
6942− `sansfont`, `mathfont`, `mainfont` so users can more easily
6943− customize fonts.
6944−
6945− * PDF writer:
6946−
6947− + Run latex engine at least two times, to ensure
6948− that PDFs will have hyperlinked bookmarks.
6949− + Added PDF metadata (title,author) in LaTeX standalone + PDF output.
6950−
6951− * Texinfo writer: retain directories in image paths. (Peter Wang)
6952−
6953− * RST writer: Better handling of inline formatting, in accord
6954− with docutils' "inline markup recognition rules" (though we don't
6955− implement the unicode rules fully). Now `hi*there*hi` gets
6956− rendered properly as `hi\ *there*\ hi`, and unnecessary
6957− `\ ` are avoided around `:math:`, `:sub:`, `:sup:`.
6958−
6959− * RST reader:
6960−
6961− + Parse `\ ` as null, not escaped space.
6962− + Allow `` :math:`...` `` even when not followed by blank
6963− or `\`. This does not implement the complex rule docutils follows,
6964− but it should be good enough for most purposes.
6965− + Add support for the rST default-role directive. (Greg Maslov)
6966−
6967− * Text.Pandoc.Parsing: Added `stateRstDefaultRole` field to `ParserState`.
6968− (Greg Maslov)
6969−
6970− * Markdown reader: Properly handle citations nested in other inline
6971− elements.
6972−
6973− * Markdown writer: don't replace empty alt in image with "image".
6974−
6975− * DZSlides: Updated template.html and styles in default template.
6976− Removed bizarre CSS for `q` in dzslides template.
6977−
6978− * Avoid repeated `id` attribute in section and header in HTML slides.
6979−
6980− * README improvements: new instructions on internal links,
6981− removed misleading note on reST math.
6982−
6983− * Build system:
6984−
6985− + Fixed Windows installer so that dzslides works.
6986− + Removed stripansi.sh.
6987− + Added .travis.yml for Travis continuous integration support..
6988− + Fixed upper bound for zlib (Sergei Trofimovich).
6989− + Fixed upper bound for test-framework.
6990− + Updated haddocks for haddock-2.10 (Sergei Trofimovich).
6991−
6992−pandoc (1.9.1.2)
6993−
6994− * Added `beamer+lhs` as output format.
6995−
6996− * Don't escape `<` in `<style>` tags with `--self-contained`.
6997− This fixes a bug which prevented highlighting from working
6998− when using `--self-contained`.
6999−
7000− * PDF: run latex engine three times if `--toc` specified.
7001− This fixes page numbers in the table of contents.
7002−
7003− * Docx writer: Added TableNormal style to tables.
7004−
7005− * LaTeX math environment fixes. `aligned` is now used instead of
7006− the nonexistent `aligned*`. `multline` instead of the nonexistent
7007− `multiline`.
7008−
7009− * LaTeX writer: Use `\textasciitilde` for literal `~`.
7010−
7011− * HTML writer: Don't escape contents of EQ tags with --gladtex.
7012− This fixes a regression from 1.8.
7013−
7014− * Use `<q>` tags for Quoted items for HTML5 output.
7015− The quote style can be changed by modifying the template
7016− or including a css file. A default quote style is included.
7017−
7018− * LaTeX reader: Fixed accents (\~{a}, `\c{c}`).
7019− Correctly handle \^{}. Support "minted" as a LaTeX verbatim block.
7020−
7021− * Updated LaTeX template for better language support.
7022− Use `polyglossia` instead of `babel` with xetex.
7023− Set `lang` as documentclass option.
7024− `\setmainlanguage` will use the last of a comma-separated
7025− list of languages. Thanks to François Gannaz.
7026−
7027− * Fixed default LaTeX template so `\euro` and `€` work. The
7028− `eurosym` package is needed if you are using pdflatex.
7029−
7030− * Fixed escaping of period in man writer (thanks to Michael Thompson).
7031−
7032− * Fixed list label positions in beamer.
7033−
7034− * Set `mainlang` variable in context writer.
7035− This parallels behavior of latex writer. `mainlang` is the last
7036− of a comma-separated list of languages in lang.
7037−
7038− * EPUB language metadat: convert e.g. `en_US` from locale to `en-US`.
7039−
7040− * Changed `-V` so that you can specify a key without a value.
7041− Such keys get the value `true`.
7042−
7043− * Fixed permissions on installed man pages - thanks Magnus Therning.
7044−
7045− * Windows installer: require XP or higher. The installer is
7046− now compiled on a Windows 7 machine, which fixes a problem
7047− using citation functions on Windows 7.
7048−
7049− * OSX package: Check for 64-bit Intel CPU before installing.
7050−
7051−pandoc (1.9.1.1)
7052−
7053− * Better handling of raw latex environments in markdown. Now
7054−
7055− \begin{equation}
7056− a_1
7057− \end{equation}
7058−
7059− turns into a raw latex block as expected.
7060−
7061− * Improvements to LaTeX reader:
7062−
7063− + Skip options after block commands.
7064− + Correctly handle `{\\}` in braced.
7065− + Added a needed 'try'.
7066− + Citations: add `, ` to suffix if it doesn't start with space or
7067− punctuation. Otherwise we get no space between the year and the
7068− suffix in author-date styles.
7069−
7070− * Added two needed data files for S5. This fixes a problem with
7071− `pandoc -t s5 --self-contained`. Also removed `slides.min.js`,
7072− which was no longer being used.
7073−
7074− * Fixed some minor problems in `reference.docx`:
7075− name on "Date" style, `xCs` instead of `xIs`.
7076−
7077− * Fixed a problem creating docx files using a reference docx
7078− modified using Word. The problem seems to be that Word
7079− modifies `_rels/.rels`, changing the Type of the Relationship to
7080− `docProps/core.xml`. Pandoc now changes this back to the correct
7081− value if it has been altered, fixing the problem.
7082−
7083− * Fixed html5 template so it works properly with highlighting.
7084−
7085−pandoc (1.9.1)
7086−
7087− * LaTeX reader:
7088−
7089− + Fixed regression in 1.9; properly handle escaped $ in latex math.
7090− + Put LaTeX verse environments in blockquotes.
7091−
7092− * Markdown reader:
7093−
7094− + Limit nesting of strong/emph. This avoids exponential lookahead
7095− in parasitic cases, like `a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**`.
7096− + Improved attributes syntax (inn code blocks/spans):
7097− (1) Attributes can contain line breaks. (2) Values in key-value
7098− attributes can be surrounded by either double or single quotes, or
7099− left unquoted if they contain no spaces.
7100−
7101− * Don't wrap headers in markdown or RST writers.
7102−
7103− * Added `stateMaxNestingLevel` to `ParserState`.
7104− We set this to 6, so you can still have `Emph` inside `Emph`,
7105− just not indefinitely.
7106−
7107− * More efficient implementation of `nowrap` in `Text.Pandoc.Pretty`.
7108−
7109− * `Text.Pandoc.PDF`: Only run latex twice if `\tableofcontents`
7110− is present.
7111−
7112− * Require highlighting-kate >= 0.5.0.2, texmath >= 0.6.0.2.
7113−
7114−pandoc (1.9.0.5)
7115−
7116− * Changed cabal file so that build-depends for the test program
7117− are not required unless the tests flag is used.
7118−
7119− * LaTeX writer: insert `{}` between adjacent hyphens so they don't
7120− form ligatures (dashes) in code spans.
7121−
7122−pandoc (1.9.0.4)
7123−
7124− * Raised version bound on test-framework to avoid problems
7125− compiling tests on GHC 7.4.1.
7126−
7127− * LaTeX reader: Use raw LaTeX as fallback inline text for Cites,
7128− so citations don't just disappear unless you process with
7129− citeproc. Ignore `\bibliographystyle`, `\nocite`.
7130−
7131− * Simplified tex2pdf; it will always run latex twice to
7132− resolve table of contents and hyperrefs.
7133−
7134−pandoc (1.9.0.3)
7135−
7136− * Require Cabal >= 1.10.
7137− * Tweaked cabal file to meet Cabal 1.10 requirements.
7138−
7139−pandoc (1.9.0.2)
7140−
7141− * Allow build with json 0.4 or 0.5. Otherwise we can't build with
7142− ghc 6.12.
7143−
7144−pandoc (1.9)
7145−
7146− [new features]
7147−
7148− * Added a Microsoft Word `docx` writer. The writer includes support
7149− for highlighted code and for math (which is converted from TeX to OMML,
7150− Office's native math markup language, using texmath's new OMML module).
7151− A new option `--reference-docx` allows the user to customize the
7152− styles.
7153−
7154− * Added an `asciidoc` writer (<http://www.methods.co.nz/asciidoc/>).
7155−
7156− * Better support for slide shows:
7157−
7158− + Added a `dzslides` writer. DZSlides is a lightweight HTML5/javascript
7159− slide show format due to Paul Rouget (<http://paulrouget.com/dzslides/>).
7160−
7161− + Added a LaTeX `beamer` writer. Beamer is a LaTeX package for creating
7162− slide presentations.
7163−
7164− + New, flexible rules for dividing documents into sections and slides
7165− (see the "Structuring the slide show" in the User's Guide). These
7166− are backward-compatible with the old rules, but they allow slide
7167− shows to be organized into sections and subsections containing
7168− multiple slides.
7169−
7170− + A new `--slide-level` option allows users to override defaults
7171− and select a slide level below the first header level with content.
7172−
7173− * A new `--self-contained` option produces HTML output that does not
7174− depend on an internet connection or the presence of any external
7175− files. Linked images, CSS, and javascript is downloaded (or fetched
7176− locally) and encoded in `data:` URIs. This is useful for making portable
7177− `HTML slide shows. The --offline` option has been deprecated and is now
7178− `treated as a synonym or --self-contained`.
7179−
7180− * Support for PDF output:
7181−
7182− + Removed the old `markdown2pdf`.
7183− + `pandoc` can now create PDFs (assuming you have latex and a set of
7184− appropriate packages installed): just specify an output file with the
7185− `.pdf` extension.
7186− + A new option `--latex-engine` allows you to specify `pdflatex`,
7187− `xelatex`, or `lualatex` as the processor.
7188−
7189− * Highlighting changes:
7190−
7191− + Syntax highlighting is now a standard feature; the `highlighting`
7192− flag is no longer needed when compiling.
7193− + A new `--no-highlight` option allows highlighting to be disabled.
7194− + Highlighting now works in `docx`, `latex`, and `epub`, as well as
7195− `html`, `html5`, `dzslides`, `s5`, and `slidy`.
7196− + A new `--highlight-style` option selects between various highlighting
7197− color themes.
7198−
7199− * Internal links to sections now work in ConTeXt and LaTeX as well as HTML.
7200−
7201− * LaTeX `\include` and `\usepackage` commands are now processed,
7202− provided the files are in the working directory.
7203−
7204− * EPUB improvements:
7205−
7206− + Internal and external links now work in EPUB.
7207− + Raw HTML is allowed.
7208− + New `--epub-embed-font` option.
7209− + Customizable templates for EPUB pages offer more control over
7210− formatting: `epub-page.html`, `epub-coverimage.html`,
7211− `epub-titlepage.html`.
7212−
7213− * `--mathml` now works with DocBook.
7214−
7215− * Added support for math in RST reader and writer. Inline math uses the
7216− `` :math:`...` `` construct. Display math uses
7217−
7218− .. math:: ...
7219−
7220− or if the math is multiline,
7221−
7222− .. math::
7223−
7224− ...
7225−
7226− These constructions are now supported now by `rst2latex.py`.
7227−
7228− * GitHub syntax for fenced code blocks is supported in pandoc's
7229− markdown. You can now write
7230−
7231− ```ruby
7232− x = 2
7233− ```
7234−
7235− instead of
7236−
7237− ~~~ {.ruby}
7238− x = 2
7239− ~~~~
7240−
7241− * Easier scripting: a new `toJsonFilter` function makes it easier to
7242− write Haskell scripts to manipulate the Pandoc AST.
7243−
7244− [behavior changes]
7245−
7246− * Fixed parsing of consecutive lists in markdown.
7247− Pandoc previously behaved like Markdown.pl for consecutive
7248− lists of different styles. Thus, the following would be parsed
7249− as a single ordered list, rather than an ordered list followed
7250− by an unordered list:
7251−
7252− 1. one
7253− 2. two
7254−
7255− - one
7256− - two
7257−
7258− This change makes pandoc behave more sensibly, parsing this as
7259− two lists. Any change in list type (ordered/unordered) or in
7260− list number style will trigger a new list. Thus, the following
7261− will also be parsed as two lists:
7262−
7263− 1. one
7264− 2. two
7265−
7266− a. one
7267− b. two
7268−
7269− Since we regard this as a bug in Markdown.pl, and not something
7270− anyone would ever rely on, we do not preserve the old behavior
7271− even when `--strict` is selected.
7272−
7273− * Dashes work differently with `--smart`: `---` is always em-dash,
7274− and `--` is always en-dash. Pandoc no longer tries to guess when
7275− `-` should be en-dash. *Note:* This may change how existing documents
7276− look when processed with pandoc. A new option, `--old-dashes`,
7277− is provided for legacy documents.
7278−
7279− * The markdown writer now uses setext headers for levels 1-2.
7280− The old behavior (ATX headers for all levels) can be restored
7281− using the new `--atx-headers` option.
7282−
7283− * Links are now allowed in markdown image captions. They are also
7284− allowed in links, but will appear there as regular text. So,
7285−
7286− [link with [link](/url)](/url)
7287−
7288− will turn into
7289−
7290− <p><a href="/url">link with link</a></p>
7291−
7292− * Improved handling of citations using `citeproc-hs-0.3.4`.
7293− Added `--citation-abbreviations` option.
7294−
7295− * Citation keys can no longer end with a punctuation character.
7296− This means that `@item1.` will be parsed as a citation with key
7297− 'item1', followed by a period, instead of a citation with key
7298− 'item1.', as was the case previously.
7299−
7300− * In HTML output, citations are now put in a span with class `citation`.
7301−
7302− * The markdown reader now recognizes DocBook block and inline tags.
7303− It was always possible to include raw DocBook tags in a markdown
7304− document, but now pandoc will be able to distinguish block from
7305− inline tags and behave accordingly. Thus, for example,
7306−
7307− <sidebar>
7308− hello
7309− </sidebar>
7310−
7311− will not be wrapped in `<para>` tags.
7312−
7313− * The LaTeX parser has been completely rewritten; it is now much more
7314− accurate, robust, and extensible. However, there are two important
7315− changes in how it treats unknown LaTeX. (1) Previously, unknown
7316− environments became BlockQuote elements; now, they are treated
7317− as "transparent", so `\begin{unknown}xyz\end{unknown}` is the
7318− same as `xyz`. (2) Previously, arguments of unknown commands
7319− were passed through with their braces; now the braces are stripped
7320− off.
7321−
7322− * `--smart` is no longer selected automatically with `man` output.
7323−
7324− * The deprecated `--xetex` option has been removed.
7325−
7326− * The `--html5`/`-5` option has been deprecated. Use `-t html5`
7327− instead. `html5` and `html5+lhs` are now separate output formats.
7328−
7329− * Single quotes are no longer escaped in HTML output. They do not
7330− need to be escaped outside of attributes.
7331−
7332− * Pandoc will no longer transform leading newlines in code
7333− blocks to `<br/>` tags.
7334−
7335− * The ODT writer now sizes images appropriately, using the image
7336− size and DPI information embedded in the image.
7337−
7338− * `--standalone` is once again implicitly for a non-text output format
7339− (ODT, EPUB). You can again do `pandoc test.txt -o test.odt`
7340− and get a standalone ODT file.
7341−
7342− * The Docbook writer now uses `<sect1>`, `<sect2>`, etc. instead of
7343− `<section>`.
7344−
7345− * The HTML writer now uses `<del>` for strikeout.
7346−
7347− * In HTML output with `--section-divs`, the classes `section` and
7348− `level[1,2,..6]` are put on the `div` tags so they can be styled.
7349− In HTML 5 output with `--section-divs`, the classes
7350− `level[1,2,...6]` are put on `section` tags.
7351−
7352− * EPUB writer changes:
7353−
7354− + The `lang` variable now sets the language
7355− in the metadata (if it is not set, we default to the locale).
7356− + EPUB: UTF-8 is used rather than decimal entities.
7357−
7358− * Added `titleslide` class to title slide in S5 template.
7359−
7360− * In HTML, EPUB, and docx metadata, the date is normalized into
7361− YYYY-MM-DD format if possible. (This is required for validation.)
7362−
7363− * Attributes in highlighted code blocks are now preserved in HTML.
7364− The container element will have the classes, id, and key-value attributes
7365− you specified in the delimited code block. Previously these were stripped
7366− off.
7367−
7368− * The reference backlink in the HTML writer no longer has a special
7369− `footnoteBacklink` class.
7370−
7371− * The HTML template has been split into `html` and `html5` templates.
7372−
7373− * Author and date are treated more consistently in HTML templates.
7374− Authors are now `<h2>`, date `<h3>`.
7375−
7376− * URLs are hyphenated in the ConTeXt writer (B. Scott Michel).
7377−
7378− * In `Text.Pandoc.Builder`, `+++` has been replaced by `<>`.
7379−
7380− [bug fixes]
7381−
7382− * Better support for combining characters and East Asian wide characters
7383− in markdown and reST.
7384−
7385− * Better handling of single quotes with `--smart`.
7386− Previously `D'oh l'*aide*` would be parsed with left and right single
7387− quotes instead of apostrophes. This kind of error is now fixed.
7388−
7389− * Highlighting: Use `reads` instead of `read` for better error handling.
7390− Fixes crash on `startNum="abc"`.
7391−
7392− * Added blank comment after directives in rst template.
7393−
7394− * Unescape entities in citation `refId`. The `refId`s coming
7395− from citeproc contain XML numeric entities, and these don't match with the
7396− citation keys parsed by pandoc. Solution is to unescape them.
7397−
7398− * HTML reader: Fixed bug parsing tables with both thead and tbody.
7399−
7400− * Markdown reader:
7401−
7402− + Better handling of escapes in link URLs and titles.
7403− + Fixed backslash escapes in reference links.
7404− + Fixed bug in table/hrule parsing, by checking that the top
7405− line of a table is not followed by a blank line. This bug caused
7406− slowdowns on some files with hrules and tables, as pandoc tried to
7407− interpret the hrules as the tops of multiline tables.
7408− + Fixed bug in code block attribute parser. Previously the ID attribute
7409− got lost if it didn't come first. Now attributes can come in any order.
7410−
7411− * RST reader: allow footnotes followed by newline without space characters.
7412−
7413− * LaTeX reader:
7414−
7415− + Ignore empty groups {}, { }.
7416− + LaTeX reader: Handle \@.
7417− + LaTeX reader: Don't crash on commands like `\itemsep`.
7418− + LaTeX reader: Better handling of letter environments.
7419−
7420− * RST writer: Fixed bug involving empty table cells. isSimple was being
7421− calculated in a way that assumed there were no non-empty cells.
7422−
7423− * ConTeXt writer:
7424−
7425− + Made `--toc` work even without `--number-sections`.
7426− + Escape # in link URLs.
7427− + Use buffering for footnotes containing code blocks.
7428− + Changed 'descr' to 'description', fixed alignment.
7429−
7430− * LaTeX writer:
7431−
7432− + Escape euro character.
7433− + Don't escape ~ inside href{...}.
7434− + Escape # in href URLs.
7435− + Improved detection of book classes. We now check the
7436− `documentclass` variable, and if that is not set, we look through
7437− the template itself. Also, we have added the KOMA classes scrreprt
7438− and scrbook. You can now make a book using
7439− `pandoc -V documentclass:book mybook.txt -o mybook.pdf`
7440− + LHS files now set the "listings" variable, so that the definition
7441− of the `code` environment will be included in the template.
7442− + Links are colored blue by default (this can be changed by
7443− modifying `hyperref` settings in the template).
7444− + Added `lang` variable to LaTeX template.
7445−
7446− * HTML writer:
7447−
7448− + Fixed bug in HTML template with html5 and mathml.
7449− + Don't use self-closing img, br, hr tags for HTML5.
7450− + Use `<section>` for footnotes if HTML5.
7451− + Update HTML templates to use Content-Style-Type meta tag.
7452− + Use separate variables for meta-date, meta-author.
7453− This makes footnotes work in author and date fields.
7454− + Use 'vertical-align:middle' in WebTeX math for better alignment.
7455−
7456− * S5/slidy writer: Make footnotes appear on separate slide at end.
7457−
7458− * MIME: Added 'layout-cache' to getMimeType. This ensures that the
7459− META-INF/manifest.xml for ODT files will have everything it needs, so
7460− that ODT files modified by LibreOffice can be used as `--reference-odt`.
7461−
7462− * `Text.Pandoc.Templates`: Return empty string for json template.
7463−
7464− * `Text.Pandoc.Biblio`:
7465−
7466− + Expand citations recursively inside nested inlines.
7467− + Treat `\160` as space when parsing locator and suffix.
7468− This fixes a bug with "p. 33" when `--smart` is used. Previously
7469− the whole "p. 33" would be included in the suffix, with no locator.
7470− + Put whole author-in-text citation in a Cite. Previously just the
7471− date and other info went in the Cite.
7472− + Don't add comma+space to prefix if it ends in punctuation.
7473−
7474− * Updated chicago-author-date.csl. The old version did not work
7475− properly for edited volumes with no author.
7476−
7477− * EPUB writer:
7478−
7479− + Add date to EPUB titlepage and metadata.
7480− + Added TOC identifier in EPUB page template.
7481− + Don't generate superfluous file `cover-image.jpg`.
7482−
7483− [under the hood improvements]
7484−
7485− * Modified `make_osx_package.sh` to use cabal-dev.
7486− Items are no longer installed as root.
7487− Man pages are zipped and given proper permissions.
7488−
7489− * Modified windows installer generater to use cabal-dev.
7490−
7491− * Setup: Making man pages now works with cabal-dev (at least on OSX). In
7492− Setup.hs we now invoke 'runghc' in a way that points it to the correct
7493− package databases, instead of always falling back to the default user
7494− package db.
7495−
7496− * Updated to work with GHC 7.4.1.
7497−
7498− * Removed dependency on old-time.
7499−
7500− * Removed dependency on dlist.
7501−
7502− * New slidy directory for "self-contained."
7503−
7504− * TeXMath writer: Use unicode thin spaces for thin spaces.
7505−
7506− * Markdown citations: don't strip off initial space in locator.
7507−
7508− [API changes]
7509−
7510− * Removed `Apostrophe`, `EmDash`, `EnDash`, and `Ellipses`
7511− from the native `Inline` type in pandoc-types. Now we use `Str`
7512− elements with unicode.
7513−
7514− * Improvements to `Text.Pandoc.Builder`:
7515−
7516− + `Inlines` and `Blocks` are now newtypes (not synonyms for
7517− sequences).
7518− + Instances are defined for `IsString`, `Show`, `Read`, `Monoid`,
7519− and a new `Listable` class, which allows these to be manipulated
7520− to some extent like lists. Monoid append includes automatic
7521− normalization.
7522− + `+++` has been replaced by `<>` (mappend).
7523−
7524− * Use blaze-html instead of xhtml for HTML generation.
7525− This changes the type of `writeHtml`.
7526−
7527− * `Text.Pandoc.Shared`:
7528−
7529− + Added `warn` and `err`.
7530− + Removed `unescapeURI`, modified `escapeURI`.
7531− (See under [behavior changes], above.)
7532−
7533− * Changes in URI escaping: Previously the readers escaped URIs by
7534− converting unicode characters to octets and then percent encoding.
7535− Now unicode characters are left as they are, and `escapeURI` only
7536− percent-encodes space characters. This gives more readable
7537− URIs, and works well with modern user agents. URIs are no longer unescaped
7538− at all on conversion to `markdown`, `asciidoc`, `rst`, `org`.
7539−
7540− * New module `Text.Pandoc.SelfContained`.
7541−
7542− * New module `Text.Pandoc.Docx`.
7543−
7544− * New module `Text.Pandoc.PDF`.
7545−
7546− * Added `writerBeamer` to `WriterOptions`.
7547−
7548− * Added `normalizeDate` to `Text.Pandoc.Shared`.
7549−
7550− * Added `splitStringWithIndices` in `Text.Pandoc.Shared`.
7551− This is like `splitWithIndices`, but it is sensitive to distinctions
7552− between wide, combining, and regular characters.
7553−
7554− * `Text.Pandoc.Pretty`:
7555−
7556− + Added `chomp` combinator.
7557− + Added `beforeNonBreak` combinator. This allows you to include
7558− something conditionally on it being before a nonblank.
7559− Used for RST inline math.
7560− + Added `charWidth` function. All characters marked W or F in the unicode
7561− spec EastAsianWidth.txt get width 2.
7562− + Added `realLength`, based on `charWidth`. `realLength` is now
7563− used in calculating offsets.
7564−
7565− * New module `Text.Pandoc.Slides`, for common functions for breaking
7566− a document into slides.
7567−
7568− * Removed `Text.Pandoc.S5`, which is no longer needed.
7569−
7570− * Removed `Text.Pandoc.CharacterReferences`. Moved
7571− `characterReference` to `Text.Pandoc.Parsing`.
7572− `decodeCharacterReferences` is replaced by `fromEntities`
7573− in `Text.Pandoc.XML`.
7574−
7575− * Added `Text.Pandoc.ImageSize`. This is intened for use
7576− in `docx` and `odt` writers, so the size and dpi of images
7577− can be calculated.
7578−
7579− * Removed `writerAscii` in `WriterOptions`.
7580−
7581− * Added `writerHighlight` to `WriterOptions`.
7582−
7583− * Added `DZSlides` to `HTMLSlideVariant`.
7584−
7585− * `writeEPUB` has a new argument for font files to embed.
7586−
7587− * Added `stateLastStrPos` to `ParserState`. This lets us keep track
7588− of whether we're parsing the position immediately after a regular
7589− (non-space, non-symbol) string, which is useful for distinguishing
7590− apostrophes from single quote starts.
7591−
7592− * `Text.Pandoc.Parsing`:
7593−
7594− + `escaped` now returns a `Char`.
7595− + Removed `charsInBalanced'`, added a character parser as
7596− a parameter of `charsInBalanced`. This is needed for
7597− proper handling of escapes, etc.
7598− + Added `withRaw`.
7599−
7600− * Added `toEntities` to `Text.Pandoc.XML`.
7601−
7602− * `Text.Pandoc.Readers.LaTeX`:
7603−
7604− + Export `handleIncludes`.
7605− + Export `rawLaTeXBlock` instead of `rawLaTeXEnvironment'`.
7606−
7607− * Added `ToJsonFilter` class and `toJsonFilter` function to
7608− `Text.Pandoc`, deprecating the old `jsonFilter` function.
7609−
7610− * `Text.Pandoc.Highlighting`:
7611−
7612− + Removed `highlightHtml`, `defaultHighlightingCss`.
7613− + Export `formatLaTeXInline`, `formatLaTeXBlock`, and `highlight`, plus
7614− key functions from highlighting-kate.
7615− + Changed types of highlighting function. `highlight` returns a
7616− `Maybe`, not an `Either`.
7617−
7618−pandoc (1.8.2.1)
7619−
7620− * Relaxed cabal consntraints for test-framework (S. Trofimovich).
7621−
7622− * Relaxed cabal constraints for pandoc-types.
7623−
7624− * Adjusted Arbitrary instance to help avoid timeouts in tests.
7625−
7626− * Added `Tests.Writers.Markdown` to cabal file.
7627−
7628−pandoc (1.8.2)
7629−
7630− * Added script to produce OS X package.
7631−
7632− * Made `templates` directory a git submodule. This should make it
7633− easier for people to revise their custom templates when the default
7634− templates change.
7635−
7636− * Changed template naming scheme: `FORMAT.template` -> `default.FORMAT`.
7637− **Note:** If you have existing templates in `~/.pandoc/templates`, you
7638− must rename them to conform to the new scheme!
7639−
7640− * Fixed smart quotes bug, now handling `'...hi'` properly.
7641−
7642− * RST reader:
7643−
7644− + Partial support for labeled footnotes.
7645− + Improved accuracy of `simpleReferenceName` parser.
7646−
7647− * HTML reader:
7648−
7649− + Substitute correct unicode characters for
7650− characters in the 128..159 range, which are often found even in
7651− HTML that purports to be UTF-8.
7652−
7653− * LaTeX reader: Handle `\subtitle` command (a subtitle is added
7654− to the title, after a colon and linebreak). Closes #280.
7655−
7656− * Leaner `reference.odt`.
7657−
7658− * Added unexported module `Text.Pandoc.MIME` for use in
7659− the ODT writer.
7660−
7661− * ODT writer: Construct `manifest.xml` based on archive contents.
7662− This fixes a bug in ODTs containing images. Recent versions of
7663− LibreOffice would reject these as corrupt, because `manifest.xml`
7664− did not contain a reference to the image files.
7665−
7666− * LaTeX writer:
7667−
7668− + Make verbatim environments flush to avoid spurious
7669− blank lines. Closes #277.
7670− + Use `\texttt` and escapes insntead of `\verb!...!`, which
7671− is too fragile (doesn't work in command arguments).
7672− + Use `\enquote{}` for quotes if the template includes
7673− the `csquotes` package. This provides better support for
7674− local quoting styles. (Thanks to Andreas Wagner for the idea.)
7675−
7676− * ConTeXt writer: Make `\starttyping`/`\stoptyping` flush with
7677− margin, preventing spurious blank lines.
7678−
7679− * Slidy writer:
7680−
7681− + Use non-minimized version of `slidy.css` with `--offline`
7682− option, so users can more easily edit it.
7683− + Also fixed a bug in the CSS that prevented proper centering
7684− of title (now reported and fixed upstream).
7685−
7686− * S5 writer:
7687−
7688− + Replaced `s5/default/slides.js.{comment,packed}` with
7689− new compressed `s5/default/slides.min.js`.
7690− + Use `data:` protocol to embed S5 CSS in `<link>` tags,
7691− when `--offline` is specified. Using inline CSS didn't
7692− work with Chrome or Safari. This fixes offline
7693− S5 on those browsers.
7694−
7695− * HTML writer: Removed English title on footnote backlinks.
7696− This is incongrous in non-English documents.
7697−
7698− * Docbook writer:
7699−
7700− + Use CALS tables. (Some older docbook software does not work
7701− well with XHTML tables.) Closes #77.
7702− + Use `programlisting` tags (instead of `screen`) for code blocks.
7703−
7704− * `markdown2pdf`:
7705−
7706− + Calls latex with `-halt-on-error -interaction nonstopmode` instead
7707− of `-interaction=batchmode`, which essentially just ignored errors,
7708− leading to bad results. Better to know when something is wrong.
7709− + Fixed issues with non-UTF-8 output of `pdflatex`.
7710− + Better error reporting.
7711−
7712− * `--mathjax` now takes an optional URL argument. If it is not
7713− provided, pandoc links directly to the (secure) mathjax CDN,
7714− as now recommended (thanks to dsanson).
7715−
7716− * Deprecated `--xetex` option in `pandoc`. It is no longer needed,
7717− since the LaTeX writer now produces a file that can be processed by
7718− `latex`, `pdflatex`, `lualatex`, or `xelatex`.
7719−
7720− * Introduced `--luatex` option to `markdown2pdf`. This causes `lualatex`
7721− to be used to create the PDF.
7722−
7723− * If a template specified with `--template` is not found, look for it
7724− in `datadir`. Also, if no extension is provided, supply one based
7725− on the writer. So now you can put your `special.latex` template in
7726− `~/.pandoc/templates`, and use it from any directory via
7727− `pandoc -t latex --template special`.
7728−
7729− * Default template improvements:
7730−
7731− + HTML: Display author and date after title.
7732− + HTML: Made table of contents more customizable. The container
7733− for the TOC is now in the template, so users can insert a header
7734− or other styling. (Thanks to Bruce D'Arcus for the suggestion.)
7735− + HTML, Slidy, S5: Enclose scripts in CDATA tags.
7736− + Slidy, S5: Added `s5-url` and `slidy-url` variables, instead of
7737− hard-coding. If you want to put your slidy files in the slidy
7738− subdirectory, for example, you can do
7739− `pandoc -t slidy -V slidy-url=slidy -s`.
7740− + LaTeX: Use `\and` to separate authors in LaTeX documents (reader
7741− & writer). Closes #279.
7742− + LaTeX: Use different `hyperref` options for `xetex`, fixing
7743− problems with unicode bookmarks (thanks to CircleCode).
7744− + LaTeX: Removed `ucs` package, use `utf8` rather than `utf8x`
7745− with `inputenc`. This covers fewer characters but is more
7746− robust with other packages, and `ucs` is unmaintained. Users
7747− who need better unicode support should use xelatex or lualatex.
7748−
7749−pandoc (1.8.1.2)
7750−
7751− * Added `--epub-cover-image` option.
7752−
7753− * Documented `--biblatex` and `--natbib` options.
7754−
7755− * Allow `--section-divs` with slidy output. Resolves Issue #296.
7756−
7757− * Disallow notes within notes in reST and markdown.
7758− These previously caused infinite looping and stack overflows.
7759− For example:
7760−
7761− [^1]
7762−
7763− [^1]: See [^1]
7764−
7765− Note references are allowed in reST notes, so this isn't a full
7766− implementation of reST. That can come later. For now we need to
7767− prevent the stack overflows. Partially resolves Issue #297.
7768−
7769− * EPUB writer: Allow non-plain math methods.
7770−
7771− * Forbid ()s in citation item keys. Resolves Issue #304: problems with
7772− `(@item1; @item2)` because the final paren was being parsed as part of
7773− the item key.
7774−
7775− * Changed URI parser so it doesn't include trailing punctuation.
7776− So, in RST, `http://google.com.` should be parsed as a link followed by a
7777− period. The parser is smart enough to recognize balanced parentheses, as
7778− often occur in wikipedia links: `http://foo.bar/baz_(bam)`.
7779−
7780− * Markdown+lhs reader: Require space after inverse bird tracks, so that
7781− HTML tags can be used freely at the left margin of a markdown+lhs document.
7782− Thanks to Conal Elliot for the suggestion.
7783−
7784− * Markdown reader:
7785−
7786− + Improved emph/strong parsing; fixes bug found by Perry Wagle.
7787− + Fixed bug in footnote order (reported by CircleCode).
7788−
7789− * RST reader:
7790− + Fixed bug in in field lists with multi-line items at the
7791− end of the list.
7792− + Added parentheses to RST `specialChars`, so
7793− `(http://google.com)` will be parsed as a link in parens.
7794− Resolves Issue #291.
7795− + Allow `|` followed by newline in RST line block.
7796−
7797− * LaTeX reader:
7798− + Support `\dots`.
7799− + Gobble option & space after linebreak `\\[10pt]`.
7800−
7801− * Textile reader:
7802− + Make it possible to have colons after links. (qerub)
7803− + Make it possible to have colons after links. (Christoffer Sawicki)
7804−
7805− * HTML reader:
7806− + Skip spaces after `<b>`, `<emph>`, etc.
7807− + Handle tbody, thead in simple tables. Closes #274.
7808− + Implicit `Para`s instead of `Plains` in some contexts.
7809−
7810− * OpenDocument writer: Use special `First paragraph` style for
7811− first paragraph after most non-paragraph blocks. This allows users to
7812− specify e.g. that only paragraphs after the first paragraph of a block are
7813− to be indented. Thanks to Andrea Rossato for the patch. Closes #20.
7814−
7815− * LaTeX writer: use `deVerb` on table and picture captions.
7816− Otherwise LaTeX complains about `\verb` inside command argument.
7817− Thanks to bbanier for reporting the bug.
7818−
7819− * Markdown writer: Insert HTML comment btw list and indented code block.
7820− This prevents the code block from being interpreted as part of the list.
7821−
7822− * EPUB writer: Add a meta element specify the cover.
7823− Some EPUB e-readers, such as the Nook, require a meta element inside the
7824− OPF metadata block to ensure the cover image is properly displayed.
7825− (Kelsey Hightower)
7826−
7827− * HTML writer: Use embed tag for images with non-image extensions.
7828− (e.g. PDFs). Closes #264.
7829−
7830− * LaTeX writer: Improved tables.
7831−
7832− + More space between lines, top-align cells.
7833− + Use ctable package, which allows footnotes and
7834− provides additional options.
7835− + Made cell alignments work in multiline tables.
7836− + Closes #271, #272.
7837−
7838− * Un-URI-escape image filenames in LaTeX, ConTeXt, RTF, Texinfo.
7839− Also do this when copying image files into EPUBs and ODTs.
7840− Closes #263.
7841−
7842− * Changed to github issue tracker.
7843−
7844− * Added failing emph/strong markdown test case due to Perry Wagle.
7845−
7846− * Slidy improvements:
7847− + Updated to use Slidy2.
7848− + Fixed bug, unclosed div tag.
7849− + Added `duration` variable in template.
7850− Setting this activates the timer.
7851− + Use 'titlepage' instead of 'cover' for title div.
7852−
7853−pandoc (1.8.1.1)
7854−
7855− * `markdown2pdf`: Removed some debugging lines accidentally included
7856− in the 1.8.1 release. With those lines, the temp directory is created
7857− in the working directory, and it is not deleted. This fix restores
7858− the original behavior.
7859−
7860−pandoc (1.8.1)
7861−
7862− * Added `--ascii` option. Currently supported only in HTML writer,
7863− which it causes to use numerical entities instead of UTF-8.
7864−
7865− * EPUB writer: `--toc` now works to provide a table of contents
7866− at the beginning of each chapter.
7867−
7868− * LaTeX writer: Change figure defaults to `htbp`.
7869− This prevents "too many unprocessed floats." Resolves
7870− Issue #285.
7871−
7872− * `Text.Pandoc.UTF8`: Encode filenames even when using recent
7873− base.
7874−
7875− * `markdown2pdf`: Fixed filename encoding issues. With help from Paulo
7876− Tanimoto. Resolves Issue #286.
7877−
7878− * HTML writer: Put line breaks in section divs.
7879−
7880− * `Text.Pandoc.Shared`: Make `writerSectionDivs` default to False.
7881−
7882−pandoc (1.8.0.3)
7883−
7884− * Fixed Source-repository stanza in cabal file.
7885−
7886−pandoc (1.8.0.2)
7887−
7888− * HTML writer:
7889−
7890− + Stringify alt text instead of converting to HTML.
7891− + Break lines after block elements, not inside tags.
7892− HTML output now closely resembles that of tidy. Resolves Issue #134.
7893−
7894− * Markdown reader: Fixed bug in footnote block parser (pointed out
7895− by Jesse Rosenthal). The problem arose when the blank line
7896− at the end of a footnote block contained indenting spaces.
7897−
7898− * Shared: Improved 'normalize' function so it normalizes Spaces too.
7899− In normal form, Space elements only occur to separate two non-Space
7900− elements. So, we never have [Space], or [, ..., Space].
7901−
7902− * Tests:
7903−
7904− + Improved Arbitrary instance.
7905− + Added timeout for test instances.
7906−
7907− * README:
7908−
7909− + Added section on four-space rule for lists. Resolves Issue #283.
7910− + Clarified optional arguments on math options.
7911−
7912− * markdown2pdf: Fixed bug with output file extensions.
7913− Previously `markdown2pdf test.txt -o test.en.pdf` would produce
7914− `test.pdf`, not `test.en.pdf`. Thanks to Paolo Tanimoto for the fix.
7915−
7916−pandoc (1.8.0.1)
7917−
7918− * Revised Interact.hs so that it works with the CPP macros
7919− in the UTF8 module.
7920−
7921− * Revised Setup.hs so that we don't call MakeManPage.hs unless
7922− the man pages are out of date.
7923−
7924−pandoc (1.8)
7925−
7926− [new features]
7927−
7928− * Support for citations using Andrea Rossato's `citeproc-hs` 0.3.
7929− You can now write, for example,
7930−
7931− Water is wet [see @doe99, pp. 33-35; also @smith04, ch. 1].
7932−
7933− and, when you process your document using `pandoc`, specifying
7934− a citation style using `--csl` and a bibliography using `--bibliography`,
7935− the citation will be replaced by an appropriately formatted
7936− citation, and a list of works cited will be added to the end
7937− of the document.
7938−
7939− This means that you can switch effortlessly between different citation
7940− and bibliography styles, including footnote, numerical, and author-date
7941− formats. The bibliography can be in any of the following formats: MODS,
7942− BibTeX, BibLaTeX, RIS, EndNote, EndNote XML, ISI, MEDLINE, Copac, or JSON.
7943− See the README for further details.
7944−
7945− Citations are supported in the markdown reader, using a special
7946− syntax, and in the LaTeX reader, using natbib or biblatex syntax.
7947− (Thanks to Nathan Gass for the natbib and biblatex support.)
7948−
7949− * New `textile` reader and writer. Thanks to Paul Rivier for contributing
7950− the `textile` reader, an almost complete implementation of the textile
7951− syntax used by the ruby [RedCloth library](http://redcloth.org/textile).
7952− Resolves Issue #51.
7953−
7954− * New `org` writer, for Emacs Org-mode, contributed by Puneeth Chaganti.
7955−
7956− * New `json` reader and writer, for reading and writing a JSON
7957− representation of the native Pandoc AST. These are much faster
7958− than the `native` reader and writer, and should be used for
7959− serializing Pandoc to text. To convert between the JSON representation
7960− and native Pandoc, use `encodeJSON` and `decodeJSON` from
7961− `Text.JSON.Generic`.
7962−
7963− * A new `jsonFilter` function in `Text.Pandoc` makes it easy
7964− to write scripts that transform a JSON-encoded pandoc document.
7965− For example:
7966−
7967− -- removelinks.hs - removes links from document
7968− import Text.Pandoc
7969− main = interact $ jsonFilter $ bottomUp removeLink
7970− where removeLink (Link xs _) = Emph xs
7971− removeLink x = x
7972−
7973− To use this to remove links while translating markdown to LaTeX:
7974−
7975− pandoc -t json | runghc removelinks.hs | pandoc -f json -t latex
7976−
7977− * Attributes are now allowed in inline `Code` elements, for example:
7978−
7979− In this code, `ulist ! [theclass "special"] << elts`{.haskell} is...
7980−
7981− The attribute syntax is the same as for delimited code blocks.
7982− `Code` inline has an extra argument place for attributes, just like
7983− `CodeBlock`. Inline code will be highlighted in HTML output, if pandoc
7984− is compiled with highlighting support. Resolves Issue #119.
7985−
7986− * New `RawBlock` and `RawInline` elements (replacing `RawHtml`,
7987− `HtmlInline`, and `TeX`) provide lots of flexibility in writing
7988− scripts to transform Pandoc documents. Scripts can now change
7989− how each element is rendered in each output format.
7990−
7991− * You can now define LaTeX macros in markdown documents, and pandoc
7992− will apply them to TeX math. For example,
7993−
7994− \newcommand{\plus}[2]{#1 + #2}
7995− $\plus{3}{4}$
7996−
7997− yields `3+4`. Since the macros are applied in the reader, they
7998− will work in every output format, not just LaTeX.
7999−
8000− * LaTeX macros can also be used in LaTeX documents (both in math
8001− and in non-math contexts).
8002−
8003− * A new `--mathjax` option has been added for displaying
8004− math in HTML using MathJax. Resolves issue #259.
8005−
8006− * Footnotes are now supported in the RST reader. (Note, however,
8007− that unlike docutils, pandoc ignores the numeral or symbol used in
8008− the note; footnotes are put in an auto-numbered ordered list.)
8009− Resolves Issue #258.
8010−
8011− * A new `--normalize` option causes pandoc to normalize the AST
8012− before writing the document. This means that, for example,
8013− `*hi**there*` will be rendered as `<em>hithere</em>`
8014− instead of `<em>hi</em><em>there</em>`. This is not the default,
8015− because there is a significant performance penalty.
8016−
8017− * A new `--chapters` command-line option causes headers
8018− in DocBook, LaTeX, and ConTeXt to start with "chapter" (level one).
8019− Resolves Issue #265.
8020−
8021− * In DocBook output, `<chapter>` is now used for top-level
8022− headers if the template contains `<book>`. Resolves Issue #265.
8023−
8024− * A new `--listings` option in `pandoc` and `markdown2pdf` causes
8025− the LaTeX writer to use the listings package for code blocks.
8026− (Thanks to Josef Svennigsson for the pandoc patch, and Etienne
8027− Millon for the markdown2pdf patch.)
8028−
8029− * `markdown2pdf` now supports `--data-dir`.
8030−
8031− * URLs in autolinks now have class "url" so they can be styled.
8032−
8033− * Improved prettyprinting in most formats. Lines will be wrapped
8034− more evenly and duplicate blank lines avoided.
8035−
8036− * New `--columns` command-line option sets the column width for
8037− line wrapping and relative width calculations for tables.
8038−
8039− * Made `--smart` work in HTML, RST, and Textile readers, as well
8040− as markdown.
8041−
8042− * Added `--html5` option for HTML5 output.
8043−
8044− * Added support for listings package in LaTeX reader
8045− (Puneeth Chaganti).
8046−
8047− * Added support for simple tables in the LaTeX reader.
8048−
8049− * Added support for simple tables in the HTML reader.
8050−
8051− * Significant performance improvements in many readers and writers.
8052−
8053− [API and program changes]
8054−
8055− * Moved `Text.Pandoc.Definition` from the `pandoc` package to a new
8056− auxiliary package, `pandoc-types`. This will make it possible for other
8057− programs to supply output in Pandoc format, without depending on the whole
8058− pandoc package.
8059−
8060− * Added `Attr` field to `Code`.
8061−
8062− * Removed `RawHtml`, `HtmlInline`, and `TeX` elements; added generic
8063− `RawBlock` and `RawInline`.
8064−
8065− * Moved generic functions to `Text.Pandoc.Generic`. Deprecated
8066− `processWith`, replacing it with two functions, `bottomUp` and `topDown`.
8067− Removed previously deprecated functions `processPandoc` and `queryPandoc`.
8068−
8069− * Added `Text.Pandoc.Builder`, for building `Pandoc` structures.
8070−
8071− * `Text.Pandoc` now exports association lists `readers` and `writers`.
8072−
8073− * Added `Text.Pandoc.Readers.Native`, which exports `readNative`.
8074− `readNative` can now read full pandoc documents, block lists, blocks,
8075− inline lists, or inlines. It will interpret `Str "hi"`
8076− as if it were `Pandoc (Meta [] [] []) [Plain [Str "hi"]]`.
8077− This should make testing easier.
8078−
8079− * Removed deprecated `-C/--custom-header` option.
8080− Use `--template` instead.
8081−
8082− * `--biblio-file` has been replaced by `--bibliography`.
8083− `--biblio-format` has been removed; pandoc now guesses the format
8084− from the file extension (see README).
8085−
8086− * pandoc will treat an argument as a URI only if it has an
8087− `http(s)` scheme. Previously pandoc would treat some
8088− Windows pathnames beginning with `C:/` as URIs.
8089−
8090− * The `--sanitize-html` option and the `stateSanitize` field in
8091− `ParserState` have been removed. Sanitization is better done in the
8092− resulting HTML using `xss-sanitize`, which is based on pandoc's
8093− sanitization, but improved.
8094−
8095− * pandoc now adds a newline to the end of its output in fragment
8096− mode (= not `--standalone`).
8097−
8098− * Added support for `lang` in `html` tag in the HTML template,
8099− so you can do `pandoc -s -V lang=es`, for example.
8100−
8101− * `highlightHtml` in `Text.Pandoc.Highlighting` now takes
8102− a boolean argument that selects between "inline" and
8103− "block" HTML.
8104−
8105− * `Text.Pandoc.Writers.RTF` now exports `rtfEmbedImage`.
8106− Images are embedded in RTF output when possible (png, jpeg).
8107− Resolves Issue #275.
8108−
8109− * Added `Text.Pandoc.Pretty`. This is better suited for pandoc than the
8110− `pretty` package. Changed all writers that used
8111− `Text.PrettyPrint.HughesPJ` to use `Text.Pandoc.Pretty` instead.
8112−
8113− * Rewrote `writeNative` using the new prettyprinting module. It is
8114− now much faster. The output has been made more consistent and compressed.
8115− `writeNative` is also now sensitive to writerStandalone`, and will simply
8116− `print a block list if writerStandalone` is False.
8117−
8118− * Removed `Text.Pandoc.Blocks`. `Text.Pandoc.Pretty` allows you to define
8119− blocks and concatenate them, so a separate module is no longer needed.
8120−
8121− * `Text.Pandoc.Shared`:
8122−
8123− + Added `writerColumns`, `writerChapters`, and `writerHtml5` to
8124− `WriterOptions`.
8125− + Added `normalize`.
8126− + Removed unneeded prettyprinting functions:
8127− `wrapped`, `wrapIfNeeded`, `wrappedTeX`, `wrapTeXIfNeeded`, `hang'`,
8128− `BlockWrapper`, `wrappedBlocksToDoc`.
8129− + Made `splitBy` take a test instead of an element.
8130− + Added `findDataFile`, refactored `readDataFile`.
8131− + Added `stringify`. Rewrote `inlineListToIdentifier` using `stringify`.
8132− + Fixed `inlineListToIdentifier` to treat '\160' as ' '.
8133−
8134− * `Text.Pandoc.Readers.HTML`:
8135−
8136− + Removed `rawHtmlBlock`, `anyHtmlBlockTag`, `anyHtmlInlineTag`,
8137− `anyHtmlTag`, `anyHtmlEndTag`, `htmlEndTag`, `extractTagType`,
8138− `htmlBlockElement`, `htmlComment`
8139− + Added `htmlTag`, `htmlInBalanced`, `isInlineTag`, `isBlockTag`,
8140− `isTextTag`
8141−
8142− * Moved `smartPunctuation` from `Text.Pandoc.Readers.Markdown`
8143− to `Text.Pandoc.Readers.Parsing`, and parameterized it with
8144− an inline parser.
8145−
8146− * Added `nonspaceChar` to `Text.Pandoc.Parsing`.
8147−
8148− * Ellipses are no longer allowed to contain spaces.
8149− Previously we allowed '. . .', ' . . . ', etc. This caused
8150− too many complications, and removed author's flexibility in
8151− combining ellipses with spaces and periods.
8152−
8153− * Allow linebreaks in URLs (treat as spaces). Also, a string of
8154− consecutive spaces or tabs is now parsed as a single space. If you have
8155− multiple spaces in your URL, use `%20%20`.
8156−
8157− * `Text.Pandoc.Parsing`:
8158−
8159− + Removed `refsMatch`.
8160− + Hid `Key` constructor.
8161− + Removed custom `Ord` and `Eq` instances for `Key`.
8162− + Added `toKey` and `fromKey` to convert between `Key` and `[Inline]`.
8163− + Generalized type on `readWith`.
8164−
8165− * Small change in calculation of relative widths of table columns.
8166− If the size of the header > the specified column width, use
8167− the header size as 100% for purposes of calculating
8168− relative widths of columns.
8169−
8170− * Markdown writer now uses some pandoc-specific features when `--strict`
8171− is not specified: `\` newline is used for a hard linebreak instead of
8172− two spaces then a newline. And delimited code blocks are used when
8173− there are attributes.
8174−
8175− * HTML writer: improved gladTeX output by setting ENV appropriately
8176− for display or inline math (Jonathan Daugherty).
8177−
8178− * LaTeX writer: Use `\paragraph`, `\subparagraph` for level 4,5 headers.
8179−
8180− * LaTeX reader:
8181−
8182− + `\label{foo}` and `\ref{foo}` now become `{foo}` instead of `(foo)`.
8183− + `\index{}` commands are skipped.
8184−
8185− * Added `fontsize` variable to default LaTeX template.
8186− This makes it easy to set the font size using `markdown2pdf`:
8187− `markdown2pdf -V fontsize=12pt input.txt`.
8188−
8189− * Fixed problem with strikeout in LaTeX headers when using
8190− hyperref, by adding a command to the default LaTeX template
8191− that disables `\sout` inside pdf strings. Thanks to Joost Kremers
8192− for the fix.
8193−
8194− * The `COLUMNS` environment variable no longer has any effect.
8195−
8196− [under-the-hood improvements]
8197−
8198− * Pandoc now compiles with GHC 7. (This alone leads to a
8199− significant performance improvement, 15-20%.)
8200−
8201− * Completely rewrote HTML reader using tagsoup as a lexer. The
8202− new reader is faster and more accurate. Unlike the
8203− old reader, it does not get bogged down on some input
8204− (Issues #277, 255). And it handles namespaces in tags
8205− (Issue #274).
8206−
8207− * Replaced `escapeStringAsXML` with a faster version.
8208−
8209− * Rewrote `spaceChar` and some other parsers in Text.Pandoc.Parsing
8210− for a significant performance boost.
8211−
8212− * Improved performance of all readers by rewriting parsers.
8213−
8214− * Simplified Text.Pandoc.CharacterReferences by using
8215− entity lookup functions from TagSoup.
8216−
8217− * `Text.Pandoc.UTF8` now uses the unicode-aware IO functions
8218− from `System.IO` if base >= 4.2. This gives support for
8219− windows line endings on windows.
8220−
8221− * Remove duplications in documentation by generating the
8222− pandoc man page from README, using `MakeManPage.hs`.
8223−
8224− * README now includes a full description of markdown syntax,
8225− including non-pandoc-specific parts. A new `pandoc_markdown`
8226− man page is extracted from this, so you can look up markdown
8227− syntax by doing `man pandoc_markdown`.
8228−
8229− * Completely revised test framework (with help from Nathan Gass).
8230− The new test framework is built when the `tests` Cabal flag is set. It
8231− includes the old integration tests, but also some new unit and quickcheck
8232− tests. Test output has been much improved, and you can now specify a glob
8233− pattern after `cabal test` to indicate which tests should be run;
8234− for example `cabal test citations` will run all the citation tests.
8235−
8236− * Added a shell script, `stripansi.sh`, for filtering ANSI control
8237− sequences from test output: `cabal test | ./stripansi.sh > test.log`.
8238−
8239− * Added `Interact.hs` to make it easier to use ghci while developing.
8240− `Interact.hs` loads `ghci` from the `src` directory, specifying
8241− all the options needed to load pandoc modules (including
8242− specific package dependencies, which it gets by parsing
8243− dist/setup-config).
8244−
8245− * Added `Benchmark.hs`, testing all readers + writers using criterion.
8246−
8247− * Added `stats.sh`, to make it easier to collect and archive
8248− benchmark and lines-of-code stats.
8249−
8250− * Added upper bounds to all cabal dependencies.
8251−
8252− * Include man pages in extra-source-files. This allows users to
8253− install pandoc from the tarball without needing to build the man
8254− pages.
8255−
8256− [bug fixes]
8257−
8258− * Filenames are encoded as UTF8. Resolves Issue #252.
8259−
8260− * Handle curly quotes better in `--smart` mode. Previously, curly quotes
8261− were just parsed literally, leading to problems in some output formats.
8262− Now they are parsed as `Quoted` inlines, if `--smart` is specified.
8263− Resolves Issue #270.
8264−
8265− * Text.Pandoc.Parsing: Fixed bug in grid table parser.
8266− Spaces at end of line were not being stripped properly,
8267− resulting in unintended LineBreaks.
8268−
8269− * Markdown reader:
8270−
8271− + Allow HTML comments as inline elements in markdown.
8272− So, `aaa <!-- comment --> bbb` can be a single paragraph.
8273− + Fixed superscripts with links: `^[link](/foo)^` gets
8274− recognized as a superscripted link, not an inline note followed by
8275− garbage.
8276− + Fixed regression, making markdown reference keys case-insensitive again.
8277− Resolves Issue #272.
8278− + Properly handle abbreviations (like `Mr.`) at the end of a line.
8279− + Better handling of intraword underscores, avoiding exponential
8280− slowdowns in some cases. Resolves Issue #182.
8281− + Fixed bug in alignments in tables with blank rows in the header.
8282−
8283− * RST reader:
8284−
8285− + Field lists now allow spaces in field names, and
8286− block content in field values. (Thanks to Lachlan Musicman
8287− for pointing out the bug.)
8288− + Definition list items are now always `Para` instead of
8289− `Plain`, matching behavior of `rst2xml.py`.
8290− + In image blocks, the description is parsed properly and
8291− used for the alt attribute, not also the title.
8292− + Skip blank lines at beginning of file. Resolves
8293− Debian #611328.
8294−
8295− * LaTeX reader:
8296−
8297− + Improved parsing of preamble.
8298− Previously you'd get unexpected behavior on a document that
8299− contained `\begin{document}` in, say, a verbatim block.
8300− + Allow spaces between `\begin` or `\end` and `{`.
8301− + Support `\L` and `\l`.
8302− + Skip comments inside paragraphs.
8303−
8304− * LaTeX writer:
8305−
8306− + Escape strings in `\href{..}`.
8307− + In nonsimple tables, put cells in `\parbox`.
8308−
8309− * OpenDocument writer: don't print raw TeX.
8310−
8311− * Markdown writer:
8312−
8313− + Fixed bug in `Image`. URI was getting unescaped twice!
8314− + Avoid printing extra blank lines at the end if there are
8315− no notes or references.
8316−
8317− * LaTeX and ConTeXt: Escape `[` and `]` as `{[}` and `{]}`.
8318− This avoids unwanted interpretation as an optional argument.
8319−
8320− * ConTeXt writer: Fixed problem with inline code. Previously
8321− `}` would be rendered `\type{}}`. Now we check the string for '}' and '{'.
8322− If it contains neither, use `\type{}`; otherwise use `\mono{}`
8323− with an escaped version of the string.
8324−
8325− * `:` now allowed in HTML tags. Resolves Issue #274.
8326−
8327−pandoc (1.6)
8328−
8329− [ John MacFarlane ]
8330−
8331− * New EPUB and HTML Slidy writers. (Issue #122)
8332−
8333− - EPUB is a standard ebook format, used in Apple's iBooks for
8334− the iPad and iPhone, Barnes and Noble's nook reader, the Sony
8335− reader, and many other devices.
8336− - Slidy, like S5, is a system for producing HTML+javascript slide
8337− shows.
8338−
8339− * All input is assumed to be UTF-8, no matter what the locale and ghc
8340− version, and all output is UTF-8. This reverts to pre-1.5 behavior.
8341− Also, a BOM, if present, is stripped from the input.
8342−
8343− * Markdown now supports grid tables, whose cells can contain
8344− arbitrary block elements. (Issue #43)
8345−
8346− * Sequentially numbered example lists in markdown with `@` marker.
8347−
8348− * Markdown table captions can begin with a bare colon and no longer need
8349− to include the English word "table." Also, a caption can now occur
8350− either before or after the table. (Issue #227)
8351−
8352− * New command-line options:
8353−
8354− - `--epub-stylesheet` allows you to specify a CSS file that will
8355− be used to style your ebook.
8356− - `--epub-metadata` allows you to specify metadata for the ebook.
8357− - `--offline` causes the generated HTML slideshow to include all
8358− needed scripts and stylesheets.
8359− - `--webtex` causes TeX math to be converted to images using the
8360− Google Charts API (unless a different URL is specified).
8361− - `--section-divs` causes div tags to be added around each section
8362− in an HTML document. (Issue #230, 239)
8363−
8364− * Default behavior of S5 writer in standalone mode has changed:
8365− previously, it would include all needed scripts and stylesheets
8366− in the generated HTML; now, only links are included unless
8367− the `--offline` option is used.
8368−
8369− * Default behavior of HTML writer has changed. Between 1.2 and 1.5,
8370− pandoc would enclose sections in div tags with identifiers on the
8371− div tags, so that the sections can be manipulated in javascript.
8372− This caused undesirable interactions with raw HTML div tags. So,
8373− starting with 1.6, the default is to put the identifiers directly
8374− on the header tags, and not to include the divs. The `--section-divs`
8375− option selects the 1.2-1.5 behavior.
8376−
8377− * API changes:
8378−
8379− - `HTMLMathMethod`: Added `WebTeX`, removed `MimeTeX`.
8380− - `WriterOptions`: Added `writerUserDataDir`, `writerSourceDirectory`,
8381− `writerEPUBMetadata` fields. Removed `writerIncludeBefore`,
8382− `writerIncludeAfter`.
8383− - Added `headerShift` to `Text.Pandoc.Shared`.
8384− - Moved parsing code and `ParserState` from `Text.Pandoc.Shared`
8385− to a new module, `Text.Pandoc.Parsing`.
8386− - Added `stateHasChapters` to `ParserState`.
8387− - Added `HTMLSlideVariant`.
8388− - Made `KeyTable` a map instead of an association list.
8389− - Added accessors for `Meta` fields (`docTitle`, `docAuthors`,
8390− `docDate`).
8391− - `Pandoc`, `Meta`, `Inline`, and `Block` have been given `Ord`
8392− instances.
8393− - Reference keys now have a type of their own (`Key`), with its
8394− own `Ord` instance for case-insensitive comparison.
8395− - Added `Text.Pandoc.Writers.EPUB`.
8396− - Added `Text.Pandoc.UUID`.
8397− - Removed `Text.Pandoc.ODT`, added `Text.Pandoc.Writers.ODT`.
8398− Removed `saveOpenDocumentAsODT`, added `writeODT`.
8399− - Added `Text.Pandoc.Writers.Native` and `writeNative`.
8400− Removed `prettyPandoc`.
8401− - Added `Text.Pandoc.UTF8` for portable UTF8 string IO.
8402− - Removed `Text.Pandoc.Writers.S5` and the `writeS5` function.
8403− Moved `s5Includes` to a new module, `Text.Pandoc.S5`.
8404− To write S5, you now use `writeHtml` with `writerSlideVariant`
8405− set to `S5Slides` or `SlidySlides`.
8406−
8407− * Template changes. If you use custom templates, please update them,
8408− particularly if you use syntax highlighting with pandoc. The old HTML
8409− templates hardcoded highlighting CSS that will no longer work with
8410− the most recent version of highlighting-kate.
8411−
8412− - HTML template: avoid empty meta tag if no date.
8413− - HTML template: Use default highlighting CSS from highlighting-kate
8414− instead of hard-coding the CSS into the template.
8415− - HTML template: insert-before text goes before the title, and
8416− immediately after the <body> tag, as documented. (Issue #241)
8417− - Added slidy and s5 templates.
8418− - Added amssymb to preamble of latex template. (github Issue 1)
8419−
8420− * Removed excess newlines at the end of output. Note: because output
8421− will not contain an extra newline, you may need to make adjustments
8422− if you are inserting pandoc's output into a template.
8423−
8424− * In S5 and slidy, horizontal rules now cause a new slide, so you
8425− are no longer limited to one slide per section.
8426−
8427− * Improved handling of code in man writer. Inline code is now monospace,
8428− not bold, and code blocks now use .nf (no fill) and .IP (indented para).
8429−
8430− * HTML reader parses `<tt>` as Code. (Issue #247)
8431−
8432− * html+lhs output now contains bird tracks, even when compiled without
8433− highlighting support. (Issue #242)
8434−
8435− * Colons are now no longer allowed in autogenerated XML/HTML identifiers,
8436− since they have a special meaning in XML.
8437−
8438− * Code improvements in ODT writer. Remote images are now replaced with
8439− their alt text rather than a broken link.
8440−
8441− * LaTeX reader improvements:
8442−
8443− - Made latex `\section`, `\chapter` parsers more forgiving of
8444− whitespace.
8445− - Parse `\chapter{}` in latex.
8446− - Changed `rawLaTeXInline` to accept `\section`, `\begin`, etc.
8447− - Use new `rawLaTeXInline'` in LaTeX reader, and export `rawLaTeXInline`
8448− for use in markdown reader.
8449− - Fixes bug wherein `\section{foo}` was not recognized as raw TeX
8450− in markdown document.
8451−
8452− * LaTeX writer: images are automatically shrunk if they would extend
8453− beyond the page margin.
8454−
8455− * Plain, markdown, RST writers now use unicode for smart punctuation.
8456−
8457− * Man writer converts math to unicode when possible, as in other writers.
8458−
8459− * `markdown2pdf` can now recognize citeproc options.
8460−
8461− * Command-line arguments are converted to UTF-8. (Issue #234)
8462−
8463− * `Text.Pandoc.TeXMath` has been rewritten to use texmath's parser.
8464− This allows it to handle a wider range of formulas. Also, if a formula
8465− cannot be converted, it is left in raw TeX; formulas are no longer
8466− partially converted.
8467−
8468− * Unicode curly quotes are left alone when parsing smart quotes. (Issue
8469− #143)
8470−
8471− * Cabal file changes:
8472−
8473− - Removed parsec < 3 restriction.
8474− - Added 'threaded' flag for architectures where GHC lacks a threaded
8475− runtime.
8476− - Use 'threaded' only for markdown2pdf; it is not needed for pandoc.
8477− - Require highlighting-kate 0.2.7.
8478−
8479− * Use explicit imports from `Data.Generics`. Otherwise we have a
8480− conflict with the 'empty' symbol, introduced in syb >= 0.2. (Issue #237)
8481−
8482− * New data files: slidy/slidy.min.js, slidy/slidy.min.css, epub.css.
8483−
8484−pandoc (1.5.1.1)
8485−
8486− [ John MacFarlane ]
8487−
8488− * Fixed uniqueIdent in Shared so that header identifiers work as
8489− advertized in the README and are are valid XHTML names.
8490−
8491−pandoc (1.5.1)
8492−
8493− [ John MacFarlane ]
8494−
8495− * Fixed treatment of unicode characters in URIs.
8496− + Shared now exports escapeURI and unescapeURI. These handle
8497− UTF8 encoding and decoding as well as URI escaping/unescaping.
8498− + Shared: uri and emailAddress now return a pair of the original
8499− parsed text and the escaped URI (in the latter case, with
8500− the mailto: prefix).
8501− + HTML reader: unsanitaryURI has been modified to allow unicode
8502− high characters in a URI.
8503− + Readers: All link and image URIs are now escaped using
8504− escapeURI.
8505− + Markdown and RST writers: unescapeURI is used so that URIs
8506− in these formats are human-readable.
8507−
8508− * Setup.hs: Don't assume that the build directory is "dist".
8509− Instead, get it from localBuildInfo.
8510−
8511− * OpenDocument writer: Use a Map for stTextStyleAttr.
8512− This avoids duplicates (and invalid xml). Resolves Issue #222.
8513−
8514−pandoc (1.5.0.1)
8515−
8516− [ John MacFarlane ]
8517−
8518− * HTML writer: Fixed error in math writer (with MathML option)
8519− that caused an infinite loop for unparsable MathML.
8520−
8521−pandoc (1.5)
8522−
8523− [ John MacFarlane ]
8524−
8525− * Added --mathml option. When this is selected, pandoc will convert
8526− TeX math into MathML.
8527− + Added data/MathMLinHTML.js, which is included when no URL is
8528− provided for --mathml. This allows MathML to be displayed (in
8529− better browsers) as text/html.
8530− + Removed Text.Pandoc.LaTeXMathML. The module was no longer
8531− necessary; it was replaced by two lines in pandoc.hs.
8532− + Replaced LaTeXMathML.js.commend and LaTeXMathML.js.packed with a
8533− single combined file, LaTeXMathML.js.
8534−
8535− * Added --data-dir option.
8536− This specifies a user data directory. If not specified, will default
8537− to ~/.pandoc on unix or Application Data\pandoc on Windows.
8538− Files placed in the user data directory will override system default
8539− data files.
8540−
8541− * Added Maybe datadir parameter to readDataFile, saveOpenDocumentAsODT,
8542− latexMathMLScript, s5HeaderIncludes, and getDefaultTemplate. If
8543− Nothing, no user directory is searched for an override.
8544−
8545− * Added 'plain' output format. This is similar to markdown, but
8546− removes links, pictures, inline formatting, and most anything that
8547− looks even vaguely markupish. The function writePlain is exported by
8548− Text.Pandoc.Writers.Markdown, with which it shares most of its code.
8549−
8550− * Allow multi-line titles and authors in meta block.
8551− Titles may span multiple lines, provided continuation lines
8552− begin with a space character. Separate authors may be put on
8553− multiple lines, provided each line after the first begins with
8554− a space character. Each author must fit on one line. Multiple
8555− authors on a single line may still be separated by a semicolon.
8556− Based on a patch by Justin Bogner.
8557−
8558− * When given an absolute URI as parameter, pandoc will try to fetch
8559− the content via HTTP. So you can do:
8560− 'pandoc -r html -w markdown http://www.fsf.org'
8561− Adds dependency on HTTP.
8562−
8563− * Made HTML reader much more forgiving.
8564− + Incorporated idea (from HXT) that an element can be closed
8565− by an open tag for another element.
8566− + Javascript is partially parsed to make sure that a <script>
8567− section is not closed by a </script> in a comment or string.
8568− + More lenient non-quoted attribute values.
8569− Now we accept anything but a space character, quote, or <>.
8570− This helps in parsing e.g. www.google.com!
8571− + Bare & signs are now parsed as a string. This is a common
8572− HTML mistake.
8573− + Skip a bare < in malformed HTML.
8574−
8575− * Removed html2markdown and hsmarkdown.
8576− + html2markdown is no longer needed, since you can now pass URI
8577− arguments to pandoc and directly convert web pages. (Note,
8578− however, that pandoc assumes the pages are UTF8. html2markdown
8579− made an attempt to guess the encoding and convert them.)
8580− + hsmarkdown is pointless -- a large executable that could be
8581− replaced by 'pandoc --strict'.
8582−
8583− * In most writers, an image in a paragraph by itself is now rendered
8584− as a figure, with the alt text as the caption. (Texinfo, HTML, RST,
8585− MediaWiki, Docbook, LaTeX, ConTeXt, HTML.) Other images are
8586− rendered inline.
8587−
8588− * Depend on extensible-exceptions. This allows pandoc to be compiled
8589− on GHC 6.8.
8590−
8591− * Added --base-header-level option. For example, --base-header-level=2
8592− will change level 1 headers to level 2, level 2 to level 3, etc.
8593− Closes Debian #563416.
8594−
8595− * Incomplete support for RST tables (simple and grid).
8596− Thanks to Eric Kow. Colspans and rowspans not yet supported.
8597−
8598− * Added accessors (docTitle, docAuthors, docDate) to Meta type.
8599−
8600− * MediaWiki writer: format links with relative URLs as wikilinks.
8601− The new rule: If the link target is an absolute URL, an external
8602− link is created. Otherwise, a wikilink is created.
8603−
8604− * Text.Pandoc.Shared: Export uniqueIdent, and don't allow tilde in
8605− identifier. Note: This may break links to sections that involve
8606− tildes.
8607−
8608− * Markdown(+lhs) reader: handle "inverse bird tracks."
8609− Inverse bird tracks (<) are used for haskell example code that is not
8610− part of the literate Haskell program. Resolves Issue #211.
8611−
8612− * LaTeX reader:
8613− + Recognize '\ ' (interword space).
8614− + Recognize nonbreaking space '~'.
8615− + Ignore \section, \pdfannot, \pdfstringdef. Ignore alt title in
8616− section headers. Don't treat \section as inline LaTeX.
8617− Resolves Issue #202.
8618− + LaTeX reader: allow any special character to be escaped.
8619− Resolves Issue #221.
8620− + LaTeX reader: treat \paragraph and \subparagraph as level 4, 5
8621− headers. Resolves Issue #207.
8622−
8623− * Use template variables for include-before/after.
8624− + These options now imply -s; previously they worked also in fragment
8625− mode.
8626− + Users can now adjust position of include-before and include-after
8627− text in the templates.
8628− + Default position of include-before moved back (as it was before 1.4)
8629− before table of contents.
8630− + Resolves Issue #217.
8631−
8632− * Don't print an empty table header: (all writers).
8633− Resolves Issue #210.
8634−
8635− * HTML, Docbook writer: Use tbody, thead, and cols in tables.
8636−
8637− * HTML writer: Don't include TOC div if table of contents is empty.
8638−
8639− * Markdown writer: Fixed citations.
8640− Previously the markdown writer printed raw citation codes, e.g.
8641− [geach1970], rather than the expanded citations provided by
8642− citeproc, e.g. (Geach 1970). Now it prints the expanded citations.
8643− This means that the document produced can be processed as a markdown
8644− document without citeproc. Thanks to dsanson for reporting, and
8645− Andrea Rossato for the patch.
8646−
8647− * Improved and simplified title block in context template.
8648− Previously it caused an error if there was no title.
8649− This method should also be easier for users to customize.
8650−
8651− * Markdown reader:
8652− + Treat p., pp., sec., ch., as abbreviations in smart mode.
8653− + Disallow blank lines in inline code span.
8654− + Allow footnotes to be indented < 4 spaces.
8655− This fixes a regression. A test case has been added.
8656− + Escape spaces in URLs as %20. Previously they were incorrectly
8657− escaped as +, which is appropriate only for the query part of
8658− a URL. Resolves Issue #220.
8659− + Require two spaces after capital letter + period for list item.
8660− Otherwise "E. coli" starts a list. This might change the semantics
8661− of some existing documents, since previously the two-space
8662− requirement was only enforced when the second word started
8663− with a capital letter. But it is consistent with the existing
8664− documentation and follows the principle of least surprise.
8665− Resolves Issue #212.
8666−
8667− * LaTeX template: redefine labelwidth when using enumerate package.
8668− Otherwise the list labels (numbers) often extend past the left
8669− margin, which looks bad.
8670−
8671− * Mediawiki writer: Don't print a "== Notes ==" header before
8672− references. This is too English-centric. Writers can provide their
8673− own header at the end of the document.
8674−
8675− * Promoted mediawiki headers. '= head =' is now level 1, '== head =='
8676− level 2, etc. This seems to be correct; it's only by convention
8677− that wikipedia articles have level 2 headers at most.
8678− Patch due to Eric Kow.
8679−
8680− * RunTests.hs: Set LANG to a UTF-8 locale. Use 'pandoc --data-dir=' so
8681− data files don't need to have been installed. This removes the need to
8682− set HOME.
8683−
8684− * HTML reader:
8685− + Handle spaces before <html>. Resolves Issue #216.
8686− + Be forgiving in parsing a bare list within a list.
8687− The following is not valid xhtml, but the intent is clear:
8688− <ol>
8689− <li>one</li>
8690− <ol><li>sub</li></ol>
8691− <li>two</li>
8692− </ol>
8693− We'll treat the <ol> as if it's in a <li>. Resolves Issue #215.
8694−
8695− * Updated INSTALL instructions. cabal method is now promoted.
8696−
8697− * Updated markdown2pdf man page. It no longer says all pandoc options
8698− are accepted.
8699−
8700− * README/man pages: Removed advice to pipe through tidy before HTML
8701− reader. This is obsolete, now that we have a forgiving HTML parser.
8702−
8703− * LaTeX writer: set numbersections template variable, so
8704− the section numbering options work again.
8705−
8706− * Removed obsolete Makefile.
8707−
8708− * Website: renamed index.txt.in -> index.txt.
8709−
8710− * New batch file to make-windows-installer.
8711− + Removed old Makefile.windows
8712− + Added make-windows-installer.bat
8713− + Modified default installer name in pandoc-setup.iss
8714−
8715− * Removed freebsd and macports directories.
8716− They are no longer up to date.
8717−
8718− * Setup.hs:
8719− + Made man page building sensitive to build verbosity.
8720− + Improved detection of highlighting support in test hook.
8721− + Install wrapper scripts into cabal bin directory.
8722− + Also simplified installManpages.
8723− + Setup.hs: install manpages to mandir. Code borrowed from darcs.
8724−
8725− * Changed default of writerXeTeX to False.
8726−
8727− * HTML writer: don't include empty UL if --toc but no sections.
8728− Resolves Issue #199.
8729−
8730− * LaTeX writer:
8731−
8732− + If book, report, or memoir documentclass, use \chapter{}
8733− for first-level headers. Otherwise use \section{}.
8734− + Removed stLink, link template variable. Reason: we now always
8735− include hyperref in the template.
8736−
8737− * LaTeX template:
8738−
8739− + Only show \author if there are some.
8740− + Always include hyperref package. It is used not just for links but
8741− for toc, section heading bookmarks, footnotes, etc. Also added
8742− unicode=true on hyperref options.
8743−
8744− * markdown2pdf: always do at least two runs. hyperref bookmarks
8745− require this.
8746−
8747− * cabal file: Removed unneeded dependency on template-haskell.
8748−
8749− * Windows installer - fixed bug in data file locations.
8750− Resolves Issue #197.
8751−
8752− * Deprecated --custom-header in documentation.
8753− Removed old "Custom Headers" section in README.
8754−
8755−pandoc (1.4)
8756−
8757− [ John MacFarlane ]
8758−
8759− * Pandoc will now compile with either GHC 6.10 or 6.12.
8760− + Don't use System.IO.UTF8 when compiling with 6.12
8761− + Use -fno-warn-unused-do-bind option when compiling with 6.12
8762−
8763− * Replaced old headers with templates. Now users have much more
8764− control over the way documents appear in --standalone mode,
8765− and writer code is simplified. Resolves Issues #59, 147.
8766− Every effort has been made to retain backwards compatibilty.
8767− So, the --custom-header option should still work as before.
8768−
8769− + Added Text.Pandoc.Templates. This provides functions for
8770− retrieving default templates and for rendering templates.
8771− + System templates (in the pandoc data directory) can be
8772− overridden by user templates in $HOME/.pandoc/templates.
8773− + Removed Text.Pandoc.DefaultHeaders.
8774− + Removed data/headers directory.
8775− + Added templates directory.
8776− + Added writerTemplate and writerVariables fields to WriterOptions.
8777− + Removed writerTitlePrefix, writerHeader fields from WriterOptions.
8778− + Changed --print-default-header to --print-default-template.
8779− + Added --template option.
8780− + Added -V/--variable option to set custom template variables.
8781−
8782− * Pandoc no longer requires Template Haskell. Resolves Issue #186.
8783−
8784− + Removed need for TH in ODT module. Instead get reference.odt from
8785− data file at run time.
8786− + Removed TH dependency from S5 module. S5 module now exports
8787− s5HeaderIncludes, which pandoc.hs includes if writer is s5 and
8788− standalone.
8789− + Refactored LaTeXMathML not to use TH.
8790−
8791− * Meta is now Meta [Inline] [[Inline]] [Inline] rather than
8792− Meta [Inline] [String] String. Authors and date in Meta are now lists
8793− of Inline elements rather than raw strings. This means that they can
8794− be formatted and can include footnotes. NOTE: This may be a breaking
8795− change for those using pandoc as a library.
8796−
8797− * Added readDataFile to Text.Pandoc.Shared. This retrieves
8798− a data file from the user pandoc data directory (~/.pandoc
8799− on unix), or, if not found there, from the system data
8800− directory ($CABALDIR/shared/pandoc-VERSION/). All data
8801− files, including templates, LaTeXMathML.js, s5 styles,
8802− and reference.odt, can be overridden by the user.
8803−
8804− * s5 files moved from data/ui/default to s5/default.
8805−
8806− * Use unicode instead of entities in HTML and XML output. Resolves
8807− Issue #163.
8808−
8809− * Prettier HTML footnote references: put anchor inside sup,
8810− instead of other way. Resolves Issue #191. Thanks to
8811− infinity0x.
8812−
8813− * Added --xetex option to pandoc and markdown2pdf.
8814− If --xetex is specified, pandoc produces latex suitable for
8815− processing by xelatex, and markdown2pdf uses xelatex to create
8816− the PDF. Resolves Issue #185.
8817−
8818− * RTF writer: multiple authors now occupy multiple paragraphs rather
8819− than using a line break.
8820−
8821− * Man writer: now the "--after-body" will come after the "AUTHORS"
8822− section, whereas before it would come before it. This is a
8823− slight break from backwards compatibility.
8824−
8825− * Added --reference-odt option, so users may customize the styles
8826− used in pandoc-generated ODT files. Users may also place a
8827− default reference.odt in the ~\.pandoc directory.
8828−
8829− * ODT writer:
8830− + Indented and line-broke styles.xml so it can be modified more easily.
8831− + Omitted some unnecessary style declarations.
8832− + Don't wrap text in OpenDocument writer. The tags are too long, making
8833− wrapping ugly and pointless.
8834−
8835− * LaTeX reader: use \\ to separate multiple authors.
8836−
8837− * Markdown reader: use ; as separator between authors.
8838− This allows you to use ',' within author names: e.g. "John Jones, Jr."
8839−
8840− * S5 writer: use linebreak to separate authors in title page.
8841−
8842− * RST reader: Allow :: before lhs code block. The RST spec requires the
8843− :: before verbatim blocks. This :: should not be treated as literal
8844− colons. Resolves Issue #189.
8845−
8846− * Documented pandoc 1.3's new definition list syntax in README.
8847− (An oversight in the last release.)
8848−
8849− * markdown2pdf.hs:
8850− + interpret ! in a log as an error line.
8851− + --toc now works properly.
8852−
8853− * Changes in RunTests.hs:
8854− + Use the Diff library rather than a local copy of Diff.hs.
8855− (This vastly increases performance.) This change means that 'cabal
8856− test' presupposes that the Diff library is installed.
8857− + Removed tests/Diff.hs from cabal file.
8858− + Changed RunTests to use local environment. We need at least HOME, so
8859− pandoc can find its data directory.
8860−
8861− * Updated windows installer to install data files in the app directory.
8862−
8863− * Windows installer now installs portable wrappers hsmarkdown and
8864− markdown2pdf.
8865−
8866−pandoc (1.3)
8867−
8868− [ John MacFarlane ]
8869−
8870− * Added --id-prefix option (Issue #41). This adds a prefix to all
8871− automatically generated HTML identifiers, which helps prevent
8872− duplicate identifiers when you're generating a fragment (say a blog
8873− post).
8874−
8875− * Added --indented-code-classes option. This specifies classes
8876− to use for indented code blocks. (Patch due to buttock; Issue #87.)
8877−
8878− * --number-sections now affects HTML output as well as ConTeXt and LaTeX
8879− (Issue #150).
8880−
8881− * Improved syntax for markdown definition lists (Issue #24).
8882− Definition lists are now more compatible with PHP Markdown Extra.
8883− + You can have multiple definitions for a term (but still not
8884− multiple terms).
8885− + Multi-block definitions no longer need a column before each block
8886− (indeed, this will now cause multiple definitions).
8887− + The marker no longer needs to be flush with the left margin,
8888− but can be indented at or two spaces. Also, ~ as well as :
8889− can be used as the marker (this suggestion due to David
8890− Wheeler.)
8891− + There can now be a blank line between the term and the
8892− definitions.
8893−
8894− * Better looking simple tables. Resolves Issue #180.
8895− + Markdown reader: simple tables are now given column widths of 0.
8896− + Column width of 0 is interpreted as meaning: use default column width.
8897− + Writers now include explicit column width information only
8898− for multiline tables. (Exception: RTF writer, which requires
8899− column widths. In this case, columns are given equal widths,
8900− adding up to the text width.)
8901− + Simple tables should now look better in most output formats.
8902−
8903− * Allow markdown tables without headers (Issue #50).
8904− The new syntax is described in README. Also allow optional line of
8905− dashes at bottom of simple tables.
8906−
8907− * Compensate for width of final table column (Issue #144).
8908−
8909− * Treat a backslash followed by a newline as a hard line break
8910− in markdown. Resolves Issue #154. This is a nice alternative
8911− to markdown's "invisible" way of indicating hardline breaks
8912− using lines that end with two spaces.
8913−
8914− * Improved performance of markdown reader by ~10% by eliminating the
8915− need for a separate parsing pass for notes. Raw notes are now stored
8916− on the first pass (which parses references), then parsed when the
8917− note is inserted into the AST. The stateNotes field in ParserState
8918− is now a list of [(String, String)] pairs instead of [(String,
8919− [Block])].
8920−
8921− * In markdown reader, treat 4 or more * or _ in a row as literal
8922− text. (Trying to parse long strings of * or _ as strong or emph
8923− leads to exponential performance problems.)
8924−
8925− * Markdown reader: Use + rather than %20 for spaces in URLs.
8926−
8927− * Fixed htmlComment parser, adding a needed 'try'.
8928−
8929− * Don't print raw HTML in man output.
8930−
8931− * Allow . _ and ~ in header identifiers.
8932−
8933− * Specially mark code blocks that were "literate" in the input.
8934− They can then be treated differently in the writers. This allows
8935− authors to distinguish bits of the literate program they are writing
8936− from source code examples, even if the examples are marked as
8937− Haskell for highlighting. (Issue #174.)
8938−
8939− * Modified html+lhs output to use "haskell" highlighter instead
8940− of "literateHaskell". The highlighting module now adds bird tracks
8941− after highlighting (for HTML output), if the code block has the
8942− "literate" class. This gives better results, because kate's
8943− haskell highlighter is much better than the literateHaskell
8944− highlighter.
8945−
8946− * Fixed handling of footnotes in titles (HTML) and headers (LaTeX).
8947− (Issue #137.)
8948−
8949− * Support for "..code-block" directive in RST reader. Not core
8950− RST, but used in Sphinx for code blocks annotated with syntax
8951− information. Thanks to Luke Plant for the patch.
8952−
8953− * Added "head" to list of block-level HTML tags. Resolves
8954− Issue #108.
8955−
8956− * Added stripTags to Text.Pandoc.XML. This is used in the HTML writer.
8957−
8958− * Set utf-8 encoding in texinfo headers.
8959−
8960− * Docbook writer: add ids to sections. Use link for internal links.
8961− (Issue #60.)
8962−
8963− * Blank lines after lists in MediaWiki writer.
8964−
8965− * Properly handle commented-out list items in markdown.
8966− Resolves Issue #142. Example:
8967−
8968− - a
8969− <!--
8970− - b
8971− -->
8972− - c
8973−
8974− * Changed heuristic in compactify. compactify has to decide whether a
8975− Para that ends a list is a Para intentionally, or just because of
8976− the blank lines at the end of every list. In the latter case the
8977− Para is turned to a Plain. The old heuristic was: change final Para
8978− to Plain iff the other items all end in Plain. This produces bad
8979− results when, for example, an item contains just a Plain and an HTML
8980− comment, as it does in the list above. The new heuristic: change
8981− final Para to Plain iff the other items don't contain a Para.
8982−
8983− * Added % as an rst underline character. Resolves Issue #173.
8984−
8985− * Fix inline math parser so that \$ is allowed in math.
8986− Resolves Issue #169.
8987−
8988− * Translate \int (integral) into unicode when using unicode math
8989− method. Resolves Issue #177.
8990−
8991− * markdown2pdf.hs improvements:
8992− + Use System.IO.UTF8.
8993− + Print error messages on last attempt.
8994− + Do not create a backup when overwriting a PDF (Issue #166).
8995− + Accept --longopt=val options.
8996− + Added man/man1/markdown2pdf.1 to extra-tmp-files in cabal, so that
8997− it is properly cleaned.
8998−
8999− * Added haddock comments warning that readers assume \n line endings.
9000−
9001− * Updated COPYRIGHT file.
9002−
9003− * Makefile: Changed EXECSBASE so it doesn't pull in hsmarkdown &
9004− markdown2pdf. Otherwise strip tries to strip shell scripts when you
9005− install using 'make'.
9006−
9007− * Changed Makefile so it doesn't build Haskell wrappers.
9008−
9009− * Fixed Makefile so it doesn't try to build man pages in build-doc.
9010−
9011− * Install pcre3.dll in Windows install script; this allows us to
9012− package a version of pandoc with highlighting support.
9013−
9014−pandoc (1.2.1)
9015−
9016− [ John MacFarlane ]
9017−
9018− * Fixed regression with --preserveTabs. Brought back optPreserveTabs.
9019− The trick of setting tabStop to 0 to mean "preserve tabs" had a bad
9020− side effect: strings of 0 spaces were interpreted as indentation.
9021− So, with --preserve-tabs, unindented paragraphs were treated as
9022− code. Resolves Issue #138.
9023−
9024− * HTML writer: wrap sections in divs. Resolves Issue #70.
9025−
9026− + hierarchicalize has been rationalized; it builds a hierarchical
9027− representation of the document from the headers, and simultaneously
9028− gives each section a unique identifier based on the heading title.
9029− + Identifiers are now attached to the divs rather than
9030− to the headers themselves.
9031− + Table of content backlinks go to the beginning of the table, rather
9032− than to the section reference that was clicked.
9033− + Code for constructing identifiers has been moved to Text.Pandoc.Shared
9034− from the HTML writer, since it is now consumed only by
9035− hierarchicalize.
9036− + In --strict mode, pandoc just prints bare headings, as before
9037− (unless --toc has been specified).
9038− + In s5 output, it does not wrap sections in divs, as that seems to
9039− confuse the s5 javascript.
9040−
9041− * Man writer: break lines at end of each sentence. groff expects this
9042− and treats '.' and '?' differently when followed by line ending as
9043− opposed to ordinary space. Also, don't escape periods. Instead, use
9044− zero-width character \& to avoid unwanted interpretation of periods
9045− at start of line. Resolves Issue #148.
9046−
9047− * Markdown writer: Added '#' and '>' to list of characters to be
9048− escaped in markdown output. Removed '<', as it is not an officially
9049− escapable character. This partially resolves Issue #96.
9050−
9051− * Make --smart the default for man output format. Otherwise we have
9052− trouble dividing lists of endlines into sentences.
9053−
9054− * DocBook writer: Use language attribute to indicate source language
9055− in code blocks.
9056−
9057− * RST reader:
9058−
9059− + Allow # to continue list, even if the list was started with an
9060− explicit marker. For example:
9061−
9062− A. my list
9063− #. continued
9064−
9065− Resolves Issue #140.
9066− + Allow continuation lines in line blocks. Also added test cases for
9067− line blocks for RST reader. Resolves Issue #149.
9068− + Allow explicit links with spaces in URL: `link <to this>`_
9069−
9070− * Improved LaTeX reader's coverage of math modes. Remove displaymath*
9071− (which is not in LaTeX) and recognize all the amsmath environments
9072− that are alternatives to eqnarray, namely equation, equation*,
9073− gather, gather*, gathered, multline, multline*, align, align*,
9074− alignat, alignat*, aligned, alignedat, split. Resolves Issue #103.
9075− Thanks to shreevatsa.public for the patch.
9076−
9077− * Markdown reader:
9078−
9079− + Allow -, _, :, . in markdown attribute names. These are legal in
9080− XML attribute names.
9081− + Use non-breaking spaces in abbreviations.
9082− + Markdown reader: improved efficiency of abbreviation parsing.
9083− Instead of a separate abbrev parser, we just check for
9084− abbreviations each time we parse a string. This gives a huge
9085− performance boost with -S. Resolves Issue #141.
9086−
9087− * Improved efficiency of shared parsers: hexNum, htmlComment,
9088− whitespace, indentSpaces.
9089−
9090− * Export HTMLMathMethod in Text.Pandoc.
9091−
9092− * Export languagesByExtension in Text.Pandoc.Highlighting.
9093−
9094− * Added new Haskell version of markdown2pdf, due to
9095− Paulo Tanimoto. This should be more portable than the old
9096− shell script.
9097−
9098− * Made 'pandoc -v' more explicit about compiler options.
9099− Resolves Issue #139.
9100−
9101− * pandoc.hs: Made --strict compatible with --standalone, --toc.
9102−
9103− * Use Paths_pandoc to get version number, instead of hard-coding it
9104− into Text/Pandoc.hs.
9105−
9106−pandoc (1.2)
9107−
9108− [ John MacFarlane ]
9109−
9110− * Added support for literate Haskell. lhs support is triggered by
9111− '+lhs' suffixes in formats. For example, 'latex+lhs' is literate
9112− Haskell LaTeX. '.lhs' files are treated by default as literate
9113− markdown.
9114−
9115− + Added stateLiterateHaskell to parser state.
9116− + Added parser for lhsCodeBlock to Markdown, RST, LaTeX readers.
9117− + Added parser for |inline lhs| to LaTeX reader.
9118− + Added writerLiterateHaskell to WriterOptions.
9119− + Added lhs support to Markdown, RST, LaTeX, HTML writers.
9120− + Added definition of code environment to LaTeX header.
9121− + Added tests (run only if highlighting support compiled in).
9122− + Documented lhs features in man page and README.
9123−
9124− * In Text.Pandoc.Definition, added processWith, processWithM,
9125− and queryWith, and deprecated processPandoc and queryPandoc
9126− for these more general functions.
9127−
9128− * Fixed bug in mediawiki writer: improper closing tags in tables.
9129− Thanks to Benct Philip Jonsson for reporting the bug.
9130−
9131− * Added --email-obfuscation option.
9132−
9133− + Added writer option for email obfuscation.
9134− + Implemented email obfuscation options in HTML writer.
9135− + Added option to option parser.
9136− + Documented in README and pandoc man page.
9137− + Resolves Issue #97.
9138−
9139− * LaTeX writer: fixed bug with empty table cells.
9140− Resolves Issue #107. Thanks to rodja.trappe for the patch.
9141−
9142− * Fixed bug with header spacing in Markdown and RST writers.
9143− A null header (Meta [] [] []) should not cause a blank line
9144− at the beginning of output. But a blank line is needed between
9145− a non-null header and the main text.
9146−
9147− * Markdown reader: Relax spacing rules for $$ in display math. Now
9148− space and newlines are allowed after the opening $$ and before the
9149− closing $$. However, the display math cannot contain an entirely
9150− blank line. Resolves Issue #105.
9151−
9152− * Markdown reader: Gobble space after Plain blocks containing only
9153− raw html inline. Otherwise following header blocks are not parsed
9154− correctly, since the parser sees blank space before them. Resolves
9155− Issue #124.
9156−
9157− * Markdown reader: Allow " as well as '' to end a latex double-quote.
9158−
9159− * Conditionally depend on syb and base >= 4 if ghc >= 6.10.
9160− Resolves Issue #109.
9161−
9162− * Fixed problems in RST and markdown output due to bug in pretty-1.0.1.0
9163−
9164− + Added hang' function to Text.Pandoc.Shared; this will be used instead
9165− of hang, which doesn't work properly in pretty-1.0.1.0. When pretty
9166− is upgraded, we can go back to hang.
9167− See http://article.gmane.org/gmane.comp.lang.haskell.general/16687
9168− + Use hang' (and some different techniques) in RST and markdown writers.
9169− Some output is now a bit different.
9170−
9171− * Brought citeproc support up to date for citeproc-hs-0.2.
9172− (Patch by Andrea Rossato.)
9173−
9174− * Moved all haskell source to src subdirectory. Renamed Main.hs to
9175− pandoc.hs.
9176−
9177− * Rewrote hsmarkdown in Haskell for portability (src/hsmarkdown.hs).
9178− For now, keeping the old shell script too.
9179−
9180− * Added TemplateHaskell to Extensions for executable, removed
9181− -threaded for library. Thanks to duncan.coutts for the bug report.
9182− Resolves Issue #121.
9183−
9184− * Moved some Extra-Source-Files to Data-Files.
9185−
9186− * Moved tabFilter to Shared.
9187−
9188− * In pandoc.hs, removed optPreserveTabs; instead, tabstop of 0 means
9189− preserve tabs.
9190−
9191− * Minor code cleanup based on hlint suggestions.
9192−
9193−pandoc (1.1)
9194−
9195− [ John MacFarlane ]
9196−
9197− * Main.hs:
9198−
9199− + Changed date on copyright message in Main.hs.
9200− + Have the '-v' option print syntax highlighting languages
9201− separated by commas, and wrapped in lines, instead of in five
9202− columns as before.
9203−
9204− * Added --jsmath option. Resolves Issue #68.
9205−
9206− + Added --jsmath option to Main.hs
9207− + Added JsMath to HTMLMathMethod in Text.Pandoc.Shared.
9208− + Handle math appropriately in HTML writer when JsMath selected.
9209− + Documented the option in README and man page.
9210−
9211− * Text.Pandoc.Shared: Changed compactify to use a better heuristic
9212− for tight and loose lists. Final Para is changed to Plain if all
9213− other list items *end* with a Plain block. Addresses Issue #99.
9214−
9215− * HTML reader:
9216−
9217− + Added colons to protocols in unsanitaryURI. Closes Issue #88.
9218− + HTML reader: Don't interpret contents of <pre> blocks as markdown.
9219− Added rawVerbatimBlock parser. Resolves Issue #94.
9220−
9221− * Markdown reader:
9222−
9223− + Allow URLs with spaces in them in links and references, but escape
9224− them as "%20".
9225− + Allow blank space at the end of horizontal rules.
9226−
9227− * RST reader: Modified 'unknownDirective' parser to handle comment
9228− blocks correctly, and added tests for comment blocks. Resolves Issue
9229− #86. Closes Debian Bug #500662.
9230−
9231− * HTML writer:
9232−
9233− + Include classes on tr elements in HTML output:
9234− "header", "odd", "even". This allows tables to be styled with
9235− lines in alternating colors. Resolves Issue #91.
9236− + Enclose all LaTeXMathML bits in <span class="LaTeX">.
9237− This prevents parts of the document that are not math from being
9238− interpreted as math by LaTeXMathML.js.
9239−
9240− * OpenDocument and ODT writers: Added support for HorizontalRule elements,
9241− which were formerly ignored. Resolves Issue #95.
9242−
9243− * Text.Pandoc.Shared: Modified wrappedTeX to eliminate the line break
9244− between a footnote and immediately following nonspace characters in
9245− LaTeX and ConTeXt output. (This gets interpreted as a space, which
9246− is not desired in cases like "text^[note]---".) Resolves Issue #93.
9247−
9248− * Windows installer: Don't require admin privileges to run
9249− installer. Modified pandoc-setup.iss, and changed modpath.iss to
9250− modify HKCU path if user lacks admin privileges. Also fixed case
9251− where oldpath is empty (previously this led to the new path
9252− beginning with a semicolon).
9253−
9254− * Updated INSTALL instructions for Arch packages and OS X install using
9255− cabal-install.
9256−
9257− * Removed the (now unneeded) debian directory.
9258− Removed empty Codec and System directories.
9259−
9260− * Moved odt-styles/ to data/. Removed unneeded variable in Makefile.
9261−
9262− * Modified Setup.hs so that the "test" target returns an error status
9263− when tests fail, and "build" returns a success status if
9264− the build succeeds. Resolves Issue #100.
9265−
9266− * Added BUGS to files in tarball.
9267−
9268−
9269−pandoc (1.0.0.1)
9270−
9271− [ John MacFarlane ]
9272−
9273− * Removed spurious reference to pdf output format from pandoc(1) man page.
9274−
9275−pandoc (1.0)
9276−
9277− [ Andrea Rossato ]
9278−
9279− * Added new OpenDocument writer.
9280−
9281− * Added support for SmallCaps inline element.
9282−
9283− * Added support for integrating pandoc with citeproc-hs.
9284−
9285− + Added Cite element to definition and writers.
9286− + Added Text.Pandoc.Biblio module
9287− + Note: This support is included only if the 'citeproc'
9288− Cabal configuration flag is set.
9289−
9290− * Made Pandoc data structure an instance of Typeable.
9291− Added new processPandoc and queryPandoc functions, to query
9292− or transform matching elements in a Pandoc structure.
9293−
9294− [ Peter Wang ]
9295−
9296− * Added new Texinfo writer.
9297−
9298− [ John MacFarlane ]
9299−
9300− * Changes to Texinfo writer:
9301−
9302− + No space between paragraph and following @verbatim (provides more
9303− pleasing appearance in text formats)
9304− + Blank line consistently after list environments.
9305− + Removed deVerb.
9306− + Use @code instead of @verb for inline code (this solves the character
9307− escaping problem for texi2dvi and texi2pdf).
9308− + Added news of Texinfo writer to README.
9309− + Added Texinfo to list of formats in man page, and removed extra 'groff'.
9310− + Added texi & texinfo extensions to Main.hs, and fixed bug in determining
9311− default output extension.
9312− + Modified disallowedInNode in Texinfo writer to correct list of disallowed characters.
9313−
9314− * Added tests for OpenDocument writer.
9315−
9316− * Added ODT writer (using zip-archive library to package output of
9317− OpenDocument writer). Added odt-styles directory with default ODT styles.
9318−
9319− * Added new mediawiki writer and tests.
9320−
9321− * Markdown reader: Added support for delimited code blocks, with optional
9322− syntax highlighting using highlighting-kate (if the 'highlighting'
9323− configuration option is selected).
9324−
9325− + Currently highlighting is supported only in the HTML writer.
9326− + Delimited code blocks can have attributes; using the language name as
9327− class triggers highlighting.
9328− + New Attributes parameter in CodeBlock structure.
9329− + --version now indicates whether syntax highlighting support is compiled
9330− in, and prints a list of supported languages
9331−
9332− * Removed debian directory. Pandoc is no longer a native debian package.
9333−
9334− * Changes to build process: pandoc can now be built from the repository
9335− using Cabal. No unix tools are needed (so, pandoc can be built on Windows
9336− without Cygwin).
9337−
9338− + Include shell scripts themselves in repo, rather than generating from wrappers.
9339− Removed wrappers directory and wrappers Makefile target.
9340− + Text/Pandoc/ASCIIMathML.hs, Text/Pandoc/DefaultHeaders.hs,
9341− and Text/Pandoc/Writers/S5.hs are no longer built in Makefile
9342− from templates in the templates/ directory. Instead, they use template
9343− haskell to read data at compile time from the relevant files in data/.
9344− Template haskell functions go in a new module, Text.Pandoc.TH.
9345− + man pages are now generated in Setup.hs hook, not by Makefile
9346− + Makefile 'tarball' target now calls Cabal's 'sdist'
9347− + Added "Extra-Source-Files" to pandoc.cabal, so sdist contains everything needed
9348− + Added "Build-Type" field to pandoc.cabal to avoid warning.
9349− + Added to "Extra-source-files" and "Extra-tmp-files" in pandoc.cabal,
9350− so 'sdist' and 'clean' will work properly.
9351− + Setup.hs now generates man pages in a postbuild hook.
9352− + Added dependency-checking to Setup.hs, so it only rebuilds things
9353− that need rebuilding.
9354− + Added 'library' and 'executable' configuration flags.
9355− Cabal can now be told to build just the library or just the executable.
9356− + CABALOPTS may now be specified with 'make' to pass Cabal configuration flags.
9357− For example: CABALOPTS=-fhighlighting make
9358−
9359− * Rewrote test suite so it doesn't depend on perl or unix tools.
9360−
9361− + Replaced old runtests.pl with a Haskell script RunTests.hs.
9362− + Added Diff.hs module to be used by RunTests.hs instead of unix 'diff'.
9363− + Added test hook to Setup.hs, so tests may be run from cabal.
9364− + Changed Makefile's 'test' target to run tests via cabal.
9365− + Removed old generate.sh.
9366− + Since we no longer have 'sed' to filter out raw HTML sections
9367− from the docbook writer test, or raw LaTeX sections from the
9368− context writer test, we now just include these sections.
9369− They can be taken out if it is necessary to process the files.
9370− + Updated latex and context writer tests to remove extra spaces
9371− after '\\item'
9372− + Added a markdown table reader test.
9373− + Added markdown-reader-more.txt to test suite, for additional test cases
9374− for raw ConTeXt environments and more.
9375−
9376− * Compatibility fixes for CPP, Cabal, and haddock:
9377−
9378− + Use CPP in "Extensions" field in pandoc.cabal.
9379− + Removed use of backslash string continuations in source files.
9380−
9381− * Removed pandoc.cabal.ghc66. We now require Cabal >= 1.2, GHC >= 6.8,
9382− base >= 3.
9383−
9384− * Require parsec < 3.
9385− The compatibility module in parsec 3.0.0 gives far worse performance than
9386− parsec 2.1. Eventually pandoc will be upgraded to use the new bytestring
9387− version of parsec, and then we'll go to parsec 3.0.0.
9388−
9389− * Removed Text.Regex dependencies by rewriting using plain Haskell
9390− (Text.Pandoc.Writers.RTF, Text.Pandoc.Writers.HTML, Main.hs)
9391−
9392− * Moved Text.Pandoc.Writers.DefaultHeaders -> Text.Pandoc.DefaultHeaders.
9393−
9394− * Makefile:
9395−
9396− + Added 'configure' as dependency of 'uninstall-all'.
9397− (It uses the Cabal build program.)
9398− + Makefile: only use --with-hc-pkg if GHC_PKG is defined.
9399− Note that Cabal will automatically choose the ghc-pkg appropriate
9400− for the compiler selected, so normally specifying GHC by itself
9401− is sufficient.
9402−
9403− * Removed Text.Pandoc.UTF8 module; instead, depend on utf8-string and use
9404− its IO and conversion functions.
9405−
9406− * Added -Wall to ghc-options in pandoc.cabal. Cleaned up modules so that
9407− everything is -Wall clean.
9408−
9409− + Added pragma to HTML writer to avoid deprecation warning for use of "start" attribute.
9410− + Added pragma to Text/Pandoc/Shared.hs to get rid of "orphan instance" warnings.
9411− (These are caused by the Lift instance for ByteString.)
9412−
9413− * Changed the comment used to replace unsafe HTML if sanitize-html option
9414− selected.
9415−
9416− * Made -c/--css option repeatable on the command line (like -H, -A, -B).
9417−
9418− * Moved XML-formatting functions to new unexported module Text.Pandoc.XML.
9419−
9420− * Escape '\160' as "&#160;", not "&nbsp;" in XML.
9421− "nbsp" isn't a predefined XML entity.
9422−
9423− * Fixed bug in RST reader, which would choke on: "p. one\ntwo\n".
9424− Added some try's in ordered list parsers.
9425−
9426− * Man writer: don't escape " as \".
9427−
9428− * Allow newline before URL in markdown link references. Resolves Issue #81.
9429− Added tests for this issue in new "markdown-reader-more" tests.
9430− Changed RunTests.hs to run these tests.
9431−
9432− * Support for display math. Resolves Issue #47.
9433−
9434− + Added a DisplayMath/InlineMath selector to Math inlines.
9435− + Markdown parser yields DisplayMath for $$...$$.
9436− + LaTeX parser yields DisplayMath when appropriate. Removed
9437− mathBlock parsers, since the same effect is achieved by the math
9438− inline parsers, now that they handle display math.
9439− + Writers handle DisplayMath as appropriate for the format.
9440− + Modified tests accordingly; added new tests for display math.
9441−
9442− * Use LaTeXMathML instead of ASCIIMathML. LaTeXMathML is closer
9443− to LaTeX in its display of math, and supports many non-math LaTeX environments.
9444−
9445− + Changed -m option to use LaTeXMathML rather than ASCIIMathML.
9446− + Modified HTML writer to print raw TeX when LaTeXMathML is
9447− being used instead of suppressing it.
9448− + Removed ASCIIMathML files from data/ and added LaTeXMathML.
9449− + Replaced ASCIIMathML with LaTeXMathML in source files.
9450− + Modified README and pandoc man page source.
9451− + Added --latexmathml option (kept --asciimathml as a synonym
9452− for backwards compatibility)
9453−
9454− * Markdown reader: Parse setext headers before atx headers.
9455− Test case:
9456− # hi
9457− ====
9458− parsed by Markdown.pl as an H1 header with contents "# hi".
9459−
9460− * Markdown reader: Treat "mixed" lists the same way as Markdown.pl does.
9461− The marker on the first list item determines the type of the whole
9462− list. Thus, a list like
9463− 1. one
9464− - two
9465− * three
9466− gets parsed as a single ordered list. (Previous versions of pandoc
9467− treated this as an ordered list with an unordered sublist.)
9468−
9469− * Markdown smart typography:
9470−
9471− + Em dashes no longer eat surrounding whitespace. Resolves Issue #69.
9472− + Use nonbreaking spaces after known abbreviations in markdown parser.
9473− Thus, for example, "Mr. Brown" comes out as "Mr.~Brown" in LaTeX, and does
9474− not produce a sentence-separating space. Resolves Issue #75.
9475−
9476− * Markdown writer: Print unicode \160 literally, rather than as &nbsp;.
9477−
9478− * Treat '\ ' in (extended) markdown as nonbreaking space.
9479− Print nonbreaking space appropriately in each writer (e.g. ~ in LaTeX).
9480−
9481− * The '--sanitize-html' option now examines URIs in markdown links
9482− and images, and in HTML href and src attributes. If the URI scheme
9483− is not on a whitelist of safe schemes, it is rejected. The main point
9484− is to prevent cross-site scripting attacks using 'javascript:' URIs.
9485− See http://www.mail-archive.com/markdown-discuss@six.pairlist.net/msg01186.html
9486− and http://ha.ckers.org/xss.html. Resolves Issue #62.
9487−
9488− * HTML writer:
9489−
9490− + Override Text.XHtml's stringToHtml function,
9491− so that characters below 0xff are not converted to numerical entity
9492− references. Also convert '\160' to "&nbsp;". This should aid readability
9493− and editability of the HTML source. It does presuppose that the HTML
9494− will be served as UTF-8.
9495− + In code blocks, change leading newlines to <br /> tags.
9496− (Some browsers ignore them.) Resolves Issue #71.
9497− See http://six.pairlist.net/pipermail/markdown-discuss/2008-May/001297.html
9498− + Use style attributes rather than css classes for strikethrough
9499− and ordered list styles. This works better when fragments, rather than
9500− standalone documents, are generated.
9501−
9502− * HTML reader: Count anything that isn't a known block (HTML) tag as an
9503− inline tag (rather than the other way around). Added "html", "head", and
9504− "body" to list of block tags. Resolves Issue #66, allowing
9505− <lj> to count as an inline tag.
9506−
9507− * RTF writer: Fixed bug. Extra spaces were being printed after emphasized,
9508− boldface, and other inline elements. Resolves Issue #64.
9509−
9510− * LaTeX reader: improvements in raw LaTeX parsing.
9511−
9512− + "loose punctuation" (like {}) parsed as Space
9513− + Para elements must contain more than Str "" and Space elements
9514− + Added parser for "\ignore" command used in literate haskell.
9515− + Reworked unknownCommand and rawLaTeXInline: when not in "parse raw"
9516− mode, these parsers simply strip off the command part and allow
9517− the arguments to be parsed normally. So, for example,
9518− \blorg{\emph{hi}} will be parsed as Emph "hi" rather than
9519− Str "{\\emph{hi}}".
9520− + Parse lhs "code" environments as verbatim.
9521− Refactored parsers for verbatim environments.
9522− + Removed specialEnvironment parser.
9523− + parse '{}', if present, after \textless, \textgreater,
9524− \textbar, \textbackslash, \ldots.
9525− + Parse unescaped special characters verbatim rather than
9526− changing them to spaces. This way arguments of unknown
9527− commands will appear in braces.
9528−
9529− * Parse raw ConTeXt environments as TeX in markdown reader.
9530− Resolves Issue #73.
9531−
9532− * Moved BlockWrapper and wrappedBlocksToDoc from ConTeXt writer to Shared.
9533−
9534− * Made some structural changes to parsing of raw LaTeX environments.
9535− Previously there was a special block parser for LaTeX environments.
9536− It returned a Para element containing the raw TeX inline. This has
9537− been removed, and the raw LaTeX environment parser is now used in the
9538− rawLaTeXInline parser. The effect is exactly the same, except that we
9539− can now handle consecutive LaTeX and ConTeXt environments not separated
9540− by spaces. This new flexibility is required by the example in
9541− Issue #73:
9542−
9543− \placeformula \startformula
9544− L_{1} = L_{2}
9545− \stopformula
9546−
9547− API change: The LaTeX reader now exports rawLaTeXEnvironment' (which
9548− returns a string) rather than rawLaTeXEnvironment (which returns a block
9549− element). This is more likely to be useful in other applications.
9550−
9551− * Use \textsubscr instead of \textsubscript for LaTeX subscript macro.
9552− \textsubscript conflicts with a definition in the memoir class.
9553− Resolves Issue #65.
9554−
9555− * Removed unneeded space after "\\item" in LaTeX and ConTeXt output.
9556−
9557− * Added amsmath package to default LaTeX header. Resolves Issue #48.
9558−
9559− * Added \setupitemize[autointro] to ConTeXt header, to prevent orphaned
9560− list introduction lines.
9561−
9562− * Changed Float to Double in definition of Table element.
9563− (Double is more efficient in GHC.)
9564−
9565− * Fixed bug in Markdown parser: regular $s triggering math mode.
9566− For example: "shoes ($20) and socks ($5)."
9567− The fix consists in two new restrictions:
9568−
9569− + the $ that ends a math span may not be directly followed by a digit.
9570− + no blank lines may be included within a math span.
9571−
9572− Thanks to Joseph Reagle for noticing the bug.
9573−
9574− * Use Data.List's 'intercalate' instead of custom 'joinWithSep'.
9575− Removed 'joinWithSep' from Text.Pandoc.Shared.
9576−
9577− * Updated README and man pages. Acknowledge contributors in README.
9578− Added paragraph to README about producing S5 with separate CSS/javascript.
9579−
9580− * Updated INSTALL to reflect new build system (including configuration
9581− options) and document new dependencies. Added note to INSTALL that
9582− Cabal >= 1.2 is required for build. Resolves Issue #74.
9583−
9584− * Fixed some haddock documentation errors.
9585−
9586− * Small fix to markdown2pdf man page: only input needs to be piped through iconv.
9587−
9588−pandoc (0.46) unstable; urgency=low
9589−
9590− [ John MacFarlane ]
9591−
9592− * Made -H, -A, and -B options cumulative: if they are specified
9593− multiple times, multiple files will be included.
9594−
9595− * Added optional HTML sanitization using a whitelist.
9596− When this option is specified (--sanitize-html on the command line),
9597− unsafe HTML tags will be replaced by HTML comments, and unsafe HTML
9598− attributes will be removed. This option should be especially useful
9599− for those who want to use pandoc libraries in web applications, where
9600− users will provide the input.
9601−
9602− + Main.hs: Added --sanitize-html option.
9603−
9604− + Text.Pandoc.Shared: Added stateSanitizeHTML to ParserState.
9605−
9606− + Text.Pandoc.Readers.HTML:
9607− - Added whitelists of sanitaryTags and sanitaryAttributes.
9608− - Added parsers to check these lists (and state) to see if a given
9609− tag or attribute should be counted unsafe.
9610− - Modified anyHtmlTag and anyHtmlEndTag to replace unsafe tags
9611− with comments.
9612− - Modified htmlAttribute to remove unsafe attributes.
9613− - Modified htmlScript and htmlStyle to remove these elements if
9614− unsafe.
9615−
9616− + Modified README and man pages to document new option.
9617−
9618− * Improved handling of email addresses in markdown and reStructuredText.
9619− Consolidated uri and email address parsers. (Resolves Issue #37.)
9620−
9621− + New emailAddress and uri parsers in Text.Pandoc.Shared.
9622− - uri parser uses parseURI from Network.URI.
9623− - emailAddress parser properly handles email addresses with periods
9624− in them.
9625−
9626− + Removed uri and emailAddress parsers from Text.Pandoc.Readers.RST
9627− and Text.Pandoc.Readers.Markdown.
9628−
9629− * Markdown reader:
9630−
9631− + Fixed emph parser so that "*hi **there***" is parsed as a Strong
9632− nested in an Emph. (A '*' is only recognized as the end of the
9633− emphasis if it's not the beginning of a strong emphasis.)
9634−
9635− + Moved blockQuote parser before list parsers for performance.
9636−
9637− + Modified 'source' parser to allow backslash-escapes in URLs.
9638− So, for example, [my](/url\(1\)) yields a link to /url(1).
9639− Resolves Issue #34.
9640−
9641− + Disallowed links within links. (Resolves Issue #35.)
9642− - Replaced inlinesInBalanced with inlinesInBalancedBrackets, which
9643− instead of hard-coding the inline parser takes an inline parser
9644− as a parameter.
9645− - Modified reference and inlineNote to use inlinesInBalancedBrackets.
9646− - Removed unneeded inlineString function.
9647− - Added inlineNonLink parser, which is now used in the definition of
9648− reference.
9649− - Added inlineParsers list and redefined inline and inlineNonLink parsers
9650− in terms of it.
9651− - Added failIfLink parser.
9652−
9653− + Better handling of parentheses in URLs and quotation marks in titles.
9654− - 'source' parser first tries to parse URL with balanced parentheses;
9655− if that doesn't work, it tries to parse everything beginning with
9656− '(' and ending with ')'.
9657− - source parser now uses an auxiliary function source'.
9658− - linkTitle parser simplified and improved, under assumption that it
9659− will be called in context of source'.
9660−
9661− + Make 'block' conditional on strictness state, instead of using
9662− failIfStrict in block parsers. Use a different ordering of parsers
9663− in strict mode (raw HTML block before paragraph) for performance.
9664− In non-strict mode use rawHtmlBlocks instead of htmlBlock.
9665− Simplified htmlBlock, since we know it's only called in strict
9666− mode.
9667−
9668− + Improved handling of raw HTML. (Resolves Issue #36.)
9669− - Tags that can be either block or inline (e.g. <ins>) should
9670− be treated as block when appropriate and as inline when
9671− appropriate. Thus, for example,
9672− <ins>hi</ins>
9673− should be treated as a paragraph with inline <ins> tags, while
9674− <ins>
9675− hi
9676− </ins>
9677− should be treated as a paragraph within <ins> tags.
9678− - Moved htmlBlock after para in list of block parsers. This ensures
9679− that tags that can be either block or inline get parsed as inline
9680− when appropriate.
9681− - Modified rawHtmlInline' so that block elements aren't treated as
9682− inline.
9683− - Modified para parser so that paragraphs containing only HTML tags and
9684− blank space are not allowed. Treat these as raw HTML blocks instead.
9685−
9686− + Fixed bug wherein HTML preceding a code block could cause it to
9687− be parsed as a paragraph. The problem is that the HTML parser
9688− used to eat all blank space after an HTML block, including the
9689− indentation of the code block. (Resolves Issue #39.)
9690− - In Text.Pandoc.Readers.HTML, removed parsing of following space
9691− from rawHtmlBlock.
9692− - In Text.Pandoc.Readers.Markdown, modified rawHtmlBlocks so that
9693− indentation is eaten *only* on the first line after the HTML
9694− block. This means that in
9695− <div>
9696− foo
9697− <div>
9698− the foo won't be treated as a code block, but in
9699− <div>
9700−
9701− foo
9702−
9703− </div>
9704− it will. This seems the right approach for least surprise.
9705−
9706− * RST reader:
9707−
9708− + Fixed bug in parsing explicit links (resolves Issue #44).
9709− The problem was that we were looking for inlines until a '<' character
9710− signaled the start of the URL; so, if you hit a reference-style link,
9711− it would keep looking til the end of the document. Fix: change
9712− inline => (notFollowedBy (char '`') >> inline). Note that this won't
9713− allow code inlines in links, but these aren't allowed in resT anyway.
9714−
9715− + Cleaned up parsing of reference names in key blocks and links.
9716− Allow nonquoted reference links to contain isolated '.', '-', '_', so
9717− so that strings like 'a_b_' count as links.
9718−
9719− + Removed unnecessary check for following link in str.
9720− This is unnecessary now that link is above str in the definition of
9721− 'inline'.
9722−
9723− * HTML reader:
9724−
9725− + Modified rawHtmlBlock so it parses </html> and </body> tags.
9726− This allows these tags to be handled correctly in Markdown.
9727− HTML reader now uses rawHtmlBlock', which excludes </html> and </body>,
9728− since these are handled in parseHtml. (Resolves Issue #38.)
9729−
9730− + Fixed bug (emph parser was looking for `<IT>` tag, not `<I>`).
9731−
9732− + Don't interpret contents of style tags as markdown.
9733− (Resolves Issue #40.)
9734− - Added htmlStyle, analagous to htmlScript.
9735− - Use htmlStyle in htmlBlockElement and rawHtmlInline.
9736− - Moved "script" from the list of tags that can be either block or
9737− inline to the list of block tags.
9738−
9739− + Modified rawHtmlBlock to use anyHtmlBlockTag instead of anyHtmlTag
9740− and anyHtmlEndTag. This fixes a bug in markdown parsing, where
9741− inline tags would be included in raw HTML blocks.
9742−
9743− + Modified anyHtmlBlockTag to test for (not inline) rather than
9744− directly for block. This allows us to handle e.g. docbook in
9745− the markdown reader.
9746−
9747− * LaTeX reader: Properly recognize --parse-raw in rawLaTeXInline.
9748− Updated LaTeX reader test to use --parse-raw.
9749−
9750− * HTML writer:
9751−
9752− + Modified rules for automatic HTML header identifiers to
9753− ensure that identifiers begin with an alphabetic character.
9754− The new rules are described in README. (Resolves Issue #33.)
9755−
9756− + Changed handling of titles in HTML writer so you don't get
9757− "titleprefix - " followed by nothing.
9758−
9759− * ConTeXt writer: Use wrappers around Doc elements to ensure proper
9760− spacing. Each block element is wrapped with either Pad or Reg.
9761− Pad'ed elements are guaranteed to have a blank line in between.
9762−
9763− * RST writer:
9764−
9765− + Refactored RST writer to use a record instead of a tuple for state,
9766− and to include options in state so it doesn't need to be passed as
9767− a parameter.
9768−
9769− + Use an interpreted text role to render math in restructuredText.
9770− See http://www.american.edu/econ/itex2mml/mathhack.rst for the
9771− strategy.
9772−
9773− [ Recai Oktaş ]
9774−
9775− * Debian packaging changes:
9776−
9777− + Remove the empty 'include' directory in -dev package, which lintian
9778− complains about.
9779− + Bump Standarts-Version to 3.7.3.
9780− + Use new 'Homepage:' field to specify the upstream URL on suggestion of
9781− lintian.
9782−
9783− -- Recai Oktaş <roktas@debian.org> Tue, 08 Jan 2008 05:13:31 +0200
9784−
9785−pandoc (0.45) unstable; urgency=low
9786−
9787− [ John MacFarlane ]
9788−
9789− * Simplified parsing of reference keys and notes in markdown and RST
9790− readers: The Reference data structure from Text.Pandoc.Shared is no
9791− longer needed, since referenceKey and noteBlock parses return strings
9792− (as many blank lines as were occupied by the key or note) and update
9793− state themselves. getPosition and setPosition are now used to ensure
9794− that error messages will give the correct line number. This yields
9795− cleaner (and slightly faster) code, with more accurate parsing error
9796− messages.
9797−
9798− * Added new Math inline element:
9799−
9800− + Markdown and LaTeX readers now convert TeX math into Math elements,
9801− not TeX.
9802− + This allows math to be treated differently from raw TeX in output.
9803− TeX elements are no longer printed in output formats other than
9804− Markdown, LaTeX, and ConTeXt. But Math elements are always printed.
9805−
9806− * New default handling of math in writers:
9807−
9808− + New module Text.Pandoc.Readers.TeXMath exports readTeXMath, which
9809− parses raw TeX math and outputs a string of Pandoc inlines that
9810− tries to render it as far as possible using unicode characters,
9811− lapsing into literal TeX when needed.
9812− + readTeXMath is now used for default HTML output in HTML, S5, RTF,
9813− and Docbook, if no other method for displaying math in HTML is
9814− specified. Enclosing $'s are no longer printed by default.
9815− + By default, math is put inside `<span class="math">`. This way it can be
9816− distinguished from the surrounding text, e.g. put in a different
9817− font.
9818−
9819− * New --gladtex and --mimetex options for display of math in HTML:
9820−
9821− + If --gladtex is specified, math is output between `<eq>` tags, so
9822− it can be processed by gladTeX.
9823− + If --mimetex is specified, math is put in `<img>` tags with a link
9824− to the mimetex CGI script (or any other script that takes TeX math
9825− as input and outputs an image). The URL of the script may be
9826− specified, but defaults to /cgi-bin/mimetex.cgi.
9827− + HTMLMathMethod structure in WriterOptions keeps track of how to
9828− display math in HTML output.
9829− + Updated README with a description of the four options for displaying
9830− math in HTML.
9831−
9832− * HTML reader:
9833−
9834− + Fixed bug: parser for minimized attributes should not swallow
9835− trailing spaces.
9836− + Simplified HTML attribute parsing.
9837− + Changed parsing of code blocks in HTML reader: `<code>` tag is no
9838− longer needed. `<pre>` suffices. All HTML tags in the code block
9839− (e.g. for syntax highlighting) are skipped, because they are not
9840− portable to other output formats. A `<code>...</code>` block not
9841− surrounded by `<pre>` now counts as inline HTML, not a code block.
9842− + Remove just one leading and one trailing newline from contents of
9843− `<pre>...</pre>` in codeBlock parser.
9844−
9845− * Markdown reader:
9846−
9847− + Removed support for box-style block quotes.
9848− + Require space before title in links and references.
9849− This fixes a bug in parsing URLs like http://silly/url(withparen).
9850− + Improved and simplified setextHeader parser.
9851− + Fixed logic in smart quote parsing, adding some needed 'try'
9852− statements.
9853− + Fixed smart quote parsing so that unicode characters 8216 and 8217
9854− are recognized as single quotes, and 8220 and 8221 as double quotes.
9855−
9856− * RST reader:
9857−
9858− + Fixed bug in parsing of code blocks. Previously a full tab indent
9859− was required, but RST allows code to be indented any amount.
9860− Resolves Issue #27.
9861− + Allow field lists to be indented.
9862− + Parse the contents of field lists instead of treating as a raw string.
9863− + Represent field lists as definition lists instead of blockquotes.
9864− + Fixed bug in which metadata would be overridden if the document
9865− contained multiple field lists.
9866− + Parse fields associated with '.. image::' blocks, and use 'alt'
9867− field, if given, for image alt and title attributes.
9868−
9869− * LaTeX reader:
9870−
9871− + Modified specialChar so that '"' characters are parsed.
9872− + Fixed a bug in parsing of \[ \] math blocks (thanks to Mark Kalderon).
9873−
9874− * HTML writer:
9875−
9876− + Changes in handling of math (see above).
9877− + Don't produce HTML for table of contents if there are
9878− no headers. (This would be an empty list, which is invalid XHTML.)
9879−
9880− * Markdown writer:
9881−
9882− + Don't print title attribute if title is empty. (This differs from
9883− the behavior of Markdown.pl, and agrees with PHP Markdown. But John
9884− Gruber has indicated that he prefers this behavior.) Adjusted test
9885− suite accordingly.
9886− + Fixed incorrect line wrapping in paragraphs including hard line
9887− breaks. Resolves Issue #25.
9888− + Fixed bug in markdown writer: If an ordered list item began with
9889− a marker greater than 3 characters in width, and the item took more
9890− than one line, it would appear on the line after the list marker,
9891− e.g.:
9892−
9893− (12)
9894− My list item.
9895− Multiline.
9896−
9897− Now it works as follows:
9898−
9899− (12) My list item.
9900− Multiline.
9901−
9902− * RST writer
9903−
9904− + Fixed bug in RST writer's handling of ordered lists. Previously,
9905− list items with multiple lines would not always line up with
9906− single-line list items. Now, list items are nested the length of
9907− the list marker + 1. This looks better and ensures that list items
9908− all line up. (Note that list markers are padded to the length of
9909− the longest list marker in the series.)
9910− + Use 3-space indent for unordered lists.
9911− + If label for a link reference contains a colon, surround it by `
9912− signs so it won't be interpreted as the end of the link label.
9913−
9914− * LaTeX writer:
9915−
9916− + Cleaner output for footnotes. Footnotes now always begin on a new
9917− line, and the final } is on a line by itself only when it needs to
9918− be (i.e. only when the note ends with a Verbatim environment).
9919− + Added writer options to state, so state doesn't need to be passed as
9920− a parameter.
9921− + Text wrapping now provided, using wrapTeXIfNeeded.
9922−
9923− * ConTeXt writer: many improvements for more idiomatic ConTeXt output
9924− (thanks to Idris Samawi Hamid for suggestions).
9925−
9926− + PrettyPrint module now used for output.
9927− + Writer options are now in state, so they don't have to be passed as
9928− a parameter.
9929− + Text wrapping now provided, using wrapTeXIfNeeded.
9930− + Better treatment of footnotes: footnotes are always on lines by
9931− themselves, and the final } is on a line by itself only when
9932− it needs to be (after \stoptyping).
9933− + Use \subject, \subsubject, ... or \section, \subsection, ... for headings,
9934− depending on whether --number-sections option is selected.
9935− + Extra blank line inserted after \stopitemize
9936− + Use new, "official" definition of blockquote environment. Also, use
9937− blank line after \startblockquote to balance blank line at the end.
9938− + Both itemized and enumerated lists are now generated using
9939− \start-stopitemize, with appropriate options. Removed definitions
9940− of ltxenum and ltxitem, which are no longer needed. Provided
9941− defaults for itemized lists in the preamble. State keeps track of
9942− ordered list level, so that when default numbering is specified,
9943− the appropriate scheme can be used.
9944− + Changed \useurl to \useURL.
9945− + Changed link color from red to blue.
9946− + Use \subsubsubsubsection etc., since these are supported
9947− (up to at least sub x 5).
9948−
9949− * Text.Pandoc.Shared:
9950−
9951− + Save and restore position in parseFromString, so that accurate
9952− error messages can be given.
9953− + Improved efficiency of romanNumeral parser.
9954− + Added wrappedTeX and wrapTeXIfNeeded functions. These ensure
9955− that footnotes occur on lines by themselves (to make them
9956− easier to see and move) and do not screw up line wrapping.
9957−
9958− * Text.Pandoc.UTF8: modified fromUTF8 to strip out the BOM
9959− if present. Windows Notepad and other applications insert a
9960− BOM at the beginning of a UTF8 file.
9961−
9962− * Main.hs (tabFilter): Treat '\r' at end of line as newline (in
9963− addition to "\r\n" and '\n').
9964−
9965− * Added a writer option for wrapped text and a command-line option
9966− '--no-wrap', which disables text wrapping and minimizes whitespace
9967− in HTML. (Resolves Issue #26.)
9968−
9969− + Added support for '--no-wrap' to Main.hs.
9970− + Added wrapIfNeeded function to Text.Pandoc.Shared.
9971− + Use wrapIfNeeded instead of wrapped in the RST, Man, Docbook, and
9972− Markdown writers.
9973− + Added render and renderFragment helpers to HTML writer.
9974−
9975− * Modified html2markdown to run tidy only if the HTML cannot be
9976− parsed. Previously html2markdown piped all input through tidy
9977− before passing it to pandoc. This caused problems on certain pages
9978− (e.g. http://daringfireball.com/markdown) which have well-formed
9979− XHTML that causes tidy to choke. The solution is to pipe through
9980− tidy only if pandoc cannot parse the input by itself. This means
9981− that a temp file is now always used, even when input comes from a
9982− local file or standard input.
9983−
9984− * Removed 'version' constant from Main.hs; added 'pandocVersion' to
9985− Text.Pandoc library.
9986−
9987− * pandoc.cabal:
9988−
9989− + Modified to work with GHC 6.8 and Cabal configurations. (For GHC
9990− 6.8, pretty and containers must be added to Build-Depends, and it
9991− is desirable to use the -O2 compiler option.) Cabal configurations
9992− allows one to select options depending on the compiler version.
9993− For GHC 6.6, the splitBase option can be disabled.
9994− + pandoc.cabal.ghc66 is provided for users with older versions of
9995− Cabal, which do not support configurations.
9996− + Use Ghc-Prof-Options to ensure that '-auto-all' is used when
9997− '--enable-(executable|library)-profiling' is specified. Updated
9998− PROFILING instructions accordingly.
9999−
10000− * Makefile:
10001−
10002− + Makefile now checks GHC version. If GHC is 6.6, pandoc.cabal.ghc66
10003− is copied to pandoc.cabal, and the old pandoc.cabal is copied
10004− to pandoc.cabal.orig. Otherwise, pandoc.cabal is copied to
10005− pandoc.cabal.orig but otherwise unmodified. This way, the Makefile
10006− will work properly with either GHC 6.6 or 6.8.
10007− + Changed BUILDCONF to point to dist/setup-config, not .setup-config.
10008− This is where current versions of Cabal put it.
10009− + Added $(BUILDCMD) target, so setup doesn't get compiled every time.
10010− + Removed dependency of templates on ./templates, which is circular
10011− now that templates is a subdirectory of the top-level.
10012−
10013− * MacPorts Portfile:
10014−
10015− + Modified to install the pandoc library in addition to programs.
10016− + Installation must be done manually rather than using Makefile's
10017− install-all.
10018− + Note that the library must be registered in the activate phase,
10019− after the library files have been copied out of the destroot.
10020− Cabal generates a 'register.sh' script that will do this.
10021−
10022− * debian/control: Added libghc6-network-dev, libghc6-xhtml-dev, and
10023− libghc6-mtl-dev as dependencies for libghc6-pandoc-dev.
10024− Closes: #445235
10025−
10026− * debian/rules: Converted to UTF-8.
10027−
10028− * Changed pandoc home page to http://johnmacfarlane.net/pandoc/.
10029−
10030− * Updated ASCIIMathML.js to latest version.
10031−
10032− * Directory structure:
10033−
10034− + Moved everything from src into the top-level directory.
10035− + Changed references to source directory in Makefile and
10036− pandoc.cabal.*.
10037− + Moved ASCIIMathML.js, headers, and ui into templates directory.
10038− + Modified fillTemplates.pl to reflect new paths.
10039−
10040− [ Recai Oktaş ]
10041−
10042− * Makefile: Fixed the issue of having two copies of the library
10043− documentation under some usage scenarios.
10044−
10045− * Replaced 'ghc' with '$(GHC)' in Makefile, and made GHC
10046− and GHC_PKG configurable through the environment, to support
10047− unusual ghc installations. For example:
10048− GHC=/opt/ghc/bin/ghc GHC_PKG=/opt/ghc/bin/ghc-pkg make
10049−
10050− -- Recai Oktaş <roktas@debian.org> Sun, 07 Oct 2007 20:51:43 +0300
10051−
10052−pandoc (0.44) unstable; urgency=low
10053−
10054− [ John MacFarlane ]
10055−
10056− * Fixed bug in HTML writer: when --toc was used, anchors were put around
10057− headers, which is invalid XHTML (block content within inline element).
10058− Now the anchors are put inside the header tags. Resolves Issue #23.
10059−
10060− * Added xmlns attribute to html element in html writer tests.
10061− This attribute is added by more recent versions of the
10062− xhtml library (>= 3000), and is required for valid XHTML.
10063−
10064− [ Recai Oktaş ]
10065−
10066− * On configure, compile 'Setup.hs' to 'setup' and use 'setup' as the build
10067− command instead of 'runhaskell', which, on some platforms (such as s390,
10068− alpha, m68k), throws the following error:
10069−
10070− runhaskell Setup.hs configure --prefix=/usr
10071− ghc-6.6.1: not built for interactive use
10072−
10073− This causes a serious FTBFS bug. Closes: #440668.
10074−
10075− -- Recai Oktaş <roktas@debian.org> Mon, 03 Sep 2007 18:24:02 +0300
10076−
10077−pandoc (0.43) unstable; urgency=low
10078−
10079− [ John MacFarlane ]
10080−
10081− * The focus of this release is performance. The markdown parser
10082− is about five times faster than in 0.42, based on benchmarks
10083− with the TextMate manual.
10084−
10085− * Main.hs: Replaced CRFilter and tabFilter with single function
10086− tabFilter, which operates on the whole string rather than breaking
10087− it into lines, and handles dos-style line-endings as well as tabs.
10088−
10089− * Added separate LaTeX reader and native reader tests; removed
10090− round-trip tests.
10091−
10092− * Text.Pandoc.Shared:
10093−
10094− + Removed tabsToSpaces and tabsInLine (they were used only in Main.hs.)
10095− + General code cleanup (to elimante warnings when compiling with -Wall.)
10096− + Added 'wrapped' function, which helps wrap text into paragraphs,
10097− using the prettyprinting library.
10098− + Rewrote charsInBalanced and charsInBalanced'.
10099− - Documented restriction: open and close must be distinct characters.
10100− - Rearranged options for greater efficiency.
10101− - Bug fix: Changed inner call to charsInBalanced inside
10102− charsInBalanced' to charsInBalanced'.
10103− + anyLine now requires that the line end with a newline (not eof).
10104− This is a harmless assumption, since we always add newlines to the
10105− end of a block before parsing with anyLine, and it yields a 10% speed
10106− boost.
10107− + Removed unnecessary 'try' in anyLine.
10108− + Removed unneeded 'try' from romanNumeral parser.
10109− + Use notFollowedBy instead of notFollowedBy' in charsInBalanced.
10110− + Removed unneeded 'try' in parseFromString.
10111− + Removed unneeded 'try' from stringAnyCase. (Now it behaves
10112− like 'string'.)
10113− + Changed definition of 'enclosed' in Text.Pandoc.Shared so that
10114− 'try' is not automatically applied to the 'end' parser. Added
10115− 'try' in calls to 'enclosed' where needed. Slight speed increase.
10116−
10117− * Writers:
10118−
10119− + Replaced individual wrapping routines in RST, Man, and Markdown
10120− writers with 'wrapped' from Text.Pandoc.Shared.
10121− + Rewrote LaTeX writer to use the prettyprinting library,
10122− so we get word wrapping, etc.
10123− + Modified latex writer tests for new latex writer using prettyprinter.
10124− + Fixed bug in LaTeX writer: autolinks would not cause
10125− '\usepackage{url}' to be put in the document header. Also, changes
10126− to state in enumerated list items would be overwritten.
10127− + In Markdown writer, escape paragraphs that begin with ordered list
10128− markers, so they don't get interpreted as ordered lists.
10129−
10130− * Text.Pandoc.Reades.LaTeX:
10131−
10132− + Fixed bug in LaTeX reader, which wrongly assumed that the roman
10133− numeral after "enum" in "setcounter" would consist entirely of
10134− "i"s. 'enumiv' is legitimate.
10135− + LaTeX command and environment names can't contain numbers.
10136− + Rearranged order of parsers in inline for slight speed improvement.
10137− + Added '`' to special characters and 'unescapedChar'.
10138−
10139− * Text.Pandoc.Readers.RST:
10140−
10141− + Removed unneeded try's in RST reader; also minor code cleanup.
10142− + Removed tabchar.
10143− + Rearranged parsers in inline (doubled speed).
10144−
10145− * Text.Pandoc.Readers.Markdown:
10146−
10147− + Skip notes parsing if running in strict mode. (This yields a nice
10148− speed improvement in strict mode.)
10149− + Simplify autolink parsing code, using Network.URI to test for
10150− URIs. Added dependency on network library to debian/control and
10151− pandoc.cabal.
10152− + More perspicuous definition of nonindentSpaces.
10153− + Removed unneeded 'try' in 'rawLine'.
10154− + Combined linebreak and whitespace into a new whitespace parser, to
10155− avoid unnecessary reparsing of space characters.
10156− + Removed unnecessary 'try' in 'codeBlock', 'ellipses', 'noteMarker',
10157− 'multilineRow', 'dashedLine', 'rawHtmlBlocks'.
10158− + Use lookAhead in parsers for setext headers and definition lists
10159− to see if the next line begins appropriately; if not, don't waste
10160− any more time parsing.
10161− + Don't require blank lines after code block. (It's sufficient to
10162− end code block with a nonindented line.)
10163− + Changed definition of 'emph': italics with '_' must not
10164− be followed by an alphanumeric character. This is to help
10165− prevent interpretation of e.g. `[LC_TYPE]: my_type` as
10166− `[LC<em>TYPE]:my</em>type`.
10167− + Improved Markdown.pl-compatibility in referenceLink: the two parts
10168− of a reference-style link may be separated by one space, but not
10169− more... [a] [link], [not] [a link].
10170− + Fixed markdown inline code parsing so it better accords with
10171− Markdown.pl: the marker for the end of the code section is a clump
10172− of the same number of `'s with which the section began, followed
10173− by a non-` character. So, for example,
10174− ` h ``` i ` -> `<code>h ``` i</code>`.
10175− + Split 'title' into 'linkTitle' and 'referenceTitle', since the
10176− rules are slightly different.
10177− + Rewrote 'para' for greater efficiency.
10178− + Rewrote link parsers for greater efficiency.
10179− + Removed redundant 'referenceLink' in definition of inline (it's
10180− already in 'link').
10181− + Refactored escapeChar so it doesn't need 'try'.
10182− + Refactored hrule for performance in Markdown reader.
10183− + More intelligent rearranging of 'inline' so that most frequently
10184− used parsers are tried first.
10185− + Removed tabchar parser, as whitespace handles tabs anyway.
10186−
10187− * Text.Pandoc.CharacterReferences:
10188−
10189− + Refactored.
10190− + Removed unnecessary 'try's for a speed improvement.
10191− + Removed unnecessary '&' and ';' from the entity table.
10192−
10193− * Build process:
10194−
10195− + Makefile: Get VERSION from cabal file, not Main.hs.
10196− + Modified MacPorts Portfile:
10197− - Depend on haddock
10198− - Build and install libraries and library documentation in
10199− addition to pandoc executable
10200− - Added template item for md5 sum in Portfile.in.
10201− - Incorporated changes from MacPorts repository (r28278).
10202− + FreeBSD port: Don't try to generate distinfo in Makefile.
10203− It can be made using 'make makesum' in FreeBSD.
10204− + Make both freebsd and macports targets depend on tarball.
10205−
10206− * Website and documentation:
10207−
10208− + Updated INSTALL instructions.
10209− + Added pandocwiki demo to website.
10210− + Removed local references to Portfile, since pandoc is now in the
10211− MacPorts repository.
10212−
10213− -- Recai Oktaş <roktas@debian.org> Sun, 02 Sep 2007 15:50:11 +0300
10214−
10215−pandoc (0.42) unstable; urgency=low
10216−
10217− [ John MacFarlane ]
10218−
10219− * Main.hs: Use utf8 conversion on the extra files loaded with
10220− the -H, -C, -B, and -A options. This fixes problems with unicode
10221− characters in these files.
10222−
10223− * Exposed Text.Pandoc.ASCIIMathML, since it is imported in
10224− Text.Pandoc.Readers.HTML and without it we get a linking error when
10225− using the library.
10226−
10227− * Markdown reader:
10228−
10229− + Added new rule for enhanced markdown ordered lists: if the list
10230− marker is a capital letter followed by a period (including a
10231− single-letter capital roman numeral), then it must be followed by
10232− at least two spaces. The point of this is to avoid accidentally
10233− treating people's initials as list markers: a paragraph might begin,
10234− "B. Russell was an English philosopher," and this shouldn't be
10235− treated as a list. Documented change in README.
10236− + Blocks that start with "p. " and a digit are no longer treated
10237− as ordered lists (it's a page number).
10238− + Added a needed 'try' to listItem.
10239− + Removed check for a following setext header in endline.
10240− A full test is too inefficient (doubles benchmark time), and the
10241− substitute we had before is not 100% accurate.
10242− + Don't use Code elements for autolinks if --strict specified.
10243−
10244− * LaTeX writer: When a footnote ends with a Verbatim environment, the
10245− close } of the footnote cannot occur on the same line or an error occurs.
10246− Fixed this by adding a newline before the closing } of every footnote.
10247−
10248− * HTML writer:
10249− + Removed incorrect "{}" around style information in HTML tables.
10250− Column widths now work properly in HTML.
10251− + If --strict option is specified (and --toc is not), don't include
10252− identifiers in headers, for better Markdown compatibility.
10253−
10254− * Build process:
10255−
10256− + Separated $(web_dest) and website targets.
10257− + In website, index.txt is now constructed from template index.txt.in.
10258− + Added freebsd target to Markefile. This creates the freebsd Makefile
10259− from Makefile.in, and creates distinfo. Removed Makefile and distinfo
10260− from the repository.
10261− + Added macport target to Makefile. Portfile is built from template
10262− Portfile.in.
10263− + Removed OSX package targets. (Too many difficulties involving
10264− dependencies on dynamic libraries.)
10265− + More complete INSTALL instructions for all architectures.
10266−
10267− * Website:
10268− + Added a programming demo, pandocwiki.
10269−
10270− [ Recai Oktaş ]
10271−
10272− * Do not forget to close pandoc's ITP. Closes: #391666
10273−
10274− -- Recai Oktaş <roktas@debian.org> Sun, 26 Aug 2007 22:51:32 +0300
10275−
10276−pandoc (0.41) unstable; urgency=low
10277−
10278− [ John MacFarlane ]
10279−
10280− * Fixed bugs in HTML reader:
10281− + Skip material at end *only if* `</html>` is present (previously,
10282− only part of the document would be parsed if an error was
10283− found; now a proper error message is given).
10284− + Added new constant eitherBlockOrInline with elements that may
10285− count either as block-level or as inline. Modified isInline and
10286− isBlock to take this into account.
10287− + Modified rawHtmlBlock to accept any tag (even an inline tag):
10288− this is innocuous, because rawHtmlBlock is tried only if a regular
10289− inline element can't be parsed.
10290− + Added a necessary 'try' in definition of 'para'.
10291−
10292− * Fixed bug in markdown ordered list parsing. The problem was that
10293− anyOrderedListStart did not check for a space following the
10294− ordered list marker. So in 'A.B. 2007' the parser would be
10295− expecting a list item, but would not find one, causing an error.
10296− Fixed a similar bug in the RST reader. Resolves Issue #22.
10297−
10298− * Refactored RST and Markdown readers using parseFromString.
10299−
10300− * LaTeX reader will now skip anything after \end{document}.
10301−
10302− * Fixed blockquote output in markdown writer: previously, block
10303− quotes in indented contexts would be indented only in the first
10304− line.
10305−
10306− * Added note to INSTALL about variations in versions of the xhtml
10307− library that can lead to failed tests (thanks to Leif LeBaron).
10308−
10309− -- Recai Oktaş <roktas@debian.org> Sun, 19 Aug 2007 23:26:07 +0300
10310−
10311−pandoc (0.4) unstable; urgency=low
10312−
10313− [ John MacFarlane ]
10314−
10315− * Added two new output formats: groff man pages and ConTeXt. By
10316− default, output files with extensions ".ctx" and ".context" are
10317− assumed to be ConTeXt, and output files with single-digit extensions
10318− are assumed to be man pages.
10319−
10320− * Enhanced ordered lists (documented in README, under Lists):
10321− + The OrderedList block element now stores information about
10322− list number style, list number delimiter, and starting number.
10323− + The readers parse this information when possible.
10324− + The writers use this information to style ordered lists.
10325− + The enhancement can be disabled using the --strict option.
10326−
10327− * Added support for tables (with a new Table block element). Two kinds
10328− of tables are supported: a simple table with one-line rows, and a
10329− more complex variety with multiline rows. All output formats are
10330− supported, but only markdown tables are parsed at the moment. The
10331− syntax is documented in README.
10332−
10333− * Added support for definition lists (with a new DefinitionList block
10334− element). All output and input formats are supported. The syntax is
10335− documented in README.
10336−
10337− * Added support for superscripts and subscripts (with new Superscript
10338− and Subscript inline elements). All input and output
10339− formats. The syntax is documented in README.
10340−
10341− * Added support for strikeout (with a new Strikeout inline element).
10342− All input and output formats are supported. Thanks to Bradley Kuhn,
10343− who contributed a patch. The syntax is documented in README. Resolves
10344− Issue #18.
10345−
10346− * Added a --toc|--table-of-contents option. This causes an automatically
10347− generated table of contents (or an instruction that creates one) to
10348− be inserted at the beginning of the document. Not supported in S5,
10349− DocBook, or man page writers.
10350−
10351− * Modified the -m|--asciimathml option:
10352−
10353− + If an optional URL argument is provided, a link is inserted
10354− instead of the contents of the ASCIIMathML.js script.
10355− + Nothing is inserted unless the document actually contains
10356− LaTeX math.
10357−
10358− * Removed Blank block element as unnecessary.
10359−
10360− * Removed Key and Note blocks from the Pandoc data structure. All
10361− links are now stored as explicit links, and note contents are
10362− stored with the (inline) notes.
10363−
10364− + All link Targets are now explicit (URL, title) pairs; there
10365− is no longer a 'Ref' target.
10366− + Markdown and RST parsers now need to extract data from key and
10367− note blocks and insert them into the relevant inline elements.
10368− Other parsers have been simplified, since there is no longer any need
10369− to construct separate key and note blocks.
10370− + Markdown, RST, and HTML writers need to construct lists of
10371− notes; Markdown and RST writers need to construct lists of link
10372− references (when the --reference-links option is specified); and
10373− the RST writer needs to construct a list of image substitution
10374− references. All writers have been rewritten to use the State monad
10375− when state is required.
10376− + Several functions (generateReference, keyTable,
10377− replaceReferenceLinks, replaceRefLinksBlockList, and some auxiliaries
10378− used by them) have been removed from Text.Pandoc.Shared, since
10379− they are no longer needed. New functions and data structures
10380− (Reference, isNoteBlock, isKeyBlock, isLineClump) have been
10381− added. The functions inTags, selfClosingTag, inTagsSimple, and
10382− inTagsIndented have been moved to the DocBook writer, since that
10383− is now the only module that uses them. NoteTable is now exported
10384− in Text.Pandoc.Shared.
10385− + Added stateKeys and stateNotes to ParserState; removed stateKeyBlocks,
10386− stateKeysUsed, stateNoteBlocks, stateNoteIdentifiers, stateInlineLinks.
10387− + Added writerNotes and writerReferenceLinks to WriterOptions.
10388−
10389− * Added Text.Pandoc module that exports basic readers, writers,
10390− definitions, and utility functions. This should export everything
10391− needed for most uses of Pandoc libraries. The haddock documentation
10392− includes a short example program.
10393−
10394− * Text.Pandoc.ASCIIMathML is no longer an exported module.
10395−
10396− * Added Text.Pandoc.Blocks module to help in printing markdown
10397− and RST tables. This module provides functions for working with
10398− fixed-width blocks of text--e.g., placing them side by side, as
10399− in a table row.
10400−
10401− * Refactored to avoid reliance on Haskell's Text.Regex library, which
10402− (a) is slow, and (b) does not properly handle unicode. This fixed
10403− some strange bugs, e.g. in parsing S-cedilla, and improved performance.
10404−
10405− + Replaced 'gsub' with a general list function 'substitute'
10406− that does not rely on Text.Regex.
10407− + Rewrote extractTagType in HTML reader so that it doesn't use
10408− regexs.
10409− + In Markdown reader, replaced email regex test with a custom email
10410− autolink parser (autoLinkEmail). Also replaced selfClosingTag regex
10411− with a custom function isSelfClosingTag.
10412− + Modified Docbook writer so that it doesn't rely on Text.Regex for
10413− detecting 'mailto' links.
10414− + Removed escapePreservingRegex and reamped entity-handling
10415− functions in Text.Pandoc.Shared and Text.Pandoc.CharacterReferences to
10416− avoid reliance on Text.Regex (see below on character reference
10417− handling changes).
10418−
10419− * Renamed Text.Pandoc.Entities as Text.Pandoc.CharacterReferences.
10420−
10421− * Changed handling of XML entities. Entities are now parsed (and unicode
10422− characters returned) in the Markdown and HTML readers, rather than being
10423− handled in the writers. In HTML and Docbook writers, UTF-8 is now used
10424− instead of entities for characters above 128. This makes the HTML and
10425− DocBook output much more readable and more easily editable.
10426−
10427− + Removed sgmlHexEntity, sgmlDecimalEntity, sgmlNamedEntity, and
10428− sgmlCharacterEntity regexes from Text.Pandoc.Shared.
10429− + Renamed escapeSGMLChar to escapeCharForXML. Added escapeStringForXML.
10430− Moved both functions to Text.Pandoc.Writers.Docbook.
10431− + Added characterReference parser to Text.Pandoc.CharacterReferences.
10432− This parses a string and return a unicode character.
10433− + Rewrote decodeCharacterReferences to use the new parser instead of
10434− Text.Regex.
10435− + Added new charRef parser for Markdown and HTML, which replaces the
10436− old 'entity' parser. Added '&' as a special character in Markdown reader.
10437− + Modified HTML and Markdown readers to call decodeEntities on all raw
10438− strings (e.g. authors, dates, link titles), to ensure that no
10439− unprocessed entities are included in the native representation of
10440− the document. (In the HTML reader, most of this work is done by a
10441− change in extractAttributeName.)
10442− + In XML and Markdown output, escape unicode nonbreaking space as '&nbsp;',
10443− since a unicode non-breaking space is impossible to distinguish visually
10444− from a regular space. (Resolves Issue #3.)
10445− + Removed encodeEntitiesNumerical.
10446− + Use Data.Map for entityTable and (new) reverseEntityTable, for a
10447− slight performance boost over the old association list.
10448− + Removed unneeded decodeEntities from 'str' parser in HTML and
10449− Markdown readers.
10450−
10451− * Text.Pandoc.UTF8: Renamed encodeUTF8 to toUTF8, decodeUTF8 to
10452− fromUTF8, for clarity.
10453−
10454− * Replaced old haskell98 module names replaced by hierarchical module
10455− names, e.g. List by Data.List. Removed haskell98 from dependencies
10456− in pandoc.cabal, and added mtl (needed for state monad). Substituted
10457− xhtml for html.
10458−
10459− * Refactored and cleaned up character escaping in writers, using
10460− backslashEscapes and escapeStringUsing functions.
10461−
10462− * Instead of adding "\n\n" to the end of an input string in Main.hs,
10463− this is now done in the readers. This makes the libraries behave
10464− the way you'd expect from the pandoc program. Resolves Issue #10.
10465−
10466− * URLs and email addresses in autolinks are now typeset as Code.
10467−
10468− * In Main.hs, changed putStr to putStrLn -- mainly because MacOS X
10469− doesn't display the whole output unless there's a line ending.
10470−
10471− * Major code cleanup in all modules, for greater consistency, concision,
10472− and readability.
10473−
10474− * HTML reader:
10475−
10476− + Fixed several bugs (extractTagType, attribute parsing).
10477− + Remove Null blocks in lists of blocks when possible.
10478− + Allow HTML comments as raw HTML inline.
10479−
10480− * Markdown reader:
10481−
10482− + Ordered list items may no longer begin with uppercase letters, or
10483− letters greater than 'n'. (This prevents first initials and page
10484− reference, e.g. 'p. 400', from being parsed as beginning lists.)
10485− Also, numbers beginning list items may no longer end with ')',
10486− which is now allowed only after letters. Note: These changes
10487− may cause documents to be parsed differently. Users should take
10488− care in upgrading.
10489− + Changed autoLink parsing to conform better to Markdown.pl's
10490− behavior. `<google.com>` is not treated as a link, but
10491− `<http://google.com>`, `<ftp://google.com>`, and
10492− `<mailto:google@google.com>` are.
10493− + Cleaned up handling of embedded quotes in link titles. Now these are
10494− stored as a '"' character, not as '&quot;'.
10495− + Use lookAhead parser for the 'first pass' (looking for reference keys),
10496− instead of parsing normally, then using setInput to reset input. This
10497− yields a slight performance boost.
10498− + Fixed several bugs in smart quote recognition.
10499− + Fixed bug in indentSpaces (which didn't properly handle
10500− cases with mixed spaces and tabs).
10501− + Consolidated 'text', 'special', and 'inline' into 'inline'.
10502− + Fixed bug which allowed URL and title to be separated by multiple blank
10503− lines in links and reference keys. They can be on separate lines but
10504− can't have blank lines between them.
10505− + Correctly handle bracketed text inside inline footnotes and links,using
10506− new function inlinesInBalanced. Resolves Issue #14.
10507− + Fixed bug in footnotes: links in footnotes were not being
10508− processed. Solution: three-stage parse. First, get all the
10509− reference keys and add information to state. Next, get all the
10510− notes and add information to state. (Reference keys may be needed
10511− at this stage.) Finally, parse everything else.
10512− + Replaced named constants like 'emphStart' with literals.
10513− + Removed an extra occurance of escapedChar in definition of inline.
10514−
10515− * RST reader:
10516−
10517− + Allow the URI in a RST hyperlink target to start on the line
10518− after the reference key.
10519− + Added 'try' in front of 'string', where needed, or used a different
10520− parser. This fixes a bug where ````` would not be correctly parsed as
10521− a verbatim `.
10522− + Fixed slow performance in parsing inline literals in RST reader. The
10523− problem was that ``#`` was seen by 'inline' as a potential link or image.
10524− Fix: inserted 'notFollowedBy (char '`')' in link parsers.
10525− Resolves Issue #8.
10526− + Use lookAhead instead of getInput/setInput in RST reader. Removed
10527− unneeded getState call, since lookAhead automatically saves and
10528− restores the parser state.
10529− + Allow hyperlink target URIs to be split over multiple lines, and
10530− to start on the line after the reference. Resolves Issue #7.
10531− + Fixed handling of autolinks.
10532−
10533− * LaTeX reader:
10534−
10535− + Replaced 'choice [(try (string ...), ...]' idiom with 'oneOfStrings',
10536− for clarity.
10537− + Added clauses for tilde and caret. Tilde is \ensuremath{\sim}, and
10538− caret is \^{}, not \^ as before.
10539− + Added parsing for \url.
10540− + Parse \texttt{} as code, provided there's nothing fancy inside.
10541−
10542− * HTML writer:
10543−
10544− + Modified HTML writer to use the Text.XHtml library. This results
10545− in cleaner, faster code, and it makes it easier to use Pandoc in
10546− other projects, like wikis, which use Text.XHtml. Two functions are
10547− now provided, writeHtml and writeHtmlString: the former outputs an
10548− Html structure, the latter a rendered string. The S5 writer is also
10549− changed, in parallel ways (writeS5, writeS5String).
10550− + The Html header is now written programmatically, so it has been
10551− removed from the 'headers' directory. The S5 header is still
10552− needed, but the doctype and some of the meta declarations have
10553− been removed, since they are written programatically. This change
10554− introduces a new dependency on the xhtml package.
10555− + Fixed two bugs in email obfuscation involving improper escaping
10556− of '&' in the `<noscript>` section and in `--strict` mode. Resolves
10557− Issue #9.
10558− + Fixed another bug in email obfuscation: If the text to be obfuscated
10559− contains an entity, this needs to be decoded before obfuscation.
10560− Thanks to thsutton for the patch. Resolves Issue #15.
10561− + Changed the way the backlink is displayed in HTML footnotes.
10562− Instead of appearing on a line by itself, it now generally
10563− appears on the last line of the note. (Exception: when the
10564− note does not end with a Plain or Para block.) This saves space
10565− and looks better.
10566− + Added automatic unique identifiers to headers:
10567− - The identifier is derived from the header via a scheme
10568− documented in README.
10569− - WriterState now includes a list of header identifiers and a table
10570− of contents in addition to notes.
10571− - The function uniqueIdentifiers creates a list of unique identifiers
10572− from a list of inline lists (e.g. headers).
10573− - This list is part of WriterState and gets consumed by blockToHtml
10574− each time a header is encountered.
10575− + Include CSS for .strikethrough class in header only if strikethrough
10576− text appears in the document.
10577− + If the 'strict' option is specified, elements that do not appear in
10578− standard markdown (like definition lists) are passed through as
10579− raw HTML.
10580− + Simplified treatment of autolinks, using pattern matching instead of
10581− conditionals.
10582−
10583− * Markdown writer:
10584−
10585− + Links in markdown output are now printed as inline links by default,
10586− rather than reference links. A --reference-links option has been added
10587− that forces links to be printed as reference links. Resolves Issue #4.
10588− + Use autolinks when possible. Instead of `[site.com](site.com)`,
10589− use `<site.com>`.
10590−
10591− * LaTeX writer:
10592−
10593− + Rewrote to use the State monad. The preamble now includes only those
10594− packages that are actually required, given the document's content.
10595− Thus, for example, if strikeout is not used, ulem is not required.
10596− Modified LaTeXHeader accordingly.
10597− + Modified LaTeX writer to insert '\,' between consecutive quotes.
10598− + Removed unused function tableRowColumnWidths.
10599− + Simplified code for escaping special characters.
10600− + Leave extra blank line after \maketitle.
10601− + Include empty '\author{}' when no author specified to avoid LaTeX
10602− errors.
10603− + Include fancyvrb code in header only if needed -- that is, only
10604− if there is actually code in a footnote.
10605− + Use \url{} for autolinks.
10606− + Include [mathletters] option in ucs package, so that basic unicode
10607− Greek letters will work correctly.
10608−
10609− * RST writer: Force blank line before lists, so that sublists will
10610− be handled correctly.
10611−
10612− * Docbook writer: Fixed a bug: email links with text, like
10613− [foo](me@bar.baz), were being incorrectly treated as autolinks.
10614−
10615− * Removed Text.ParserCombinators.Pandoc and moved all its functions to
10616− Text.Pandoc.Shared.
10617−
10618− * Text.Pandoc.Shared:
10619−
10620− + Added defaultWriterOptions.
10621− + Added writerTableOfContents to WriterOptions.
10622− + Added writerIgnoreNotes option to WriterOptions. This is needed
10623− for processing header blocks for a table of contents, since notes on
10624− headers should not appear in the TOC.
10625− + Added prettyprinting for native Table format.
10626− + Removed some unneeded imports.
10627− + Moved escape and nullBlock parsers from
10628− Text.ParserCombinators.Pandoc, since the latter is for
10629− general-purpose parsers that don't depend on Text.Pandoc.Definition.
10630− + Moved isHeaderBlock from Text.Pandoc.Writers.HTML.
10631− + Moved Element, headerAtLeast, and hierarchicalize from Docbook
10632− writer, because HTML writer now uses these in constructing a table
10633− of contents.
10634− + Added clauses for new inline elements (Strikeout, Superscript,
10635− Subscript) to refsMatch.
10636− + Removed backslashEscape; added new functions escapeStringUsing and
10637− backslashEscapes.
10638− + Moved failIfStrict from markdown reader, since it is now used also
10639− by the HTML reader.
10640− + Added a 'try' to the definition of indentSpaces.
10641− + In definition of 'reference', added check to make sure it's not a note
10642− reference.
10643− + Added functions: camelCaseToHyphenated, toRomanNumeral,
10644− anyOrderedListMarker, orderedListmarker, orderedListMarkers,
10645− charsInBalanced', withHorizDisplacement, romanNumeral
10646− + Fixed a bug in the anyLine parser. Previously it would parse an empty
10647− string "", but it should fail on an empty string, or we get an error
10648− when it is used inside "many" combinators.
10649− + Removed followedBy' parser, replacing it with the lookAhead parser from
10650− Parsec.
10651− + Added some needed 'try's before multicharacter parsers, especially in
10652− 'option' contexts.
10653− + Removed the 'try' from the 'end' parser in 'enclosed', so that
10654− 'enclosed' behaves like 'option', 'manyTill', etc.
10655− + Added lineClump parser, which parses a raw line block up to and
10656− including any following blank lines.
10657− + Renamed parseFromStr to parseFromString.
10658− + Added a 'try' to the 'end' parser in 'enclosed'. This makes errors in
10659− the use of 'enclosed' less likely. Removed some now-unnecessary 'try's
10660− in calling code.
10661− + Removed unneeded 'try' in blanklines.
10662− + Removed endsWith function and rewrote calling functions to use
10663− isSuffixOf instead.
10664− + Added >>~ combinator.
10665− + Fixed bug in normalizeSpaces: Space:Str "":Space should compress to
10666− Space.
10667−
10668− * Refactored runtests.pl; added separate tests for tables.
10669−
10670− * Shell scripts:
10671−
10672− + Added -asxhtml flag to tidy in html2markdown. This will
10673− perhaps help the parser, which expects closing tags.
10674− + Modified markdown2pdf to run pdflatex a second time if --toc or
10675− --table-of-contents was specified; otherwise the table of
10676− contents won't appear.
10677− + Modified markdown2pdf to print a helpful message if the 'ulem'
10678− LaTeX package is required and not found.
10679−
10680− * Changes to build process:
10681−
10682− + Dropped support for compilation with GHC 6.4. GHC 6.6 or higher
10683− is now required.
10684− + Removed cabalize and Pandoc.cabal.in. The repository now contains
10685− pandoc.cabal itself.
10686− + Pandoc.cabal has been changed to pandoc.cabal, because HackageDB
10687− likes the cabal file to have the same name as the tarball.
10688− + Expanded and revised the package description in pandoc.cabal.
10689− Revised the package synopsis.
10690− + The tarball built by 'make tarball' now contains files built from
10691− templates (including man pages and shell scripts), so pandoc can
10692− be built directly using Cabal tools, without preprocessing.
10693− + Executable binaries are now stripped before installing.
10694− + Man pages are now generated from markdown sources, using pandoc's
10695− man page writer.
10696− + Use HTML version of README (instead of RTF) in Mac OS X installer.
10697− + Instead of testing for the existence of a pandoc symlink in build-exec,
10698− use ln -f.
10699−
10700− * Documentation:
10701−
10702− + Updated README and man pages with information on new features.
10703− + Updated INSTALL instructions with some useful clarifications and
10704− links.
10705− + Updated web content.
10706−
10707− * Added FreeBSD port.
10708−
10709− [ Recai Oktaş ]
10710−
10711− * debian/control:
10712−
10713− + Changed pandoc's Build-Depends to include libghc6-mtl-dev and
10714− libghc6-xhtml-dev. Removed libghc6-html-dev.
10715− + Suggest texlive-latex-recommended | tetex-extra instead of
10716− tetex-bin. This brings in fancyvrb and unicode support.
10717−
10718− -- Recai Oktaş <roktas@debian.org> Tue, 16 Jan 2007 00:37:21 +0200
10719−
10720−pandoc (0.3) unstable; urgency=low
10721−
10722− [ John MacFarlane ]
10723−
10724− * Changes in pandoc options:
10725−
10726− + Allow options to follow or precede arguments.
10727− + Changed '--smartypants' to '--smart' and adjusted symbols accordingly.
10728− + Added '--strict' option.
10729− + Added '-o/--output' option.
10730− + Added '--dump-args' and '--ignore-args' options (for use in wrappers).
10731− + Modified '-v' and '-h' output to go to STDERR, not STDOUT, and return
10732− error conditions. This is helpful for writing wrappers.
10733− + Added copyright message to '-v' output, modeled after FSF messages.
10734− + Reformatted usage message so that it doesn't wrap illegibly.
10735− + Removed extra blanks after '-h' and '-D' output.
10736−
10737− * Added docbook writer.
10738−
10739− * Added implicit setting of default input and output format based
10740− on input and output filename extensions. These defaults are
10741− overridden if explicit input and output formats are specified using
10742− '-t', '-f', '-r', or '-w' options. Documented in pandoc(1) man page
10743− and README.
10744−
10745− * Allow ordered list items to begin with (single) letters, as well
10746− as numbers. The list item marker may now be terminated either by
10747− '.' or by ')'. This extension to standard markdown is documented
10748− in README.
10749−
10750− * Revised footnote syntax. (See README for full details.) The
10751− '[^1]' format now standard in markdown extensions is supported,
10752− as are inline footnotes with this syntax: '^[My note.]'.
10753− The earlier footnote syntax '^(1)' is no longer supported.
10754−
10755− * Improved HTML representation of footnotes. All footnotes
10756− are now auto-numbered and appear in an ordered list at the
10757− end of the HTML document. Since the default appearance is now
10758− acceptable, the old footnote styles have been removed from the
10759− HTML header.
10760−
10761− * Bug fixes:
10762−
10763− + Fixed a serious bug in the markdown, LaTeX, and RST readers.
10764− These readers ran 'runParser' on processed chunks of text to handle
10765− embedded block lists in lists and quotation blocks. But then
10766− any changes made to the parser state in these chunks was lost,
10767− as the state is local to the parser. So, for example, footnotes
10768− didn't work in quotes or list items. The fix: instead of calling
10769− runParser on some raw text, use setInput to make it the input, then
10770− parse it, then use setInput to restore the input to what it was
10771− before. This is shorter and more elegant, and it fixes the problem.
10772− + Fixed bug in notFollowedBy' combinator (adding 'try' before
10773− 'parser'). Adjusted code that uses this combinator accordingly.
10774− + Fixed bug in RTF writer that caused improper indentation on
10775− footnotes occurring in indented blocks like lists.
10776− + Fixed parsing of metadata in LaTeX reader. Now the title, author,
10777− and date are parsed correctly. Everything else in the preamble
10778− is skipped.
10779− + Modified escapedChar in LaTeX reader to allow a '\' at the end of a
10780− line to count as escaped whitespace.
10781− + Modified LaTeX reader to produce inline links rather than reference
10782− links. Otherwise, links in footnotes aren't handled properly.
10783− + Fixed handling of titles in links in Markdown reader, so that
10784− embedded quotation marks are now handled properly.
10785− + Fixed Markdown reader's handling of embedded brackets in links.
10786− + Fixed Markdown reader so that it only parses bracketed material
10787− as a reference link if there is actually a corresponding key.
10788− + Revised inline code parsing in Markdown reader to conform to
10789− markdown standard. Now any number of `s can begin inline code,
10790− which will end with the same number of `s. For example, to
10791− have two backticks as code, write ``` `` ```. Modified Markdown
10792− writer accordingly.
10793− + Fixed bug in text-wrapping routine in Markdown and RST writers.
10794− Now LineBreaks no longer cause wrapping problems.
10795− + Supported hexadecimal numerical entity references as well as
10796− decimal ones.
10797− + Fixed bug in Markdown reader's handling of underscores and other
10798− inline formatting markers inside reference labels: for example,
10799− in '[A_B]: /url/a_b', the material between underscores was being
10800− parsed as emphasized inlines.
10801− + Changed Markdown reader's handling of backslash escapes so that
10802− only non-alphanumeric characters can be escaped. Strict mode
10803− follows Markdown.pl in only allowing a select group of punctuation
10804− characters to be escaped.
10805− + Modified HTML reader to skip a newline following a `<br>` tag.
10806− Otherwise the newline will be treated as a space at the beginning
10807− of the next line.
10808−
10809− * Made handling of code blocks more consistent. Previously, some
10810− readers allowed trailing newlines, while others stripped them.
10811− Now, all readers strip trailing newlines in code blocks. Writers
10812− insert a newline at the end of code blocks as needed.
10813−
10814− * Modified readers to make spacing at the end of output more consistent.
10815−
10816− * Minor improvements to LaTeX reader:
10817−
10818− + '\thanks' now treated like a footnote.
10819− + Simplified parsing of LaTeX command arguments and options.
10820− commandArgs now returns a list of arguments OR options (in
10821− whatever order they appear). The brackets are included, and
10822− a new stripFirstAndLast function is provided to strip them off
10823− when needed. This fixes a problem in dealing with \newcommand
10824− and \newenvironment.
10825−
10826− * Revised RTF writer:
10827−
10828− + Default font is now Helvetica.
10829− + An '\f0' is added to each '\pard', so that font resizing works
10830− correctly.
10831−
10832− * Moved handling of "smart typography" from the writers to the Markdown
10833− and LaTeX readers. This allows great simplification of the writers
10834− and more accurate smart quotes, dashes, and ellipses. DocBook can
10835− now use `<quote>`. The '--smart' option now toggles an option in
10836− the parser state rather than a writer option. Several new kinds
10837− of inline elements have been added: Quoted, Ellipses, Apostrophe,
10838− EmDash, EnDash.
10839−
10840− * Changes in HTML writer:
10841−
10842− + Include title block in header even when title is null.
10843− + Made javascript obfuscation of emails even more obfuscatory,
10844− by combining it with entity obfuscation.
10845−
10846− * Changed default ASCIIMathML text color to black.
10847−
10848− * Test suite:
10849−
10850− + Added --strip-trailing-cr option to diff in runtests.pl, for
10851− compatibility with Windows.
10852− + Added regression tests with footnotes in quote blocks and lists.
10853−
10854− * Makefile changes:
10855−
10856− + osx-pkg target creates a Mac OS X package (directory). New osx
10857− directory contains files needed for construction of the package.
10858− + osx-dmg target creates a compressed disk image containing the package.
10859− + win-pkg target creates Windows binary package.
10860− + tarball target creates distribution source tarball.
10861− + website target generates pandoc's website automatically, including
10862− demos. New 'web' directory containts files needed for construction
10863− of the website (which will be created as the 'pandoc' subdirectory
10864− of 'web').
10865− + Makefile checks to see if we're running Windows/Cygwin; if so,
10866− a '.exe' extension is added to each executable in EXECS.
10867−
10868− * Removed all wrappers except markdown2pdf and html2markdown.
10869−
10870− * Added new wrapper hsmarkdown, to be used as a drop-in replacement
10871− for Markdown.pl. hsmarkdown calls pandoc with the '--strict'
10872− option and disables other options.
10873−
10874− * Added code to html2markdown that tries to determine the character
10875− encoding of an HTML file, by parsing the "Content-type" meta tag.
10876−
10877− + If the encoding can't be determined, then if the content is local,
10878− the local encoding is used; if it comes from a URL, UTF-8 is used
10879− by default.
10880− + If input is from STDIN, don't try to determine character encoding.
10881− + Encoding can be specified explicitly using '-e' option.
10882−
10883− * Improved warning messages in wrappers:
10884−
10885− + Print warning if iconv not available
10886− + More user-friendly error messages in markdown2pdf, when
10887− pdflatex fails.
10888−
10889− * Code cleanup:
10890−
10891− + Renamed 'Text/Pandoc/HtmlEntities' module to
10892− 'Text/Pandoc/Entities'. Also changed function names so as
10893− not to be HTML-specific.
10894− + Refactored SGML string escaping functions from HTML and Docbook
10895− writers into Text/Pandoc/Shared. (escapeSGML, stringToSGML)
10896− + Removed 'BlockQuoteContext' from ParserContext, as it isn't
10897− used anywhere.
10898− + Removed splitBySpace and replaced it with a general, polymorphic
10899− splitBy function.
10900− + Refactored LaTeX reader for clarity (added isArg function).
10901− + Converted some CR's to LF's in src/ui/default/print.css.
10902− + Added license text to top of source files.
10903− + Added module data for haddock to source files.
10904− + Reformatted code for consistency.
10905−
10906− * Rewrote documentation and man pages. Split README into INSTALL
10907− and README.
10908−
10909− * Split LICENSE into COPYING and COPYRIGHT.
10910−
10911− * Removed TODO, since we now maintain ToDo on the wiki.
10912−
10913− * Made COPYRIGHT in top level a symlink to debian/copyright, to avoid
10914− duplication.
10915−
10916− [ Recai Oktaş ]
10917−
10918− * Revamped build process to conform to debian standards and created
10919− a proper debian package. Closes: #391666.
10920−
10921− * Modified build process to support GHC 6.6.
10922−
10923− + The package can still be compiled using GHC 6.4.2, though because
10924− of dependencies the "make deb" target works only with GHC 6.6+.
10925− + The script 'cabalize' is used to create an appropriate
10926− 'Pandoc.cabal' from 'Pandoc.cabal.in', depending on the GHC and
10927− Cabal versions.
10928−
10929− * Refactored template processing (fillTemplates.pl).
10930−
10931− * Modified wrapper scripts to make them more robust and portable.
10932− To avoid code duplication and ensure consistency, wrappers are
10933− generated via a templating system from templates in src/wrappers.
10934−
10935− + Wrappers now accept multiple filenames, when appropriate.
10936− + Spaces and tabs allowed in filenames.
10937− + getopts shell builtin is used for portable option parsing.
10938− + Improved html2markdown's web grabber code, making it more robust,
10939− configurable and verbose. Added '-e', '-g' options.
10940−
10941− -- Recai Oktaş <roktas@debian.org> Fri, 05 Jan 2007 09:41:19 +0200
10942−
10943−pandoc (0.2) unstable; urgency=low
10944−
10945− * Fixed unicode/utf-8 translation
10946−
10947− -- John MacFarlane <jgm@berkeley.edu> Mon, 14 Aug 2006 00:00:00 -0400
10948−
10949−pandoc (0.1) unstable; urgency=low
10950−
10951− * Initial creation of debian package
10952−
10953− -- John MacFarlane <jgm@berkeley.edu> Mon, 14 Aug 2006 00:00:00 -0400
data/LaTeXMathML.jsdeleted−198
@@ -1,198 +0,0 @@
1−/*
2−LaTeXMathML.js from http://math.etsu.edu/LaTeXMathML/
3−Adapted by Jeff Knisely and Douglas Woodall from ASCIIMathML.js v. 1.4.7,
4−(c) 2005 Peter Jipsen http://www.chapman.edu/~jipsen.
5−Released under the GNU General Public License version 2 or later.
6−See the GNU General Public License (at http://www.gnu.org/copyleft/gpl.html)
7−for more details.
8−*/
9−var checkForMathML=true;var notifyIfNoMathML=true;var alertIfNoMathML=false;var mathcolor="";var mathfontfamily="";var showasciiformulaonhover=true;var isIE=document.createElementNS==null;if(document.getElementById==null)
10−alert("This webpage requires a recent browser such as \nMozilla/Netscape 7+ or Internet Explorer 6+MathPlayer")
11−function AMcreateElementXHTML(t){if(isIE)return document.createElement(t);else return document.createElementNS("http://www.w3.org/1999/xhtml",t);}
12−function AMnoMathMLNote(){var nd=AMcreateElementXHTML("h3");nd.setAttribute("align","center")
13−nd.appendChild(AMcreateElementXHTML("p"));nd.appendChild(document.createTextNode("To view the "));var an=AMcreateElementXHTML("a");an.appendChild(document.createTextNode("LaTeXMathML"));an.setAttribute("href","http://www.maths.nott.ac.uk/personal/drw/lm.html");nd.appendChild(an);nd.appendChild(document.createTextNode(" notation use Internet Explorer 6+"));an=AMcreateElementXHTML("a");an.appendChild(document.createTextNode("MathPlayer"));an.setAttribute("href","http://www.dessci.com/en/products/mathplayer/download.htm");nd.appendChild(an);nd.appendChild(document.createTextNode(" or Netscape/Mozilla/Firefox"));nd.appendChild(AMcreateElementXHTML("p"));return nd;}
14−function AMisMathMLavailable(){if(navigator.appName.slice(0,8)=="Netscape")
15−if(navigator.appVersion.slice(0,1)>="5")return null;else return AMnoMathMLNote();else if(navigator.appName.slice(0,9)=="Microsoft")
16−try{var ActiveX=new ActiveXObject("MathPlayer.Factory.1");return null;}catch(e){return AMnoMathMLNote();}
17−else return AMnoMathMLNote();}
18−var AMcal=[0xEF35,0x212C,0xEF36,0xEF37,0x2130,0x2131,0xEF38,0x210B,0x2110,0xEF39,0xEF3A,0x2112,0x2133,0xEF3B,0xEF3C,0xEF3D,0xEF3E,0x211B,0xEF3F,0xEF40,0xEF41,0xEF42,0xEF43,0xEF44,0xEF45,0xEF46];var AMfrk=[0xEF5D,0xEF5E,0x212D,0xEF5F,0xEF60,0xEF61,0xEF62,0x210C,0x2111,0xEF63,0xEF64,0xEF65,0xEF66,0xEF67,0xEF68,0xEF69,0xEF6A,0x211C,0xEF6B,0xEF6C,0xEF6D,0xEF6E,0xEF6F,0xEF70,0xEF71,0x2128];var AMbbb=[0xEF8C,0xEF8D,0x2102,0xEF8E,0xEF8F,0xEF90,0xEF91,0x210D,0xEF92,0xEF93,0xEF94,0xEF95,0xEF96,0x2115,0xEF97,0x2119,0x211A,0x211D,0xEF98,0xEF99,0xEF9A,0xEF9B,0xEF9C,0xEF9D,0xEF9E,0x2124];var CONST=0,UNARY=1,BINARY=2,INFIX=3,LEFTBRACKET=4,RIGHTBRACKET=5,SPACE=6,UNDEROVER=7,DEFINITION=8,TEXT=9,BIG=10,LONG=11,STRETCHY=12,MATRIX=13;var AMsqrt={input:"\\sqrt",tag:"msqrt",output:"sqrt",ttype:UNARY},AMroot={input:"\\root",tag:"mroot",output:"root",ttype:BINARY},AMfrac={input:"\\frac",tag:"mfrac",output:"/",ttype:BINARY},AMover={input:"\\stackrel",tag:"mover",output:"stackrel",ttype:BINARY},AMatop={input:"\\atop",tag:"mfrac",output:"",ttype:INFIX},AMchoose={input:"\\choose",tag:"mfrac",output:"",ttype:INFIX},AMsub={input:"_",tag:"msub",output:"_",ttype:INFIX},AMsup={input:"^",tag:"msup",output:"^",ttype:INFIX},AMtext={input:"\\mathrm",tag:"mtext",output:"text",ttype:TEXT},AMmbox={input:"\\mbox",tag:"mtext",output:"mbox",ttype:TEXT};var AMsymbols=[{input:"\\alpha",tag:"mi",output:"\u03B1",ttype:CONST},{input:"\\beta",tag:"mi",output:"\u03B2",ttype:CONST},{input:"\\gamma",tag:"mi",output:"\u03B3",ttype:CONST},{input:"\\delta",tag:"mi",output:"\u03B4",ttype:CONST},{input:"\\epsilon",tag:"mi",output:"\u03B5",ttype:CONST},{input:"\\varepsilon",tag:"mi",output:"\u025B",ttype:CONST},{input:"\\zeta",tag:"mi",output:"\u03B6",ttype:CONST},{input:"\\eta",tag:"mi",output:"\u03B7",ttype:CONST},{input:"\\theta",tag:"mi",output:"\u03B8",ttype:CONST},{input:"\\vartheta",tag:"mi",output:"\u03D1",ttype:CONST},{input:"\\iota",tag:"mi",output:"\u03B9",ttype:CONST},{input:"\\kappa",tag:"mi",output:"\u03BA",ttype:CONST},{input:"\\lambda",tag:"mi",output:"\u03BB",ttype:CONST},{input:"\\mu",tag:"mi",output:"\u03BC",ttype:CONST},{input:"\\nu",tag:"mi",output:"\u03BD",ttype:CONST},{input:"\\xi",tag:"mi",output:"\u03BE",ttype:CONST},{input:"\\pi",tag:"mi",output:"\u03C0",ttype:CONST},{input:"\\varpi",tag:"mi",output:"\u03D6",ttype:CONST},{input:"\\rho",tag:"mi",output:"\u03C1",ttype:CONST},{input:"\\varrho",tag:"mi",output:"\u03F1",ttype:CONST},{input:"\\varsigma",tag:"mi",output:"\u03C2",ttype:CONST},{input:"\\sigma",tag:"mi",output:"\u03C3",ttype:CONST},{input:"\\tau",tag:"mi",output:"\u03C4",ttype:CONST},{input:"\\upsilon",tag:"mi",output:"\u03C5",ttype:CONST},{input:"\\phi",tag:"mi",output:"\u03C6",ttype:CONST},{input:"\\varphi",tag:"mi",output:"\u03D5",ttype:CONST},{input:"\\chi",tag:"mi",output:"\u03C7",ttype:CONST},{input:"\\psi",tag:"mi",output:"\u03C8",ttype:CONST},{input:"\\omega",tag:"mi",output:"\u03C9",ttype:CONST},{input:"\\Gamma",tag:"mo",output:"\u0393",ttype:CONST},{input:"\\Delta",tag:"mo",output:"\u0394",ttype:CONST},{input:"\\Theta",tag:"mo",output:"\u0398",ttype:CONST},{input:"\\Lambda",tag:"mo",output:"\u039B",ttype:CONST},{input:"\\Xi",tag:"mo",output:"\u039E",ttype:CONST},{input:"\\Pi",tag:"mo",output:"\u03A0",ttype:CONST},{input:"\\Sigma",tag:"mo",output:"\u03A3",ttype:CONST},{input:"\\Upsilon",tag:"mo",output:"\u03A5",ttype:CONST},{input:"\\Phi",tag:"mo",output:"\u03A6",ttype:CONST},{input:"\\Psi",tag:"mo",output:"\u03A8",ttype:CONST},{input:"\\Omega",tag:"mo",output:"\u03A9",ttype:CONST},{input:"\\frac12",tag:"mo",output:"\u00BD",ttype:CONST},{input:"\\frac14",tag:"mo",output:"\u00BC",ttype:CONST},{input:"\\frac34",tag:"mo",output:"\u00BE",ttype:CONST},{input:"\\frac13",tag:"mo",output:"\u2153",ttype:CONST},{input:"\\frac23",tag:"mo",output:"\u2154",ttype:CONST},{input:"\\frac15",tag:"mo",output:"\u2155",ttype:CONST},{input:"\\frac25",tag:"mo",output:"\u2156",ttype:CONST},{input:"\\frac35",tag:"mo",output:"\u2157",ttype:CONST},{input:"\\frac45",tag:"mo",output:"\u2158",ttype:CONST},{input:"\\frac16",tag:"mo",output:"\u2159",ttype:CONST},{input:"\\frac56",tag:"mo",output:"\u215A",ttype:CONST},{input:"\\frac18",tag:"mo",output:"\u215B",ttype:CONST},{input:"\\frac38",tag:"mo",output:"\u215C",ttype:CONST},{input:"\\frac58",tag:"mo",output:"\u215D",ttype:CONST},{input:"\\frac78",tag:"mo",output:"\u215E",ttype:CONST},{input:"\\pm",tag:"mo",output:"\u00B1",ttype:CONST},{input:"\\mp",tag:"mo",output:"\u2213",ttype:CONST},{input:"\\triangleleft",tag:"mo",output:"\u22B2",ttype:CONST},{input:"\\triangleright",tag:"mo",output:"\u22B3",ttype:CONST},{input:"\\cdot",tag:"mo",output:"\u22C5",ttype:CONST},{input:"\\star",tag:"mo",output:"\u22C6",ttype:CONST},{input:"\\ast",tag:"mo",output:"\u002A",ttype:CONST},{input:"\\times",tag:"mo",output:"\u00D7",ttype:CONST},{input:"\\div",tag:"mo",output:"\u00F7",ttype:CONST},{input:"\\circ",tag:"mo",output:"\u2218",ttype:CONST},{input:"\\bullet",tag:"mo",output:"\u2022",ttype:CONST},{input:"\\oplus",tag:"mo",output:"\u2295",ttype:CONST},{input:"\\ominus",tag:"mo",output:"\u2296",ttype:CONST},{input:"\\otimes",tag:"mo",output:"\u2297",ttype:CONST},{input:"\\bigcirc",tag:"mo",output:"\u25CB",ttype:CONST},{input:"\\oslash",tag:"mo",output:"\u2298",ttype:CONST},{input:"\\odot",tag:"mo",output:"\u2299",ttype:CONST},{input:"\\land",tag:"mo",output:"\u2227",ttype:CONST},{input:"\\wedge",tag:"mo",output:"\u2227",ttype:CONST},{input:"\\lor",tag:"mo",output:"\u2228",ttype:CONST},{input:"\\vee",tag:"mo",output:"\u2228",ttype:CONST},{input:"\\cap",tag:"mo",output:"\u2229",ttype:CONST},{input:"\\cup",tag:"mo",output:"\u222A",ttype:CONST},{input:"\\sqcap",tag:"mo",output:"\u2293",ttype:CONST},{input:"\\sqcup",tag:"mo",output:"\u2294",ttype:CONST},{input:"\\uplus",tag:"mo",output:"\u228E",ttype:CONST},{input:"\\amalg",tag:"mo",output:"\u2210",ttype:CONST},{input:"\\bigtriangleup",tag:"mo",output:"\u25B3",ttype:CONST},{input:"\\bigtriangledown",tag:"mo",output:"\u25BD",ttype:CONST},{input:"\\dag",tag:"mo",output:"\u2020",ttype:CONST},{input:"\\dagger",tag:"mo",output:"\u2020",ttype:CONST},{input:"\\ddag",tag:"mo",output:"\u2021",ttype:CONST},{input:"\\ddagger",tag:"mo",output:"\u2021",ttype:CONST},{input:"\\lhd",tag:"mo",output:"\u22B2",ttype:CONST},{input:"\\rhd",tag:"mo",output:"\u22B3",ttype:CONST},{input:"\\unlhd",tag:"mo",output:"\u22B4",ttype:CONST},{input:"\\unrhd",tag:"mo",output:"\u22B5",ttype:CONST},{input:"\\sum",tag:"mo",output:"\u2211",ttype:UNDEROVER},{input:"\\prod",tag:"mo",output:"\u220F",ttype:UNDEROVER},{input:"\\bigcap",tag:"mo",output:"\u22C2",ttype:UNDEROVER},{input:"\\bigcup",tag:"mo",output:"\u22C3",ttype:UNDEROVER},{input:"\\bigwedge",tag:"mo",output:"\u22C0",ttype:UNDEROVER},{input:"\\bigvee",tag:"mo",output:"\u22C1",ttype:UNDEROVER},{input:"\\bigsqcap",tag:"mo",output:"\u2A05",ttype:UNDEROVER},{input:"\\bigsqcup",tag:"mo",output:"\u2A06",ttype:UNDEROVER},{input:"\\coprod",tag:"mo",output:"\u2210",ttype:UNDEROVER},{input:"\\bigoplus",tag:"mo",output:"\u2A01",ttype:UNDEROVER},{input:"\\bigotimes",tag:"mo",output:"\u2A02",ttype:UNDEROVER},{input:"\\bigodot",tag:"mo",output:"\u2A00",ttype:UNDEROVER},{input:"\\biguplus",tag:"mo",output:"\u2A04",ttype:UNDEROVER},{input:"\\int",tag:"mo",output:"\u222B",ttype:CONST},{input:"\\oint",tag:"mo",output:"\u222E",ttype:CONST},{input:":=",tag:"mo",output:":=",ttype:CONST},{input:"\\lt",tag:"mo",output:"<",ttype:CONST},{input:"\\gt",tag:"mo",output:">",ttype:CONST},{input:"\\ne",tag:"mo",output:"\u2260",ttype:CONST},{input:"\\neq",tag:"mo",output:"\u2260",ttype:CONST},{input:"\\le",tag:"mo",output:"\u2264",ttype:CONST},{input:"\\leq",tag:"mo",output:"\u2264",ttype:CONST},{input:"\\leqslant",tag:"mo",output:"\u2264",ttype:CONST},{input:"\\ge",tag:"mo",output:"\u2265",ttype:CONST},{input:"\\geq",tag:"mo",output:"\u2265",ttype:CONST},{input:"\\geqslant",tag:"mo",output:"\u2265",ttype:CONST},{input:"\\equiv",tag:"mo",output:"\u2261",ttype:CONST},{input:"\\ll",tag:"mo",output:"\u226A",ttype:CONST},{input:"\\gg",tag:"mo",output:"\u226B",ttype:CONST},{input:"\\doteq",tag:"mo",output:"\u2250",ttype:CONST},{input:"\\prec",tag:"mo",output:"\u227A",ttype:CONST},{input:"\\succ",tag:"mo",output:"\u227B",ttype:CONST},{input:"\\preceq",tag:"mo",output:"\u227C",ttype:CONST},{input:"\\succeq",tag:"mo",output:"\u227D",ttype:CONST},{input:"\\subset",tag:"mo",output:"\u2282",ttype:CONST},{input:"\\supset",tag:"mo",output:"\u2283",ttype:CONST},{input:"\\subseteq",tag:"mo",output:"\u2286",ttype:CONST},{input:"\\supseteq",tag:"mo",output:"\u2287",ttype:CONST},{input:"\\sqsubset",tag:"mo",output:"\u228F",ttype:CONST},{input:"\\sqsupset",tag:"mo",output:"\u2290",ttype:CONST},{input:"\\sqsubseteq",tag:"mo",output:"\u2291",ttype:CONST},{input:"\\sqsupseteq",tag:"mo",output:"\u2292",ttype:CONST},{input:"\\sim",tag:"mo",output:"\u223C",ttype:CONST},{input:"\\simeq",tag:"mo",output:"\u2243",ttype:CONST},{input:"\\approx",tag:"mo",output:"\u2248",ttype:CONST},{input:"\\cong",tag:"mo",output:"\u2245",ttype:CONST},{input:"\\Join",tag:"mo",output:"\u22C8",ttype:CONST},{input:"\\bowtie",tag:"mo",output:"\u22C8",ttype:CONST},{input:"\\in",tag:"mo",output:"\u2208",ttype:CONST},{input:"\\ni",tag:"mo",output:"\u220B",ttype:CONST},{input:"\\owns",tag:"mo",output:"\u220B",ttype:CONST},{input:"\\propto",tag:"mo",output:"\u221D",ttype:CONST},{input:"\\vdash",tag:"mo",output:"\u22A2",ttype:CONST},{input:"\\dashv",tag:"mo",output:"\u22A3",ttype:CONST},{input:"\\models",tag:"mo",output:"\u22A8",ttype:CONST},{input:"\\perp",tag:"mo",output:"\u22A5",ttype:CONST},{input:"\\smile",tag:"mo",output:"\u2323",ttype:CONST},{input:"\\frown",tag:"mo",output:"\u2322",ttype:CONST},{input:"\\asymp",tag:"mo",output:"\u224D",ttype:CONST},{input:"\\notin",tag:"mo",output:"\u2209",ttype:CONST},{input:"\\begin{eqnarray}",output:"X",ttype:MATRIX,invisible:true},{input:"\\begin{array}",output:"X",ttype:MATRIX,invisible:true},{input:"\\\\",output:"}&{",ttype:DEFINITION},{input:"\\end{eqnarray}",output:"}}",ttype:DEFINITION},{input:"\\end{array}",output:"}}",ttype:DEFINITION},{input:"\\big",tag:"mo",output:"X",atval:"1.2",ieval:"2.2",ttype:BIG},{input:"\\Big",tag:"mo",output:"X",atval:"1.6",ieval:"2.6",ttype:BIG},{input:"\\bigg",tag:"mo",output:"X",atval:"2.2",ieval:"3.2",ttype:BIG},{input:"\\Bigg",tag:"mo",output:"X",atval:"2.9",ieval:"3.9",ttype:BIG},{input:"\\left",tag:"mo",output:"X",ttype:LEFTBRACKET},{input:"\\right",tag:"mo",output:"X",ttype:RIGHTBRACKET},{input:"{",output:"{",ttype:LEFTBRACKET,invisible:true},{input:"}",output:"}",ttype:RIGHTBRACKET,invisible:true},{input:"(",tag:"mo",output:"(",atval:"1",ttype:STRETCHY},{input:"[",tag:"mo",output:"[",atval:"1",ttype:STRETCHY},{input:"\\lbrack",tag:"mo",output:"[",atval:"1",ttype:STRETCHY},{input:"\\{",tag:"mo",output:"{",atval:"1",ttype:STRETCHY},{input:"\\lbrace",tag:"mo",output:"{",atval:"1",ttype:STRETCHY},{input:"\\langle",tag:"mo",output:"\u2329",atval:"1",ttype:STRETCHY},{input:"\\lfloor",tag:"mo",output:"\u230A",atval:"1",ttype:STRETCHY},{input:"\\lceil",tag:"mo",output:"\u2308",atval:"1",ttype:STRETCHY},{input:")",tag:"mo",output:")",rtag:"mi",atval:"1",ttype:STRETCHY},{input:"]",tag:"mo",output:"]",rtag:"mi",atval:"1",ttype:STRETCHY},{input:"\\rbrack",tag:"mo",output:"]",rtag:"mi",atval:"1",ttype:STRETCHY},{input:"\\}",tag:"mo",output:"}",rtag:"mi",atval:"1",ttype:STRETCHY},{input:"\\rbrace",tag:"mo",output:"}",rtag:"mi",atval:"1",ttype:STRETCHY},{input:"\\rangle",tag:"mo",output:"\u232A",rtag:"mi",atval:"1",ttype:STRETCHY},{input:"\\rfloor",tag:"mo",output:"\u230B",rtag:"mi",atval:"1",ttype:STRETCHY},{input:"\\rceil",tag:"mo",output:"\u2309",rtag:"mi",atval:"1",ttype:STRETCHY},{input:"|",tag:"mo",output:"\u2223",atval:"1",ttype:STRETCHY},{input:"\\|",tag:"mo",output:"\u2225",atval:"1",ttype:STRETCHY},{input:"\\vert",tag:"mo",output:"\u2223",atval:"1",ttype:STRETCHY},{input:"\\Vert",tag:"mo",output:"\u2225",atval:"1",ttype:STRETCHY},{input:"\\mid",tag:"mo",output:"\u2223",atval:"1",ttype:STRETCHY},{input:"\\parallel",tag:"mo",output:"\u2225",atval:"1",ttype:STRETCHY},{input:"/",tag:"mo",output:"/",atval:"1.01",ttype:STRETCHY},{input:"\\backslash",tag:"mo",output:"\u2216",atval:"1",ttype:STRETCHY},{input:"\\setminus",tag:"mo",output:"\\",ttype:CONST},{input:"\\!",tag:"mspace",atname:"width",atval:"-0.167em",ttype:SPACE},{input:"\\,",tag:"mspace",atname:"width",atval:"0.167em",ttype:SPACE},{input:"\\>",tag:"mspace",atname:"width",atval:"0.222em",ttype:SPACE},{input:"\\:",tag:"mspace",atname:"width",atval:"0.222em",ttype:SPACE},{input:"\\;",tag:"mspace",atname:"width",atval:"0.278em",ttype:SPACE},{input:"~",tag:"mspace",atname:"width",atval:"0.333em",ttype:SPACE},{input:"\\quad",tag:"mspace",atname:"width",atval:"1em",ttype:SPACE},{input:"\\qquad",tag:"mspace",atname:"width",atval:"2em",ttype:SPACE},{input:"\\prime",tag:"mo",output:"\u2032",ttype:CONST},{input:"'",tag:"mo",output:"\u02B9",ttype:CONST},{input:"''",tag:"mo",output:"\u02BA",ttype:CONST},{input:"'''",tag:"mo",output:"\u2034",ttype:CONST},{input:"''''",tag:"mo",output:"\u2057",ttype:CONST},{input:"\\ldots",tag:"mo",output:"\u2026",ttype:CONST},{input:"\\cdots",tag:"mo",output:"\u22EF",ttype:CONST},{input:"\\vdots",tag:"mo",output:"\u22EE",ttype:CONST},{input:"\\ddots",tag:"mo",output:"\u22F1",ttype:CONST},{input:"\\forall",tag:"mo",output:"\u2200",ttype:CONST},{input:"\\exists",tag:"mo",output:"\u2203",ttype:CONST},{input:"\\Re",tag:"mo",output:"\u211C",ttype:CONST},{input:"\\Im",tag:"mo",output:"\u2111",ttype:CONST},{input:"\\aleph",tag:"mo",output:"\u2135",ttype:CONST},{input:"\\hbar",tag:"mo",output:"\u210F",ttype:CONST},{input:"\\ell",tag:"mo",output:"\u2113",ttype:CONST},{input:"\\wp",tag:"mo",output:"\u2118",ttype:CONST},{input:"\\emptyset",tag:"mo",output:"\u2205",ttype:CONST},{input:"\\infty",tag:"mo",output:"\u221E",ttype:CONST},{input:"\\surd",tag:"mo",output:"\\sqrt{}",ttype:DEFINITION},{input:"\\partial",tag:"mo",output:"\u2202",ttype:CONST},{input:"\\nabla",tag:"mo",output:"\u2207",ttype:CONST},{input:"\\triangle",tag:"mo",output:"\u25B3",ttype:CONST},{input:"\\therefore",tag:"mo",output:"\u2234",ttype:CONST},{input:"\\angle",tag:"mo",output:"\u2220",ttype:CONST},{input:"\\diamond",tag:"mo",output:"\u22C4",ttype:CONST},{input:"\\Diamond",tag:"mo",output:"\u25C7",ttype:CONST},{input:"\\neg",tag:"mo",output:"\u00AC",ttype:CONST},{input:"\\lnot",tag:"mo",output:"\u00AC",ttype:CONST},{input:"\\bot",tag:"mo",output:"\u22A5",ttype:CONST},{input:"\\top",tag:"mo",output:"\u22A4",ttype:CONST},{input:"\\square",tag:"mo",output:"\u25AB",ttype:CONST},{input:"\\Box",tag:"mo",output:"\u25A1",ttype:CONST},{input:"\\wr",tag:"mo",output:"\u2240",ttype:CONST},{input:"\\arccos",tag:"mi",output:"arccos",ttype:UNARY,func:true},{input:"\\arcsin",tag:"mi",output:"arcsin",ttype:UNARY,func:true},{input:"\\arctan",tag:"mi",output:"arctan",ttype:UNARY,func:true},{input:"\\arg",tag:"mi",output:"arg",ttype:UNARY,func:true},{input:"\\cos",tag:"mi",output:"cos",ttype:UNARY,func:true},{input:"\\cosh",tag:"mi",output:"cosh",ttype:UNARY,func:true},{input:"\\cot",tag:"mi",output:"cot",ttype:UNARY,func:true},{input:"\\coth",tag:"mi",output:"coth",ttype:UNARY,func:true},{input:"\\csc",tag:"mi",output:"csc",ttype:UNARY,func:true},{input:"\\deg",tag:"mi",output:"deg",ttype:UNARY,func:true},{input:"\\det",tag:"mi",output:"det",ttype:UNARY,func:true},{input:"\\dim",tag:"mi",output:"dim",ttype:UNARY,func:true},{input:"\\exp",tag:"mi",output:"exp",ttype:UNARY,func:true},{input:"\\gcd",tag:"mi",output:"gcd",ttype:UNARY,func:true},{input:"\\hom",tag:"mi",output:"hom",ttype:UNARY,func:true},{input:"\\inf",tag:"mo",output:"inf",ttype:UNDEROVER},{input:"\\ker",tag:"mi",output:"ker",ttype:UNARY,func:true},{input:"\\lg",tag:"mi",output:"lg",ttype:UNARY,func:true},{input:"\\lim",tag:"mo",output:"lim",ttype:UNDEROVER},{input:"\\liminf",tag:"mo",output:"liminf",ttype:UNDEROVER},{input:"\\limsup",tag:"mo",output:"limsup",ttype:UNDEROVER},{input:"\\ln",tag:"mi",output:"ln",ttype:UNARY,func:true},{input:"\\log",tag:"mi",output:"log",ttype:UNARY,func:true},{input:"\\max",tag:"mo",output:"max",ttype:UNDEROVER},{input:"\\min",tag:"mo",output:"min",ttype:UNDEROVER},{input:"\\Pr",tag:"mi",output:"Pr",ttype:UNARY,func:true},{input:"\\sec",tag:"mi",output:"sec",ttype:UNARY,func:true},{input:"\\sin",tag:"mi",output:"sin",ttype:UNARY,func:true},{input:"\\sinh",tag:"mi",output:"sinh",ttype:UNARY,func:true},{input:"\\sup",tag:"mo",output:"sup",ttype:UNDEROVER},{input:"\\tan",tag:"mi",output:"tan",ttype:UNARY,func:true},{input:"\\tanh",tag:"mi",output:"tanh",ttype:UNARY,func:true},{input:"\\gets",tag:"mo",output:"\u2190",ttype:CONST},{input:"\\leftarrow",tag:"mo",output:"\u2190",ttype:CONST},{input:"\\to",tag:"mo",output:"\u2192",ttype:CONST},{input:"\\rightarrow",tag:"mo",output:"\u2192",ttype:CONST},{input:"\\leftrightarrow",tag:"mo",output:"\u2194",ttype:CONST},{input:"\\uparrow",tag:"mo",output:"\u2191",ttype:CONST},{input:"\\downarrow",tag:"mo",output:"\u2193",ttype:CONST},{input:"\\updownarrow",tag:"mo",output:"\u2195",ttype:CONST},{input:"\\Leftarrow",tag:"mo",output:"\u21D0",ttype:CONST},{input:"\\Rightarrow",tag:"mo",output:"\u21D2",ttype:CONST},{input:"\\Leftrightarrow",tag:"mo",output:"\u21D4",ttype:CONST},{input:"\\iff",tag:"mo",output:"~\\Longleftrightarrow~",ttype:DEFINITION},{input:"\\Uparrow",tag:"mo",output:"\u21D1",ttype:CONST},{input:"\\Downarrow",tag:"mo",output:"\u21D3",ttype:CONST},{input:"\\Updownarrow",tag:"mo",output:"\u21D5",ttype:CONST},{input:"\\mapsto",tag:"mo",output:"\u21A6",ttype:CONST},{input:"\\longleftarrow",tag:"mo",output:"\u2190",ttype:LONG},{input:"\\longrightarrow",tag:"mo",output:"\u2192",ttype:LONG},{input:"\\longleftrightarrow",tag:"mo",output:"\u2194",ttype:LONG},{input:"\\Longleftarrow",tag:"mo",output:"\u21D0",ttype:LONG},{input:"\\Longrightarrow",tag:"mo",output:"\u21D2",ttype:LONG},{input:"\\Longleftrightarrow",tag:"mo",output:"\u21D4",ttype:LONG},{input:"\\longmapsto",tag:"mo",output:"\u21A6",ttype:CONST},AMsqrt,AMroot,AMfrac,AMover,AMsub,AMsup,AMtext,AMmbox,AMatop,AMchoose,{input:"\\acute",tag:"mover",output:"\u00B4",ttype:UNARY,acc:true},{input:"\\grave",tag:"mover",output:"\u0060",ttype:UNARY,acc:true},{input:"\\breve",tag:"mover",output:"\u02D8",ttype:UNARY,acc:true},{input:"\\check",tag:"mover",output:"\u02C7",ttype:UNARY,acc:true},{input:"\\dot",tag:"mover",output:".",ttype:UNARY,acc:true},{input:"\\ddot",tag:"mover",output:"..",ttype:UNARY,acc:true},{input:"\\mathring",tag:"mover",output:"\u00B0",ttype:UNARY,acc:true},{input:"\\vec",tag:"mover",output:"\u20D7",ttype:UNARY,acc:true},{input:"\\overrightarrow",tag:"mover",output:"\u20D7",ttype:UNARY,acc:true},{input:"\\overleftarrow",tag:"mover",output:"\u20D6",ttype:UNARY,acc:true},{input:"\\hat",tag:"mover",output:"\u005E",ttype:UNARY,acc:true},{input:"\\widehat",tag:"mover",output:"\u0302",ttype:UNARY,acc:true},{input:"\\tilde",tag:"mover",output:"~",ttype:UNARY,acc:true},{input:"\\widetilde",tag:"mover",output:"\u02DC",ttype:UNARY,acc:true},{input:"\\bar",tag:"mover",output:"\u203E",ttype:UNARY,acc:true},{input:"\\overbrace",tag:"mover",output:"\uFE37",ttype:UNARY,acc:true},{input:"\\overbracket",tag:"mover",output:"\u23B4",ttype:UNARY,acc:true},{input:"\\overline",tag:"mover",output:"\u00AF",ttype:UNARY,acc:true},{input:"\\underbrace",tag:"munder",output:"\uFE38",ttype:UNARY,acc:true},{input:"\\underbracket",tag:"munder",output:"\u23B5",ttype:UNARY,acc:true},{input:"\\underline",tag:"munder",output:"\u00AF",ttype:UNARY,acc:true},{input:"\\displaystyle",tag:"mstyle",atname:"displaystyle",atval:"true",ttype:UNARY},{input:"\\textstyle",tag:"mstyle",atname:"displaystyle",atval:"false",ttype:UNARY},{input:"\\scriptstyle",tag:"mstyle",atname:"scriptlevel",atval:"1",ttype:UNARY},{input:"\\scriptscriptstyle",tag:"mstyle",atname:"scriptlevel",atval:"2",ttype:UNARY},{input:"\\textrm",tag:"mstyle",output:"\\mathrm",ttype:DEFINITION},{input:"\\mathbf",tag:"mstyle",atname:"mathvariant",atval:"bold",ttype:UNARY},{input:"\\textbf",tag:"mstyle",atname:"mathvariant",atval:"bold",ttype:UNARY},{input:"\\mathit",tag:"mstyle",atname:"mathvariant",atval:"italic",ttype:UNARY},{input:"\\textit",tag:"mstyle",atname:"mathvariant",atval:"italic",ttype:UNARY},{input:"\\mathtt",tag:"mstyle",atname:"mathvariant",atval:"monospace",ttype:UNARY},{input:"\\texttt",tag:"mstyle",atname:"mathvariant",atval:"monospace",ttype:UNARY},{input:"\\mathsf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",ttype:UNARY},{input:"\\mathbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",ttype:UNARY,codes:AMbbb},{input:"\\mathcal",tag:"mstyle",atname:"mathvariant",atval:"script",ttype:UNARY,codes:AMcal},{input:"\\mathfrak",tag:"mstyle",atname:"mathvariant",atval:"fraktur",ttype:UNARY,codes:AMfrk},{input:"\\textcolor",tag:"mstyle",atname:"mathvariant",atval:"mathcolor",ttype:BINARY},{input:"\\colorbox",tag:"mstyle",atname:"mathvariant",atval:"background",ttype:BINARY}];function compareNames(s1,s2){if(s1.input>s2.input)return 1
19−else return-1;}
20−var AMnames=[];function AMinitSymbols(){AMsymbols.sort(compareNames);for(i=0;i<AMsymbols.length;i++)AMnames[i]=AMsymbols[i].input;}
21−var AMmathml="http://www.w3.org/1998/Math/MathML";function AMcreateElementMathML(t){if(isIE)return document.createElement("m:"+t);else return document.createElementNS(AMmathml,t);}
22−function AMcreateMmlNode(t,frag){if(isIE)var node=document.createElement("m:"+t);else var node=document.createElementNS(AMmathml,t);node.appendChild(frag);return node;}
23−function newcommand(oldstr,newstr){AMsymbols=AMsymbols.concat([{input:oldstr,tag:"mo",output:newstr,ttype:DEFINITION}]);}
24−function AMremoveCharsAndBlanks(str,n){var st;st=str.slice(n);for(var i=0;i<st.length&&st.charCodeAt(i)<=32;i=i+1);return st.slice(i);}
25−function AMposition(arr,str,n){if(n==0){var h,m;n=-1;h=arr.length;while(n+1<h){m=(n+h)>>1;if(arr[m]<str)n=m;else h=m;}
26−return h;}else
27−for(var i=n;i<arr.length&&arr[i]<str;i++);return i;}
28−function AMgetSymbol(str){var k=0;var j=0;var mk;var st;var tagst;var match="";var more=true;for(var i=1;i<=str.length&&more;i++){st=str.slice(0,i);j=k;k=AMposition(AMnames,st,j);if(k<AMnames.length&&str.slice(0,AMnames[k].length)==AMnames[k]){match=AMnames[k];mk=k;i=match.length;}
29−more=k<AMnames.length&&str.slice(0,AMnames[k].length)>=AMnames[k];}
30−AMpreviousSymbol=AMcurrentSymbol;if(match!=""){AMcurrentSymbol=AMsymbols[mk].ttype;return AMsymbols[mk];}
31−AMcurrentSymbol=CONST;k=1;st=str.slice(0,1);if("0"<=st&&st<="9")tagst="mn";else tagst=(("A">st||st>"Z")&&("a">st||st>"z")?"mo":"mi");return{input:st,tag:tagst,output:st,ttype:CONST};}
32−var AMpreviousSymbol,AMcurrentSymbol;function AMparseSexpr(str){var symbol,node,result,result2,i,st,newFrag=document.createDocumentFragment();str=AMremoveCharsAndBlanks(str,0);symbol=AMgetSymbol(str);if(symbol==null||symbol.ttype==RIGHTBRACKET)
33−return[null,str,null];if(symbol.ttype==DEFINITION){str=symbol.output+AMremoveCharsAndBlanks(str,symbol.input.length);symbol=AMgetSymbol(str);if(symbol==null||symbol.ttype==RIGHTBRACKET)
34−return[null,str,null];}
35−str=AMremoveCharsAndBlanks(str,symbol.input.length);switch(symbol.ttype){case SPACE:node=AMcreateElementMathML(symbol.tag);node.setAttribute(symbol.atname,symbol.atval);return[node,str,symbol.tag];case UNDEROVER:if(isIE){if(symbol.input.substr(0,4)=="\\big"){str="\\"+symbol.input.substr(4)+str;symbol=AMgetSymbol(str);symbol.ttype=UNDEROVER;str=AMremoveCharsAndBlanks(str,symbol.input.length);}}
36−return[AMcreateMmlNode(symbol.tag,document.createTextNode(symbol.output)),str,symbol.tag];case CONST:var output=symbol.output;if(isIE){if(symbol.input=="'")
37−output="\u2032";else if(symbol.input=="''")
38−output="\u2033";else if(symbol.input=="'''")
39−output="\u2033\u2032";else if(symbol.input=="''''")
40−output="\u2033\u2033";else if(symbol.input=="\\square")
41−output="\u25A1";else if(symbol.input.substr(0,5)=="\\frac"){var denom=symbol.input.substr(6,1);if(denom=="5"||denom=="6"){str=symbol.input.replace(/\\frac/,"\\frac ")+str;return[node,str,symbol.tag];}}}
42−node=AMcreateMmlNode(symbol.tag,document.createTextNode(output));return[node,str,symbol.tag];case LONG:node=AMcreateMmlNode(symbol.tag,document.createTextNode(symbol.output));node.setAttribute("minsize","1.5");node.setAttribute("maxsize","1.5");node=AMcreateMmlNode("mover",node);node.appendChild(AMcreateElementMathML("mspace"));return[node,str,symbol.tag];case STRETCHY:if(isIE&&symbol.input=="\\backslash")
43−symbol.output="\\";node=AMcreateMmlNode(symbol.tag,document.createTextNode(symbol.output));if(symbol.input=="|"||symbol.input=="\\vert"||symbol.input=="\\|"||symbol.input=="\\Vert"){node.setAttribute("lspace","0em");node.setAttribute("rspace","0em");}
44−node.setAttribute("maxsize",symbol.atval);if(symbol.rtag!=null)
45−return[node,str,symbol.rtag];else
46−return[node,str,symbol.tag];case BIG:var atval=symbol.atval;if(isIE)
47−atval=symbol.ieval;symbol=AMgetSymbol(str);if(symbol==null)
48−return[null,str,null];str=AMremoveCharsAndBlanks(str,symbol.input.length);node=AMcreateMmlNode(symbol.tag,document.createTextNode(symbol.output));if(isIE){var space=AMcreateElementMathML("mspace");space.setAttribute("height",atval+"ex");node=AMcreateMmlNode("mrow",node);node.appendChild(space);}else{node.setAttribute("minsize",atval);node.setAttribute("maxsize",atval);}
49−return[node,str,symbol.tag];case LEFTBRACKET:if(symbol.input=="\\left"){symbol=AMgetSymbol(str);if(symbol!=null){if(symbol.input==".")
50−symbol.invisible=true;str=AMremoveCharsAndBlanks(str,symbol.input.length);}}
51−result=AMparseExpr(str,true,false);if(symbol==null||(typeof symbol.invisible=="boolean"&&symbol.invisible))
52−node=AMcreateMmlNode("mrow",result[0]);else{node=AMcreateMmlNode("mo",document.createTextNode(symbol.output));node=AMcreateMmlNode("mrow",node);node.appendChild(result[0]);}
53−return[node,result[1],result[2]];case MATRIX:if(symbol.input=="\\begin{array}"){var mask="";symbol=AMgetSymbol(str);str=AMremoveCharsAndBlanks(str,0);if(symbol==null)
54−mask="l";else{str=AMremoveCharsAndBlanks(str,symbol.input.length);if(symbol.input!="{")
55−mask="l";else do{symbol=AMgetSymbol(str);if(symbol!=null){str=AMremoveCharsAndBlanks(str,symbol.input.length);if(symbol.input!="}")
56−mask=mask+symbol.input;}}while(symbol!=null&&symbol.input!=""&&symbol.input!="}");}
57−result=AMparseExpr("{"+str,true,true);node=AMcreateMmlNode("mtable",result[0]);mask=mask.replace(/l/g,"left ");mask=mask.replace(/r/g,"right ");mask=mask.replace(/c/g,"center ");node.setAttribute("columnalign",mask);node.setAttribute("displaystyle","false");if(isIE)
58−return[node,result[1],null];var lspace=AMcreateElementMathML("mspace");lspace.setAttribute("width","0.167em");var rspace=AMcreateElementMathML("mspace");rspace.setAttribute("width","0.167em");var node1=AMcreateMmlNode("mrow",lspace);node1.appendChild(node);node1.appendChild(rspace);return[node1,result[1],null];}else{result=AMparseExpr("{"+str,true,true);node=AMcreateMmlNode("mtable",result[0]);if(isIE)
59−node.setAttribute("columnspacing","0.25em");else
60−node.setAttribute("columnspacing","0.167em");node.setAttribute("columnalign","right center left");node.setAttribute("displaystyle","true");node=AMcreateMmlNode("mrow",node);return[node,result[1],null];}
61−case TEXT:if(str.charAt(0)=="{")i=str.indexOf("}");else i=0;if(i==-1)
62−i=str.length;st=str.slice(1,i);if(st.charAt(0)==" "){node=AMcreateElementMathML("mspace");node.setAttribute("width","0.33em");newFrag.appendChild(node);}
63−newFrag.appendChild(AMcreateMmlNode(symbol.tag,document.createTextNode(st)));if(st.charAt(st.length-1)==" "){node=AMcreateElementMathML("mspace");node.setAttribute("width","0.33em");newFrag.appendChild(node);}
64−str=AMremoveCharsAndBlanks(str,i+1);return[AMcreateMmlNode("mrow",newFrag),str,null];case UNARY:result=AMparseSexpr(str);if(result[0]==null)return[AMcreateMmlNode(symbol.tag,document.createTextNode(symbol.output)),str];if(typeof symbol.func=="boolean"&&symbol.func){st=str.charAt(0);if(st=="^"||st=="_"||st==","){return[AMcreateMmlNode(symbol.tag,document.createTextNode(symbol.output)),str,symbol.tag];}else{node=AMcreateMmlNode("mrow",AMcreateMmlNode(symbol.tag,document.createTextNode(symbol.output)));if(isIE){var space=AMcreateElementMathML("mspace");space.setAttribute("width","0.167em");node.appendChild(space);}
65−node.appendChild(result[0]);return[node,result[1],symbol.tag];}}
66−if(symbol.input=="\\sqrt"){if(isIE){var space=AMcreateElementMathML("mspace");space.setAttribute("height","1.2ex");space.setAttribute("width","0em");node=AMcreateMmlNode(symbol.tag,result[0])
67−node.appendChild(space);return[node,result[1],symbol.tag];}else
68−return[AMcreateMmlNode(symbol.tag,result[0]),result[1],symbol.tag];}else if(typeof symbol.acc=="boolean"&&symbol.acc){node=AMcreateMmlNode(symbol.tag,result[0]);var output=symbol.output;if(isIE){if(symbol.input=="\\hat")
69−output="\u0302";else if(symbol.input=="\\widehat")
70−output="\u005E";else if(symbol.input=="\\bar")
71−output="\u00AF";else if(symbol.input=="\\grave")
72−output="\u0300";else if(symbol.input=="\\tilde")
73−output="\u0303";}
74−var node1=AMcreateMmlNode("mo",document.createTextNode(output));if(symbol.input=="\\vec"||symbol.input=="\\check")
75−node1.setAttribute("maxsize","1.2");if(isIE&&symbol.input=="\\bar")
76−node1.setAttribute("maxsize","0.5");if(symbol.input=="\\underbrace"||symbol.input=="\\underline")
77−node1.setAttribute("accentunder","true");else
78−node1.setAttribute("accent","true");node.appendChild(node1);if(symbol.input=="\\overbrace"||symbol.input=="\\underbrace")
79−node.ttype=UNDEROVER;return[node,result[1],symbol.tag];}else{if(!isIE&&typeof symbol.codes!="undefined"){for(i=0;i<result[0].childNodes.length;i++)
80−if(result[0].childNodes[i].nodeName=="mi"||result[0].nodeName=="mi"){st=(result[0].nodeName=="mi"?result[0].firstChild.nodeValue:result[0].childNodes[i].firstChild.nodeValue);var newst=[];for(var j=0;j<st.length;j++)
81−if(st.charCodeAt(j)>64&&st.charCodeAt(j)<91)newst=newst+
82−String.fromCharCode(symbol.codes[st.charCodeAt(j)-65]);else newst=newst+st.charAt(j);if(result[0].nodeName=="mi")
83−result[0]=AMcreateElementMathML("mo").appendChild(document.createTextNode(newst));else result[0].replaceChild(AMcreateElementMathML("mo").appendChild(document.createTextNode(newst)),result[0].childNodes[i]);}}
84−node=AMcreateMmlNode(symbol.tag,result[0]);node.setAttribute(symbol.atname,symbol.atval);if(symbol.input=="\\scriptstyle"||symbol.input=="\\scriptscriptstyle")
85−node.setAttribute("displaystyle","false");return[node,result[1],symbol.tag];}
86−case BINARY:result=AMparseSexpr(str);if(result[0]==null)return[AMcreateMmlNode("mo",document.createTextNode(symbol.input)),str,null];result2=AMparseSexpr(result[1]);if(result2[0]==null)return[AMcreateMmlNode("mo",document.createTextNode(symbol.input)),str,null];if(symbol.input=="\\textcolor"||symbol.input=="\\colorbox"){var tclr=str.match(/\{\s*([#\w]+)\s*\}/);str=str.replace(/\{\s*[#\w]+\s*\}/,"");if(tclr!=null){if(IsColorName.test(tclr[1].toLowerCase())){tclr=LaTeXColor[tclr[1].toLowerCase()];}else{tclr=tclr[1];}
87−node=AMcreateElementMathML("mstyle");node.setAttribute(symbol.atval,tclr);node.appendChild(result2[0]);return[node,result2[1],symbol.tag];}}
88−if(symbol.input=="\\root"||symbol.input=="\\stackrel")newFrag.appendChild(result2[0]);newFrag.appendChild(result[0]);if(symbol.input=="\\frac")newFrag.appendChild(result2[0]);return[AMcreateMmlNode(symbol.tag,newFrag),result2[1],symbol.tag];case INFIX:str=AMremoveCharsAndBlanks(str,symbol.input.length);return[AMcreateMmlNode("mo",document.createTextNode(symbol.output)),str,symbol.tag];default:return[AMcreateMmlNode(symbol.tag,document.createTextNode(symbol.output)),str,symbol.tag];}}
89−function AMparseIexpr(str){var symbol,sym1,sym2,node,result,tag,underover;str=AMremoveCharsAndBlanks(str,0);sym1=AMgetSymbol(str);result=AMparseSexpr(str);node=result[0];str=result[1];tag=result[2];symbol=AMgetSymbol(str);if(symbol.ttype==INFIX){str=AMremoveCharsAndBlanks(str,symbol.input.length);result=AMparseSexpr(str);if(result[0]==null)
90−result[0]=AMcreateMmlNode("mo",document.createTextNode("\u25A1"));str=result[1];tag=result[2];if(symbol.input=="_"||symbol.input=="^"){sym2=AMgetSymbol(str);tag=null;underover=((sym1.ttype==UNDEROVER)||(node.ttype==UNDEROVER));if(symbol.input=="_"&&sym2.input=="^"){str=AMremoveCharsAndBlanks(str,sym2.input.length);var res2=AMparseSexpr(str);str=res2[1];tag=res2[2];node=AMcreateMmlNode((underover?"munderover":"msubsup"),node);node.appendChild(result[0]);node.appendChild(res2[0]);}else if(symbol.input=="_"){node=AMcreateMmlNode((underover?"munder":"msub"),node);node.appendChild(result[0]);}else{node=AMcreateMmlNode((underover?"mover":"msup"),node);node.appendChild(result[0]);}
91−node=AMcreateMmlNode("mrow",node);}else{node=AMcreateMmlNode(symbol.tag,node);if(symbol.input=="\\atop"||symbol.input=="\\choose")
92−node.setAttribute("linethickness","0ex");node.appendChild(result[0]);if(symbol.input=="\\choose")
93−node=AMcreateMmlNode("mfenced",node);}}
94−return[node,str,tag];}
95−function AMparseExpr(str,rightbracket,matrix){var symbol,node,result,i,tag,newFrag=document.createDocumentFragment();do{str=AMremoveCharsAndBlanks(str,0);result=AMparseIexpr(str);node=result[0];str=result[1];tag=result[2];symbol=AMgetSymbol(str);if(node!=undefined){if((tag=="mn"||tag=="mi")&&symbol!=null&&typeof symbol.func=="boolean"&&symbol.func){var space=AMcreateElementMathML("mspace");space.setAttribute("width","0.167em");node=AMcreateMmlNode("mrow",node);node.appendChild(space);}
96−newFrag.appendChild(node);}}while((symbol.ttype!=RIGHTBRACKET)&&symbol!=null&&symbol.output!="");tag=null;if(symbol.ttype==RIGHTBRACKET){if(symbol.input=="\\right"){str=AMremoveCharsAndBlanks(str,symbol.input.length);symbol=AMgetSymbol(str);if(symbol!=null&&symbol.input==".")
97−symbol.invisible=true;if(symbol!=null)
98−tag=symbol.rtag;}
99−if(symbol!=null)
100−str=AMremoveCharsAndBlanks(str,symbol.input.length);var len=newFrag.childNodes.length;if(matrix&&len>0&&newFrag.childNodes[len-1].nodeName=="mrow"&&len>1&&newFrag.childNodes[len-2].nodeName=="mo"&&newFrag.childNodes[len-2].firstChild.nodeValue=="&"){var pos=[];var m=newFrag.childNodes.length;for(i=0;matrix&&i<m;i=i+2){pos[i]=[];node=newFrag.childNodes[i];for(var j=0;j<node.childNodes.length;j++)
101−if(node.childNodes[j].firstChild.nodeValue=="&")
102−pos[i][pos[i].length]=j;}
103−var row,frag,n,k,table=document.createDocumentFragment();for(i=0;i<m;i=i+2){row=document.createDocumentFragment();frag=document.createDocumentFragment();node=newFrag.firstChild;n=node.childNodes.length;k=0;for(j=0;j<n;j++){if(typeof pos[i][k]!="undefined"&&j==pos[i][k]){node.removeChild(node.firstChild);row.appendChild(AMcreateMmlNode("mtd",frag));k++;}else frag.appendChild(node.firstChild);}
104−row.appendChild(AMcreateMmlNode("mtd",frag));if(newFrag.childNodes.length>2){newFrag.removeChild(newFrag.firstChild);newFrag.removeChild(newFrag.firstChild);}
105−table.appendChild(AMcreateMmlNode("mtr",row));}
106−return[table,str];}
107−if(typeof symbol.invisible!="boolean"||!symbol.invisible){node=AMcreateMmlNode("mo",document.createTextNode(symbol.output));newFrag.appendChild(node);}}
108−return[newFrag,str,tag];}
109−function AMparseMath(str){var result,node=AMcreateElementMathML("mstyle");var cclr=str.match(/\\color\s*\{\s*([#\w]+)\s*\}/);str=str.replace(/\\color\s*\{\s*[#\w]+\s*\}/g,"");if(cclr!=null){if(IsColorName.test(cclr[1].toLowerCase())){cclr=LaTeXColor[cclr[1].toLowerCase()];}else{cclr=cclr[1];}
110−node.setAttribute("mathcolor",cclr);}else{if(mathcolor!="")node.setAttribute("mathcolor",mathcolor);};if(mathfontfamily!="")node.setAttribute("fontfamily",mathfontfamily);node.appendChild(AMparseExpr(str.replace(/^\s+/g,""),false,false)[0]);node=AMcreateMmlNode("math",node);if(showasciiformulaonhover)
111−node.setAttribute("title",str.replace(/\s+/g," "));if(false){var fnode=AMcreateElementXHTML("font");fnode.setAttribute("face",mathfontfamily);fnode.appendChild(node);return fnode;}
112−return node;}
113−function AMstrarr2docFrag(arr,linebreaks){var newFrag=document.createDocumentFragment();var expr=false;for(var i=0;i<arr.length;i++){if(expr)newFrag.appendChild(AMparseMath(arr[i]));else{var arri=(linebreaks?arr[i].split("\n\n"):[arr[i]]);newFrag.appendChild(AMcreateElementXHTML("span").appendChild(document.createTextNode(arri[0])));for(var j=1;j<arri.length;j++){newFrag.appendChild(AMcreateElementXHTML("p"));newFrag.appendChild(AMcreateElementXHTML("span").appendChild(document.createTextNode(arri[j])));}}
114−expr=!expr;}
115−return newFrag;}
116−function AMprocessNodeR(n,linebreaks){var mtch,str,arr,frg,i;if(n.childNodes.length==0){if((n.nodeType!=8||linebreaks)&&n.parentNode.nodeName!="form"&&n.parentNode.nodeName!="FORM"&&n.parentNode.nodeName!="textarea"&&n.parentNode.nodeName!="TEXTAREA"&&n.parentNode.nodeName!="pre"&&n.parentNode.nodeName!="PRE"){str=n.nodeValue;if(!(str==null)){str=str.replace(/\r\n\r\n/g,"\n\n");str=str.replace(/\x20+/g," ");str=str.replace(/\s*\r\n/g," ");mtch=(str.indexOf("\$")==-1?false:true);str=str.replace(/([^\\])\$/g,"$1 \$");str=str.replace(/^\$/," \$");arr=str.split(" \$");for(i=0;i<arr.length;i++)
117−arr[i]=arr[i].replace(/\\\$/g,"\$");if(arr.length>1||mtch){if(checkForMathML){checkForMathML=false;var nd=AMisMathMLavailable();AMnoMathML=nd!=null;if(AMnoMathML&&notifyIfNoMathML)
118−if(alertIfNoMathML)
119−alert("To view the ASCIIMathML notation use Internet Explorer 6 +\nMathPlayer (free from www.dessci.com)\nor Firefox/Mozilla/Netscape");else AMbody.insertBefore(nd,AMbody.childNodes[0]);}
120−if(!AMnoMathML){frg=AMstrarr2docFrag(arr,n.nodeType==8);var len=frg.childNodes.length;n.parentNode.replaceChild(frg,n);return len-1;}else return 0;}}}else return 0;}else if(n.nodeName!="math"){for(i=0;i<n.childNodes.length;i++)
121−i+=AMprocessNodeR(n.childNodes[i],linebreaks);}
122−return 0;}
123−function AMprocessNode(n,linebreaks,spanclassAM){var frag,st;if(spanclassAM!=null){frag=document.getElementsByTagName("span")
124−for(var i=0;i<frag.length;i++)
125−if(frag[i].className=="AM")
126−AMprocessNodeR(frag[i],linebreaks);}else{try{st=n.innerHTML;}catch(err){}
127−if(st==null||st.indexOf("\$")!=-1)
128−AMprocessNodeR(n,linebreaks);}
129−if(isIE){frag=document.getElementsByTagName('math');for(var i=0;i<frag.length;i++)frag[i].update()}}
130−var inAppendix=false;var sectionCntr=0;var IEcommentWarning=true;var biblist=[];var bibcntr=0;var LaTeXCounter=[];LaTeXCounter["definition"]=0;LaTeXCounter["proposition"]=0;LaTeXCounter["lemma"]=0;LaTeXCounter["theorem"]=0;LaTeXCounter["corollary"]=0;LaTeXCounter["example"]=0;LaTeXCounter["exercise"]=0;LaTeXCounter["subsection"]=0;LaTeXCounter["subsubsection"]=0;LaTeXCounter["figure"]=0;LaTeXCounter["equation"]=0;LaTeXCounter["table"]=0;var LaTeXColor=[];LaTeXColor["greenyellow"]="#D9FF4F";LaTeXColor["yellow"]="#FFFF00";LaTeXColor["goldenrod"]="#FFE529";LaTeXColor["dandelion"]="#FFB529";LaTeXColor["apricot"]="#FFAD7A";LaTeXColor["peach"]="#FF804D";LaTeXColor["melon"]="#FF8A80";LaTeXColor["yelloworange"]="#FF9400";LaTeXColor["orange"]="#FF6321";LaTeXColor["burntorange"]="#FF7D00";LaTeXColor["bittersweet"]="#C20300";LaTeXColor["redorange"]="#FF3B21";LaTeXColor["mahogany"]="#A60000";LaTeXColor["maroon"]="#AD0000";LaTeXColor["brickred"]="#B80000";LaTeXColor["red"]="#FF0000";LaTeXColor["orangered"]="#FF0080";LaTeXColor["rubinered"]="#FF00DE";LaTeXColor["wildstrawberry"]="#FF0A9C";LaTeXColor["salmon"]="#FF789E";LaTeXColor["carnationpink"]="#FF5EFF";LaTeXColor["magenta"]="#FF00FF";LaTeXColor["violetred"]="#FF30FF";LaTeXColor["rhodamine"]="#FF2EFF";LaTeXColor["mulberry"]="#A314FA";LaTeXColor["redviolet"]="#9600A8";LaTeXColor["fuchsia"]="#7303EB";LaTeXColor["lavender"]="#FF85FF";LaTeXColor["thistle"]="#E069FF";LaTeXColor["orchid"]="#AD5CFF";LaTeXColor["darkorchid"]="#9933CC";LaTeXColor["purple"]="#8C24FF";LaTeXColor["plum"]="#8000FF";LaTeXColor["violet"]="#361FFF";LaTeXColor["royalpurple"]="#401AFF";LaTeXColor["blueviolet"]="#1A0DF5";LaTeXColor["periwinkle"]="#6E73FF";LaTeXColor["cadetblue"]="#616EC4";LaTeXColor["cornflowerblue"]="#59DEFF";LaTeXColor["midnightblue"]="#007091";LaTeXColor["navyblue"]="#0F75FF";LaTeXColor["royalblue"]="#0080FF";LaTeXColor["blue"]="#0000FF";LaTeXColor["cerulean"]="#0FE3FF";LaTeXColor["cyan"]="#00FFFF";LaTeXColor["processblue"]="#0AFFFF";LaTeXColor["skyblue"]="#61FFE0";LaTeXColor["turquoise"]="#26FFCC";LaTeXColor["tealblue"]="#1FFAA3";LaTeXColor["aquamarine"]="#2EFFB2";LaTeXColor["bluegreen"]="#26FFAB";LaTeXColor["emerald"]="#00FF80";LaTeXColor["junglegreen"]="#03FF7A";LaTeXColor["seagreen"]="#4FFF80";LaTeXColor["green"]="#00FF00";LaTeXColor["forestgreen"]="#00E000";LaTeXColor["pinegreen"]="#00BF29";LaTeXColor["limegreen"]="#80FF00";LaTeXColor["yellowgreen"]="#8FFF42";LaTeXColor["springgreen"]="#BDFF3D";LaTeXColor["olivegreen"]="#009900";LaTeXColor["rawsienna"]="#8C0000";LaTeXColor["sepia"]="#4D0000";LaTeXColor["brown"]="#660000";LaTeXColor["tan"]="#DB9470";LaTeXColor["gray"]="#808080";LaTeXColor["grey"]="#808080";LaTeXColor["black"]="#000000";LaTeXColor["white"]="#FFFFFF";var IsColorName=/^(?:greenyellow|yellow|goldenrod|dandelion|apricot|peach|melon|yelloworange|orange|burntorange|bittersweet|redorange|mahogany|maroon|brickred|red|orangered|rubinered|wildstrawberry|salmon|carnationpink|magenta|violetred|rhodamine|mulberry|redviolet|fuchsia|lavender|thistle|orchid|darkorchid|purple|plum|violet|royalpurple|blueviolet|periwinkle|cadetblue|cornflowerblue|midnightblue|navyblue|royalblue|blue|cerulean|cyan|processblue|skyblue|turquoise|tealblue|aquamarine|bluegreen|emerald|junglegreen|seagreen|green|forestgreen|pinegreen|limegreen|yellowgreen|springgreen|olivegreen|rawsienna|sepia|brown|tan|gray|grey|black|white)$/;var IsCounter=/^(?:definition|proposition|lemma|theorem|corollary|example|exercise|subsection|subsubsection|figure|equation|table)$/;var IsLaTeXElement=/^(?:displayequation|title|author|address|date|abstract|keyword|section|subsection|subsubsection|ref|cite|thebibliography|definition|proposition|lemma|theorem|corollary|example|exercise|itemize|enumerate|enddefinition|endproposition|endlemma|endtheorem|endcorollary|endexample|endexercise|enditemize|endenumerate|LaTeXMathMLlabel|LaTeXMathML|smallskip|medskip|bigskip|quote|quotation|endquote|endquotation|center|endcenter|description|enddescription|inlinemath)$/;var IsTextOnlyArea=/^(?:form|textarea|pre)$/i;var tableid=0;function makeNumberString(cntr){if(sectionCntr>0){if(inAppendix){return"A"+sectionCntr+"."+cntr;}else{return sectionCntr+"."+cntr;}}else{return""+cntr;}};function LaTeXpreProcess(thebody){var TheBody=thebody;if(TheBody.hasChildNodes()){if(!(IsLaTeXElement.test(TheBody.className)))
131−{for(var i=0;i<TheBody.childNodes.length;i++){LaTeXpreProcess(TheBody.childNodes[i])}}}
132−else{if(TheBody.nodeType==3&&!(IsTextOnlyArea.test(TheBody.parentNode.nodeName)))
133−{var str=TheBody.nodeValue;if(!(str==null)){str=str.replace(/\\%/g,"<per>");str=str.replace(/%[^\n]*(?=\n)/g,"");str=str.replace(/%[^\r]*(?=\r)/g,"");str=str.replace(/%[^\n]*$/,"")
134−if(isIE&&str.match(/%/g)!=null&&IEcommentWarning){alert("Comments may not have parsed properly. Try putting in <pre class='LaTeX><div>..</div></pre> structure.");IEcommentWarning=false;}
135−str=str.replace(/<per>/g,"%");if(str.match(/XXX[\s\S]*/)!=null){var tmp=str.match(/XXX[\s\S]*/)[0];var tmpstr=tmp.charCodeAt(7)+"::"+tmp.charCodeAt(8)+"::"+tmp.charCodeAt(9)+"::"+tmp.charCodeAt(10)+"::"+tmp.charCodeAt(11)+"::"+tmp.charCodeAt(12)+"::"+tmp.charCodeAt(13);alert(tmpstr);}
136−str=str.replace(/([^\\])\\(\s)/g,"$1\u00A0$2");str=str.replace(/\\quad/g,"\u2001");str=str.replace(/\\qquad/g,"\u2001\u2001");str=str.replace(/\\enspace/g,"\u2002");str=str.replace(/\\;/g,"\u2004");str=str.replace(/\\:/g,"\u2005");str=str.replace(/\\,/g,"\u2006");str=str.replace(/\\thinspace/g,"\u200A");str=str.replace(/([^\\])~/g,"$1\u00A0");str=str.replace(/\\~/g,"~");str=str.replace(/\\\[/g," <DEQ> $\\displaystyle{");str=str.replace(/\\\]/g,"}$ <DEQ> ");str=str.replace(/\$\$/g,"${$<DEQ>$}$");str=str.replace(/\\begin\s*\{\s*array\s*\}/g,"\\begin{array}");str=str.replace(/\\end\s*\{\s*array\s*\}/g,"\\end{array}");str=str.replace(/\\begin\s*\{\s*eqnarray\s*\}/g," <DEQ>eqno$\\begin{eqnarray}");str=str.replace(/\\end\s*\{\s*eqnarray\s*\}/g,"\\end{eqnarray}$<DEQ> ");str=str.replace(/\\begin\s*\{\s*eqnarray\*\s*\}/g," <DEQ>$\\begin{eqnarray}");str=str.replace(/\\end\s*\{\s*eqnarray\*\s*\}/g,"\\end{eqnarray}$<DEQ> ");str=str.replace(/\\begin\s*\{\s*displaymath\s*\}/g," <DEQ> $\\displaystyle{");str=str.replace(/\\end\s*\{\s*displaymath\s*\}/g,"}$ <DEQ> ");str=str.replace(/\\begin\s*\{\s*equation\s*\*\s*\}/g," <DEQ> $\\displaystyle{");str=str.replace(/\\end\s*\{\s*equation\s*\*\s*\}/g,"}$ <DEQ> ");str=str.replace(/\\begin\s*\{\s*equation\s*\}/g," <DEQ>eqno$\\displaystyle{");str=str.replace(/\\end\s*\{\s*equation\s*\}/g,"}$ <DEQ> ");str=str.split("<DEQ>");var newFrag=document.createDocumentFragment();for(var i=0;i<str.length;i++){if(i%2){var DEQtable=document.createElement("table");DEQtable.className='displayequation';var DEQtbody=document.createElement("tbody");var DEQtr=document.createElement("tr");var DEQtdeq=document.createElement("td");DEQtdeq.className='eq';str[i]=str[i].replace(/\$\}\$/g,"$\\displaystyle{");str[i]=str[i].replace(/\$\{\$/g,"}");var lbl=str[i].match(/\\label\s*\{\s*(\w+)\s*\}/);var ISeqno=str[i].match(/^eqno/);str[i]=str[i].replace(/^eqno/," ");str[i]=str[i].replace(/\\label\s*\{\s*\w+\s*\}/," ");DEQtdeq.appendChild(document.createTextNode(str[i]));DEQtr.appendChild(DEQtdeq);str[i]=str[i].replace(/\\nonumber/g,"");if(ISeqno!=null||lbl!=null){var DEQtdno=document.createElement("td");DEQtdno.className='eqno';LaTeXCounter["equation"]++;var eqnoString=makeNumberString(LaTeXCounter["equation"]);var DEQanchor=document.createElement("a");if(lbl!=null){DEQanchor.id=lbl[1]};DEQanchor.className="eqno";var anchorSpan=document.createElement("span");anchorSpan.className="eqno";anchorSpan.style.display="none";anchorSpan.appendChild(document.createTextNode(eqnoString));DEQanchor.appendChild(anchorSpan);DEQtdno.appendChild(DEQanchor);var DEQspan=document.createElement("span");DEQspan.className="eqno";DEQspan.appendChild(document.createTextNode("("+eqnoString+")"));DEQtdno.appendChild(DEQspan);DEQtr.appendChild(DEQtdno);}
137−DEQtbody.appendChild(DEQtr);DEQtable.appendChild(DEQtbody);newFrag.appendChild(DEQtable);}
138−else{str[i]=str[i].replace(/\$\}\$/g,"");str[i]=str[i].replace(/\$\{\$/g,"");str[i]=str[i].replace(/\\maketitle/g,"");str[i]=str[i].replace(/\\begin\s*\{\s*document\s*\}/g,"");str[i]=str[i].replace(/\\end\s*\{\s*document\s*\}/g,"");str[i]=str[i].replace(/\\documentclass[^\}]*?\}/g,"");str[i]=str[i].replace(/\\usepackage[^\}]*?\}/g,"");str[i]=str[i].replace(/\\noindent/g,"");str[i]=str[i].replace(/\\notag/g,"");str[i]=str[i].replace(/\\ref\s*\{\s*(\w+)\}/g," \\[ref\\]$1\\[ ");str[i]=str[i].replace(/\\url\s*\{\s*([^\}\n]+)\}/g," \\[url\\]$1\\[ ");str[i]=str[i].replace(/\\href\s*\{\s*([^\}]+)\}\s*\{\s*([^\}]+)\}/g," \\[href\\]$1\\]$2\\[ ");str[i]=str[i].replace(/\\cite\s*\{\s*(\w+)\}/g," \\[cite\\]$1\\[ ");str[i]=str[i].replace(/\\qed/g,"\u220E");str[i]=str[i].replace(/\\endproof/g,"\u220E");str[i]=str[i].replace(/\\proof/g,"\\textbf{Proof: }");str[i]=str[i].replace(/\\n(?=\s)/g," \\[br\\] \\[ ");str[i]=str[i].replace(/\\newline/g," \\[br\\] \\[ ");str[i]=str[i].replace(/\\linebreak/g," \\[br\\] \\[ ");str[i]=str[i].replace(/\\smallskip/g," \\[logicalbreak\\]smallskip\\[ ");str[i]=str[i].replace(/\\medskip/g," \\[logicalbreak\\]medskip\\[ ");str[i]=str[i].replace(/\\bigskip/g," \\[logicalbreak\\]bigskip\\[ ");str[i]=str[i].replace(/[\n\r]+[ \f\n\r\t\v\u2028\u2029]*[\n\r]+/g," \\[logicalbreak\\]LaTeXMathML\\[ ");if(isIE){str[i]=str[i].replace(/\r/g," ");}
139−str[i]=str[i].replace(/\\bibitem\s*([^\{]*\{\s*\w*\s*\})/g," \\[bibitem\\]$1\\[ ");str[i]=str[i].replace(/\\bibitem\s*/g," \\[bibitem\\] \\[ ");str[i]=str[i].replace(/\\item\s*\[\s*(\w+)\s*\]/g," \\[alistitem\\]$1\\[ ");str[i]=str[i].replace(/\\item\s*/g," \\[alistitem\\] \\[ ");str[i]=str[i].replace(/\\appendix/g," \\[appendix\\] \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*figure\s*\}([\s\S]+?)\\end\s*\{\s*figure\s*\}/g," \\[figure\\]$1\\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*table\s*\}([\s\S]+?)\\end\s*\{\s*table\s*\}/g," \\[table\\]$1\\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*theorem\s*\}/g," \\[theorem\\]Theorem \\[ ");str[i]=str[i].replace(/\\end\s*\{\s*theorem\s*\}/g," \\[endtheorem\\] \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*definition\s*\}/g," \\[definition\\]Definition \\[ ");str[i]=str[i].replace(/\\end\s*\{\s*definition\s*\}/g," \\[enddefinition\\] \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*lemma\s*\}/g," \\[lemma\\]Lemma \\[ ");str[i]=str[i].replace(/\\end\s*\{\s*lemma\s*\}/g," \\[endlemma\\] \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*corollary\s*\}/g," \\[corollary\\]Corollary \\[ ");str[i]=str[i].replace(/\\end\s*\{\s*corollary\s*\}/g," \\[endcorollary\\] \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*proposition\s*\}/g," \\[proposition\\]Proposition \\[ ");str[i]=str[i].replace(/\\end\s*\{\s*proposition\s*\}/g," \\[endproposition\\] \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*example\s*\}/g," \\[example\\]Example \\[ ");str[i]=str[i].replace(/\\end\s*\{\s*example\s*\}/g," \\[endexample\\] \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*exercise\s*\}/g," \\[exercise\\]Exercise \\[ ");str[i]=str[i].replace(/\\end\s*\{\s*exercise\s*\}/g," \\[endexercise\\] \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*thebibliography\s*\}\s*\{\s*\w+\s*\}/g," \\[thebibliography\\]References \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*thebibliography\s*\}/g," \\[thebibliography\\]References \\[ ");str[i]=str[i].replace(/\\end\s*\{\s*thebibliography\s*\}/g," \\[endthebibliography\\]References \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*proof\s*\}/g," \\[proof\\]Proof: \\[ ");if(isIE){str[i]=str[i].replace(/\\end\s*\{\s*proof\s*\}/g,"\u220E \\[endproof\\] \\[ ");}else{str[i]=str[i].replace(/\\end\s*\{\s*proof\s*\}/g," \\[endproof\\] \\[ ");}
140−str[i]=str[i].replace(/\\title\s*\{\s*([^\}]+)\}/g," \\[title\\] \\[$1 \\[endtitle\\] \\[ ");str[i]=str[i].replace(/\\author\s*\{\s*([^\}]+)\}/g," \\[author\\] \\[$1 \\[endauthor\\] \\[ ");str[i]=str[i].replace(/\\address\s*\{\s*([^\}]+)\}/g," \\[address\\] \\[$1 \\[endaddress\\] \\[ ");str[i]=str[i].replace(/\\date\s*\{\s*([^\}]+)\}/g," \\[date\\] \\[$1 \\[enddate\\] \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*keyword\s*\}/g," \\[keyword\\] \\[ ");str[i]=str[i].replace(/\\end\s*\{\s*keyword\s*\}/g," \\[endkeyword\\] \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*abstract\s*\}/g," \\[abstract\\] \\[ ");str[i]=str[i].replace(/\\end\s*\{\s*abstract\s*\}/g," \\[endabstract\\] \\[ ");str[i]=str[i].replace(/\\begin\s*\{\s*(?!array|tabular)(\w+)\s*\}/g," \\[$1\\] \\[ ");str[i]=str[i].replace(/\\end\s*\{\s*(?!array|tabular)(\w+)\s*\}/g," \\[end$1\\] \\[ ");var sectionIndex=str[i].search(/\\section\s*\{\s*[\s\S]+\}/);while(sectionIndex>=0){str[i]=str[i].replace(/\\section\s*\{/," \\[section\\]");var delimcnt=1;for(var ii=sectionIndex;ii<str[i].length;ii++){if(str[i].charAt(ii)=="{"){delimcnt++};if(str[i].charAt(ii)=="}"){delimcnt--};if(delimcnt==0){str[i]=str[i].substring(0,ii)+"\\[ "+str[i].substring(ii+1,str[i].length);break;}};sectionIndex=str[i].search(/\\section\s*\{\s*[\s\S]+\}/);}
141−sectionIndex=str[i].search(/\\subsection\s*\{\s*[\s\S]+\}/);while(sectionIndex>=0){str[i]=str[i].replace(/\\subsection\s*\{/," \\[subsection\\]");var delimcnt=1;for(var ii=sectionIndex;ii<str[i].length;ii++){if(str[i].charAt(ii)=="{"){delimcnt++};if(str[i].charAt(ii)=="}"){delimcnt--};if(delimcnt==0){str[i]=str[i].substring(0,ii)+"\\[ "+str[i].substring(ii+1,str[i].length);break;}};sectionIndex=str[i].search(/\\subsection\s*\{\s*[\s\S]+\}/);}
142−sectionIndex=str[i].search(/\\subsubsection\s*\{\s*[\s\S]+\}/);while(sectionIndex>=0){str[i]=str[i].replace(/\\subsubsection\s*\{/," \\[subsubsection\\]");var delimcnt=1;for(var ii=sectionIndex;ii<str[i].length;ii++){if(str[i].charAt(ii)=="{"){delimcnt++};if(str[i].charAt(ii)=="}"){delimcnt--};if(delimcnt==0){str[i]=str[i].substring(0,ii)+"\\[ "+str[i].substring(ii+1,str[i].length);break;}};sectionIndex=str[i].search(/\\subsubsection\s*\{\s*[\s\S]+\}/);}
143−var CatToNextEven="";var strtmp=str[i].split("\\[");for(var j=0;j<strtmp.length;j++){if(j%2){var strtmparray=strtmp[j].split("\\]");switch(strtmparray[0]){case"section":var nodeTmp=document.createElement("H2");nodeTmp.className='section';sectionCntr++;for(var div in LaTeXCounter){LaTeXCounter[div]=0};var nodeAnchor=document.createElement("a");if(inAppendix){nodeAnchor.className='appendixsection';}else{nodeAnchor.className='section';}
144−var nodeNumString=makeNumberString("");var anchorSpan=document.createElement("span");anchorSpan.className="section";anchorSpan.style.display="none";anchorSpan.appendChild(document.createTextNode(nodeNumString));nodeAnchor.appendChild(anchorSpan);nodeTmp.appendChild(nodeAnchor);var nodeSpan=document.createElement("span");nodeSpan.className='section';nodeSpan.appendChild(document.createTextNode(nodeNumString+" "));nodeTmp.appendChild(nodeSpan);nodeTmp.appendChild(document.createTextNode(strtmparray[1]));newFrag.appendChild(nodeTmp);break;case"subsection":var nodeTmp=document.createElement("H3");nodeTmp.className='subsection';LaTeXCounter["subsection"]++;LaTeXCounter["subsubsection"]=0;var nodeAnchor=document.createElement("a");nodeAnchor.className='subsection';var nodeNumString=makeNumberString(LaTeXCounter["subsection"]);var anchorSpan=document.createElement("span");anchorSpan.className="subsection";anchorSpan.style.display="none";anchorSpan.appendChild(document.createTextNode(nodeNumString));nodeAnchor.appendChild(anchorSpan);nodeTmp.appendChild(nodeAnchor);var nodeSpan=document.createElement("span");nodeSpan.className='subsection';nodeSpan.appendChild(document.createTextNode(nodeNumString+". "));nodeTmp.appendChild(nodeSpan);nodeTmp.appendChild(document.createTextNode(strtmparray[1]));newFrag.appendChild(nodeTmp);break;case"subsubsection":var nodeTmp=document.createElement("H4");nodeTmp.className='subsubsection';LaTeXCounter["subsubsection"]++;var nodeAnchor=document.createElement("a");nodeAnchor.className='subsubsection';var nodeNumString=makeNumberString(LaTeXCounter["subsection"]+"."+LaTeXCounter["subsubsection"]);var anchorSpan=document.createElement("span");anchorSpan.className="subsubsection";anchorSpan.style.display="none";anchorSpan.appendChild(document.createTextNode(nodeNumString));nodeAnchor.appendChild(anchorSpan);nodeTmp.appendChild(nodeAnchor);var nodeSpan=document.createElement("span");nodeSpan.className='subsubsection';nodeSpan.appendChild(document.createTextNode(nodeNumString+". "));nodeTmp.appendChild(nodeSpan);nodeTmp.appendChild(document.createTextNode(strtmparray[1]));newFrag.appendChild(nodeTmp);break;case"href":var nodeTmp=document.createElement("a");nodeTmp.className='LaTeXMathML';nodeTmp.href=strtmparray[1];nodeTmp.appendChild(document.createTextNode(strtmparray[2]));newFrag.appendChild(nodeTmp);break;case"url":var nodeTmp=document.createElement("a");nodeTmp.className='LaTeXMathML';nodeTmp.href=strtmparray[1];nodeTmp.appendChild(document.createTextNode(strtmparray[1]));newFrag.appendChild(nodeTmp);break;case"figure":var nodeTmp=document.createElement("table");nodeTmp.className='figure';var FIGtbody=document.createElement("tbody");var FIGlbl=strtmparray[1].match(/\\label\s*\{\s*(\w+)\s*\}/);strtmparray[1]=strtmparray[1].replace(/\\label\s*\{\w+\}/g,"");var capIndex=strtmparray[1].search(/\\caption\s*\{[\s\S]+\}/);var FIGcap="";if(capIndex>=0){var tmp=strtmparray[1];var delimcnt=0;var capstart=-1;for(var pos=capIndex;pos<tmp.length;pos++){if(tmp.charAt(pos)=="{"){delimcnt++};if(tmp.charAt(pos)=="}"){delimcnt--};if(delimcnt==1&&capstart<0){capstart=pos+1};if(delimcnt==0&&capstart>0){capend=pos-1;FIGcap=tmp.substring(capstart,pos);break}}}
145−var FIGtr2=document.createElement("tr");var FIGtd2=document.createElement("td");FIGtd2.className="caption";var FIGanchor=document.createElement("a");FIGanchor.className="figure";if(FIGlbl!=null){FIGanchor.id=FIGlbl[1];}
146−LaTeXCounter["figure"]++;var fignmbr=makeNumberString(LaTeXCounter["figure"]);var anchorSpan=document.createElement("span");anchorSpan.className="figure";anchorSpan.style.display="none";anchorSpan.appendChild(document.createTextNode(fignmbr));FIGanchor.appendChild(anchorSpan);FIGtd2.appendChild(FIGanchor);var FIGspan=document.createElement("span");FIGspan.className="figure";FIGspan.appendChild(document.createTextNode("Figure "+fignmbr+". "));FIGtd2.appendChild(FIGspan);FIGtd2.appendChild(document.createTextNode(""+FIGcap));FIGtr2.appendChild(FIGtd2);FIGtbody.appendChild(FIGtr2);var IsSpecial=false;var FIGinfo=strtmparray[1].match(/\\includegraphics\s*\{([^\}]+)\}/);if(FIGinfo==null){FIGinfo=strtmparray[1].match(/\\includegraphics\s*\[[^\]]*\]\s*\{\s*([^\}]+)\s*\}/);}
147−if(FIGinfo==null){FIGinfo=strtmparray[1].match(/\\special\s*\{\s*([^\}]+)\}/);IsSpecial=true};if(FIGinfo!=null){var FIGtr1=document.createElement("tr");var FIGtd1=document.createElement("td");FIGtd1.className="image";var FIGimg=document.createElement("img");var FIGsrc=FIGinfo[1];FIGimg.src=FIGsrc;FIGimg.alt="Figure "+FIGsrc+" did not load";FIGimg.title="Figure "+fignmbr+". "+FIGcap;FIGimg.id="figure"+fignmbr;FIGtd1.appendChild(FIGimg);FIGtr1.appendChild(FIGtd1);FIGtbody.appendChild(FIGtr1);}
148−nodeTmp.appendChild(FIGtbody);newFrag.appendChild(nodeTmp);break;case"table":var nodeTmp=document.createElement("table");if(strtmparray[1].search(/\\centering/)>=0){nodeTmp.className='LaTeXtable centered';nodeTmp.align="center";}else{nodeTmp.className='LaTeXtable';};tableid++;nodeTmp.id="LaTeXtable"+tableid;var TABlbl=strtmparray[1].match(/\\label\s*\{\s*(\w+)\s*\}/);strtmparray[1]=strtmparray[1].replace(/\\label\s*\{\w+\}/g,"");var capIndex=strtmparray[1].search(/\\caption\s*\{[\s\S]+\}/);var TABcap="";if(capIndex>=0){var tmp=strtmparray[1];var delimcnt=0;var capstart=-1;for(var pos=capIndex;pos<tmp.length;pos++){if(tmp.charAt(pos)=="{"){delimcnt++};if(tmp.charAt(pos)=="}"){delimcnt--};if(delimcnt==1&&capstart<0){capstart=pos+1};if(delimcnt==0&&capstart>0){capend=pos-1;TABcap=tmp.substring(capstart,pos);break}}}
149−if(TABcap!=""){var TABtbody=document.createElement("tbody");var TABcaption=document.createElement("caption");TABcaption.className="LaTeXtable centered";var TABanchor=document.createElement("a");TABanchor.className="LaTeXtable";if(TABlbl!=null){TABanchor.id=TABlbl[1];}
150−LaTeXCounter["table"]++;var tabnmbr=makeNumberString(LaTeXCounter["table"]);var anchorSpan=document.createElement("span");anchorSpan.className="LaTeXtable";anchorSpan.style.display="none";anchorSpan.appendChild(document.createTextNode(tabnmbr));TABanchor.appendChild(anchorSpan);TABcaption.appendChild(TABanchor);var TABspan=document.createElement("span");TABspan.className="LaTeXtable";TABspan.appendChild(document.createTextNode("Table "+tabnmbr+". "));TABcaption.appendChild(TABspan);TABcaption.appendChild(document.createTextNode(""+TABcap));nodeTmp.appendChild(TABcaption);}
151−var TABinfo=strtmparray[1].match(/\\begin\s*\{\s*tabular\s*\}([\s\S]+)\\end\s*\{\s*tabular\s*\}/);if(TABinfo!=null){var TABtbody=document.createElement('tbody');var TABrow=null;var TABcell=null;var row=0;var col=0;var TABalign=TABinfo[1].match(/^\s*\{([^\}]+)\}/);TABinfo=TABinfo[1].replace(/^\s*\{[^\}]+\}/,"");TABinfo=TABinfo.replace(/\\hline/g,"");TABalign[1]=TABalign[1].replace(/\|/g,"");TABalign[1]=TABalign[1].replace(/\s/g,"");TABinfo=TABinfo.split("\\\\");for(row=0;row<TABinfo.length;row++){TABrow=document.createElement("tr");TABinfo[row]=TABinfo[row].split("&");for(col=0;col<TABinfo[row].length;col++){TABcell=document.createElement("td");switch(TABalign[1].charAt(col)){case"l":TABcell.align="left";break;case"c":TABcell.align="center";break;case"r":TABcell.align="right";break;default:TABcell.align="left";};TABcell.appendChild(document.createTextNode(TABinfo[row][col]));TABrow.appendChild(TABcell);}
152−TABtbody.appendChild(TABrow);}
153−nodeTmp.appendChild(TABtbody);}
154−newFrag.appendChild(nodeTmp);break;case"logicalbreak":var nodeTmp=document.createElement("p");nodeTmp.className=strtmparray[1];nodeTmp.appendChild(document.createTextNode("\u00A0"));newFrag.appendChild(nodeTmp);break;case"appendix":inAppendix=true;sectionCntr=0;break;case"alistitem":var EndDiv=document.createElement("div");EndDiv.className="endlistitem";newFrag.appendChild(EndDiv);var BegDiv=document.createElement("div");BegDiv.className="listitem";if(strtmparray[1]!=" "){var BegSpan=document.createElement("span");BegSpan.className="listitemmarker";var boldBegSpan=document.createElement("b");boldBegSpan.appendChild(document.createTextNode(strtmparray[1]+" "));BegSpan.appendChild(boldBegSpan);BegDiv.appendChild(BegSpan);}
155−newFrag.appendChild(BegDiv);break;case"br":newFrag.appendChild(document.createElement("br"));break;case"bibitem":newFrag.appendChild(document.createElement("br"));var nodeTmp=document.createElement("a");nodeTmp.className='bibitem';var nodeSpan=document.createElement("span");nodeSpan.className='bibitem';bibcntr++;var lbl=strtmparray[1].match(/\{\s*(\w+)\s*\}/);strtmparray[1]=strtmparray[1].replace(/\s*\{\s*\w+\s*\}/g,"");strtmparray[1]=strtmparray[1].replace(/^\s*\[/,"");strtmparray[1]=strtmparray[1].replace(/\s*\]$/,"");strtmparray[1]=strtmparray[1].replace(/^\s+|\s+$/g,"");if(lbl==null){biblist[bibcntr]="bibitem"+bibcntr}else{biblist[bibcntr]=lbl[1];};nodeTmp.name=biblist[bibcntr];nodeTmp.id=biblist[bibcntr];if(strtmparray[1]!=""){nodeSpan.appendChild(document.createTextNode(strtmparray[1]));}else{nodeSpan.appendChild(document.createTextNode("["+bibcntr+"]"));}
156−nodeTmp.appendChild(nodeSpan);newFrag.appendChild(nodeTmp);break;case"cite":var nodeTmp=document.createElement("a");nodeTmp.className='cite';nodeTmp.name='cite';nodeTmp.href="#"+strtmparray[1];newFrag.appendChild(nodeTmp);break;case"ref":var nodeTmp=document.createElement("a");nodeTmp.className='ref';nodeTmp.name='ref';nodeTmp.href="#"+strtmparray[1];newFrag.appendChild(nodeTmp);break;default:var nodeTmp=document.createElement("div");nodeTmp.className=strtmparray[0];if(IsCounter.test(strtmparray[0])){LaTeXCounter[strtmparray[0]]++;var nodeAnchor=document.createElement("a");nodeAnchor.className=strtmparray[0];var divnum=makeNumberString(LaTeXCounter[strtmparray[0]]);var anchorSpan=document.createElement("span");anchorSpan.className=strtmparray[0];anchorSpan.appendChild(document.createTextNode(divnum));anchorSpan.style.display="none";nodeAnchor.appendChild(anchorSpan);nodeTmp.appendChild(nodeAnchor);var nodeSpan=document.createElement("span");nodeSpan.className=strtmparray[0];nodeSpan.appendChild(document.createTextNode(strtmparray[1]+" "+divnum+". "));nodeTmp.appendChild(nodeSpan);}
157−if(isIE){if(strtmparray[0]==("thebibliography"||"abstract"||"keyword"||"proof")){var nodeSpan=document.createElement("span");nodeSpan.className=strtmparray[0];nodeSpan.appendChild(document.createTextNode(strtmparray[1]));nodeTmp.appendChild(nodeSpan);}}
158−if(strtmparray[0]=="endenumerate"||strtmparray[0]=="enditemize"||strtmparray[0]=="enddescription"){var endDiv=document.createElement("div");endDiv.className="endlistitem";newFrag.appendChild(endDiv);}
159−newFrag.appendChild(nodeTmp);if(strtmparray[0]=="enumerate"||strtmparray[0]=="itemize"||strtmparray[0]=="description"){var endDiv=document.createElement("div");endDiv.className="listitem";newFrag.appendChild(endDiv);}}}else{strtmp[j]=strtmp[j].replace(/\\\$/g,"<per>");strtmp[j]=strtmp[j].replace(/\$([^\$]+)\$/g," \\[$1\\[ ");strtmp[j]=strtmp[j].replace(/<per>/g,"\\$");strtmp[j]=strtmp[j].replace(/\\begin\s*\{\s*math\s*\}([\s\S]+?)\\end\s*\{\s*math\s*\}/g," \\[$1\\[ ");var strtmptmp=strtmp[j].split("\\[");for(var jjj=0;jjj<strtmptmp.length;jjj++){if(jjj%2){var nodeTmp=document.createElement("span");nodeTmp.className='inlinemath';nodeTmp.appendChild(document.createTextNode("$"+strtmptmp[jjj]+"$"));newFrag.appendChild(nodeTmp);}else{var TagIndex=strtmptmp[jjj].search(/\\\w+/);var tmpIndex=TagIndex;while(tmpIndex>-1){if(/^\\textcolor/.test(strtmptmp[jjj].substring(TagIndex,strtmptmp[jjj].length))){strtmptmp[jjj]=strtmptmp[jjj].replace(/\\textcolor\s*\{\s*(\w+)\s*\}\s*/," \\[textcolor\\]$1\\]|");}else{if(/^\\colorbox/.test(strtmptmp[jjj].substring(TagIndex,strtmptmp[jjj].length))){strtmptmp[jjj]=strtmptmp[jjj].replace(/\\colorbox\s*\{\s*(\w+)\s*\}\s*/," \\[colorbox\\]$1\\]|");}else{strtmptmp[jjj]=strtmptmp[jjj].substring(0,TagIndex)+strtmptmp[jjj].substring(TagIndex,strtmptmp[jjj].length).replace(/\\\s*(\w+)\s*/," \\[$1\\]|");}}
160−TagIndex+=strtmptmp[jjj].substring(TagIndex,strtmptmp[jjj].length).search(/\|/);TagIndex++;strtmptmp[jjj]=strtmptmp[jjj].replace(/\\\]\|/,"\\] ");if(strtmptmp[jjj].charAt(TagIndex)=="{"){strtmptmp[jjj]=strtmptmp[jjj].substring(0,TagIndex)+strtmptmp[jjj].substring(TagIndex+1,strtmptmp[jjj].length);var delimcnt=1;for(var kk=TagIndex;kk<strtmptmp[jjj].length;kk++){if(strtmptmp[jjj].charAt(kk)=="{"){delimcnt++};if(strtmptmp[jjj].charAt(kk)=="}"){delimcnt--};if(delimcnt==0){break;}}
161−strtmptmp[jjj]=strtmptmp[jjj].substring(0,kk)+"\\[ "+strtmptmp[jjj].substring(kk+1,strtmptmp[jjj].length);TagIndex=kk+3;}else{strtmptmp[jjj]=strtmptmp[jjj].substring(0,TagIndex)+"\\[ "+strtmptmp[jjj].substring(TagIndex+1,strtmptmp[jjj].length);TagIndex=TagIndex+3;}
162−if(TagIndex<strtmptmp[jjj].length){tmpIndex=strtmptmp[jjj].substring(TagIndex,strtmptmp[jjj].length).search(/\\\w+/);}
163−else{tmpIndex=-1};TagIndex+=tmpIndex;}
164−strtmptmp[jjj]=strtmptmp[jjj].replace(/\\\\\s*\\\\/g,"\\\\");strtmptmp[jjj]=strtmptmp[jjj].replace(/\\\\/g," \\[br\\] \\[ ");strtmptmp[jjj]=strtmptmp[jjj].replace(/\\label\s*\{\s*(\w+)\s*\}/g," \\[a\\]$1\\[ ");var strlbls=strtmptmp[jjj].split("\\[");for(var jj=0;jj<strlbls.length;jj++){if(jj%2){var strtmparray=strlbls[jj].split("\\]");switch(strtmparray[0]){case"textcolor":var nodeTmp=document.createElement("span");nodeTmp.className='LaTeXColor';if(IsColorName.test(strtmparray[1].toLowerCase())){nodeTmp.style.color=LaTeXColor[strtmparray[1].toLowerCase()];}else{nodeTmp.style.color=strtmparray[1];};nodeTmp.appendChild(document.createTextNode(strtmparray[2]));newFrag.appendChild(nodeTmp);break;case"colorbox":var nodeTmp=document.createElement("span");nodeTmp.className='LaTeXColor';if(IsColorName.test(strtmparray[1].toLowerCase())){nodeTmp.style.background=LaTeXColor[strtmparray[1].toLowerCase()];}else{nodeTmp.style.background=strtmparray[1];};nodeTmp.appendChild(document.createTextNode(strtmparray[2]));newFrag.appendChild(nodeTmp);break;case"br":newFrag.appendChild(document.createElement("br"));break;case"a":var nodeTmp=document.createElement("a");nodeTmp.className='LaTeXMathMLlabel';nodeTmp.id=strtmparray[1];nodeTmp.style.display="none";newFrag.appendChild(nodeTmp);break;default:var nodeTmp=document.createElement("span");nodeTmp.className=strtmparray[0];nodeTmp.appendChild(document.createTextNode(strtmparray[1]))
165−newFrag.appendChild(nodeTmp);}}else{newFrag.appendChild(document.createTextNode(strlbls[jj]));}}}}}}}};TheBody.parentNode.replaceChild(newFrag,TheBody);}}}
166−return TheBody;}
167−function LaTeXDivsAndRefs(thebody){var TheBody=thebody;var EndDivClass=null;var AllDivs=TheBody.getElementsByTagName("div");var lbl2id="";var lblnode=null;for(var i=AllDivs.length-1;i>=0;i--){EndDivClass=AllDivs[i].className.match(/end\w+/);if(EndDivClass!=null){EndDivClass=EndDivClass[0];var DivClass=EndDivClass.substring(3,EndDivClass.length);var EndDivNode=AllDivs[i];break;}}
168−while(EndDivClass!=null){var newFrag=document.createDocumentFragment();var RootNode=EndDivNode.parentNode;var ClassCount=1;while(EndDivNode.previousSibling!=null&&ClassCount>0){switch(EndDivNode.previousSibling.className){case EndDivClass:ClassCount++;newFrag.insertBefore(EndDivNode.previousSibling,newFrag.firstChild);break;case DivClass:if(EndDivNode.previousSibling.nodeName=="DIV"){ClassCount--;if(lbl2id!=""){EndDivNode.previousSibling.id=lbl2id;lbl2id=""}
169−if(ClassCount==0){RootNode=EndDivNode.previousSibling;}else{newFrag.insertBefore(EndDivNode.previousSibling,newFrag.firstChild);}};break;case'LaTeXMathMLlabel':lbl2id=EndDivNode.previousSibling.id;EndDivNode.parentNode.removeChild(EndDivNode.previousSibling);break;default:newFrag.insertBefore(EndDivNode.previousSibling,newFrag.firstChild);}}
170−RootNode.appendChild(newFrag);EndDivNode.parentNode.removeChild(EndDivNode);AllDivs=TheBody.getElementsByTagName("DIV");for(i=AllDivs.length-1;i>=0;i--){EndDivClass=AllDivs[i].className.match(/end\w+/);if(EndDivClass!=null){ClassCount=0;EndDivClass=EndDivClass[0];DivClass=EndDivClass.substring(3,EndDivClass.length);EndDivNode=AllDivs[i];RootNode=EndDivNode.parentNode;break;}}}
171−var AllDivs=TheBody.getElementsByTagName("div");var DIV2LI=null;for(var i=0;i<AllDivs.length;i++){if(AllDivs[i].className=="itemize"||AllDivs[i].className=="enumerate"||AllDivs[i].className=="description"){if(AllDivs[i].className=="itemize"){RootNode=document.createElement("UL");}else{RootNode=document.createElement("OL");}
172−RootNode.className='LaTeXMathML';if(AllDivs[i].hasChildNodes()){AllDivs[i].removeChild(AllDivs[i].firstChild)};while(AllDivs[i].hasChildNodes()){if(AllDivs[i].firstChild.hasChildNodes()){DIV2LI=document.createElement("LI");while(AllDivs[i].firstChild.hasChildNodes()){DIV2LI.appendChild(AllDivs[i].firstChild.firstChild);}
173−if(DIV2LI.firstChild.className=="listitemmarker"){DIV2LI.style.listStyleType="none";}
174−RootNode.appendChild(DIV2LI)}
175−AllDivs[i].removeChild(AllDivs[i].firstChild);}
176−AllDivs[i].appendChild(RootNode);}}
177−var AllAnchors=TheBody.getElementsByTagName("a");for(var i=0;i<AllAnchors.length;i++){if(AllAnchors[i].className=="ref"||AllAnchors[i].className=="cite"){var label=AllAnchors[i].href.match(/\#(\w+)/);if(label!=null){var labelNode=document.getElementById(label[1]);if(labelNode!=null){var TheSpans=labelNode.getElementsByTagName("SPAN");if(TheSpans!=null){var refNode=TheSpans[0].cloneNode(true);refNode.style.display="inline"
178−refNode.className=AllAnchors[i].className;AllAnchors[i].appendChild(refNode);}}}}}
179−return TheBody;}
180−var AMbody;var AMnoMathML=false,AMtranslated=false;function translate(spanclassAM){if(!AMtranslated){AMtranslated=true;AMinitSymbols();var LaTeXContainers=[];var AllContainers=document.getElementsByTagName('*');var ExtendName="";for(var k=0,l=0;k<AllContainers.length;k++){ExtendName=" "+AllContainers[k].className+" ";if(ExtendName.match(/\sLaTeX\s/)!=null){LaTeXContainers[l]=AllContainers[k];l++;}};if(LaTeXContainers.length>0){for(var m=0;m<LaTeXContainers.length;m++){AMbody=LaTeXContainers[m];try{AMbody=LaTeXDivsAndRefs(LaTeXpreProcess(AMbody));}catch(err){alert("Unknown Error: Defaulting to Original LaTeXMathML");}
181−if(AMbody.tagName=="PRE"){var PreChilds=document.createDocumentFragment();var DivChilds=document.createElement("DIV");while(AMbody.hasChildNodes()){DivChilds.appendChild(AMbody.firstChild);}
182−PreChilds.appendChild(DivChilds);AMbody.parentNode.replaceChild(PreChilds,AMbody);AMbody=DivChilds;}
183−AMprocessNode(AMbody,false,spanclassAM);}}else{AMbody=document.getElementsByTagName("body")[0];try{AMbody=LaTeXDivsAndRefs(LaTeXpreProcess(AMbody));}catch(err){alert("Unknown Error: Defaulting to Original LaTeXMathML");}
184−AMprocessNode(AMbody,false,spanclassAM);}}}
185−if(isIE){document.write("<object id=\"mathplayer\" classid=\"clsid:32F66A20-7614-11D4-BD11-00104BD3F987\"></object>");document.write("<?import namespace=\"m\" implementation=\"#mathplayer\"?>");}
186−function generic()
187−{translate();};if(typeof window.addEventListener!='undefined')
188−{window.addEventListener('load',generic,false);}
189−else if(typeof document.addEventListener!='undefined')
190−{document.addEventListener('load',generic,false);}
191−else if(typeof window.attachEvent!='undefined')
192−{window.attachEvent('onload',generic);}
193−else
194−{if(typeof window.onload=='function')
195−{var existing=onload;window.onload=function()
196−{existing();generic();};}
197−else
198−{window.onload=generic;}}
data/bash_completion.tpldeleted−78
@@ -1,78 +0,0 @@
1−# This script enables bash autocompletion for pandoc. To enable
2−# bash completion, add this to your .bashrc:
3−# eval "$(pandoc --bash-completion)"
4−
5−_pandoc()
6−{
7− local cur prev opts lastc informats outformats datadir
8− COMPREPLY=()
9− cur="${COMP_WORDS[COMP_CWORD]}"
10− prev="${COMP_WORDS[COMP_CWORD-1]}"
11−
12− # These should be filled in by pandoc:
13− opts="%s"
14− informats="%s"
15− outformats="%s"
16− highlight_styles="%s"
17− datadir="%s"
18−
19− case "${prev}" in
20− --from|-f|--read|-r)
21− COMPREPLY=( $(compgen -W "${informats}" -- ${cur}) )
22− return 0
23− ;;
24− --to|-t|--write|-w|-D|--print-default-template)
25− COMPREPLY=( $(compgen -W "${outformats}" -- ${cur}) )
26− return 0
27− ;;
28− --email-obfuscation)
29− COMPREPLY=( $(compgen -W "references javascript none" -- ${cur}) )
30− return 0
31− ;;
32− --latex-engine)
33− COMPREPLY=( $(compgen -W "pdflatex lualatex xelatex" -- ${cur}) )
34− return 0
35− ;;
36− --print-default-data-file)
37− COMPREPLY=( $(compgen -W "reference.odt reference.docx $(find ${datadir} | sed -e 's/.*\/data\///')" -- ${cur}) )
38− return 0
39− ;;
40− --wrap)
41− COMPREPLY=( $(compgen -W "auto none preserve" -- ${cur}) )
42− return 0
43− ;;
44− --track-changes)
45− COMPREPLY=( $(compgen -W "accept reject all" -- ${cur}) )
46− return 0
47− ;;
48− --reference-location)
49− COMPREPLY=( $(compgen -W "block section document" -- ${cur}) )
50− return 0
51− ;;
52− --top-level-division)
53− COMPREPLY=( $(compgen -W "section chapter part" -- ${cur}) )
54− return 0
55− ;;
56− --highlight-style)
57− COMPREPLY=( $(compgen -W "${highlight_styles}" -- ${cur}) )
58− return 0
59− ;;
60− *)
61− ;;
62− esac
63−
64− case "${cur}" in
65− -*)
66− COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
67− return 0
68− ;;
69− *)
70− local IFS=$'\n'
71− COMPREPLY=( $(compgen -X '' -f "${cur}") )
72− return 0
73− ;;
74− esac
75−
76−}
77−
78−complete -o filenames -o bashdefault -F _pandoc pandoc
data/docx/[Content_Types].xmldeleted−2
@@ -1,2 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="xml" ContentType="application/xml" /><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml" /><Override PartName="/word/numbering.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml" /><Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml" /><Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml" /><Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml" /><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" /><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml" /><Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml" /><Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml" /><Override PartName="/word/footnotes.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml" /></Types>
data/docx/_rels/.relsdeleted−2
@@ -1,2 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml" /><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml" /><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml" /></Relationships>
data/docx/docProps/app.xmldeleted−18
@@ -1,18 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">
3− <Words>83</Words>
4− <SharedDoc>false</SharedDoc>
5− <HyperlinksChanged>false</HyperlinksChanged>
6− <Lines>12</Lines>
7− <AppVersion>12.0000</AppVersion>
8− <LinksUpToDate>false</LinksUpToDate>
9− <Application>Microsoft Word 12.0.0</Application>
10− <CharactersWithSpaces>583</CharactersWithSpaces>
11− <Template>Normal.dotm</Template>
12− <DocSecurity>0</DocSecurity>
13− <TotalTime>6</TotalTime>
14− <ScaleCrop>false</ScaleCrop>
15− <Characters>475</Characters>
16− <Paragraphs>8</Paragraphs>
17− <Pages>1</Pages>
18−</Properties>
data/docx/docProps/core.xmldeleted−2
@@ -1,2 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:title></dc:title><dc:creator></dc:creator></cp:coreProperties>
data/docx/word/_rels/document.xml.relsdeleted−2
@@ -1,2 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" Id="rId1" Target="numbering.xml" /><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Id="rId2" Target="styles.xml" /><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" Id="rId3" Target="settings.xml" /><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" Id="rId4" Target="webSettings.xml" /><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" Id="rId5" Target="fontTable.xml" /><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Id="rId6" Target="theme/theme1.xml" /><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" Id="rId7" Target="footnotes.xml" /></Relationships>
data/docx/word/_rels/footnotes.xml.relsdeleted−2
@@ -1,2 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships" />
data/docx/word/document.xmldeleted−2
@@ -1,2 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"><w:body><w:p><w:r><w:t xml:space="preserve">Hello world.</w:t></w:r></w:p></w:body></w:document>
data/docx/word/fontTable.xmldeleted−52
@@ -1,52 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<w:fonts xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
3−&#9;<w:font w:name="Symbol">
4−&#9;&#9;<w:panose1 w:val="02000500000000000000" />
5−&#9;&#9;<w:charset w:val="02" />
6−&#9;&#9;<w:family w:val="auto" />
7−&#9;&#9;<w:pitch w:val="variable" />
8−&#9;&#9;<w:sig w:usb0="00000000" w:usb1="00000000" w:usb2="00010000" w:usb3="00000000" w:csb0="80000000" w:csb1="00000000" />
9−&#9;</w:font>
10−&#9;<w:font w:name="Times New Roman">
11−&#9;&#9;<w:panose1 w:val="02020603050405020304" />
12−&#9;&#9;<w:charset w:val="00" />
13−&#9;&#9;<w:family w:val="auto" />
14−&#9;&#9;<w:pitch w:val="variable" />
15−&#9;&#9;<w:sig w:usb0="00000003" w:usb1="00000000" w:usb2="00000000" w:usb3="00000000" w:csb0="00000001" w:csb1="00000000" />
16−&#9;</w:font>
17−&#9;<w:font w:name="Courier New">
18−&#9;&#9;<w:panose1 w:val="02070309020205020404" />
19−&#9;&#9;<w:charset w:val="00" />
20−&#9;&#9;<w:family w:val="auto" />
21−&#9;&#9;<w:pitch w:val="variable" />
22−&#9;&#9;<w:sig w:usb0="00000003" w:usb1="00000000" w:usb2="00000000" w:usb3="00000000" w:csb0="00000001" w:csb1="00000000" />
23−&#9;</w:font>
24−&#9;<w:font w:name="Wingdings">
25−&#9;&#9;<w:panose1 w:val="05020102010804080708" />
26−&#9;&#9;<w:charset w:val="02" />
27−&#9;&#9;<w:family w:val="auto" />
28−&#9;&#9;<w:pitch w:val="variable" />
29−&#9;&#9;<w:sig w:usb0="00000000" w:usb1="00000000" w:usb2="00010000" w:usb3="00000000" w:csb0="80000000" w:csb1="00000000" />
30−&#9;</w:font>
31−&#9;<w:font w:name="Cambria">
32−&#9;&#9;<w:panose1 w:val="02040503050406030204" />
33−&#9;&#9;<w:charset w:val="00" />
34−&#9;&#9;<w:family w:val="auto" />
35−&#9;&#9;<w:pitch w:val="variable" />
36−&#9;&#9;<w:sig w:usb0="00000003" w:usb1="00000000" w:usb2="00000000" w:usb3="00000000" w:csb0="00000001" w:csb1="00000000" />
37−&#9;</w:font>
38−&#9;<w:font w:name="Calibri">
39−&#9;&#9;<w:panose1 w:val="020F0502020204030204" />
40−&#9;&#9;<w:charset w:val="00" />
41−&#9;&#9;<w:family w:val="auto" />
42−&#9;&#9;<w:pitch w:val="variable" />
43−&#9;&#9;<w:sig w:usb0="00000003" w:usb1="00000000" w:usb2="00000000" w:usb3="00000000" w:csb0="00000001" w:csb1="00000000" />
44−&#9;</w:font>
45−&#9;<w:font w:name="Arial">
46−&#9;&#9;<w:panose1 w:val="020B0604020202020204" />
47−&#9;&#9;<w:charset w:val="00" />
48−&#9;&#9;<w:family w:val="auto" />
49−&#9;&#9;<w:pitch w:val="variable" />
50−&#9;&#9;<w:sig w:usb0="00000003" w:usb1="00000000" w:usb2="00000000" w:usb3="00000000" w:csb0="00000001" w:csb1="00000000" />
51−&#9;</w:font>
52−</w:fonts>
data/docx/word/footnotes.xmldeleted−26
@@ -1,26 +0,0 @@
1−<?xml version="1.0" encoding="utf-8"?>
2−<w:footnotes xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
3−xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
4−xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
5−xmlns:o="urn:schemas-microsoft-com:office:office"
6−xmlns:v="urn:schemas-microsoft-com:vml"
7−xmlns:w10="urn:schemas-microsoft-com:office:word"
8−xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
9−xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture"
10−xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing">
11−
12− <w:footnote w:type="continuationSeparator" w:id="0">
13− <w:p>
14− <w:r>
15− <w:continuationSeparator />
16− </w:r>
17− </w:p>
18− </w:footnote>
19− <w:footnote w:type="separator" w:id="-1">
20− <w:p>
21− <w:r>
22− <w:separator />
23− </w:r>
24− </w:p>
25− </w:footnote>
26−</w:footnotes>
data/docx/word/numbering.xmldeleted−2
@@ -1,2 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<w:numbering xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"><w:abstractNum w:abstractNumId="0"><w:nsid w:val="e17f69ba" /><w:multiLevelType w:val="multilevel" /><w:lvl w:ilvl="0"><w:numFmt w:val="bullet" /><w:lvlText w:val=" " /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="num" w:pos="0" /></w:tabs><w:ind w:left="480" w:hanging="480" /></w:pPr></w:lvl><w:lvl w:ilvl="1"><w:numFmt w:val="bullet" /><w:lvlText w:val=" " /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="num" w:pos="720" /></w:tabs><w:ind w:left="1200" w:hanging="480" /></w:pPr></w:lvl><w:lvl w:ilvl="2"><w:numFmt w:val="bullet" /><w:lvlText w:val=" " /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="num" w:pos="1440" /></w:tabs><w:ind w:left="1920" w:hanging="480" /></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:numFmt w:val="bullet" /><w:lvlText w:val=" " /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="num" w:pos="2160" /></w:tabs><w:ind w:left="2640" w:hanging="480" /></w:pPr></w:lvl><w:lvl w:ilvl="4"><w:numFmt w:val="bullet" /><w:lvlText w:val=" " /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="num" w:pos="2880" /></w:tabs><w:ind w:left="3360" w:hanging="480" /></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:numFmt w:val="bullet" /><w:lvlText w:val=" " /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="num" w:pos="3600" /></w:tabs><w:ind w:left="4080" w:hanging="480" /></w:pPr></w:lvl><w:lvl w:ilvl="6"><w:numFmt w:val="bullet" /><w:lvlText w:val=" " /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="num" w:pos="4320" /></w:tabs><w:ind w:left="4800" w:hanging="480" /></w:pPr></w:lvl></w:abstractNum><w:num w:numId="1"><w:abstractNumId w:val="0" /></w:num></w:numbering>
data/docx/word/settings.xmldeleted−47
@@ -1,47 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<w:settings xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:sl="http://schemas.openxmlformats.org/schemaLibrary/2006/main">
3− <w:zoom w:percent="90" />
4− <w:embedSystemFonts />
5− <w:proofState w:spelling="clean" w:grammar="clean" />
6− <w:stylePaneFormatFilter w:val="0004" />
7− <w:footnotePr>
8− <w:footnote w:id="-1" />
9− <w:footnote w:id="0" />
10− </w:footnotePr>
11− <w:doNotTrackMoves />
12− <w:defaultTabStop w:val="720" />
13− <w:drawingGridHorizontalSpacing w:val="360" />
14− <w:drawingGridVerticalSpacing w:val="360" />
15− <w:displayHorizontalDrawingGridEvery w:val="0" />
16− <w:displayVerticalDrawingGridEvery w:val="0" />
17− <w:characterSpacingControl w:val="doNotCompress" />
18− <w:savePreviewPicture />
19− <w:rsids>
20− <w:rsidRoot w:val="00590D07" />
21− <w:rsid w:val="00011C8B" />
22− <w:rsid w:val="004E29B3" />
23− <w:rsid w:val="00590D07" />
24− <w:rsid w:val="00784D58" />
25− <w:rsid w:val="008D6863" />
26− <w:rsid w:val="00B86B75" />
27− <w:rsid w:val="00BC48D5" />
28− <w:rsid w:val="00C36279" />
29− <w:rsid w:val="00E315A3" />
30− </w:rsids>
31− <m:mathPr>
32− <m:mathFont m:val="Lucida Grande" />
33− <m:brkBin m:val="before" />
34− <m:brkBinSub m:val="--" />
35− <m:smallFrac m:val="false" />
36− <m:dispDef m:val="false" />
37− <m:lMargin m:val="0" />
38− <m:rMargin m:val="0" />
39− <m:wrapRight />
40− <m:intLim m:val="subSup" />
41− <m:naryLim m:val="subSup" />
42− </m:mathPr>
43− <w:themeFontLang w:val="en-US" />
44− <w:clrSchemeMapping w:bg1="light1" w:t1="dark1" w:bg2="light2" w:t2="dark2" w:accent1="accent1" w:accent2="accent2" w:accent3="accent3" w:accent4="accent4" w:accent5="accent5" w:accent6="accent6" w:hyperlink="hyperlink" w:followedHyperlink="followedHyperlink" />
45− <w:decimalSymbol w:val="." />
46− <w:listSeparator w:val="," />
47−</w:settings>
data/docx/word/styles.xmldeleted−396
@@ -1,396 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<w:styles xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
3− <w:docDefaults>
4− <w:rPrDefault>
5− <w:rPr>
6− <w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorHAnsi" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi" />
7− <w:sz w:val="24" />
8− <w:szCs w:val="24" />
9− <w:lang w:val="en-US" w:eastAsia="en-US" w:bidi="ar-SA" />
10− </w:rPr>
11− </w:rPrDefault>
12− <w:pPrDefault>
13− <w:pPr>
14− <w:spacing w:after="200" />
15− </w:pPr>
16− </w:pPrDefault>
17− </w:docDefaults>
18− <w:latentStyles w:defLockedState="0" w:defUIPriority="0" w:defSemiHidden="0" w:defUnhideWhenUsed="0" w:defQFormat="0" w:count="276" />
19− <w:style w:type="paragraph" w:default="1" w:styleId="Normal">
20− <w:name w:val="Normal" />
21− <w:qFormat />
22− </w:style>
23− <w:style w:type="paragraph" w:styleId="BodyText">
24− <w:name w:val="Body Text" />
25− <w:basedOn w:val="Normal" />
26− <w:link w:val="BodyTextChar" />
27− <w:pPr>
28− <w:spacing w:before="180" w:after="180" />
29− </w:pPr>
30− <w:qFormat />
31− </w:style>
32− <w:style w:type="paragraph" w:customStyle="1" w:styleId="FirstParagraph">
33− <w:name w:val="First Paragraph" />
34− <w:basedOn w:val="BodyText" />
35− <w:next w:val="BodyText" />
36− <w:qFormat />
37− </w:style>
38− <w:style w:type="paragraph" w:customStyle="1" w:styleId="Compact">
39− <w:name w:val="Compact" />
40− <w:basedOn w:val="BodyText" />
41− <w:qFormat />
42− <w:pPr>
43− <w:spacing w:before="36" w:after="36" />
44− </w:pPr>
45− </w:style>
46− <w:style w:type="paragraph" w:styleId="Title">
47− <w:name w:val="Title" />
48− <w:basedOn w:val="Normal" />
49− <w:next w:val="BodyText" />
50− <w:qFormat />
51− <w:pPr>
52− <w:keepNext />
53− <w:keepLines />
54− <w:spacing w:before="480" w:after="240" />
55− <w:jc w:val="center" />
56− </w:pPr>
57− <w:rPr>
58− <w:rFonts w:asciiTheme="majorHAnsi" w:eastAsiaTheme="majorEastAsia" w:hAnsiTheme="majorHAnsi" w:cstheme="majorBidi" />
59− <w:b />
60− <w:bCs />
61− <w:color w:val="345A8A" w:themeColor="accent1" w:themeShade="B5" />
62− <w:sz w:val="36" />
63− <w:szCs w:val="36" />
64− </w:rPr>
65− </w:style>
66− <w:style w:type="paragraph" w:styleId="Subtitle">
67− <w:name w:val="Subtitle" />
68− <w:basedOn w:val="Title" />
69− <w:next w:val="BodyText" />
70− <w:qFormat />
71− <w:pPr>
72− <w:keepNext />
73− <w:keepLines />
74− <w:spacing w:before="240" w:after="240" />
75− <w:jc w:val="center" />
76− </w:pPr>
77− <w:rPr>
78− <w:sz w:val="30" />
79− <w:szCs w:val="30" />
80− </w:rPr>
81− </w:style>
82− <w:style w:type="paragraph" w:customStyle="1" w:styleId="Author">
83− <w:name w:val="Author" />
84− <w:next w:val="BodyText" />
85− <w:qFormat />
86− <w:pPr>
87− <w:keepNext />
88− <w:keepLines />
89− <w:jc w:val="center" />
90− </w:pPr>
91− </w:style>
92− <w:style w:type="paragraph" w:styleId="Date">
93− <w:name w:val="Date" />
94− <w:next w:val="BodyText" />
95− <w:qFormat />
96− <w:pPr>
97− <w:keepNext />
98− <w:keepLines />
99− <w:jc w:val="center" />
100− </w:pPr>
101− </w:style>
102− <w:style w:type="paragraph" w:customStyle="1" w:styleId="Abstract">
103− <w:name w:val="Abstract" />
104− <w:basedOn w:val="Normal" />
105− <w:next w:val="BodyText" />
106− <w:qFormat />
107− <w:pPr>
108− <w:keepNext />
109− <w:keepLines />
110− <w:spacing w:before="300" w:after="300" />
111− </w:pPr>
112− <w:rPr>
113− <w:sz w:val="20" />
114− <w:szCs w:val="20" />
115− </w:rPr>
116− </w:style>
117− <w:style w:type="paragraph" w:styleId="Bibliography">
118− <w:name w:val="Bibliography" />
119− <w:basedOn w:val="Normal" />
120− <w:next w:val="Bibliography" />
121− <w:qFormat />
122− <w:pPr />
123− <w:rPr />
124− </w:style>
125− <w:style w:type="paragraph" w:styleId="Heading1">
126− <w:name w:val="Heading 1" />
127− <w:basedOn w:val="Normal" />
128− <w:next w:val="BodyText" />
129− <w:uiPriority w:val="9" />
130− <w:qFormat />
131− <w:pPr>
132− <w:keepNext />
133− <w:keepLines />
134− <w:spacing w:before="480" w:after="0" />
135− <w:outlineLvl w:val="0" />
136− </w:pPr>
137− <w:rPr>
138− <w:rFonts w:asciiTheme="majorHAnsi" w:eastAsiaTheme="majorEastAsia" w:hAnsiTheme="majorHAnsi" w:cstheme="majorBidi" />
139− <w:b />
140− <w:bCs />
141− <w:color w:val="345A8A" w:themeColor="accent1" w:themeShade="B5" />
142− <w:sz w:val="32" />
143− <w:szCs w:val="32" />
144− </w:rPr>
145− </w:style>
146− <w:style w:type="paragraph" w:styleId="Heading2">
147− <w:name w:val="Heading 2" />
148− <w:basedOn w:val="Normal" />
149− <w:next w:val="BodyText" />
150− <w:uiPriority w:val="9" />
151− <w:unhideWhenUsed />
152− <w:qFormat />
153− <w:pPr>
154− <w:keepNext />
155− <w:keepLines />
156− <w:spacing w:before="200" w:after="0" />
157− <w:outlineLvl w:val="1" />
158− </w:pPr>
159− <w:rPr>
160− <w:rFonts w:asciiTheme="majorHAnsi" w:eastAsiaTheme="majorEastAsia" w:hAnsiTheme="majorHAnsi" w:cstheme="majorBidi" />
161− <w:b />
162− <w:bCs />
163− <w:color w:val="4F81BD" w:themeColor="accent1" />
164− <w:sz w:val="32" />
165− <w:szCs w:val="32" />
166− </w:rPr>
167− </w:style>
168− <w:style w:type="paragraph" w:styleId="Heading3">
169− <w:name w:val="Heading 3" />
170− <w:basedOn w:val="Normal" />
171− <w:next w:val="BodyText" />
172− <w:uiPriority w:val="9" />
173− <w:unhideWhenUsed />
174− <w:qFormat />
175− <w:pPr>
176− <w:keepNext />
177− <w:keepLines />
178− <w:spacing w:before="200" w:after="0" />
179− <w:outlineLvl w:val="2" />
180− </w:pPr>
181− <w:rPr>
182− <w:rFonts w:asciiTheme="majorHAnsi" w:eastAsiaTheme="majorEastAsia" w:hAnsiTheme="majorHAnsi" w:cstheme="majorBidi" />
183− <w:b />
184− <w:bCs />
185− <w:color w:val="4F81BD" w:themeColor="accent1" />
186− <w:sz w:val="28" />
187− <w:szCs w:val="28" />
188− </w:rPr>
189− </w:style>
190− <w:style w:type="paragraph" w:styleId="Heading4">
191− <w:name w:val="Heading 4" />
192− <w:basedOn w:val="Normal" />
193− <w:next w:val="BodyText" />
194− <w:uiPriority w:val="9" />
195− <w:unhideWhenUsed />
196− <w:qFormat />
197− <w:pPr>
198− <w:keepNext />
199− <w:keepLines />
200− <w:spacing w:before="200" w:after="0" />
201− <w:outlineLvl w:val="3" />
202− </w:pPr>
203− <w:rPr>
204− <w:rFonts w:asciiTheme="majorHAnsi" w:eastAsiaTheme="majorEastAsia" w:hAnsiTheme="majorHAnsi" w:cstheme="majorBidi" />
205− <w:b />
206− <w:bCs />
207− <w:color w:val="4F81BD" w:themeColor="accent1" />
208− <w:sz w:val="24" />
209− <w:szCs w:val="24" />
210− </w:rPr>
211− </w:style>
212− <w:style w:type="paragraph" w:styleId="Heading5">
213− <w:name w:val="Heading 5" />
214− <w:basedOn w:val="Normal" />
215− <w:next w:val="BodyText" />
216− <w:uiPriority w:val="9" />
217− <w:unhideWhenUsed />
218− <w:qFormat />
219− <w:pPr>
220− <w:keepNext />
221− <w:keepLines />
222− <w:spacing w:before="200" w:after="0" />
223− <w:outlineLvl w:val="4" />
224− </w:pPr>
225− <w:rPr>
226− <w:rFonts w:asciiTheme="majorHAnsi" w:eastAsiaTheme="majorEastAsia" w:hAnsiTheme="majorHAnsi" w:cstheme="majorBidi" />
227− <w:i />
228− <w:iCs />
229− <w:color w:val="4F81BD" w:themeColor="accent1" />
230− <w:sz w:val="24" />
231− <w:szCs w:val="24" />
232− </w:rPr>
233− </w:style>
234− <w:style w:type="paragraph" w:styleId="Heading6">
235− <w:name w:val="Heading 6" />
236− <w:basedOn w:val="Normal" />
237− <w:next w:val="BodyText" />
238− <w:uiPriority w:val="9" />
239− <w:unhideWhenUsed />
240− <w:qFormat />
241− <w:pPr>
242− <w:keepNext />
243− <w:keepLines />
244− <w:spacing w:before="200" w:after="0" />
245− <w:outlineLvl w:val="5" />
246− </w:pPr>
247− <w:rPr>
248− <w:rFonts w:asciiTheme="majorHAnsi" w:eastAsiaTheme="majorEastAsia" w:hAnsiTheme="majorHAnsi" w:cstheme="majorBidi" />
249− <w:color w:val="4F81BD" w:themeColor="accent1" />
250− <w:sz w:val="24" />
251− <w:szCs w:val="24" />
252− </w:rPr>
253− </w:style>
254− <w:style w:type="paragraph" w:styleId="BlockText">
255− <w:name w:val="Block Text" />
256− <w:basedOn w:val="BodyText" />
257− <w:next w:val="BodyText" />
258− <w:uiPriority w:val="9" />
259− <w:unhideWhenUsed />
260− <w:qFormat />
261− <w:pPr>
262− <w:spacing w:before="100" w:after="100" />
263− <w:ind w:firstLine="0" />
264− </w:pPr>
265− <w:rPr>
266− <w:rFonts w:asciiTheme="majorHAnsi" w:eastAsiaTheme="majorEastAsia" w:hAnsiTheme="majorHAnsi" w:cstheme="majorBidi" />
267− <w:bCs />
268− <w:sz w:val="20" />
269− <w:szCs w:val="20" />
270− </w:rPr>
271− </w:style>
272− <w:style w:type="paragraph" w:styleId="FootnoteText">
273− <w:name w:val="Footnote Text" />
274− <w:basedOn w:val="Normal" />
275− <w:next w:val="FootnoteText" />
276− <w:uiPriority w:val="9" />
277− <w:unhideWhenUsed />
278− <w:qFormat />
279− </w:style>
280− <w:style w:type="character" w:default="1" w:styleId="DefaultParagraphFont">
281− <w:name w:val="Default Paragraph Font" />
282− <w:semiHidden />
283− <w:unhideWhenUsed />
284− </w:style>
285− <w:style w:type="table" w:default="1" w:styleId="TableNormal">
286− <w:name w:val="Normal Table" />
287− <w:semiHidden />
288− <w:unhideWhenUsed />
289− <w:qFormat />
290− <w:tblPr>
291− <w:tblInd w:w="0" w:type="dxa" />
292− <w:tblCellMar>
293− <w:top w:w="0" w:type="dxa" />
294− <w:left w:w="108" w:type="dxa" />
295− <w:bottom w:w="0" w:type="dxa" />
296− <w:right w:w="108" w:type="dxa" />
297− </w:tblCellMar>
298− </w:tblPr>
299− </w:style>
300− <w:style w:type="paragraph" w:customStyle="1" w:styleId="DefinitionTerm">
301− <w:name w:val="Definition Term" />
302− <w:basedOn w:val="Normal" />
303− <w:next w:val="Definition" />
304− <w:pPr>
305− <w:keepNext />
306− <w:keepLines />
307− <w:spacing w:after="0" />
308− </w:pPr>
309− <w:rPr>
310− <w:b />
311− </w:rPr>
312− </w:style>
313− <w:style w:type="paragraph" w:customStyle="1" w:styleId="Definition">
314− <w:name w:val="Definition" />
315− <w:basedOn w:val="Normal" />
316− </w:style>
317− <w:style w:type="paragraph" w:styleId="Caption">
318− <w:name w:val="Caption" />
319− <w:basedOn w:val="Normal" />
320− <w:link w:val="BodyTextChar" />
321− <w:pPr>
322− <w:spacing w:before="0" w:after="120" />
323− </w:pPr>
324− <w:rPr>
325− <w:i />
326− </w:rPr>
327− </w:style>
328− <w:style w:type="paragraph" w:customStyle="1" w:styleId="TableCaption">
329− <w:name w:val="Table Caption" />
330− <w:basedOn w:val="Caption" />
331− <w:pPr>
332− <w:keepNext />
333− </w:pPr>
334− </w:style>
335− <w:style w:type="paragraph" w:customStyle="1" w:styleId="ImageCaption">
336− <w:name w:val="Image Caption" />
337− <w:basedOn w:val="Caption" />
338− </w:style>
339− <w:style w:type="paragraph" w:customStyle="1" w:styleId="Figure">
340− <w:name w:val="Figure" />
341− <w:basedOn w:val="Normal" />
342− </w:style>
343− <w:style w:type="paragraph" w:customStyle="1" w:styleId="FigureWithCaption">
344− <w:name w:val="Figure with Caption" />
345− <w:basedOn w:val="Figure" />
346− <w:pPr>
347− <w:keepNext />
348− </w:pPr>
349− </w:style>
350− <w:style w:type="character" w:customStyle="1" w:styleId="BodyTextChar">
351− <w:name w:val="Body Text Char" />
352− <w:basedOn w:val="DefaultParagraphFont" />
353− <w:link w:val="BodyText" />
354− </w:style>
355− <w:style w:type="character" w:customStyle="1" w:styleId="VerbatimChar">
356− <w:name w:val="Verbatim Char" />
357− <w:basedOn w:val="BodyTextChar" />
358− <w:rPr>
359− <w:rFonts w:ascii="Consolas" w:hAnsi="Consolas" />
360− <w:sz w:val="22" />
361− </w:rPr>
362− </w:style>
363− <w:style w:type="character" w:styleId="FootnoteReference">
364− <w:name w:val="Footnote Reference" />
365− <w:basedOn w:val="BodyTextChar" />
366− <w:rPr>
367− <w:vertAlign w:val="superscript" />
368− </w:rPr>
369− </w:style>
370− <w:style w:type="character" w:styleId="Hyperlink">
371− <w:name w:val="Hyperlink" />
372− <w:basedOn w:val="BodyTextChar" />
373− <w:rPr>
374− <w:color w:val="4F81BD" w:themeColor="accent1" />
375− </w:rPr>
376− </w:style>
377− <w:style w:type="paragraph" w:styleId="TOCHeading">
378− <w:name w:val="TOC Heading" />
379− <w:basedOn w:val="Heading1" />
380− <w:next w:val="BodyText" />
381− <w:uiPriority w:val="39" />
382− <w:unhideWhenUsed />
383− <w:qFormat />
384− <w:pPr>
385− <w:spacing w:before="240" w:line="259" w:lineRule="auto" />
386− <w:outlineLvl w:val="9" />
387− </w:pPr>
388− <w:rPr>
389− <w:rFonts w:asciiTheme="majorHAnsi" w:eastAsiaTheme="majorEastAsia" w:hAnsiTheme="majorHAnsi" w:cstheme="majorBidi" />
390− <w:b w:val="0" />
391− <w:bCs w:val="0" />
392− <w:color w:val="365F91" w:themeColor="accent1"
393− w:themeShade="BF" />
394− </w:rPr>
395− </w:style>
396−</w:styles>
data/docx/word/theme/theme1.xmldeleted−2
@@ -1,2 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000" /></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF" /></a:lt1><a:dk2><a:srgbClr val="1F497D" /></a:dk2><a:lt2><a:srgbClr val="EEECE1" /></a:lt2><a:accent1><a:srgbClr val="4F81BD" /></a:accent1><a:accent2><a:srgbClr val="C0504D" /></a:accent2><a:accent3><a:srgbClr val="9BBB59" /></a:accent3><a:accent4><a:srgbClr val="8064A2" /></a:accent4><a:accent5><a:srgbClr val="4BACC6" /></a:accent5><a:accent6><a:srgbClr val="F79646" /></a:accent6><a:hlink><a:srgbClr val="0000FF" /></a:hlink><a:folHlink><a:srgbClr val="800080" /></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Calibri" /><a:ea typeface="" /><a:cs typeface="" /><a:font script="Jpan" typeface="MS ゴシック" /><a:font script="Hang" typeface="맑은 고딕" /><a:font script="Hans" typeface="宋体" /><a:font script="Hant" typeface="新細明體" /><a:font script="Arab" typeface="Times New Roman" /><a:font script="Hebr" typeface="Times New Roman" /><a:font script="Thai" typeface="Angsana New" /><a:font script="Ethi" typeface="Nyala" /><a:font script="Beng" typeface="Vrinda" /><a:font script="Gujr" typeface="Shruti" /><a:font script="Khmr" typeface="MoolBoran" /><a:font script="Knda" typeface="Tunga" /><a:font script="Guru" typeface="Raavi" /><a:font script="Cans" typeface="Euphemia" /><a:font script="Cher" typeface="Plantagenet Cherokee" /><a:font script="Yiii" typeface="Microsoft Yi Baiti" /><a:font script="Tibt" typeface="Microsoft Himalaya" /><a:font script="Thaa" typeface="MV Boli" /><a:font script="Deva" typeface="Mangal" /><a:font script="Telu" typeface="Gautami" /><a:font script="Taml" typeface="Latha" /><a:font script="Syrc" typeface="Estrangelo Edessa" /><a:font script="Orya" typeface="Kalinga" /><a:font script="Mlym" typeface="Kartika" /><a:font script="Laoo" typeface="DokChampa" /><a:font script="Sinh" typeface="Iskoola Pota" /><a:font script="Mong" typeface="Mongolian Baiti" /><a:font script="Viet" typeface="Times New Roman" /><a:font script="Uigh" typeface="Microsoft Uighur" /></a:majorFont><a:minorFont><a:latin typeface="Cambria" /><a:ea typeface="" /><a:cs typeface="" /><a:font script="Jpan" typeface="MS 明朝" /><a:font script="Hang" typeface="맑은 고딕" /><a:font script="Hans" typeface="宋体" /><a:font script="Hant" typeface="新細明體" /><a:font script="Arab" typeface="Arial" /><a:font script="Hebr" typeface="Arial" /><a:font script="Thai" typeface="Cordia New" /><a:font script="Ethi" typeface="Nyala" /><a:font script="Beng" typeface="Vrinda" /><a:font script="Gujr" typeface="Shruti" /><a:font script="Khmr" typeface="DaunPenh" /><a:font script="Knda" typeface="Tunga" /><a:font script="Guru" typeface="Raavi" /><a:font script="Cans" typeface="Euphemia" /><a:font script="Cher" typeface="Plantagenet Cherokee" /><a:font script="Yiii" typeface="Microsoft Yi Baiti" /><a:font script="Tibt" typeface="Microsoft Himalaya" /><a:font script="Thaa" typeface="MV Boli" /><a:font script="Deva" typeface="Mangal" /><a:font script="Telu" typeface="Gautami" /><a:font script="Taml" typeface="Latha" /><a:font script="Syrc" typeface="Estrangelo Edessa" /><a:font script="Orya" typeface="Kalinga" /><a:font script="Mlym" typeface="Kartika" /><a:font script="Laoo" typeface="DokChampa" /><a:font script="Sinh" typeface="Iskoola Pota" /><a:font script="Mong" typeface="Mongolian Baiti" /><a:font script="Viet" typeface="Arial" /><a:font script="Uigh" typeface="Microsoft Uighur" /></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr" /></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000" /><a:satMod val="300000" /></a:schemeClr></a:gs><a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000" /><a:satMod val="300000" /></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000" /><a:satMod val="350000" /></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="1" /></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000" /><a:shade val="100000" /><a:satMod val="130000" /></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000" /><a:shade val="100000" /><a:satMod val="350000" /></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="0" /></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000" /><a:satMod val="105000" /></a:schemeClr></a:solidFill><a:prstDash val="solid" /></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr" /></a:solidFill><a:prstDash val="solid" /></a:ln><a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr" /></a:solidFill><a:prstDash val="solid" /></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000" /></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000" /></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000" /></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0" /></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000" /></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="63500" h="25400" /></a:sp3d></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr" /></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000" /><a:satMod val="350000" /></a:schemeClr></a:gs><a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000" /><a:shade val="99000" /><a:satMod val="350000" /></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000" /><a:satMod val="255000" /></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000" /></a:path></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000" /><a:satMod val="300000" /></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000" /><a:satMod val="200000" /></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000" /></a:path></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:spDef><a:spPr /><a:bodyPr /><a:lstStyle /><a:style><a:lnRef idx="1"><a:schemeClr val="accent1" /></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1" /></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1" /></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1" /></a:fontRef></a:style></a:spDef><a:lnDef><a:spPr /><a:bodyPr /><a:lstStyle /><a:style><a:lnRef idx="2"><a:schemeClr val="accent1" /></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1" /></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1" /></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1" /></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst /></a:theme>
data/docx/word/webSettings.xmldeleted−5
@@ -1,5 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<ns0:webSettings xmlns:ns0="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
3− <ns0:allowPNG />
4− <ns0:doNotSaveAsSingleFile />
5−</ns0:webSettings>
data/dzslides/template.htmldeleted−683
@@ -1,683 +0,0 @@
1−<!DOCTYPE html>
2−
3−<meta charset="utf-8">
4−<title>The Title Of Your Presentation</title>
5−
6−<!-- Your Slides -->
7−<!-- One section is one slide -->
8−
9−<section>
10− <!-- This is the first slide -->
11− <h1>My Presentation</h1>
12− <footer>by John Doe</footer>
13−</section>
14−
15−<section>
16− <p>Some random text: But I've never been to the moon! You can see how I lived before I met you. Also Zoidberg.
17− I could if you hadn't turned on the light and shut off my stereo.</p>
18−</section>
19−
20−<section>
21− <h3>An incremental list</h3>
22− <ul class="incremental">
23− <li>Item 1
24− <li>Item 2
25− <li>Item 3
26− <ul class="incremental">
27− <li> Item 3.1
28− <li> Item 3.2
29− </ul>
30− </ul>
31− <div role="note">Some notes. They are only visible using onstage shell.</div>
32−</section>
33−
34−<section>
35− <blockquote>
36− Who's brave enough to fly into something we all keep calling a death sphere?
37− </blockquote>
38− <details>
39− <p>In the onstage shell, notes scroll rather than overflow:</p>
40− <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac dui eu est feugiat lacinia sit amet nec leo. Mauris eu ipsum leo. Nulla mi odio, cursus sed sollicitudin non, fringilla id magna. Suspendisse sit amet posuere elit. Maecenas iaculis, turpis a placerat imperdiet, libero lorem feugiat nisi, nec tincidunt diam nibh sit amet massa. Vestibulum quis adipiscing tellus. Maecenas sollicitudin sodales pulvinar. Donec dui ipsum, bibendum facilisis consequat interdum, tempus ut mauris. Aliquam ut dolor nec odio scelerisque bibendum quis in neque. Aliquam dui dui, pulvinar quis fermentum quis, gravida eu augue. Nunc tristique dolor a urna pulvinar bibendum. Curabitur mollis cursus neque, in scelerisque metus porta non. Donec tempor enim in nibh vestibulum et convallis nisi malesuada. Duis ut lectus sed metus venenatis porttitor id pharetra quam. Suspendisse sapien turpis, ornare in molestie et, gravida eget turpis.
41− </p>
42− </details>
43−</section>
44−
45−<section>
46− <h2>Part two</h2>
47−</section>
48−
49−<section>
50− <figure> <!-- Figures are used to display images and videos fullpage -->
51− <img src="http://placekitten.com/g/800/600">
52− <figcaption>An image</figcaption>
53− </figure>
54− <div role="note">Kittens are so cute!</div>
55−</section>
56−
57−<section>
58− <figure> <!-- Videos are automatically played -->
59− <video src="http://videos-cdn.mozilla.net/brand/Mozilla_Firefox_Manifesto_v0.2_640.webm" poster="http://www.mozilla.org/images/about/poster.jpg"></video>
60− <figcaption>A video</figcaption>
61− </figure>
62−</section>
63−
64−<section>
65− <h2>End!</h2>
66−</section>
67−
68−<!-- Your Style -->
69−<!-- Define the style of your presentation -->
70−
71−<!-- Maybe a font from http://www.google.com/webfonts ? -->
72−<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet'>
73−
74−<style>
75− html, .view body { background-color: black; counter-reset: slideidx; }
76− body, .view section { background-color: white; border-radius: 12px }
77− /* A section is a slide. It's size is 800x600, and this will never change */
78− section, .view head > title {
79− /* The font from Google */
80− font-family: 'Oswald', arial, serif;
81− font-size: 30px;
82− }
83−
84− .view section:after {
85− counter-increment: slideidx;
86− content: counter(slideidx, decimal-leading-zero);
87− position: absolute; bottom: -80px; right: 100px;
88− color: white;
89− }
90−
91− .view head > title {
92− color: white;
93− text-align: center;
94− margin: 1em 0 1em 0;
95− }
96−
97− h1, h2 {
98− margin-top: 200px;
99− text-align: center;
100− font-size: 80px;
101− }
102− h3 {
103− margin: 100px 0 50px 100px;
104− }
105−
106− ul {
107− margin: 50px 200px;
108− }
109− li > ul {
110− margin: 15px 50px;
111− }
112−
113− p {
114− margin: 75px;
115− font-size: 50px;
116− }
117−
118− blockquote {
119− height: 100%;
120− background-color: black;
121− color: white;
122− font-size: 60px;
123− padding: 50px;
124− }
125− blockquote:before {
126− content: open-quote;
127− }
128− blockquote:after {
129− content: close-quote;
130− }
131−
132− /* Figures are displayed full-page, with the caption
133− on top of the image/video */
134− figure {
135− background-color: black;
136− width: 100%;
137− height: 100%;
138− }
139− figure > * {
140− position: absolute;
141− }
142− figure > img, figure > video {
143− width: 100%; height: 100%;
144− }
145− figcaption {
146− margin: 70px;
147− font-size: 50px;
148− }
149−
150− footer {
151− position: absolute;
152− bottom: 0;
153− width: 100%;
154− padding: 40px;
155− text-align: right;
156− background-color: #F3F4F8;
157− border-top: 1px solid #CCC;
158− }
159−
160− /* Transition effect */
161− /* Feel free to change the transition effect for original
162− animations. See here:
163− https://developer.mozilla.org/en/CSS/CSS_transitions
164− How to use CSS3 Transitions: */
165− section {
166− -moz-transition: left 400ms linear 0s;
167− -webkit-transition: left 400ms linear 0s;
168− -ms-transition: left 400ms linear 0s;
169− transition: left 400ms linear 0s;
170− }
171− .view section {
172− -moz-transition: none;
173− -webkit-transition: none;
174− -ms-transition: none;
175− transition: none;
176− }
177−
178− .view section[aria-selected] {
179− border: 5px red solid;
180− }
181−
182− /* Before */
183− section { left: -150%; }
184− /* Now */
185− section[aria-selected] { left: 0; }
186− /* After */
187− section[aria-selected] ~ section { left: +150%; }
188−
189− /* Incremental elements */
190−
191− /* By default, visible */
192− .incremental > * { opacity: 1; }
193−
194− /* The current item */
195− .incremental > *[aria-selected] { opacity: 1; }
196−
197− /* The items to-be-selected */
198− .incremental > *[aria-selected] ~ * { opacity: 0; }
199−
200− /* The progressbar, at the bottom of the slides, show the global
201− progress of the presentation. */
202− #progress-bar {
203− height: 2px;
204− background: #AAA;
205− }
206−</style>
207−
208−<!-- {{{{ dzslides core
209−#
210−#
211−# __ __ __ . __ ___ __
212−# | \ / /__` | | | \ |__ /__`
213−# |__/ /_ .__/ |___ | |__/ |___ .__/ core :€
214−#
215−#
216−# The following block of code is not supposed to be edited.
217−# But if you want to change the behavior of these slides,
218−# feel free to hack it!
219−#
220−-->
221−
222−<div id="progress-bar"></div>
223−
224−<!-- Default Style -->
225−<style>
226− * { margin: 0; padding: 0; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
227− [role="note"] { display: none; }
228− body {
229− width: 800px; height: 600px;
230− margin-left: -400px; margin-top: -300px;
231− position: absolute; top: 50%; left: 50%;
232− overflow: hidden;
233− display: none;
234− }
235− .view body {
236− position: static;
237− margin: 0; padding: 0;
238− width: 100%; height: 100%;
239− display: inline-block;
240− overflow: visible; overflow-x: hidden;
241− /* undo Dz.onresize */
242− transform: none !important;
243− -moz-transform: none !important;
244− -webkit-transform: none !important;
245− -o-transform: none !important;
246− -ms-transform: none !important;
247− }
248− .view head, .view head > title { display: block }
249− section {
250− position: absolute;
251− pointer-events: none;
252− width: 100%; height: 100%;
253− }
254− .view section {
255− pointer-events: auto;
256− position: static;
257− width: 800px; height: 600px;
258− margin: -150px -200px;
259− float: left;
260−
261− transform: scale(.4);
262− -moz-transform: scale(.4);
263− -webkit-transform: scale(.4);
264− -o-transform: scale(.4);
265− -ms-transform: scale(.4);
266− }
267− .view section > * { pointer-events: none; }
268− section[aria-selected] { pointer-events: auto; }
269− html { overflow: hidden; }
270− html.view { overflow: visible; }
271− body.loaded { display: block; }
272− .incremental {visibility: hidden; }
273− .incremental[active] {visibility: visible; }
274− #progress-bar{
275− bottom: 0;
276− position: absolute;
277− -moz-transition: width 400ms linear 0s;
278− -webkit-transition: width 400ms linear 0s;
279− -ms-transition: width 400ms linear 0s;
280− transition: width 400ms linear 0s;
281− }
282− .view #progress-bar {
283− display: none;
284− }
285−</style>
286−
287−<script>
288− var Dz = {
289− remoteWindows: [],
290− idx: -1,
291− step: 0,
292− html: null,
293− slides: null,
294− progressBar : null,
295− params: {
296− autoplay: "1"
297− }
298− };
299−
300− Dz.init = function() {
301− document.body.className = "loaded";
302− this.slides = Array.prototype.slice.call($$("body > section"));
303− this.progressBar = $("#progress-bar");
304− this.html = document.body.parentNode;
305− this.setupParams();
306− this.onhashchange();
307− this.setupTouchEvents();
308− this.onresize();
309− this.setupView();
310− }
311−
312− Dz.setupParams = function() {
313− var p = window.location.search.substr(1).split('&');
314− p.forEach(function(e, i, a) {
315− var keyVal = e.split('=');
316− Dz.params[keyVal[0]] = decodeURIComponent(keyVal[1]);
317− });
318− // Specific params handling
319− if (!+this.params.autoplay)
320− $$.forEach($$("video"), function(v){ v.controls = true });
321− }
322−
323− Dz.onkeydown = function(aEvent) {
324− // Don't intercept keyboard shortcuts
325− if (aEvent.altKey
326− || aEvent.ctrlKey
327− || aEvent.metaKey
328− || aEvent.shiftKey) {
329− return;
330− }
331− if ( aEvent.keyCode == 37 // left arrow
332− || aEvent.keyCode == 38 // up arrow
333− || aEvent.keyCode == 33 // page up
334− ) {
335− aEvent.preventDefault();
336− this.back();
337− }
338− if ( aEvent.keyCode == 39 // right arrow
339− || aEvent.keyCode == 40 // down arrow
340− || aEvent.keyCode == 34 // page down
341− ) {
342− aEvent.preventDefault();
343− this.forward();
344− }
345− if (aEvent.keyCode == 35) { // end
346− aEvent.preventDefault();
347− this.goEnd();
348− }
349− if (aEvent.keyCode == 36) { // home
350− aEvent.preventDefault();
351− this.goStart();
352− }
353− if (aEvent.keyCode == 32) { // space
354− aEvent.preventDefault();
355− this.toggleContent();
356− }
357− if (aEvent.keyCode == 70) { // f
358− aEvent.preventDefault();
359− this.goFullscreen();
360− }
361− if (aEvent.keyCode == 79) { // o
362− aEvent.preventDefault();
363− this.toggleView();
364− }
365− }
366−
367− /* Touch Events */
368−
369− Dz.setupTouchEvents = function() {
370− var orgX, newX;
371− var tracking = false;
372−
373− var db = document.body;
374− db.addEventListener("touchstart", start.bind(this), false);
375− db.addEventListener("touchmove", move.bind(this), false);
376−
377− function start(aEvent) {
378− aEvent.preventDefault();
379− tracking = true;
380− orgX = aEvent.changedTouches[0].pageX;
381− }
382−
383− function move(aEvent) {
384− if (!tracking) return;
385− newX = aEvent.changedTouches[0].pageX;
386− if (orgX - newX > 100) {
387− tracking = false;
388− this.forward();
389− } else {
390− if (orgX - newX < -100) {
391− tracking = false;
392− this.back();
393− }
394− }
395− }
396− }
397−
398− Dz.setupView = function() {
399− document.body.addEventListener("click", function ( e ) {
400− if (!Dz.html.classList.contains("view")) return;
401− if (!e.target || e.target.nodeName != "SECTION") return;
402−
403− Dz.html.classList.remove("view");
404− Dz.setCursor(Dz.slides.indexOf(e.target) + 1);
405− }, false);
406− }
407−
408− /* Adapt the size of the slides to the window */
409−
410− Dz.onresize = function() {
411− var db = document.body;
412− var sx = db.clientWidth / window.innerWidth;
413− var sy = db.clientHeight / window.innerHeight;
414− var transform = "scale(" + (1/Math.max(sx, sy)) + ")";
415−
416− db.style.MozTransform = transform;
417− db.style.WebkitTransform = transform;
418− db.style.OTransform = transform;
419− db.style.msTransform = transform;
420− db.style.transform = transform;
421− }
422−
423−
424− Dz.getNotes = function(aIdx) {
425− var s = $("section:nth-of-type(" + aIdx + ")");
426− var d = s.$("[role='note']");
427− return d ? d.innerHTML : "";
428− }
429−
430− Dz.onmessage = function(aEvent) {
431− var argv = aEvent.data.split(" "), argc = argv.length;
432− argv.forEach(function(e, i, a) { a[i] = decodeURIComponent(e) });
433− var win = aEvent.source;
434− if (argv[0] === "REGISTER" && argc === 1) {
435− this.remoteWindows.push(win);
436− this.postMsg(win, "REGISTERED", document.title, this.slides.length);
437− this.postMsg(win, "CURSOR", this.idx + "." + this.step);
438− return;
439− }
440− if (argv[0] === "BACK" && argc === 1)
441− this.back();
442− if (argv[0] === "FORWARD" && argc === 1)
443− this.forward();
444− if (argv[0] === "START" && argc === 1)
445− this.goStart();
446− if (argv[0] === "END" && argc === 1)
447− this.goEnd();
448− if (argv[0] === "TOGGLE_CONTENT" && argc === 1)
449− this.toggleContent();
450− if (argv[0] === "SET_CURSOR" && argc === 2)
451− window.location.hash = "#" + argv[1];
452− if (argv[0] === "GET_CURSOR" && argc === 1)
453− this.postMsg(win, "CURSOR", this.idx + "." + this.step);
454− if (argv[0] === "GET_NOTES" && argc === 1)
455− this.postMsg(win, "NOTES", this.getNotes(this.idx));
456− }
457−
458− Dz.toggleContent = function() {
459− // If a Video is present in this new slide, play it.
460− // If a Video is present in the previous slide, stop it.
461− var s = $("section[aria-selected]");
462− if (s) {
463− var video = s.$("video");
464− if (video) {
465− if (video.ended || video.paused) {
466− video.play();
467− } else {
468− video.pause();
469− }
470− }
471− }
472− }
473−
474− Dz.setCursor = function(aIdx, aStep) {
475− // If the user change the slide number in the URL bar, jump
476− // to this slide.
477− aStep = (aStep != 0 && typeof aStep !== "undefined") ? "." + aStep : ".0";
478− window.location.hash = "#" + aIdx + aStep;
479− }
480−
481− Dz.onhashchange = function() {
482− var cursor = window.location.hash.split("#"),
483− newidx = 1,
484− newstep = 0;
485− if (cursor.length == 2) {
486− newidx = ~~cursor[1].split(".")[0];
487− newstep = ~~cursor[1].split(".")[1];
488− if (newstep > Dz.slides[newidx - 1].$$('.incremental > *').length) {
489− newstep = 0;
490− newidx++;
491− }
492− }
493− this.setProgress(newidx, newstep);
494− if (newidx != this.idx) {
495− this.setSlide(newidx);
496− }
497− if (newstep != this.step) {
498− this.setIncremental(newstep);
499− }
500− for (var i = 0; i < this.remoteWindows.length; i++) {
501− this.postMsg(this.remoteWindows[i], "CURSOR", this.idx + "." + this.step);
502− }
503− }
504−
505− Dz.back = function() {
506− if (this.idx == 1 && this.step == 0) {
507− return;
508− }
509− if (this.step == 0) {
510− this.setCursor(this.idx - 1,
511− this.slides[this.idx - 2].$$('.incremental > *').length);
512− } else {
513− this.setCursor(this.idx, this.step - 1);
514− }
515− }
516−
517− Dz.forward = function() {
518− if (this.idx >= this.slides.length &&
519− this.step >= this.slides[this.idx - 1].$$('.incremental > *').length) {
520− return;
521− }
522− if (this.step >= this.slides[this.idx - 1].$$('.incremental > *').length) {
523− this.setCursor(this.idx + 1, 0);
524− } else {
525− this.setCursor(this.idx, this.step + 1);
526− }
527− }
528−
529− Dz.goStart = function() {
530− this.setCursor(1, 0);
531− }
532−
533− Dz.goEnd = function() {
534− var lastIdx = this.slides.length;
535− var lastStep = this.slides[lastIdx - 1].$$('.incremental > *').length;
536− this.setCursor(lastIdx, lastStep);
537− }
538−
539− Dz.toggleView = function() {
540− this.html.classList.toggle("view");
541−
542− if (this.html.classList.contains("view")) {
543− $("section[aria-selected]").scrollIntoView(true);
544− }
545− }
546−
547− Dz.setSlide = function(aIdx) {
548− this.idx = aIdx;
549− var old = $("section[aria-selected]");
550− var next = $("section:nth-of-type("+ this.idx +")");
551− if (old) {
552− old.removeAttribute("aria-selected");
553− var video = old.$("video");
554− if (video) {
555− video.pause();
556− }
557− }
558− if (next) {
559− next.setAttribute("aria-selected", "true");
560− if (this.html.classList.contains("view")) {
561− next.scrollIntoView();
562− }
563− var video = next.$("video");
564− if (video && !!+this.params.autoplay) {
565− video.play();
566− }
567− } else {
568− // That should not happen
569− this.idx = -1;
570− // console.warn("Slide doesn't exist.");
571− }
572− }
573−
574− Dz.setIncremental = function(aStep) {
575− this.step = aStep;
576− var old = this.slides[this.idx - 1].$('.incremental > *[aria-selected]');
577− if (old) {
578− old.removeAttribute('aria-selected');
579− }
580− var incrementals = $$('.incremental');
581− if (this.step <= 0) {
582− $$.forEach(incrementals, function(aNode) {
583− aNode.removeAttribute('active');
584− });
585− return;
586− }
587− var next = this.slides[this.idx - 1].$$('.incremental > *')[this.step - 1];
588− if (next) {
589− next.setAttribute('aria-selected', true);
590− next.parentNode.setAttribute('active', true);
591− var found = false;
592− $$.forEach(incrementals, function(aNode) {
593− if (aNode != next.parentNode)
594− if (found)
595− aNode.removeAttribute('active');
596− else
597− aNode.setAttribute('active', true);
598− else
599− found = true;
600− });
601− } else {
602− setCursor(this.idx, 0);
603− }
604− return next;
605− }
606−
607− Dz.goFullscreen = function() {
608− var html = $('html'),
609− requestFullscreen = html.requestFullscreen || html.requestFullScreen || html.mozRequestFullScreen || html.webkitRequestFullScreen;
610− if (requestFullscreen) {
611− requestFullscreen.apply(html);
612− }
613− }
614−
615− Dz.setProgress = function(aIdx, aStep) {
616− var slide = $("section:nth-of-type("+ aIdx +")");
617− if (!slide)
618− return;
619− var steps = slide.$$('.incremental > *').length + 1,
620− slideSize = 100 / (this.slides.length - 1),
621− stepSize = slideSize / steps;
622− this.progressBar.style.width = ((aIdx - 1) * slideSize + aStep * stepSize) + '%';
623− }
624−
625− Dz.postMsg = function(aWin, aMsg) { // [arg0, [arg1...]]
626− aMsg = [aMsg];
627− for (var i = 2; i < arguments.length; i++)
628− aMsg.push(encodeURIComponent(arguments[i]));
629− aWin.postMessage(aMsg.join(" "), "*");
630− }
631−
632− function init() {
633− Dz.init();
634− window.onkeydown = Dz.onkeydown.bind(Dz);
635− window.onresize = Dz.onresize.bind(Dz);
636− window.onhashchange = Dz.onhashchange.bind(Dz);
637− window.onmessage = Dz.onmessage.bind(Dz);
638− }
639−
640− window.onload = init;
641−</script>
642−
643−
644−<script> // Helpers
645− if (!Function.prototype.bind) {
646− Function.prototype.bind = function (oThis) {
647−
648− // closest thing possible to the ECMAScript 5 internal IsCallable
649− // function
650− if (typeof this !== "function")
651− throw new TypeError(
652− "Function.prototype.bind - what is trying to be fBound is not callable"
653− );
654−
655− var aArgs = Array.prototype.slice.call(arguments, 1),
656− fToBind = this,
657− fNOP = function () {},
658− fBound = function () {
659− return fToBind.apply( this instanceof fNOP ? this : oThis || window,
660− aArgs.concat(Array.prototype.slice.call(arguments)));
661− };
662−
663− fNOP.prototype = this.prototype;
664− fBound.prototype = new fNOP();
665−
666− return fBound;
667− };
668− }
669−
670− var $ = (HTMLElement.prototype.$ = function(aQuery) {
671− return this.querySelector(aQuery);
672− }).bind(document);
673−
674− var $$ = (HTMLElement.prototype.$$ = function(aQuery) {
675− return this.querySelectorAll(aQuery);
676− }).bind(document);
677−
678− $$.forEach = function(nodeList, fun) {
679− Array.prototype.forEach.call(nodeList, fun);
680− }
681−
682−</script>
683−<!-- vim: set fdm=marker: }}} -->
data/epub.cssdeleted−18
@@ -1,18 +0,0 @@
1−/* This defines styles and classes used in the book */
2−body { margin: 5%; text-align: justify; font-size: medium; }
3−code { font-family: monospace; }
4−h1 { text-align: left; }
5−h2 { text-align: left; }
6−h3 { text-align: left; }
7−h4 { text-align: left; }
8−h5 { text-align: left; }
9−h6 { text-align: left; }
10−h1.title { }
11−h2.author { }
12−h3.date { }
13−ol.toc { padding: 0; margin-left: 1em; }
14−ol.toc li { list-style-type: none; margin: 0; padding: 0; }
15−a.footnoteRef { vertical-align: super; }
16−em, em em em, em em em em em { font-style: italic;}
17−em em, em em em em { font-style: normal; }
18−
data/make-reference-files.hsdeleted−27
@@ -1,27 +0,0 @@
1−import System.Environment
2−import System.Directory
3−import Codec.Archive.Zip
4−import qualified Data.ByteString.Lazy as BS
5−import qualified Control.Exception as E
6−import System.IO.Error (isDoesNotExistError)
7−import System.FilePath
8−
9−mkzip :: String -> IO ()
10−mkzip fmt = do
11− let dir = "data" </> fmt
12− output = "data" </> "reference" <.> fmt
13− cd <- getCurrentDirectory
14− setCurrentDirectory dir
15− archive <- addFilesToArchive [OptRecursive] emptyArchive ["."]
16− setCurrentDirectory cd
17− removeIfExists output
18− BS.writeFile output $ fromArchive archive
19−
20−removeIfExists :: FilePath -> IO ()
21−removeIfExists fileName = removeFile fileName `E.catch` handleExists
22− where handleExists e
23− | isDoesNotExistError e = return ()
24− | otherwise = E.throwIO e
25−
26−main :: IO ()
27−main = getArgs >>= mkzip . (!!0)
data/odt/Configurations2/accelerator/current.xmldeleted

No changes to the content.

data/odt/META-INF/manifest.xmldeleted−12
@@ -1,12 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">
3− <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.text"/>
4− <manifest:file-entry manifest:full-path="meta.xml" manifest:media-type="text/xml"/>
5− <manifest:file-entry manifest:full-path="settings.xml" manifest:media-type="text/xml"/>
6− <manifest:file-entry manifest:full-path="content.xml" manifest:media-type="text/xml"/>
7− <manifest:file-entry manifest:full-path="Thumbnails/thumbnail.png" manifest:media-type="image/png"/>
8− <manifest:file-entry manifest:full-path="manifest.rdf" manifest:media-type="application/rdf+xml"/>
9− <manifest:file-entry manifest:full-path="Configurations2/accelerator/current.xml" manifest:media-type=""/>
10− <manifest:file-entry manifest:full-path="Configurations2/" manifest:media-type="application/vnd.sun.xml.ui.configuration"/>
11− <manifest:file-entry manifest:full-path="styles.xml" manifest:media-type="text/xml"/>
12−</manifest:manifest>
data/odt/Thumbnails/thumbnail.pngdeleted

Binary file not shown.

data/odt/content.xmldeleted−2
@@ -1,2 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2"><office:scripts/><office:font-face-decls><style:font-face style:name="StarSymbol" svg:font-family="StarSymbol"/><style:font-face style:name="Tahoma1" svg:font-family="Tahoma"/><style:font-face style:name="Courier New" svg:font-family="&apos;Courier New&apos;" style:font-family-generic="modern" style:font-pitch="fixed"/><style:font-face style:name="Times New Roman" svg:font-family="&apos;Times New Roman&apos;" style:font-family-generic="roman" style:font-pitch="variable"/><style:font-face style:name="Arial" svg:font-family="Arial" style:font-family-generic="swiss" style:font-pitch="variable"/><style:font-face style:name="Lucida Sans Unicode" svg:font-family="&apos;Lucida Sans Unicode&apos;" style:font-family-generic="system" style:font-pitch="variable"/><style:font-face style:name="Tahoma" svg:font-family="Tahoma" style:font-family-generic="system" style:font-pitch="variable"/></office:font-face-decls><office:automatic-styles><style:style style:name="P1" style:family="paragraph" style:parent-style-name="Footer"><style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/></style:style></office:automatic-styles><office:body><office:text><text:sequence-decls><text:sequence-decl text:display-outline-level="0" text:name="Illustration"/><text:sequence-decl text:display-outline-level="0" text:name="Table"/><text:sequence-decl text:display-outline-level="0" text:name="Text"/><text:sequence-decl text:display-outline-level="0" text:name="Drawing"/></text:sequence-decls><text:p text:style-name="Standard">Hello World!</text:p></office:text></office:body></office:document-content>
data/odt/manifest.rdfdeleted−18
@@ -1,18 +0,0 @@
1−<?xml version="1.0" encoding="utf-8"?>
2−<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
3− <rdf:Description rdf:about="styles.xml">
4− <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/odf#StylesFile"/>
5− </rdf:Description>
6− <rdf:Description rdf:about="">
7− <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="styles.xml"/>
8− </rdf:Description>
9− <rdf:Description rdf:about="content.xml">
10− <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/odf#ContentFile"/>
11− </rdf:Description>
12− <rdf:Description rdf:about="">
13− <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="content.xml"/>
14− </rdf:Description>
15− <rdf:Description rdf:about="">
16− <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#Document"/>
17− </rdf:Description>
18−</rdf:RDF>
data/odt/meta.xmldeleted−18
@@ -1,18 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<office:document-meta
3− xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
4− xmlns:xlink="http://www.w3.org/1999/xlink"
5− xmlns:dc="http://purl.org/dc/elements/1.1/"
6− xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
7− xmlns:ooo="http://openoffice.org/2004/office"
8− xmlns:grddl="http://www.w3.org/2003/g/data-view#"
9− office:version="1.2">
10− <office:meta>
11− <meta:document-statistic
12− meta:table-count="0" meta:image-count="0" meta:object-count="0"
13− meta:page-count="1" meta:paragraph-count="2" meta:word-count="3"
14− meta:character-count="14"
15− meta:non-whitespace-character-count="12"/>
16− <meta:generator>Pandoc</meta:generator>
17− </office:meta>
18−</office:document-meta>
data/odt/mimetypedeleted−1
@@ -1 +0,0 @@
1−application/vnd.oasis.opendocument.text
data/odt/settings.xmldeleted−2
@@ -1,2 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<office:document-settings xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" office:version="1.2"><office:settings><config:config-item-set config:name="ooo:view-settings"><config:config-item config:name="ViewAreaTop" config:type="int">0</config:config-item><config:config-item config:name="ViewAreaLeft" config:type="int">0</config:config-item><config:config-item config:name="ViewAreaWidth" config:type="int">21747</config:config-item><config:config-item config:name="ViewAreaHeight" config:type="int">10874</config:config-item><config:config-item config:name="ShowRedlineChanges" config:type="boolean">true</config:config-item><config:config-item config:name="InBrowseMode" config:type="boolean">false</config:config-item><config:config-item-map-indexed config:name="Views"><config:config-item-map-entry><config:config-item config:name="ViewId" config:type="string">view2</config:config-item><config:config-item config:name="ViewLeft" config:type="int">3041</config:config-item><config:config-item config:name="ViewTop" config:type="int">3041</config:config-item><config:config-item config:name="VisibleLeft" config:type="int">0</config:config-item><config:config-item config:name="VisibleTop" config:type="int">0</config:config-item><config:config-item config:name="VisibleRight" config:type="int">21745</config:config-item><config:config-item config:name="VisibleBottom" config:type="int">10873</config:config-item><config:config-item config:name="ZoomType" config:type="short">0</config:config-item><config:config-item config:name="ViewLayoutColumns" config:type="short">0</config:config-item><config:config-item config:name="ViewLayoutBookMode" config:type="boolean">false</config:config-item><config:config-item config:name="ZoomFactor" config:type="short">100</config:config-item><config:config-item config:name="IsSelectedFrame" config:type="boolean">false</config:config-item></config:config-item-map-entry></config:config-item-map-indexed></config:config-item-set><config:config-item-set config:name="ooo:configuration-settings"><config:config-item config:name="ChartAutoUpdate" config:type="boolean">true</config:config-item><config:config-item config:name="IsLabelDocument" config:type="boolean">false</config:config-item><config:config-item config:name="MathBaselineAlignment" config:type="boolean">false</config:config-item><config:config-item config:name="Rsid" config:type="int">1473719</config:config-item><config:config-item config:name="OutlineLevelYieldsNumbering" config:type="boolean">false</config:config-item><config:config-item config:name="PrintLeftPages" config:type="boolean">true</config:config-item><config:config-item config:name="DoNotJustifyLinesWithManualBreak" config:type="boolean">false</config:config-item><config:config-item config:name="ClippedPictures" config:type="boolean">false</config:config-item><config:config-item config:name="AlignTabStopPosition" config:type="boolean">true</config:config-item><config:config-item config:name="PrintTextPlaceholder" config:type="boolean">false</config:config-item><config:config-item config:name="UseOldNumbering" config:type="boolean">false</config:config-item><config:config-item config:name="CurrentDatabaseCommand" config:type="string"/><config:config-item config:name="ProtectForm" config:type="boolean">false</config:config-item><config:config-item config:name="PrintBlackFonts" config:type="boolean">false</config:config-item><config:config-item config:name="PrintProspectRTL" config:type="boolean">false</config:config-item><config:config-item config:name="BackgroundParaOverDrawings" config:type="boolean">false</config:config-item><config:config-item config:name="FloattableNomargins" config:type="boolean">false</config:config-item><config:config-item config:name="SmallCapsPercentage66" config:type="boolean">false</config:config-item><config:config-item config:name="PrintControls" config:type="boolean">true</config:config-item><config:config-item config:name="EmbedSystemFonts" config:type="boolean">false</config:config-item><config:config-item config:name="CharacterCompressionType" config:type="short">0</config:config-item><config:config-item config:name="PrintHiddenText" config:type="boolean">false</config:config-item><config:config-item config:name="UseFormerTextWrapping" config:type="boolean">false</config:config-item><config:config-item config:name="IsKernAsianPunctuation" config:type="boolean">false</config:config-item><config:config-item config:name="PrintProspect" config:type="boolean">false</config:config-item><config:config-item config:name="PrintEmptyPages" config:type="boolean">false</config:config-item><config:config-item config:name="UnbreakableNumberings" config:type="boolean">false</config:config-item><config:config-item config:name="UseFormerObjectPositioning" config:type="boolean">false</config:config-item><config:config-item config:name="ConsiderTextWrapOnObjPos" config:type="boolean">false</config:config-item><config:config-item config:name="TableRowKeep" config:type="boolean">false</config:config-item><config:config-item config:name="PrintReversed" config:type="boolean">false</config:config-item><config:config-item config:name="TabsRelativeToIndent" config:type="boolean">true</config:config-item><config:config-item config:name="PrintRightPages" config:type="boolean">true</config:config-item><config:config-item config:name="PrintPaperFromSetup" config:type="boolean">false</config:config-item><config:config-item config:name="AddFrameOffsets" config:type="boolean">false</config:config-item><config:config-item config:name="AddParaSpacingToTableCells" config:type="boolean">true</config:config-item><config:config-item config:name="UpdateFromTemplate" config:type="boolean">true</config:config-item><config:config-item config:name="AddExternalLeading" config:type="boolean">true</config:config-item><config:config-item config:name="PrintSingleJobs" config:type="boolean">false</config:config-item><config:config-item config:name="PrinterIndependentLayout" config:type="string">high-resolution</config:config-item><config:config-item config:name="RsidRoot" config:type="int">1473719</config:config-item><config:config-item config:name="LinkUpdateMode" config:type="short">1</config:config-item><config:config-item config:name="PrintAnnotationMode" config:type="short">0</config:config-item><config:config-item config:name="TabOverMargin" config:type="boolean">false</config:config-item><config:config-item config:name="UseOldPrinterMetrics" config:type="boolean">false</config:config-item><config:config-item config:name="RedlineProtectionKey" config:type="base64Binary"/><config:config-item config:name="PrinterSetup" config:type="base64Binary"/><config:config-item config:name="IgnoreFirstLineIndentInNumbering" config:type="boolean">false</config:config-item><config:config-item config:name="CollapseEmptyCellPara" config:type="boolean">true</config:config-item><config:config-item config:name="PrinterName" config:type="string"/><config:config-item config:name="EmbedFonts" config:type="boolean">false</config:config-item><config:config-item config:name="InvertBorderSpacing" config:type="boolean">false</config:config-item><config:config-item config:name="PrintPageBackground" config:type="boolean">true</config:config-item><config:config-item config:name="DoNotCaptureDrawObjsOnPage" config:type="boolean">false</config:config-item><config:config-item config:name="TabOverflow" config:type="boolean">true</config:config-item><config:config-item config:name="ApplyUserData" config:type="boolean">true</config:config-item><config:config-item config:name="TabAtLeftIndentForParagraphsInList" config:type="boolean">false</config:config-item><config:config-item config:name="UnxForceZeroExtLeading" config:type="boolean">false</config:config-item><config:config-item config:name="SaveVersionOnClose" config:type="boolean">false</config:config-item><config:config-item config:name="PrintFaxName" config:type="string"/><config:config-item config:name="StylesNoDefault" config:type="boolean">false</config:config-item><config:config-item config:name="AddParaTableSpacing" config:type="boolean">true</config:config-item><config:config-item config:name="PrintDrawings" config:type="boolean">true</config:config-item><config:config-item config:name="LoadReadonly" config:type="boolean">false</config:config-item><config:config-item config:name="PrintGraphics" config:type="boolean">true</config:config-item><config:config-item config:name="FieldAutoUpdate" config:type="boolean">true</config:config-item><config:config-item config:name="AllowPrintJobCancel" config:type="boolean">true</config:config-item><config:config-item config:name="UseFormerLineSpacing" config:type="boolean">false</config:config-item><config:config-item config:name="SaveGlobalDocumentLinks" config:type="boolean">false</config:config-item><config:config-item config:name="CurrentDatabaseDataSource" config:type="string"/><config:config-item config:name="IgnoreTabsAndBlanksForLineCalculation" config:type="boolean">false</config:config-item><config:config-item config:name="CurrentDatabaseCommandType" config:type="int">0</config:config-item><config:config-item config:name="DoNotResetParaAttrsForNumFont" config:type="boolean">false</config:config-item><config:config-item config:name="ClipAsCharacterAnchoredWriterFlyFrames" config:type="boolean">false</config:config-item><config:config-item config:name="PrintTables" config:type="boolean">true</config:config-item><config:config-item config:name="AddParaTableSpacingAtStart" config:type="boolean">true</config:config-item></config:config-item-set></office:settings></office:document-settings>
data/odt/styles.xmldeleted−1104
@@ -1,1104 +0,0 @@
1−<?xml version="1.0" encoding="utf-8"?>
2−<office:document-styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
3−xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
4−xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
5−xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
6−xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
7−xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
8−xmlns:xlink="http://www.w3.org/1999/xlink"
9−xmlns:dc="http://purl.org/dc/elements/1.1/"
10−xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
11−xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
12−xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
13−xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
14−xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
15−xmlns:math="http://www.w3.org/1998/Math/MathML"
16−xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
17−xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
18−xmlns:ooo="http://openoffice.org/2004/office"
19−xmlns:ooow="http://openoffice.org/2004/writer"
20−xmlns:oooc="http://openoffice.org/2004/calc"
21−xmlns:dom="http://www.w3.org/2001/xml-events"
22−xmlns:rpt="http://openoffice.org/2005/report"
23−xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
24−xmlns:xhtml="http://www.w3.org/1999/xhtml"
25−xmlns:grddl="http://www.w3.org/2003/g/data-view#"
26−xmlns:officeooo="http://openoffice.org/2009/office"
27−xmlns:tableooo="http://openoffice.org/2009/table"
28−xmlns:drawooo="http://openoffice.org/2010/draw"
29−xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
30−xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2">
31− <office:font-face-decls>
32− <style:font-face style:name="StarSymbol"
33− svg:font-family="StarSymbol" />
34− <style:font-face style:name="Tahoma1"
35− svg:font-family="Tahoma" />
36− <style:font-face style:name="Courier New"
37− svg:font-family="'Courier New'"
38− style:font-family-generic="modern" style:font-pitch="fixed" />
39− <style:font-face style:name="Times New Roman"
40− svg:font-family="'Times New Roman'"
41− style:font-family-generic="roman"
42− style:font-pitch="variable" />
43− <style:font-face style:name="Arial" svg:font-family="Arial"
44− style:font-family-generic="swiss"
45− style:font-pitch="variable" />
46− <style:font-face style:name="Lucida Sans Unicode"
47− svg:font-family="'Lucida Sans Unicode'"
48− style:font-family-generic="system"
49− style:font-pitch="variable" />
50− <style:font-face style:name="Tahoma" svg:font-family="Tahoma"
51− style:font-family-generic="system"
52− style:font-pitch="variable" />
53− </office:font-face-decls>
54− <office:styles>
55− <style:default-style style:family="graphic">
56− <style:graphic-properties fo:wrap-option="wrap"
57− draw:shadow-offset-x="0.1181in"
58− draw:shadow-offset-y="0.1181in"
59− draw:start-line-spacing-horizontal="0.1114in"
60− draw:start-line-spacing-vertical="0.1114in"
61− draw:end-line-spacing-horizontal="0.1114in"
62− draw:end-line-spacing-vertical="0.1114in"
63− style:flow-with-text="false" />
64− <style:paragraph-properties style:text-autospace="ideograph-alpha"
65− style:line-break="strict" style:writing-mode="lr-tb"
66− style:font-independent-line-spacing="false">
67− <style:tab-stops />
68− </style:paragraph-properties>
69− <style:text-properties style:use-window-font-color="true"
70− fo:font-size="12pt" fo:language="en" fo:country="US"
71− style:letter-kerning="true" style:font-size-asian="12pt"
72− style:language-asian="zxx" style:country-asian="none"
73− style:font-size-complex="12pt" style:language-complex="zxx"
74− style:country-complex="none" />
75− </style:default-style>
76− <style:default-style style:family="paragraph">
77− <style:paragraph-properties fo:hyphenation-ladder-count="no-limit"
78− style:text-autospace="ideograph-alpha"
79− style:punctuation-wrap="hanging" style:line-break="strict"
80− style:tab-stop-distance="0.4925in"
81− style:writing-mode="page" />
82− <style:text-properties style:use-window-font-color="true"
83− style:font-name="Times New Roman" fo:font-size="12pt"
84− fo:language="en" fo:country="US" style:letter-kerning="true"
85− style:font-name-asian="Lucida Sans Unicode"
86− style:font-size-asian="12pt" style:language-asian="zxx"
87− style:country-asian="none" style:font-name-complex="Tahoma"
88− style:font-size-complex="12pt" style:language-complex="zxx"
89− style:country-complex="none" fo:hyphenate="false"
90− fo:hyphenation-remain-char-count="2"
91− fo:hyphenation-push-char-count="2" />
92− </style:default-style>
93− <style:default-style style:family="table">
94− <style:table-properties table:border-model="collapsing" />
95− </style:default-style>
96− <style:default-style style:family="table-row">
97− <style:table-row-properties fo:keep-together="auto" />
98− </style:default-style>
99− <style:style style:name="Standard" style:family="paragraph"
100− style:class="text" />
101− <style:style style:name="Heading" style:family="paragraph"
102− style:parent-style-name="Standard"
103− style:next-style-name="Text_20_body" style:class="text">
104− <style:paragraph-properties fo:margin-top="0.1665in"
105− fo:margin-bottom="0.0835in" style:contextual-spacing="false"
106− fo:keep-with-next="always" />
107− <style:text-properties style:font-name="Arial"
108− fo:font-size="14pt"
109− style:font-name-asian="Lucida Sans Unicode"
110− style:font-size-asian="14pt" style:font-name-complex="Tahoma"
111− style:font-size-complex="14pt" />
112− </style:style>
113− <style:style style:name="Text_20_body"
114− style:display-name="Text body" style:family="paragraph"
115− style:parent-style-name="Standard" style:class="text">
116− <style:paragraph-properties fo:margin-top="0.0598in"
117− fo:margin-bottom="0.0598in"
118− style:contextual-spacing="false" />
119− </style:style>
120− <style:style style:name="List" style:family="paragraph"
121− style:parent-style-name="Text_20_body" style:class="list">
122− <style:text-properties style:font-name-complex="Tahoma1" />
123− </style:style>
124− <style:style style:name="Caption" style:family="paragraph"
125− style:parent-style-name="Standard" style:class="extra">
126− <style:paragraph-properties fo:margin-top="0.0835in"
127− fo:margin-bottom="0.0835in" style:contextual-spacing="false"
128− text:number-lines="false" text:line-number="0" />
129− <style:text-properties fo:font-size="12pt"
130− fo:font-style="italic" style:font-size-asian="12pt"
131− style:font-style-asian="italic"
132− style:font-name-complex="Tahoma1"
133− style:font-size-complex="12pt"
134− style:font-style-complex="italic" />
135− </style:style>
136− <style:style style:name="Table" style:family="paragraph"
137− style:parent-style-name="Caption" style:class="extra">
138− </style:style>
139− <style:style style:name="FigureCaption" style:family="paragraph"
140− style:parent-style-name="Caption" style:class="extra">
141− </style:style>
142− <style:style style:name="Figure" style:family="paragraph"
143− style:parent-style-name="Standard" style:class="extra">
144− <style:paragraph-properties text:number-lines="false"
145− text:line-number="0" />
146− </style:style>
147− <style:style style:name="FigureWithCaption" style:family="paragraph"
148− style:parent-style-name="Figure" style:class="extra">
149− <style:paragraph-properties text:number-lines="false"
150− text:line-number="0" fo:keep-with-next="always" />
151− </style:style>
152− <style:style style:name="Index" style:family="paragraph"
153− style:parent-style-name="Standard" style:class="index">
154− <style:paragraph-properties text:number-lines="false"
155− text:line-number="0" />
156− <style:text-properties style:font-name-complex="Tahoma1" />
157− </style:style>
158− <style:style style:name="Heading_20_1"
159− style:display-name="Heading 1" style:family="paragraph"
160− style:parent-style-name="Heading"
161− style:next-style-name="Text_20_body"
162− style:default-outline-level="1" style:class="text">
163− <style:text-properties fo:font-size="115%"
164− fo:font-weight="bold" style:font-size-asian="115%"
165− style:font-weight-asian="bold" style:font-size-complex="115%"
166− style:font-weight-complex="bold" />
167− </style:style>
168− <style:style style:name="Heading_20_2"
169− style:display-name="Heading 2" style:family="paragraph"
170− style:parent-style-name="Heading"
171− style:next-style-name="Text_20_body"
172− style:default-outline-level="2" style:class="text">
173− <style:text-properties fo:font-size="14pt"
174− fo:font-style="italic" fo:font-weight="bold"
175− style:font-size-asian="14pt" style:font-style-asian="italic"
176− style:font-weight-asian="bold" style:font-size-complex="14pt"
177− style:font-style-complex="italic"
178− style:font-weight-complex="bold" />
179− </style:style>
180− <style:style style:name="Heading_20_3"
181− style:display-name="Heading 3" style:family="paragraph"
182− style:parent-style-name="Heading"
183− style:next-style-name="Text_20_body"
184− style:default-outline-level="3" style:class="text">
185− <style:text-properties fo:font-size="14pt"
186− fo:font-weight="bold" style:font-size-asian="14pt"
187− style:font-weight-asian="bold" style:font-size-complex="14pt"
188− style:font-weight-complex="bold" />
189− </style:style>
190− <style:style style:name="Heading_20_4"
191− style:display-name="Heading 4" style:family="paragraph"
192− style:parent-style-name="Heading"
193− style:next-style-name="Text_20_body"
194− style:default-outline-level="4" style:class="text">
195− <style:text-properties fo:font-size="85%"
196− fo:font-style="italic" fo:font-weight="bold"
197− style:font-size-asian="85%" style:font-style-asian="italic"
198− style:font-weight-asian="bold" style:font-size-complex="85%"
199− style:font-style-complex="italic"
200− style:font-weight-complex="bold" />
201− </style:style>
202− <style:style style:name="Heading_20_5"
203− style:display-name="Heading 5" style:family="paragraph"
204− style:parent-style-name="Heading"
205− style:next-style-name="Text_20_body"
206− style:default-outline-level="5" style:class="text">
207− <style:text-properties fo:font-size="85%"
208− fo:font-weight="bold" style:font-size-asian="85%"
209− style:font-weight-asian="bold" style:font-size-complex="85%"
210− style:font-weight-complex="bold" />
211− </style:style>
212− <style:style style:name="Heading_20_6"
213− style:display-name="Heading 6" style:family="paragraph"
214− style:parent-style-name="Heading"
215− style:next-style-name="Text_20_body"
216− style:default-outline-level="6" style:class="text">
217− <style:text-properties fo:font-size="75%"
218− fo:font-weight="bold" style:font-size-asian="75%"
219− style:font-weight-asian="bold" style:font-size-complex="75%"
220− style:font-weight-complex="bold" />
221− </style:style>
222− <style:style style:name="Quotations" style:family="paragraph"
223− style:parent-style-name="Standard" style:class="html">
224− <style:paragraph-properties fo:margin-left="0.3937in"
225− fo:margin-right="0.3937in" fo:margin-top="0.1in"
226− fo:margin-bottom="0.1in" style:contextual-spacing="false"
227− fo:text-indent="0in" style:auto-text-indent="false" />
228− </style:style>
229− <style:style style:name="Preformatted_20_Text"
230− style:display-name="Preformatted Text" style:family="paragraph"
231− style:parent-style-name="Standard" style:class="html">
232− <style:paragraph-properties fo:margin-top="0in"
233− fo:margin-bottom="0in" style:contextual-spacing="false" />
234− <style:text-properties style:font-name="Courier New"
235− fo:font-size="10pt" style:font-name-asian="Courier New"
236− style:font-size-asian="10pt"
237− style:font-name-complex="Courier New"
238− style:font-size-complex="10pt" />
239− </style:style>
240− <style:style style:name="Source_Text" style:family="text">
241− <style:text-properties style:font-name="Courier New"
242− fo:font-size="10pt" style:font-name-asian="Courier New"
243− style:font-size-asian="10pt"
244− style:font-name-complex="Courier New"
245− style:font-size-complex="10pt" />
246− </style:style>
247− <style:style style:name="Definition_20_Term"
248− style:display-name="Definition Term" style:family="paragraph"
249− style:parent-style-name="Standard"
250− style:next-style-name="Definition_20_Definition">
251− <style:paragraph-properties fo:margin-top="0.0598in"
252− fo:margin-bottom="0.0598in"
253− style:contextual-spacing="false" />
254− </style:style>
255− <style:style style:name="Definition_20_Definition"
256− style:display-name="Definition Definition"
257− style:family="paragraph" style:parent-style-name="Standard"
258− style:next-style-name="Text_20_body">
259− <style:paragraph-properties fo:margin-left="0.5in"
260− fo:margin-right="0in" fo:text-indent="0in"
261− style:auto-text-indent="false" />
262− </style:style>
263− <style:style style:name="Table_20_Contents"
264− style:display-name="Table Contents" style:family="paragraph"
265− style:parent-style-name="Standard" style:class="extra">
266− <style:paragraph-properties fo:margin-left="0.0299in"
267− fo:margin-right="0.0299in" fo:text-indent="0in"
268− style:auto-text-indent="false" text:number-lines="false"
269− text:line-number="0" />
270− </style:style>
271− <style:style style:name="Table_20_Heading"
272− style:display-name="Table Heading" style:family="paragraph"
273− style:parent-style-name="Table_20_Contents"
274− style:class="extra">
275− <style:paragraph-properties fo:margin-left="0.0299in"
276− fo:margin-right="0.0299in" fo:text-align="start"
277− style:justify-single-word="false" fo:text-indent="0in"
278− style:auto-text-indent="false" style:shadow="none"
279− text:number-lines="false" text:line-number="0" />
280− <style:text-properties fo:font-weight="bold"
281− style:font-weight-asian="bold"
282− style:font-weight-complex="bold" />
283− </style:style>
284− <style:style style:name="Footnote" style:family="paragraph"
285− style:parent-style-name="Standard" style:class="extra">
286− <style:paragraph-properties fo:margin-left="0.1965in"
287− fo:margin-right="0in" fo:text-indent="-0.1965in"
288− style:auto-text-indent="false" text:number-lines="false"
289− text:line-number="0" />
290− <style:text-properties fo:font-size="10pt"
291− style:font-size-asian="10pt"
292− style:font-size-complex="10pt" />
293− </style:style>
294− <style:style style:name="Footer" style:family="paragraph"
295− style:parent-style-name="Standard" style:class="extra">
296− <style:paragraph-properties text:number-lines="false"
297− text:line-number="0">
298− <style:tab-stops>
299− <style:tab-stop style:position="3.25in"
300− style:type="center" />
301− <style:tab-stop style:position="6.5in"
302− style:type="right" />
303− </style:tab-stops>
304− </style:paragraph-properties>
305− </style:style>
306− <style:style style:name="Definition_20_Term_20_Tight"
307− style:display-name="Definition Term Tight"
308− style:family="paragraph" style:parent-style-name="Standard"
309− style:next-style-name="Definition_20_Definition_20_Tight">
310− <style:paragraph-properties fo:margin-top="0.0799in"
311− fo:margin-bottom="0.0799in"
312− style:contextual-spacing="false" />
313− </style:style>
314− <style:style style:name="Definition_20_Definition_20_Tight"
315− style:display-name="Definition Definition Tight"
316− style:family="paragraph" style:parent-style-name="Standard">
317− <style:paragraph-properties fo:margin-left="0.5in"
318− fo:margin-right="0in" fo:margin-top="0in"
319− fo:margin-bottom="0in" style:contextual-spacing="false"
320− fo:text-indent="0in" style:auto-text-indent="false" />
321− </style:style>
322− <style:style style:name="Date" style:family="paragraph"
323− style:parent-style-name="Standard"
324− style:next-style-name="Text_20_body">
325− <style:text-properties fo:font-style="italic" />
326− </style:style>
327− <style:style style:name="Author" style:family="paragraph"
328− style:parent-style-name="Standard" style:next-style-name="Date"
329− style:master-page-name="">
330− <style:paragraph-properties style:page-number="auto" />
331− <style:text-properties fo:font-style="italic" />
332− </style:style>
333− <style:style style:name="Horizontal_20_Line"
334− style:display-name="Horizontal Line" style:family="paragraph"
335− style:parent-style-name="Standard"
336− style:next-style-name="Text_20_body" style:class="html">
337− <style:paragraph-properties fo:margin-top="0in"
338− fo:margin-bottom="0.1965in" style:contextual-spacing="false"
339− style:border-line-width-bottom="0.0008in 0.0138in 0.0008in"
340− fo:padding="0in" fo:border-left="none" fo:border-right="none"
341− fo:border-top="none" fo:border-bottom="1.11pt double #808080"
342− text:number-lines="false" text:line-number="0"
343− style:join-border="false" />
344− <style:text-properties fo:font-size="6pt"
345− style:font-size-asian="6pt" style:font-size-complex="6pt" />
346− </style:style>
347− <style:style style:name="First_20_paragraph"
348− style:display-name="First paragraph" style:family="paragraph"
349− style:parent-style-name="Standard"
350− style:next-style-name="Text_20_body" style:class="text" />
351− <style:style style:name="Numbering_20_Symbols"
352− style:display-name="Numbering Symbols" style:family="text" />
353− <style:style style:name="Bullet_20_Symbols"
354− style:display-name="Bullet Symbols" style:family="text">
355− <style:text-properties style:font-name="StarSymbol"
356− fo:font-size="9pt" style:font-name-asian="StarSymbol"
357− style:font-size-asian="9pt"
358− style:font-name-complex="StarSymbol"
359− style:font-size-complex="9pt" />
360− </style:style>
361− <style:style style:name="Emphasis" style:family="text">
362− <style:text-properties fo:font-style="italic"
363− style:font-style-asian="italic"
364− style:font-style-complex="italic" />
365− </style:style>
366− <style:style style:name="Strong_20_Emphasis"
367− style:display-name="Strong Emphasis" style:family="text">
368− <style:text-properties fo:font-weight="bold"
369− style:font-weight-asian="bold"
370− style:font-weight-complex="bold" />
371− </style:style>
372− <style:style style:name="Strikeout" style:family="text">
373− <style:text-properties style:text-line-through-style="solid" />
374− </style:style>
375− <style:style style:name="Superscript" style:family="text">
376− <style:text-properties style:text-position="super 58%" />
377− </style:style>
378− <style:style style:name="Subscript" style:family="text">
379− <style:text-properties style:text-position="sub 58%" />
380− </style:style>
381− <style:style style:name="Citation" style:family="text">
382− <style:text-properties fo:font-style="italic"
383− style:font-style-asian="italic"
384− style:font-style-complex="italic" />
385− </style:style>
386− <style:style style:name="Teletype" style:family="text">
387− <style:text-properties style:font-name="Courier New"
388− style:font-name-asian="Courier New"
389− style:font-name-complex="Courier New" />
390− </style:style>
391−
392− <style:style style:name="Internet_20_link"
393− style:display-name="Internet link" style:family="text">
394− <style:text-properties fo:color="#000080"
395− style:text-underline-style="solid"
396− style:text-underline-width="auto"
397− style:text-underline-color="font-color" />
398− </style:style>
399− <style:style style:name="Footnote_20_Symbol"
400− style:display-name="Footnote Symbol" style:family="text" />
401− <style:style style:name="Footnote_20_anchor"
402− style:display-name="Footnote anchor" style:family="text">
403− <style:text-properties style:text-position="super 58%" />
404− </style:style>
405− <style:style style:name="Definition" style:family="text" />
406− <text:outline-style style:name="Outline">
407− <text:outline-level-style text:level="1" style:num-format="">
408− <style:list-level-properties text:min-label-distance="0.15in" />
409− </text:outline-level-style>
410− <text:outline-level-style text:level="2" style:num-format="">
411− <style:list-level-properties text:min-label-distance="0.15in" />
412− </text:outline-level-style>
413− <text:outline-level-style text:level="3" style:num-format="">
414− <style:list-level-properties text:min-label-distance="0.15in" />
415− </text:outline-level-style>
416− <text:outline-level-style text:level="4" style:num-format="">
417− <style:list-level-properties text:min-label-distance="0.15in" />
418− </text:outline-level-style>
419− <text:outline-level-style text:level="5" style:num-format="">
420− <style:list-level-properties text:min-label-distance="0.15in" />
421− </text:outline-level-style>
422− <text:outline-level-style text:level="6" style:num-format="">
423− <style:list-level-properties text:min-label-distance="0.15in" />
424− </text:outline-level-style>
425− <text:outline-level-style text:level="7" style:num-format="">
426− <style:list-level-properties text:min-label-distance="0.15in" />
427− </text:outline-level-style>
428− <text:outline-level-style text:level="8" style:num-format="">
429− <style:list-level-properties text:min-label-distance="0.15in" />
430− </text:outline-level-style>
431− <text:outline-level-style text:level="9" style:num-format="">
432− <style:list-level-properties text:min-label-distance="0.15in" />
433− </text:outline-level-style>
434− <text:outline-level-style text:level="10"
435− style:num-format="">
436− <style:list-level-properties text:min-label-distance="0.15in" />
437− </text:outline-level-style>
438− </text:outline-style>
439− <text:list-style style:name="Numbering_20_1"
440− style:display-name="Numbering 1">
441− <text:list-level-style-number text:level="1"
442− text:style-name="Numbering_20_Symbols" style:num-suffix="."
443− style:num-format="1">
444− <style:list-level-properties text:min-label-width="0.1965in" />
445− </text:list-level-style-number>
446− <text:list-level-style-number text:level="2"
447− text:style-name="Numbering_20_Symbols" style:num-suffix="."
448− style:num-format="1">
449− <style:list-level-properties text:space-before="0.1972in"
450− text:min-label-width="0.1965in" />
451− </text:list-level-style-number>
452− <text:list-level-style-number text:level="3"
453− text:style-name="Numbering_20_Symbols" style:num-suffix="."
454− style:num-format="1">
455− <style:list-level-properties text:space-before="0.3937in"
456− text:min-label-width="0.1965in" />
457− </text:list-level-style-number>
458− <text:list-level-style-number text:level="4"
459− text:style-name="Numbering_20_Symbols" style:num-suffix="."
460− style:num-format="1">
461− <style:list-level-properties text:space-before="0.5909in"
462− text:min-label-width="0.1965in" />
463− </text:list-level-style-number>
464− <text:list-level-style-number text:level="5"
465− text:style-name="Numbering_20_Symbols" style:num-suffix="."
466− style:num-format="1">
467− <style:list-level-properties text:space-before="0.7874in"
468− text:min-label-width="0.1965in" />
469− </text:list-level-style-number>
470− <text:list-level-style-number text:level="6"
471− text:style-name="Numbering_20_Symbols" style:num-suffix="."
472− style:num-format="1">
473− <style:list-level-properties text:space-before="0.9846in"
474− text:min-label-width="0.1965in" />
475− </text:list-level-style-number>
476− <text:list-level-style-number text:level="7"
477− text:style-name="Numbering_20_Symbols" style:num-suffix="."
478− style:num-format="1">
479− <style:list-level-properties text:space-before="1.1815in"
480− text:min-label-width="0.1965in" />
481− </text:list-level-style-number>
482− <text:list-level-style-number text:level="8"
483− text:style-name="Numbering_20_Symbols" style:num-suffix="."
484− style:num-format="1">
485− <style:list-level-properties text:space-before="1.3787in"
486− text:min-label-width="0.1965in" />
487− </text:list-level-style-number>
488− <text:list-level-style-number text:level="9"
489− text:style-name="Numbering_20_Symbols" style:num-suffix="."
490− style:num-format="1">
491− <style:list-level-properties text:space-before="1.5752in"
492− text:min-label-width="0.1965in" />
493− </text:list-level-style-number>
494− <text:list-level-style-number text:level="10"
495− text:style-name="Numbering_20_Symbols" style:num-suffix="."
496− style:num-format="1">
497− <style:list-level-properties text:space-before="1.7724in"
498− text:min-label-width="0.1965in" />
499− </text:list-level-style-number>
500− </text:list-style>
501− <text:list-style style:name="Numbering_20_2"
502− style:display-name="Numbering 2">
503− <text:list-level-style-number text:level="1"
504− text:style-name="Numbering_20_Symbols" style:num-format="1">
505− <style:list-level-properties text:min-label-width="0.1965in" />
506− </text:list-level-style-number>
507− <text:list-level-style-number text:level="2"
508− text:style-name="Numbering_20_Symbols" style:num-format="1"
509− text:start-value="2">
510− <style:list-level-properties text:space-before="0.1965in"
511− text:min-label-width="0.1965in" />
512− </text:list-level-style-number>
513− <text:list-level-style-number text:level="3"
514− text:style-name="Numbering_20_Symbols" style:num-format="1"
515− text:start-value="3">
516− <style:list-level-properties text:space-before="0.3929in"
517− text:min-label-width="0.3937in" />
518− </text:list-level-style-number>
519− <text:list-level-style-number text:level="4"
520− text:style-name="Numbering_20_Symbols" style:num-format="1"
521− text:start-value="4">
522− <style:list-level-properties text:space-before="0.7866in"
523− text:min-label-width="0.4925in" />
524− </text:list-level-style-number>
525− <text:list-level-style-number text:level="5"
526− text:style-name="Numbering_20_Symbols" style:num-format="1"
527− text:start-value="5">
528− <style:list-level-properties text:space-before="1.2791in"
529− text:min-label-width="0.5902in" />
530− </text:list-level-style-number>
531− <text:list-level-style-number text:level="6"
532− text:style-name="Numbering_20_Symbols" style:num-format="1"
533− text:start-value="6">
534− <style:list-level-properties text:space-before="1.8693in"
535− text:min-label-width="0.7091in" />
536− </text:list-level-style-number>
537− <text:list-level-style-number text:level="7"
538− text:style-name="Numbering_20_Symbols" style:num-format="1"
539− text:start-value="7">
540− <style:list-level-properties text:space-before="2.5783in"
541− text:min-label-width="0.9055in" />
542− </text:list-level-style-number>
543− <text:list-level-style-number text:level="8"
544− text:style-name="Numbering_20_Symbols" style:num-format="1"
545− text:start-value="8">
546− <style:list-level-properties text:space-before="3.4839in"
547− text:min-label-width="1.0236in" />
548− </text:list-level-style-number>
549− <text:list-level-style-number text:level="9"
550− text:style-name="Numbering_20_Symbols" style:num-format="1"
551− text:start-value="9">
552− <style:list-level-properties text:space-before="4.5075in"
553− text:min-label-width="1.1028in" />
554− </text:list-level-style-number>
555− <text:list-level-style-number text:level="10"
556− text:style-name="Numbering_20_Symbols" style:num-format="1"
557− text:start-value="10">
558− <style:list-level-properties text:space-before="5.6102in"
559− text:min-label-width="1.2209in" />
560− </text:list-level-style-number>
561− </text:list-style>
562− <text:list-style style:name="Numbering_20_3"
563− style:display-name="Numbering 3">
564− <text:list-level-style-number text:level="1"
565− text:style-name="Numbering_20_Symbols" style:num-format="1">
566− <style:list-level-properties text:min-label-width="1.1811in" />
567− </text:list-level-style-number>
568− <text:list-level-style-number text:level="2"
569− text:style-name="Numbering_20_Symbols" style:num-format="1"
570− text:start-value="2">
571− <style:list-level-properties text:space-before="1.1815in"
572− text:min-label-width="1.1811in" />
573− </text:list-level-style-number>
574− <text:list-level-style-number text:level="3"
575− text:style-name="Numbering_20_Symbols" style:num-format="1"
576− text:start-value="3">
577− <style:list-level-properties text:space-before="2.3626in"
578− text:min-label-width="1.1811in" />
579− </text:list-level-style-number>
580− <text:list-level-style-number text:level="4"
581− text:style-name="Numbering_20_Symbols" style:num-format="1"
582− text:start-value="4">
583− <style:list-level-properties text:space-before="3.5441in"
584− text:min-label-width="1.1811in" />
585− </text:list-level-style-number>
586− <text:list-level-style-number text:level="5"
587− text:style-name="Numbering_20_Symbols" style:num-format="1"
588− text:start-value="5">
589− <style:list-level-properties text:space-before="4.7252in"
590− text:min-label-width="1.1811in" />
591− </text:list-level-style-number>
592− <text:list-level-style-number text:level="6"
593− text:style-name="Numbering_20_Symbols" style:num-format="1"
594− text:start-value="6">
595− <style:list-level-properties text:space-before="5.9063in"
596− text:min-label-width="1.1811in" />
597− </text:list-level-style-number>
598− <text:list-level-style-number text:level="7"
599− text:style-name="Numbering_20_Symbols" style:num-format="1"
600− text:start-value="7">
601− <style:list-level-properties text:space-before="7.0878in"
602− text:min-label-width="1.1811in" />
603− </text:list-level-style-number>
604− <text:list-level-style-number text:level="8"
605− text:style-name="Numbering_20_Symbols" style:num-format="1"
606− text:start-value="8">
607− <style:list-level-properties text:space-before="8.2689in"
608− text:min-label-width="1.1811in" />
609− </text:list-level-style-number>
610− <text:list-level-style-number text:level="9"
611− text:style-name="Numbering_20_Symbols" style:num-format="1"
612− text:start-value="9">
613− <style:list-level-properties text:space-before="9.45in"
614− text:min-label-width="1.1811in" />
615− </text:list-level-style-number>
616− <text:list-level-style-number text:level="10"
617− text:style-name="Numbering_20_Symbols" style:num-format="1"
618− text:start-value="10">
619− <style:list-level-properties text:space-before="10.6315in"
620− text:min-label-width="1.1811in" />
621− </text:list-level-style-number>
622− </text:list-style>
623− <text:list-style style:name="Numbering_20_4"
624− style:display-name="Numbering 4">
625− <text:list-level-style-number text:level="1"
626− text:style-name="Numbering_20_Symbols" style:num-suffix="."
627− style:num-format="I">
628− <style:list-level-properties text:min-label-width="0.1965in" />
629− </text:list-level-style-number>
630− <text:list-level-style-number text:level="2"
631− text:style-name="Numbering_20_Symbols" style:num-suffix="."
632− style:num-format="I" text:start-value="2">
633− <style:list-level-properties text:space-before="0.1972in"
634− text:min-label-width="0.1965in" />
635− </text:list-level-style-number>
636− <text:list-level-style-number text:level="3"
637− text:style-name="Numbering_20_Symbols" style:num-suffix="."
638− style:num-format="I" text:start-value="3">
639− <style:list-level-properties text:space-before="0.3937in"
640− text:min-label-width="0.1965in" />
641− </text:list-level-style-number>
642− <text:list-level-style-number text:level="4"
643− text:style-name="Numbering_20_Symbols" style:num-suffix="."
644− style:num-format="I" text:start-value="4">
645− <style:list-level-properties text:space-before="0.5909in"
646− text:min-label-width="0.1965in" />
647− </text:list-level-style-number>
648− <text:list-level-style-number text:level="5"
649− text:style-name="Numbering_20_Symbols" style:num-suffix="."
650− style:num-format="I" text:start-value="5">
651− <style:list-level-properties text:space-before="0.7874in"
652− text:min-label-width="0.1965in" />
653− </text:list-level-style-number>
654− <text:list-level-style-number text:level="6"
655− text:style-name="Numbering_20_Symbols" style:num-suffix="."
656− style:num-format="I" text:start-value="6">
657− <style:list-level-properties text:space-before="0.9846in"
658− text:min-label-width="0.1965in" />
659− </text:list-level-style-number>
660− <text:list-level-style-number text:level="7"
661− text:style-name="Numbering_20_Symbols" style:num-suffix="."
662− style:num-format="I" text:start-value="7">
663− <style:list-level-properties text:space-before="1.1815in"
664− text:min-label-width="0.1965in" />
665− </text:list-level-style-number>
666− <text:list-level-style-number text:level="8"
667− text:style-name="Numbering_20_Symbols" style:num-suffix="."
668− style:num-format="I" text:start-value="8">
669− <style:list-level-properties text:space-before="1.3787in"
670− text:min-label-width="0.1965in" />
671− </text:list-level-style-number>
672− <text:list-level-style-number text:level="9"
673− text:style-name="Numbering_20_Symbols" style:num-suffix="."
674− style:num-format="I" text:start-value="9">
675− <style:list-level-properties text:space-before="1.5752in"
676− text:min-label-width="0.1965in" />
677− </text:list-level-style-number>
678− <text:list-level-style-number text:level="10"
679− text:style-name="Numbering_20_Symbols" style:num-suffix="."
680− style:num-format="I" text:start-value="10">
681− <style:list-level-properties text:space-before="1.7724in"
682− text:min-label-width="0.1965in" />
683− </text:list-level-style-number>
684− </text:list-style>
685− <text:list-style style:name="Numbering_20_5"
686− style:display-name="Numbering 5">
687− <text:list-level-style-number text:level="1"
688− text:style-name="Numbering_20_Symbols" style:num-suffix="."
689− style:num-format="1">
690− <style:list-level-properties text:min-label-width="0.1575in" />
691− </text:list-level-style-number>
692− <text:list-level-style-number text:level="2"
693− text:style-name="Numbering_20_Symbols" style:num-suffix="."
694− style:num-format="1" text:start-value="2"
695− text:display-levels="2">
696− <style:list-level-properties text:space-before="0.1772in"
697− text:min-label-width="0.2563in" />
698− </text:list-level-style-number>
699− <text:list-level-style-number text:level="3"
700− text:style-name="Numbering_20_Symbols" style:num-suffix=")"
701− style:num-format="a" text:start-value="3">
702− <style:list-level-properties text:space-before="0.4331in"
703− text:min-label-width="0.1772in" />
704− </text:list-level-style-number>
705− <text:list-level-style-bullet text:level="4"
706− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
707− <style:list-level-properties text:space-before="0.6319in"
708− text:min-label-width="0.1555in" />
709− <style:text-properties style:font-name="StarSymbol" />
710− </text:list-level-style-bullet>
711− <text:list-level-style-bullet text:level="5"
712− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
713− <style:list-level-properties text:space-before="0.7874in"
714− text:min-label-width="0.1555in" />
715− <style:text-properties style:font-name="StarSymbol" />
716− </text:list-level-style-bullet>
717− <text:list-level-style-bullet text:level="6"
718− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
719− <style:list-level-properties text:space-before="0.9429in"
720− text:min-label-width="0.1555in" />
721− <style:text-properties style:font-name="StarSymbol" />
722− </text:list-level-style-bullet>
723− <text:list-level-style-bullet text:level="7"
724− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
725− <style:list-level-properties text:space-before="1.0988in"
726− text:min-label-width="0.1555in" />
727− <style:text-properties style:font-name="StarSymbol" />
728− </text:list-level-style-bullet>
729− <text:list-level-style-bullet text:level="8"
730− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
731− <style:list-level-properties text:space-before="1.2543in"
732− text:min-label-width="0.1555in" />
733− <style:text-properties style:font-name="StarSymbol" />
734− </text:list-level-style-bullet>
735− <text:list-level-style-bullet text:level="9"
736− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
737− <style:list-level-properties text:space-before="1.4098in"
738− text:min-label-width="0.1555in" />
739− <style:text-properties style:font-name="StarSymbol" />
740− </text:list-level-style-bullet>
741− <text:list-level-style-bullet text:level="10"
742− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
743− <style:list-level-properties text:space-before="1.5654in"
744− text:min-label-width="0.1555in" />
745− <style:text-properties style:font-name="StarSymbol" />
746− </text:list-level-style-bullet>
747− </text:list-style>
748− <text:list-style style:name="List_20_1"
749− style:display-name="List 1">
750− <text:list-level-style-bullet text:level="1"
751− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
752− <style:list-level-properties text:min-label-width="0.1575in" />
753− <style:text-properties style:font-name="StarSymbol" />
754− </text:list-level-style-bullet>
755− <text:list-level-style-bullet text:level="2"
756− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
757− <style:list-level-properties text:space-before="0.1579in"
758− text:min-label-width="0.1575in" />
759− <style:text-properties style:font-name="StarSymbol" />
760− </text:list-level-style-bullet>
761− <text:list-level-style-bullet text:level="3"
762− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
763− <style:list-level-properties text:space-before="0.3146in"
764− text:min-label-width="0.1575in" />
765− <style:text-properties style:font-name="StarSymbol" />
766− </text:list-level-style-bullet>
767− <text:list-level-style-bullet text:level="4"
768− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
769− <style:list-level-properties text:space-before="0.4724in"
770− text:min-label-width="0.1575in" />
771− <style:text-properties style:font-name="StarSymbol" />
772− </text:list-level-style-bullet>
773− <text:list-level-style-bullet text:level="5"
774− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
775− <style:list-level-properties text:space-before="0.6299in"
776− text:min-label-width="0.1575in" />
777− <style:text-properties style:font-name="StarSymbol" />
778− </text:list-level-style-bullet>
779− <text:list-level-style-bullet text:level="6"
780− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
781− <style:list-level-properties text:space-before="0.7878in"
782− text:min-label-width="0.1575in" />
783− <style:text-properties style:font-name="StarSymbol" />
784− </text:list-level-style-bullet>
785− <text:list-level-style-bullet text:level="7"
786− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
787− <style:list-level-properties text:space-before="0.9445in"
788− text:min-label-width="0.1575in" />
789− <style:text-properties style:font-name="StarSymbol" />
790− </text:list-level-style-bullet>
791− <text:list-level-style-bullet text:level="8"
792− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
793− <style:list-level-properties text:space-before="1.1024in"
794− text:min-label-width="0.1575in" />
795− <style:text-properties style:font-name="StarSymbol" />
796− </text:list-level-style-bullet>
797− <text:list-level-style-bullet text:level="9"
798− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
799− <style:list-level-properties text:space-before="1.2598in"
800− text:min-label-width="0.1575in" />
801− <style:text-properties style:font-name="StarSymbol" />
802− </text:list-level-style-bullet>
803− <text:list-level-style-bullet text:level="10"
804− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
805− <style:list-level-properties text:space-before="1.4177in"
806− text:min-label-width="0.1575in" />
807− <style:text-properties style:font-name="StarSymbol" />
808− </text:list-level-style-bullet>
809− </text:list-style>
810− <text:list-style style:name="List_20_2"
811− style:display-name="List 2">
812− <text:list-level-style-bullet text:level="1"
813− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
814− <style:list-level-properties text:min-label-width="0.1181in" />
815− <style:text-properties style:font-name="StarSymbol" />
816− </text:list-level-style-bullet>
817− <text:list-level-style-bullet text:level="2"
818− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
819− <style:list-level-properties text:space-before="0.1181in"
820− text:min-label-width="0.1181in" />
821− <style:text-properties style:font-name="StarSymbol" />
822− </text:list-level-style-bullet>
823− <text:list-level-style-bullet text:level="3"
824− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
825− <style:list-level-properties text:space-before="0.2362in"
826− text:min-label-width="0.1181in" />
827− <style:text-properties style:font-name="StarSymbol" />
828− </text:list-level-style-bullet>
829− <text:list-level-style-bullet text:level="4"
830− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
831− <style:list-level-properties text:space-before="0.3539in"
832− text:min-label-width="0.1181in" />
833− <style:text-properties style:font-name="StarSymbol" />
834− </text:list-level-style-bullet>
835− <text:list-level-style-bullet text:level="5"
836− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
837− <style:list-level-properties text:space-before="0.472in"
838− text:min-label-width="0.1181in" />
839− <style:text-properties style:font-name="StarSymbol" />
840− </text:list-level-style-bullet>
841− <text:list-level-style-bullet text:level="6"
842− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
843− <style:list-level-properties text:space-before="0.5902in"
844− text:min-label-width="0.1181in" />
845− <style:text-properties style:font-name="StarSymbol" />
846− </text:list-level-style-bullet>
847− <text:list-level-style-bullet text:level="7"
848− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
849− <style:list-level-properties text:space-before="0.7091in"
850− text:min-label-width="0.1181in" />
851− <style:text-properties style:font-name="StarSymbol" />
852− </text:list-level-style-bullet>
853− <text:list-level-style-bullet text:level="8"
854− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
855− <style:list-level-properties text:space-before="0.8272in"
856− text:min-label-width="0.1181in" />
857− <style:text-properties style:font-name="StarSymbol" />
858− </text:list-level-style-bullet>
859− <text:list-level-style-bullet text:level="9"
860− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
861− <style:list-level-properties text:space-before="0.9453in"
862− text:min-label-width="0.1181in" />
863− <style:text-properties style:font-name="StarSymbol" />
864− </text:list-level-style-bullet>
865− <text:list-level-style-bullet text:level="10"
866− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
867− <style:list-level-properties text:space-before="1.063in"
868− text:min-label-width="0.1181in" />
869− <style:text-properties style:font-name="StarSymbol" />
870− </text:list-level-style-bullet>
871− </text:list-style>
872− <text:list-style style:name="List_20_3"
873− style:display-name="List 3">
874− <text:list-level-style-bullet text:level="1"
875− text:style-name="Numbering_20_Symbols" text:bullet-char="☑">
876− <style:list-level-properties text:min-label-width="0.1555in" />
877− <style:text-properties style:font-name="StarSymbol" />
878− </text:list-level-style-bullet>
879− <text:list-level-style-bullet text:level="2"
880− text:style-name="Numbering_20_Symbols" text:bullet-char="□">
881− <style:list-level-properties text:space-before="0.1555in"
882− text:min-label-width="0.1555in" />
883− <style:text-properties style:font-name="StarSymbol" />
884− </text:list-level-style-bullet>
885− <text:list-level-style-bullet text:level="3"
886− text:style-name="Numbering_20_Symbols" text:bullet-char="☑">
887− <style:list-level-properties text:min-label-width="0.1555in" />
888− <style:text-properties style:font-name="StarSymbol" />
889− </text:list-level-style-bullet>
890− <text:list-level-style-bullet text:level="4"
891− text:style-name="Numbering_20_Symbols" text:bullet-char="□">
892− <style:list-level-properties text:space-before="0.1555in"
893− text:min-label-width="0.1555in" />
894− <style:text-properties style:font-name="StarSymbol" />
895− </text:list-level-style-bullet>
896− <text:list-level-style-bullet text:level="5"
897− text:style-name="Numbering_20_Symbols" text:bullet-char="☑">
898− <style:list-level-properties text:min-label-width="0.1555in" />
899− <style:text-properties style:font-name="StarSymbol" />
900− </text:list-level-style-bullet>
901− <text:list-level-style-bullet text:level="6"
902− text:style-name="Numbering_20_Symbols" text:bullet-char="□">
903− <style:list-level-properties text:space-before="0.1555in"
904− text:min-label-width="0.1555in" />
905− <style:text-properties style:font-name="StarSymbol" />
906− </text:list-level-style-bullet>
907− <text:list-level-style-bullet text:level="7"
908− text:style-name="Numbering_20_Symbols" text:bullet-char="☑">
909− <style:list-level-properties text:min-label-width="0.1555in" />
910− <style:text-properties style:font-name="StarSymbol" />
911− </text:list-level-style-bullet>
912− <text:list-level-style-bullet text:level="8"
913− text:style-name="Numbering_20_Symbols" text:bullet-char="□">
914− <style:list-level-properties text:space-before="0.1555in"
915− text:min-label-width="0.1555in" />
916− <style:text-properties style:font-name="StarSymbol" />
917− </text:list-level-style-bullet>
918− <text:list-level-style-bullet text:level="9"
919− text:style-name="Numbering_20_Symbols" text:bullet-char="☑">
920− <style:list-level-properties text:min-label-width="0.1555in" />
921− <style:text-properties style:font-name="StarSymbol" />
922− </text:list-level-style-bullet>
923− <text:list-level-style-bullet text:level="10"
924− text:style-name="Numbering_20_Symbols" text:bullet-char="□">
925− <style:list-level-properties text:space-before="0.1555in"
926− text:min-label-width="0.1555in" />
927− <style:text-properties style:font-name="StarSymbol" />
928− </text:list-level-style-bullet>
929− </text:list-style>
930− <text:list-style style:name="List_20_4"
931− style:display-name="List 4">
932− <text:list-level-style-bullet text:level="1"
933− text:style-name="Numbering_20_Symbols" text:bullet-char="➢">
934− <style:list-level-properties text:min-label-width="0.1575in" />
935− <style:text-properties style:font-name="StarSymbol" />
936− </text:list-level-style-bullet>
937− <text:list-level-style-bullet text:level="2"
938− text:style-name="Numbering_20_Symbols" text:bullet-char="">
939− <style:list-level-properties text:space-before="0.1579in"
940− text:min-label-width="0.1575in" />
941− <style:text-properties style:font-name="StarSymbol" />
942− </text:list-level-style-bullet>
943− <text:list-level-style-bullet text:level="3"
944− text:style-name="Numbering_20_Symbols" text:bullet-char="">
945− <style:list-level-properties text:space-before="0.3146in"
946− text:min-label-width="0.1575in" />
947− <style:text-properties style:font-name="StarSymbol" />
948− </text:list-level-style-bullet>
949− <text:list-level-style-bullet text:level="4"
950− text:style-name="Numbering_20_Symbols" text:bullet-char="">
951− <style:list-level-properties text:space-before="0.4724in"
952− text:min-label-width="0.1575in" />
953− <style:text-properties style:font-name="StarSymbol" />
954− </text:list-level-style-bullet>
955− <text:list-level-style-bullet text:level="5"
956− text:style-name="Numbering_20_Symbols" text:bullet-char="">
957− <style:list-level-properties text:space-before="0.6299in"
958− text:min-label-width="0.1575in" />
959− <style:text-properties style:font-name="StarSymbol" />
960− </text:list-level-style-bullet>
961− <text:list-level-style-bullet text:level="6"
962− text:style-name="Numbering_20_Symbols" text:bullet-char="">
963− <style:list-level-properties text:space-before="0.7878in"
964− text:min-label-width="0.1575in" />
965− <style:text-properties style:font-name="StarSymbol" />
966− </text:list-level-style-bullet>
967− <text:list-level-style-bullet text:level="7"
968− text:style-name="Numbering_20_Symbols" text:bullet-char="">
969− <style:list-level-properties text:space-before="0.9445in"
970− text:min-label-width="0.1575in" />
971− <style:text-properties style:font-name="StarSymbol" />
972− </text:list-level-style-bullet>
973− <text:list-level-style-bullet text:level="8"
974− text:style-name="Numbering_20_Symbols" text:bullet-char="">
975− <style:list-level-properties text:space-before="1.1024in"
976− text:min-label-width="0.1575in" />
977− <style:text-properties style:font-name="StarSymbol" />
978− </text:list-level-style-bullet>
979− <text:list-level-style-bullet text:level="9"
980− text:style-name="Numbering_20_Symbols" text:bullet-char="">
981− <style:list-level-properties text:space-before="1.2598in"
982− text:min-label-width="0.1575in" />
983− <style:text-properties style:font-name="StarSymbol" />
984− </text:list-level-style-bullet>
985− <text:list-level-style-bullet text:level="10"
986− text:style-name="Numbering_20_Symbols" text:bullet-char="">
987− <style:list-level-properties text:space-before="1.4177in"
988− text:min-label-width="0.1575in" />
989− <style:text-properties style:font-name="StarSymbol" />
990− </text:list-level-style-bullet>
991− </text:list-style>
992− <text:list-style style:name="List_20_5"
993− style:display-name="List 5">
994− <text:list-level-style-bullet text:level="1"
995− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
996− <style:list-level-properties text:min-label-width="0.1575in" />
997− <style:text-properties style:font-name="StarSymbol" />
998− </text:list-level-style-bullet>
999− <text:list-level-style-bullet text:level="2"
1000− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
1001− <style:list-level-properties text:space-before="0.1579in"
1002− text:min-label-width="0.1575in" />
1003− <style:text-properties style:font-name="StarSymbol" />
1004− </text:list-level-style-bullet>
1005− <text:list-level-style-bullet text:level="3"
1006− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
1007− <style:list-level-properties text:space-before="0.3146in"
1008− text:min-label-width="0.1575in" />
1009− <style:text-properties style:font-name="StarSymbol" />
1010− </text:list-level-style-bullet>
1011− <text:list-level-style-bullet text:level="4"
1012− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
1013− <style:list-level-properties text:space-before="0.4724in"
1014− text:min-label-width="0.1575in" />
1015− <style:text-properties style:font-name="StarSymbol" />
1016− </text:list-level-style-bullet>
1017− <text:list-level-style-bullet text:level="5"
1018− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
1019− <style:list-level-properties text:space-before="0.6299in"
1020− text:min-label-width="0.1575in" />
1021− <style:text-properties style:font-name="StarSymbol" />
1022− </text:list-level-style-bullet>
1023− <text:list-level-style-bullet text:level="6"
1024− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
1025− <style:list-level-properties text:space-before="0.7878in"
1026− text:min-label-width="0.1575in" />
1027− <style:text-properties style:font-name="StarSymbol" />
1028− </text:list-level-style-bullet>
1029− <text:list-level-style-bullet text:level="7"
1030− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
1031− <style:list-level-properties text:space-before="0.9445in"
1032− text:min-label-width="0.1575in" />
1033− <style:text-properties style:font-name="StarSymbol" />
1034− </text:list-level-style-bullet>
1035− <text:list-level-style-bullet text:level="8"
1036− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
1037− <style:list-level-properties text:space-before="1.1024in"
1038− text:min-label-width="0.1575in" />
1039− <style:text-properties style:font-name="StarSymbol" />
1040− </text:list-level-style-bullet>
1041− <text:list-level-style-bullet text:level="9"
1042− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
1043− <style:list-level-properties text:space-before="1.2598in"
1044− text:min-label-width="0.1575in" />
1045− <style:text-properties style:font-name="StarSymbol" />
1046− </text:list-level-style-bullet>
1047− <text:list-level-style-bullet text:level="10"
1048− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
1049− <style:list-level-properties text:space-before="1.4177in"
1050− text:min-label-width="0.1575in" />
1051− <style:text-properties style:font-name="StarSymbol" />
1052− </text:list-level-style-bullet>
1053− </text:list-style>
1054− <text:notes-configuration text:note-class="footnote"
1055− text:citation-style-name="Footnote_20_Symbol"
1056− text:citation-body-style-name="Footnote_20_anchor"
1057− style:num-format="1" text:start-value="0"
1058− text:footnotes-position="page"
1059− text:start-numbering-at="document" />
1060− <text:notes-configuration text:note-class="endnote"
1061− style:num-format="i" text:start-value="0" />
1062− <text:linenumbering-configuration text:number-lines="false"
1063− text:offset="0.1965in" style:num-format="1"
1064− text:number-position="left" text:increment="5" />
1065− </office:styles>
1066− <office:automatic-styles>
1067− <style:style style:name="MP1" style:family="paragraph"
1068− style:parent-style-name="Footer">
1069− <style:paragraph-properties fo:text-align="center"
1070− style:justify-single-word="false" />
1071− </style:style>
1072− <style:page-layout style:name="Mpm1">
1073− <style:page-layout-properties fo:page-width="8.5in"
1074− fo:page-height="11in" style:num-format="1"
1075− style:print-orientation="portrait" fo:margin-top="1in"
1076− fo:margin-bottom="1in" fo:margin-left="1in"
1077− fo:margin-right="1in" style:writing-mode="lr-tb"
1078− style:footnote-max-height="0in">
1079− <style:footnote-sep style:width="0.0071in"
1080− style:distance-before-sep="0.0398in"
1081− style:distance-after-sep="0.0398in" style:line-style="none"
1082− style:adjustment="left" style:rel-width="25%"
1083− style:color="#000000" />
1084− </style:page-layout-properties>
1085− <style:header-style />
1086− <style:footer-style>
1087− <style:header-footer-properties fo:min-height="0.4in"
1088− fo:margin-left="0in" fo:margin-right="0in"
1089− fo:margin-top="0.2in" style:dynamic-spacing="false" />
1090− </style:footer-style>
1091− </style:page-layout>
1092− </office:automatic-styles>
1093− <office:master-styles>
1094− <style:master-page style:name="Standard"
1095− style:page-layout-name="Mpm1">
1096− <style:footer>
1097− <text:p text:style-name="MP1">
1098− <text:page-number text:select-page="current">
1099− 1</text:page-number>
1100− </text:p>
1101− </style:footer>
1102− </style:master-page>
1103− </office:master-styles>
1104−</office:document-styles>
data/sample.luadeleted−345

This diff is too big to show here.

deb/GlobalSignDomainValidationCA-SHA256-G2.pemdeleted−26

This diff is too big to show here.

deb/Makefiledeleted−14

This diff is too big to show here.

deb/Vagrantfiledeleted−75

This diff is too big to show here.

deb/control.indeleted−20

This diff is too big to show here.

deb/haskell.org.pemdeleted−30

This diff is too big to show here.

deb/make_deb.shdeleted−56

This diff is too big to show here.

default.asciidocnew file+35

This diff is too big to show here.

default.beamernew file+284

This diff is too big to show here.

default.commonmarknew file+21

This diff is too big to show here.

default.contextnew file+146

This diff is too big to show here.

default.docbook4new file+32

This diff is too big to show here.

default.docbook5new file+31

This diff is too big to show here.

default.dokuwikinew file+13

This diff is too big to show here.

default.dzslidesnew file+198

This diff is too big to show here.

default.epub2new file+59

This diff is too big to show here.

default.epub3new file+65

This diff is too big to show here.

default.haddocknew file+1

This diff is too big to show here.

default.html4new file+64

This diff is too big to show here.

default.html5new file+67

This diff is too big to show here.

default.icmlnew file+43

This diff is too big to show here.

default.latexnew file+288

This diff is too big to show here.

default.mannew file+30

This diff is too big to show here.

default.markdownnew file+21

This diff is too big to show here.

default.mediawikinew file+13

This diff is too big to show here.

default.opendocumentnew file+32

This diff is too big to show here.

default.opmlnew file+11

This diff is too big to show here.

default.orgnew file+24

This diff is too big to show here.

default.plainnew file+21

This diff is too big to show here.

default.revealjsnew file+243

This diff is too big to show here.

default.rstnew file+48

This diff is too big to show here.

default.rtfnew file+30

This diff is too big to show here.

default.s5new file+86

This diff is too big to show here.

default.slideousnew file+90

This diff is too big to show here.

default.slidynew file+76

This diff is too big to show here.

default.teinew file+39

This diff is too big to show here.

default.texinfonew file+64

This diff is too big to show here.

default.textilenew file+9

This diff is too big to show here.

default.zimwikinew file+16

This diff is too big to show here.

doc/customizing-pandoc.mddeleted−18

This diff is too big to show here.

doc/using-the-pandoc-api.mddeleted−28

This diff is too big to show here.

lib/fonts/Makefiledeleted−6

This diff is too big to show here.

lib/fonts/parseUnicodeMapping.hsdeleted−40

This diff is too big to show here.

lib/fonts/symbol.txtdeleted−256

This diff is too big to show here.

macos/distribution.xml.indeleted−30

This diff is too big to show here.

macos/make_macos_package.shdeleted−75

This diff is too big to show here.

macos/uninstall-pandoc.pldeleted−79

This diff is too big to show here.

man/capitalizeHeaders.hsdeleted−20

This diff is too big to show here.

man/pandoc.1deleted−5092

This diff is too big to show here.

man/pandoc.1.templatedeleted−10

This diff is too big to show here.

man/removeLinks.hsdeleted−9

This diff is too big to show here.

man/removeNotes.hsdeleted−9

This diff is too big to show here.

pandoc.cabaldeleted−559

This diff is too big to show here.

pandoc.hsdeleted−37

This diff is too big to show here.

prelude/Prelude.hsdeleted−26

This diff is too big to show here.

src/Text/Pandoc.hsdeleted−380

This diff is too big to show here.

src/Text/Pandoc/App.hsdeleted−1444

This diff is too big to show here.

src/Text/Pandoc/Asciify.hsdeleted−422

This diff is too big to show here.

src/Text/Pandoc/CSS.hsdeleted−43

This diff is too big to show here.

src/Text/Pandoc/Class.hsdeleted−539

This diff is too big to show here.

src/Text/Pandoc/Compat/Time.hsdeleted−30

This diff is too big to show here.

src/Text/Pandoc/Data.hsbdeleted−15

This diff is too big to show here.

src/Text/Pandoc/Emoji.hsdeleted−906

This diff is too big to show here.

src/Text/Pandoc/Error.hsdeleted−76

This diff is too big to show here.

src/Text/Pandoc/Extensions.hsdeleted−267

This diff is too big to show here.

src/Text/Pandoc/Highlighting.hsdeleted−223

This diff is too big to show here.

src/Text/Pandoc/ImageSize.hsdeleted−547

This diff is too big to show here.

src/Text/Pandoc/Logging.hsdeleted−232

This diff is too big to show here.

src/Text/Pandoc/MIME.hsdeleted−527

This diff is too big to show here.

src/Text/Pandoc/MediaBag.hsdeleted−113

This diff is too big to show here.

src/Text/Pandoc/Options.hsdeleted−217

This diff is too big to show here.

src/Text/Pandoc/PDF.hsdeleted−369

This diff is too big to show here.

src/Text/Pandoc/Parsing.hsdeleted−1329

This diff is too big to show here.

src/Text/Pandoc/Pretty.hsdeleted−557

This diff is too big to show here.

src/Text/Pandoc/Process.hsdeleted−98

This diff is too big to show here.

src/Text/Pandoc/Readers/CommonMark.hsdeleted−128

This diff is too big to show here.

src/Text/Pandoc/Readers/DocBook.hsdeleted−1055

This diff is too big to show here.

src/Text/Pandoc/Readers/Docx.hsdeleted−626

This diff is too big to show here.

src/Text/Pandoc/Readers/Docx/Combine.hsdeleted−154

This diff is too big to show here.

src/Text/Pandoc/Readers/Docx/Lists.hsdeleted−229

This diff is too big to show here.

src/Text/Pandoc/Readers/Docx/Parse.hsdeleted−1044

This diff is too big to show here.

src/Text/Pandoc/Readers/Docx/StyleMap.hsdeleted−108

This diff is too big to show here.

src/Text/Pandoc/Readers/Docx/Util.hsdeleted−47

This diff is too big to show here.

src/Text/Pandoc/Readers/EPUB.hsdeleted−279

This diff is too big to show here.

src/Text/Pandoc/Readers/HTML.hsdeleted−1136

This diff is too big to show here.

src/Text/Pandoc/Readers/Haddock.hsdeleted−160

This diff is too big to show here.

src/Text/Pandoc/Readers/LaTeX.hsdeleted−1437

This diff is too big to show here.

src/Text/Pandoc/Readers/Markdown.hsdeleted−2119

This diff is too big to show here.

src/Text/Pandoc/Readers/MediaWiki.hsdeleted−677

This diff is too big to show here.

src/Text/Pandoc/Readers/Native.hsdeleted−71

This diff is too big to show here.

src/Text/Pandoc/Readers/OPML.hsdeleted−103

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt.hsdeleted−113

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt/Arrows/State.hsdeleted−253

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt/Arrows/Utils.hsdeleted−495

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt/Base.hsdeleted−43

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt/ContentReader.hsdeleted−929

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt/Generic/Fallible.hsdeleted−260

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt/Generic/Namespaces.hsdeleted−62

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt/Generic/SetMap.hsdeleted−48

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt/Generic/Utils.hsdeleted−171

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt/Generic/XMLConverter.hsdeleted−1063

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt/Namespaces.hsdeleted−110

This diff is too big to show here.

src/Text/Pandoc/Readers/Odt/StyleReader.hsdeleted−744

This diff is too big to show here.

src/Text/Pandoc/Readers/Org.hsdeleted−62

This diff is too big to show here.

src/Text/Pandoc/Readers/Org/BlockStarts.hsdeleted−137

This diff is too big to show here.

src/Text/Pandoc/Readers/Org/Blocks.hsdeleted−979

This diff is too big to show here.

src/Text/Pandoc/Readers/Org/ExportSettings.hsdeleted−172

This diff is too big to show here.

src/Text/Pandoc/Readers/Org/Inlines.hsdeleted−880

This diff is too big to show here.

src/Text/Pandoc/Readers/Org/Meta.hsdeleted−218

This diff is too big to show here.

src/Text/Pandoc/Readers/Org/ParserState.hsdeleted−259

This diff is too big to show here.

src/Text/Pandoc/Readers/Org/Parsing.hsdeleted−217

This diff is too big to show here.

src/Text/Pandoc/Readers/Org/Shared.hsdeleted−97

This diff is too big to show here.

src/Text/Pandoc/Readers/RST.hsdeleted−1354

This diff is too big to show here.

src/Text/Pandoc/Readers/TWiki.hsdeleted−525

This diff is too big to show here.

src/Text/Pandoc/Readers/Textile.hsdeleted−729

This diff is too big to show here.

src/Text/Pandoc/Readers/Txt2Tags.hsdeleted−596

This diff is too big to show here.

src/Text/Pandoc/SelfContained.hsdeleted−181

This diff is too big to show here.

src/Text/Pandoc/Shared.hsdeleted−883

This diff is too big to show here.

src/Text/Pandoc/Slides.hsdeleted−63

This diff is too big to show here.

src/Text/Pandoc/Templates.hsdeleted−77

This diff is too big to show here.

src/Text/Pandoc/UTF8.hsdeleted−121

This diff is too big to show here.

src/Text/Pandoc/UUID.hsdeleted−78

This diff is too big to show here.

src/Text/Pandoc/Writers/AsciiDoc.hsdeleted−470

This diff is too big to show here.

src/Text/Pandoc/Writers/CommonMark.hsdeleted−190

This diff is too big to show here.

src/Text/Pandoc/Writers/ConTeXt.hsdeleted−481

This diff is too big to show here.

src/Text/Pandoc/Writers/Custom.hsdeleted−322

This diff is too big to show here.

src/Text/Pandoc/Writers/Docbook.hsdeleted−440

This diff is too big to show here.

src/Text/Pandoc/Writers/Docx.hsdeleted−1302

This diff is too big to show here.

src/Text/Pandoc/Writers/DokuWiki.hsdeleted−522

This diff is too big to show here.

src/Text/Pandoc/Writers/EPUB.hsdeleted−1257

This diff is too big to show here.

src/Text/Pandoc/Writers/FB2.hsdeleted−617

This diff is too big to show here.

src/Text/Pandoc/Writers/HTML.hsdeleted−1069

This diff is too big to show here.

src/Text/Pandoc/Writers/Haddock.hsdeleted−370

This diff is too big to show here.

src/Text/Pandoc/Writers/ICML.hsdeleted−584

This diff is too big to show here.

src/Text/Pandoc/Writers/LaTeX.hsdeleted−1388

This diff is too big to show here.

src/Text/Pandoc/Writers/Man.hsdeleted−381

This diff is too big to show here.

src/Text/Pandoc/Writers/Markdown.hsdeleted−1147

This diff is too big to show here.

src/Text/Pandoc/Writers/Math.hsdeleted−49

This diff is too big to show here.

src/Text/Pandoc/Writers/MediaWiki.hsdeleted−442

This diff is too big to show here.

src/Text/Pandoc/Writers/Native.hsdeleted−79

This diff is too big to show here.

src/Text/Pandoc/Writers/ODT.hsdeleted−210

This diff is too big to show here.

src/Text/Pandoc/Writers/OPML.hsdeleted−103

This diff is too big to show here.

src/Text/Pandoc/Writers/OpenDocument.hsdeleted−626

This diff is too big to show here.

src/Text/Pandoc/Writers/Org.hsdeleted−411

This diff is too big to show here.

src/Text/Pandoc/Writers/RST.hsdeleted−556

This diff is too big to show here.

src/Text/Pandoc/Writers/RTF.hsdeleted−412

This diff is too big to show here.

src/Text/Pandoc/Writers/Shared.hsdeleted−183

This diff is too big to show here.

src/Text/Pandoc/Writers/TEI.hsdeleted−324

This diff is too big to show here.

src/Text/Pandoc/Writers/Texinfo.hsdeleted−498

This diff is too big to show here.

src/Text/Pandoc/Writers/Textile.hsdeleted−486

This diff is too big to show here.

src/Text/Pandoc/Writers/ZimWiki.hsdeleted−396

This diff is too big to show here.

src/Text/Pandoc/XML.hsdeleted−115

This diff is too big to show here.

stack.full.yamldeleted−25

This diff is too big to show here.

stack.pkg.yamldeleted−22

This diff is too big to show here.

stack.yamldeleted−12

This diff is too big to show here.

test/Tests/Command.hsdeleted−93

This diff is too big to show here.

test/Tests/Helpers.hsdeleted−136

This diff is too big to show here.

test/Tests/Old.hsdeleted−248

This diff is too big to show here.

test/Tests/Readers/Docx.hsdeleted−344

This diff is too big to show here.

test/Tests/Readers/EPUB.hsdeleted−39

This diff is too big to show here.

test/Tests/Readers/HTML.hsdeleted−33

This diff is too big to show here.

test/Tests/Readers/LaTeX.hsdeleted−226

This diff is too big to show here.

test/Tests/Readers/Markdown.hsdeleted−461

This diff is too big to show here.

test/Tests/Readers/Odt.hsdeleted−165

This diff is too big to show here.

test/Tests/Readers/Org.hsdeleted−1724

This diff is too big to show here.

test/Tests/Readers/RST.hsdeleted−174

This diff is too big to show here.

test/Tests/Readers/Txt2Tags.hsdeleted−436

This diff is too big to show here.

test/Tests/Shared.hsdeleted−40

This diff is too big to show here.

test/Tests/Writers/AsciiDoc.hsdeleted−55

This diff is too big to show here.

test/Tests/Writers/ConTeXt.hsdeleted−70

This diff is too big to show here.

test/Tests/Writers/Docbook.hsdeleted−302

This diff is too big to show here.

test/Tests/Writers/Docx.hsdeleted−151

This diff is too big to show here.

test/Tests/Writers/HTML.hsdeleted−43

This diff is too big to show here.

test/Tests/Writers/LaTeX.hsdeleted−175

This diff is too big to show here.

test/Tests/Writers/Markdown.hsdeleted−266

This diff is too big to show here.

test/Tests/Writers/Native.hsdeleted−21

This diff is too big to show here.

test/Tests/Writers/Org.hsdeleted−25

This diff is too big to show here.

test/Tests/Writers/Plain.hsdeleted−21

This diff is too big to show here.

test/Tests/Writers/RST.hsdeleted−107

This diff is too big to show here.

test/Tests/Writers/TEI.hsdeleted−43

This diff is too big to show here.

test/bodybg.gifdeleted

Binary file not shown.

test/command/3422.mddeleted−9

This diff is too big to show here.

test/command/3432a.mddeleted−19

This diff is too big to show here.

test/command/512.mddeleted−41

This diff is too big to show here.

test/command/latex-tabular-column-specs.mddeleted−24

This diff is too big to show here.

test/command/parse-raw.mddeleted−27

This diff is too big to show here.

test/command/smart.mddeleted−45

This diff is too big to show here.

test/docbook-reader.docbookdeleted−1561

This diff is too big to show here.

test/docbook-reader.nativedeleted−397

This diff is too big to show here.

test/docbook-xref.docbookdeleted−70

This diff is too big to show here.

test/docbook-xref.nativedeleted−29

This diff is too big to show here.

test/docx/adjacent_links.docxdeleted

Binary file not shown.

test/docx/adjacent_links.nativedeleted−1

This diff is too big to show here.

test/docx/already_auto_ident.docxdeleted

Binary file not shown.

test/docx/already_auto_ident.nativedeleted−2

This diff is too big to show here.

test/docx/block_quotes.docxdeleted

Binary file not shown.

test/docx/block_quotes_parse_indent.nativedeleted−8

This diff is too big to show here.

test/docx/char_styles.docxdeleted

Binary file not shown.

test/docx/char_styles.nativedeleted−4

This diff is too big to show here.

test/docx/codeblock.docxdeleted

Binary file not shown.

test/docx/codeblock.nativedeleted−3

This diff is too big to show here.

test/docx/comments.docxdeleted

Binary file not shown.

test/docx/comments.nativedeleted−4

This diff is too big to show here.

test/docx/comments_no_comments.nativedeleted−4

This diff is too big to show here.

test/docx/comments_warning.docxdeleted

Binary file not shown.

test/docx/custom-style-reference.docxdeleted

Binary file not shown.

test/docx/custom-style-roundtrip-end.nativedeleted−5

This diff is too big to show here.

test/docx/custom-style-roundtrip-start.nativedeleted−5

This diff is too big to show here.

test/docx/deep_normalize.docxdeleted

Binary file not shown.

test/docx/deep_normalize.nativedeleted−6

This diff is too big to show here.

test/docx/definition_list.docxdeleted

Binary file not shown.

test/docx/definition_list.nativedeleted−7

This diff is too big to show here.

test/docx/drop_cap.docxdeleted

Binary file not shown.

test/docx/drop_cap.nativedeleted−4

This diff is too big to show here.

test/docx/dummy_item_after_list_item.docxdeleted

Binary file not shown.

test/docx/dummy_item_after_list_item.nativedeleted−3

This diff is too big to show here.

test/docx/dummy_item_after_paragraph.docxdeleted

Binary file not shown.

test/docx/dummy_item_after_paragraph.nativedeleted−3

This diff is too big to show here.

test/docx/enumerated_headings.docxdeleted

Binary file not shown.

test/docx/enumerated_headings.nativedeleted−4

This diff is too big to show here.

test/docx/german_styled_lists.docxdeleted

Binary file not shown.

test/docx/german_styled_lists.nativedeleted−6

This diff is too big to show here.

test/docx/hanging_indent.docxdeleted

Binary file not shown.

test/docx/hanging_indent.nativedeleted−3

This diff is too big to show here.

test/docx/headers.docxdeleted

Binary file not shown.

test/docx/headers.nativedeleted−13

This diff is too big to show here.

test/docx/i18n_blocks.docxdeleted

Binary file not shown.

test/docx/i18n_blocks.nativedeleted−8

This diff is too big to show here.

test/docx/image.docxdeleted

Binary file not shown.

test/docx/image_no_embed.nativedeleted−2

This diff is too big to show here.

test/docx/image_no_embed_writer.nativedeleted−2

This diff is too big to show here.

test/docx/image_vml.docxdeleted

Binary file not shown.

test/docx/image_vml.nativedeleted−4

This diff is too big to show here.

test/docx/inline_code.docxdeleted

Binary file not shown.

test/docx/inline_code.nativedeleted−1

This diff is too big to show here.

test/docx/inline_formatting.docxdeleted

Binary file not shown.

test/docx/inline_formatting.nativedeleted−5

This diff is too big to show here.

test/docx/inline_formatting_writer.nativedeleted−5

This diff is too big to show here.

test/docx/inline_images.docxdeleted

Binary file not shown.

test/docx/inline_images.nativedeleted−2

This diff is too big to show here.

test/docx/inline_images_writer.nativedeleted−2

This diff is too big to show here.

test/docx/link_in_notes.docxdeleted

Binary file not shown.

test/docx/link_in_notes.nativedeleted−1

This diff is too big to show here.

test/docx/links.docxdeleted

Binary file not shown.

test/docx/links.nativedeleted−7

This diff is too big to show here.

test/docx/links_writer.nativedeleted−6

This diff is too big to show here.

test/docx/lists.docxdeleted

Binary file not shown.

test/docx/lists.nativedeleted−18

This diff is too big to show here.

test/docx/lists_writer.nativedeleted−17

This diff is too big to show here.

test/docx/metadata.docxdeleted

Binary file not shown.

test/docx/metadata.nativedeleted−2

This diff is too big to show here.

test/docx/metadata_after_normal.docxdeleted

Binary file not shown.

test/docx/metadata_after_normal.nativedeleted−7

This diff is too big to show here.

test/docx/nested_anchors_in_header.docxdeleted

Binary file not shown.

test/docx/nested_anchors_in_header.nativedeleted−10

This diff is too big to show here.

test/docx/normalize.docxdeleted

Binary file not shown.

test/docx/normalize.nativedeleted−2

This diff is too big to show here.

test/docx/notes.docxdeleted

Binary file not shown.

test/docx/notes.nativedeleted−2

This diff is too big to show here.

test/docx/numbered_header.docxdeleted

Binary file not shown.

test/docx/numbered_header.nativedeleted−1

This diff is too big to show here.

test/docx/special_punctuation.docxdeleted

Binary file not shown.

test/docx/special_punctuation.nativedeleted−2

This diff is too big to show here.

test/docx/table_one_row.docxdeleted

Binary file not shown.

test/docx/table_one_row.nativedeleted−7

This diff is too big to show here.

test/docx/table_with_list_cell.docxdeleted

Binary file not shown.

test/docx/table_with_list_cell.nativedeleted−11

This diff is too big to show here.

test/docx/tables.docxdeleted

Binary file not shown.

test/docx/tables.nativedeleted−36

This diff is too big to show here.

test/docx/tabs.docxdeleted

Binary file not shown.

test/docx/tabs.nativedeleted−2

This diff is too big to show here.

test/docx/track_changes_deletion.docxdeleted

Binary file not shown.

test/docx/track_changes_deletion_accept.nativedeleted−1

This diff is too big to show here.

test/docx/track_changes_deletion_all.nativedeleted−1

This diff is too big to show here.

test/docx/track_changes_deletion_reject.nativedeleted−1

This diff is too big to show here.

test/docx/track_changes_insertion.docxdeleted

Binary file not shown.

test/docx/track_changes_insertion_accept.nativedeleted−1

This diff is too big to show here.

test/docx/track_changes_insertion_all.nativedeleted−1

This diff is too big to show here.

test/docx/track_changes_insertion_reject.nativedeleted−1

This diff is too big to show here.

test/docx/track_changes_move.docxdeleted

Binary file not shown.

test/docx/track_changes_move_accept.nativedeleted−3

This diff is too big to show here.

test/docx/track_changes_move_all.nativedeleted−4

This diff is too big to show here.

test/docx/track_changes_move_reject.nativedeleted−3

This diff is too big to show here.

test/docx/trailing_spaces_in_formatting.docxdeleted

Binary file not shown.

test/docx/trailing_spaces_in_formatting.nativedeleted−1

This diff is too big to show here.

test/docx/unicode.docxdeleted

Binary file not shown.

test/docx/unicode.nativedeleted−1

This diff is too big to show here.

test/docx/verbatim_subsuper.docxdeleted

Binary file not shown.

test/docx/verbatim_subsuper.nativedeleted−8

This diff is too big to show here.

test/dokuwiki_external_images.dokuwikideleted−1

This diff is too big to show here.

test/dokuwiki_external_images.nativedeleted−1

This diff is too big to show here.

test/dokuwiki_inline_formatting.dokuwikideleted−14

This diff is too big to show here.

test/dokuwiki_inline_formatting.nativedeleted−7

This diff is too big to show here.

test/dokuwiki_multiblock_table.dokuwikideleted−4

This diff is too big to show here.

test/dokuwiki_multiblock_table.nativedeleted−13

This diff is too big to show here.

test/epub/features.epubdeleted

Binary file not shown.

test/epub/features.nativedeleted−93

This diff is too big to show here.

test/epub/formatting.epubdeleted

Binary file not shown.

test/epub/formatting.nativedeleted−402

This diff is too big to show here.

test/epub/img.epubdeleted

Binary file not shown.

test/epub/wasteland.epubdeleted

Binary file not shown.

test/epub/wasteland.nativedeleted−941

This diff is too big to show here.

test/fb2/basic.fb2deleted−3

This diff is too big to show here.

test/fb2/basic.markdowndeleted−33

This diff is too big to show here.

test/fb2/images-embedded.fb2deleted−2

This diff is too big to show here.

test/fb2/images-embedded.htmldeleted−14

This diff is too big to show here.

test/fb2/images.fb2deleted−2

This diff is too big to show here.

test/fb2/images.markdowndeleted−13

This diff is too big to show here.

test/fb2/math.fb2deleted−2

This diff is too big to show here.

test/fb2/math.markdowndeleted−10

This diff is too big to show here.

test/fb2/test-small.pngdeleted

Binary file not shown.

test/fb2/test.jpgdeleted

Binary file not shown.

test/fb2/titles.fb2deleted−3

This diff is too big to show here.

test/fb2/titles.markdowndeleted−10

This diff is too big to show here.

test/haddock-reader.haddockdeleted−65

This diff is too big to show here.

test/haddock-reader.nativedeleted−31

This diff is too big to show here.

test/html-reader.htmldeleted−708

This diff is too big to show here.

test/html-reader.nativedeleted−463

This diff is too big to show here.

test/insertdeleted−1

This diff is too big to show here.

test/lalune.jpgdeleted

Binary file not shown.

test/latex-reader.latexdeleted−848

This diff is too big to show here.

test/latex-reader.nativedeleted−375

This diff is too big to show here.

test/lhs-test-markdown.nativedeleted−8

This diff is too big to show here.

test/lhs-test.fragment.html+lhsdeleted−15

This diff is too big to show here.

test/lhs-test.htmldeleted−66

This diff is too big to show here.

test/lhs-test.html+lhsdeleted−66

This diff is too big to show here.

test/lhs-test.latexdeleted−121

This diff is too big to show here.

test/lhs-test.latex+lhsdeleted−83

This diff is too big to show here.

test/lhs-test.markdowndeleted−21

This diff is too big to show here.

test/lhs-test.markdown+lhsdeleted−19

This diff is too big to show here.

test/lhs-test.nativedeleted−8

This diff is too big to show here.

test/lhs-test.rstdeleted−23

This diff is too big to show here.

test/lhs-test.rst+lhsdeleted−21

This diff is too big to show here.

test/markdown-citations.nativedeleted−17

This diff is too big to show here.

test/markdown-citations.txtdeleted−39

This diff is too big to show here.

test/markdown-reader-more.nativedeleted−198

This diff is too big to show here.

test/markdown-reader-more.txtdeleted−320

This diff is too big to show here.

test/media/rId25.jpgdeleted

Binary file not shown.

test/media/rId26.jpgdeleted

Binary file not shown.

test/media/rId27.jpgdeleted

Binary file not shown.

test/mediawiki-reader.nativedeleted−262

This diff is too big to show here.

test/mediawiki-reader.wikideleted−396

This diff is too big to show here.

test/movie.jpgdeleted

Binary file not shown.

test/odt/markdown/bold.mddeleted−1

This diff is too big to show here.

test/odt/markdown/citation.mddeleted−1

This diff is too big to show here.

test/odt/markdown/endnote.mddeleted−3

This diff is too big to show here.

test/odt/markdown/externalLink.mddeleted−1

This diff is too big to show here.

test/odt/markdown/footnote.mddeleted−3

This diff is too big to show here.

test/odt/markdown/headers.mddeleted−9

This diff is too big to show here.

test/odt/markdown/horizontalRule.mddeleted−1

This diff is too big to show here.

test/odt/markdown/image.mddeleted−1

This diff is too big to show here.

test/odt/markdown/imageIndex.mddeleted−6

This diff is too big to show here.

test/odt/markdown/imageWithCaption.mddeleted−1

This diff is too big to show here.

test/odt/markdown/italic.mddeleted−1

This diff is too big to show here.

test/odt/markdown/listBlocks.mddeleted−6

This diff is too big to show here.

test/odt/markdown/paragraph.mddeleted−5

This diff is too big to show here.

test/odt/markdown/strikeout.mddeleted−1

This diff is too big to show here.

test/odt/markdown/trackedChanges.mddeleted−1

This diff is too big to show here.

test/odt/markdown/underlined.mddeleted−1

This diff is too big to show here.

test/odt/native/blockquote.nativedeleted−1

This diff is too big to show here.

test/odt/native/image.nativedeleted−1

This diff is too big to show here.

test/odt/native/imageIndex.nativedeleted−1

This diff is too big to show here.

test/odt/native/imageWithCaption.nativedeleted−1

This diff is too big to show here.

test/odt/native/inlinedCode.nativedeleted−1

This diff is too big to show here.

test/odt/native/orderedListMixed.nativedeleted−1

This diff is too big to show here.

test/odt/native/orderedListRoman.nativedeleted−1

This diff is too big to show here.

test/odt/native/orderedListSimple.nativedeleted−1

This diff is too big to show here.

test/odt/native/referenceToChapter.nativedeleted−1

This diff is too big to show here.

test/odt/native/referenceToListItem.nativedeleted−1

This diff is too big to show here.

test/odt/native/referenceToText.nativedeleted−1

This diff is too big to show here.

test/odt/native/simpleTable.nativedeleted−1

This diff is too big to show here.

test/odt/native/simpleTableWithCaption.nativedeleted−1

This diff is too big to show here.

test/odt/native/tableWithContents.nativedeleted−1

This diff is too big to show here.

test/odt/native/textMixedStyles.nativedeleted−5

This diff is too big to show here.

test/odt/native/unicode.nativedeleted−1

This diff is too big to show here.

test/odt/native/unorderedList.nativedeleted−1

This diff is too big to show here.

test/odt/odt/blockquote.odtdeleted

Binary file not shown.

test/odt/odt/bold.odtdeleted

Binary file not shown.

test/odt/odt/citation.odtdeleted

Binary file not shown.

test/odt/odt/endnote.odtdeleted

Binary file not shown.

test/odt/odt/expression.odtdeleted

Binary file not shown.

test/odt/odt/expressionUnevaluated.odtdeleted

Binary file not shown.

test/odt/odt/externalLink.odtdeleted

Binary file not shown.

test/odt/odt/footnote.odtdeleted

Binary file not shown.

test/odt/odt/formula.odtdeleted

Binary file not shown.

test/odt/odt/headers.odtdeleted

Binary file not shown.

test/odt/odt/hiddenTextByStyle.odtdeleted

Binary file not shown.

test/odt/odt/hiddenTextByVariable.odtdeleted

Binary file not shown.

test/odt/odt/horizontalRule.odtdeleted

Binary file not shown.

test/odt/odt/image.odtdeleted

Binary file not shown.

test/odt/odt/imageIndex.odtdeleted

Binary file not shown.

test/odt/odt/imageWithCaption.odtdeleted

Binary file not shown.

test/odt/odt/inlinedCode.odtdeleted

Binary file not shown.

test/odt/odt/italic.odtdeleted

Binary file not shown.

test/odt/odt/listBlocks.odtdeleted

Binary file not shown.

test/odt/odt/orderedListMixed.odtdeleted

Binary file not shown.

test/odt/odt/orderedListRoman.odtdeleted

Binary file not shown.

test/odt/odt/orderedListSimple.odtdeleted

Binary file not shown.

test/odt/odt/paragraph.odtdeleted

Binary file not shown.

test/odt/odt/referenceAllInOne.odtdeleted

Binary file not shown.

test/odt/odt/referenceToChapter.odtdeleted

Binary file not shown.

test/odt/odt/referenceToListItem.odtdeleted

Binary file not shown.

test/odt/odt/referenceToText.odtdeleted

Binary file not shown.

test/odt/odt/simpleTable.odtdeleted

Binary file not shown.

test/odt/odt/simpleTableWithCaption.odtdeleted

Binary file not shown.

test/odt/odt/strikeout.odtdeleted

Binary file not shown.

test/odt/odt/table.odtdeleted

Binary file not shown.

test/odt/odt/tableWithCaption.odtdeleted

Binary file not shown.

test/odt/odt/tableWithContents.odtdeleted

Binary file not shown.

test/odt/odt/textMixedStyles.odtdeleted

Binary file not shown.

test/odt/odt/trackedChanges.odtdeleted

Binary file not shown.

test/odt/odt/underlined.odtdeleted

Binary file not shown.

test/odt/odt/unicode.odtdeleted

Binary file not shown.

test/odt/odt/unorderedList.odtdeleted

Binary file not shown.

test/odt/odt/variable.odtdeleted

Binary file not shown.

test/opml-reader.nativedeleted−66

This diff is too big to show here.

test/opml-reader.opmldeleted−83

This diff is too big to show here.

test/pipe-tables.nativedeleted−115

This diff is too big to show here.

test/pipe-tables.txtdeleted−82

This diff is too big to show here.

test/rst-reader.nativedeleted−335

This diff is too big to show here.

test/rst-reader.rstdeleted−633

This diff is too big to show here.

test/s5-basic.htmldeleted−56

This diff is too big to show here.

test/s5-fancy.htmldeleted−257

This diff is too big to show here.

test/s5-fragment.htmldeleted−9

This diff is too big to show here.

test/s5-inserts.htmldeleted−34

This diff is too big to show here.

test/s5.nativedeleted−8

This diff is too big to show here.

test/tables-rstsubset.nativedeleted−114

This diff is too big to show here.

test/tables.asciidocdeleted−67

This diff is too big to show here.

test/tables.contextdeleted−175

This diff is too big to show here.

test/tables.docbook4deleted−432

This diff is too big to show here.

test/tables.docbook5deleted−432

This diff is too big to show here.

test/tables.dokuwikideleted−47

This diff is too big to show here.

test/tables.fb2deleted−3

This diff is too big to show here.

test/tables.haddockdeleted−76

This diff is too big to show here.

test/tables.html4deleted−204

This diff is too big to show here.

test/tables.html5deleted−204

This diff is too big to show here.

test/tables.icmldeleted−757

This diff is too big to show here.

test/tables.latexdeleted−168

This diff is too big to show here.

test/tables.mandeleted−267

This diff is too big to show here.

test/tables.markdowndeleted−78

This diff is too big to show here.

test/tables.mediawikideleted−146

This diff is too big to show here.

test/tables.nativedeleted−114

This diff is too big to show here.

test/tables.opendocumentdeleted−397

This diff is too big to show here.

test/tables.orgdeleted−51

This diff is too big to show here.

test/tables.plaindeleted−78

This diff is too big to show here.

test/tables.rstdeleted−90

This diff is too big to show here.

test/tables.rtfdeleted−360

This diff is too big to show here.

test/tables.teideleted−171

This diff is too big to show here.

test/tables.texinfodeleted−158

This diff is too big to show here.

test/tables.textiledeleted−167

This diff is too big to show here.

test/tables.txtdeleted−75

This diff is too big to show here.

test/tables.zimwikideleted−56

This diff is too big to show here.

test/test-pandoc.hsdeleted−69

This diff is too big to show here.

test/testsuite.nativedeleted−411

This diff is too big to show here.

test/testsuite.txtdeleted−730

This diff is too big to show here.

test/textile-reader.nativedeleted−176

This diff is too big to show here.

test/textile-reader.textiledeleted−278

This diff is too big to show here.

test/twiki-reader.nativedeleted−174

This diff is too big to show here.

test/twiki-reader.twikideleted−221

This diff is too big to show here.

test/txt2tags.nativedeleted−552

This diff is too big to show here.

test/txt2tags.t2tdeleted−797

This diff is too big to show here.

test/writer.asciidocdeleted−693

This diff is too big to show here.

test/writer.contextdeleted−888

This diff is too big to show here.

test/writer.docbook4deleted−1422

This diff is too big to show here.

test/writer.docbook5deleted−1397

This diff is too big to show here.

test/writer.dokuwikideleted−642

This diff is too big to show here.

test/writer.fb2deleted−3

This diff is too big to show here.

test/writer.haddockdeleted−660

This diff is too big to show here.

test/writer.html4deleted−546

This diff is too big to show here.

test/writer.html5deleted−548

This diff is too big to show here.

test/writer.icmldeleted−3317

This diff is too big to show here.

test/writer.latexdeleted−967

This diff is too big to show here.

test/writer.mandeleted−795

This diff is too big to show here.

test/writer.markdowndeleted−746

This diff is too big to show here.

test/writer.mediawikideleted−653

This diff is too big to show here.

test/writer.nativedeleted−411

This diff is too big to show here.

test/writer.opendocumentdeleted−1539

This diff is too big to show here.

test/writer.opmldeleted−72

This diff is too big to show here.

test/writer.orgdeleted−855

This diff is too big to show here.

test/writer.plaindeleted−695

This diff is too big to show here.

test/writer.rstdeleted−892

This diff is too big to show here.

test/writer.rtfdeleted−451

This diff is too big to show here.

test/writer.teideleted−861

This diff is too big to show here.

test/writer.texinfodeleted−1061

This diff is too big to show here.

test/writer.textiledeleted−723

This diff is too big to show here.

test/writer.zimwikideleted−623

This diff is too big to show here.

test/writers-lang-and-dir.contextdeleted−109

This diff is too big to show here.

test/writers-lang-and-dir.latexdeleted−149

This diff is too big to show here.

test/writers-lang-and-dir.nativedeleted−23

This diff is too big to show here.

tools/extract-changes.hsdeleted−9

This diff is too big to show here.

tools/github-upload.shdeleted−18

This diff is too big to show here.

trypandoc/Makefiledeleted−14

This diff is too big to show here.

trypandoc/index.htmldeleted−143

This diff is too big to show here.

trypandoc/trypandoc.hsdeleted−101

This diff is too big to show here.

windows/AdvancedWelcomeEulaDlg_Custom.wxsdeleted−90

This diff is too big to show here.

windows/Pandoc-en-us.wxldeleted−14

This diff is too big to show here.

windows/WixUI_Advanced_Custom.wxsdeleted−142

This diff is too big to show here.

windows/make-windows-installer.batdeleted−29

This diff is too big to show here.

windows/pandoc.wxsdeleted−188

This diff is too big to show here.