aboutsummaryrefslogtreecommitdiff
path: root/MANUAL.txt
AgeCommit message (Collapse)AuthorFilesLines
2017-03-20Lua filters (#3514)Albert Krewinkel1-0/+25
* Add `--lua-filter` option. This works like `--filter` but takes pathnames of special lua filters and uses the lua interpreter baked into pandoc, so that no external interpreter is needed. Note that lua filters are all applied after regular filters, regardless of their position on the command line. * Add Text.Pandoc.Lua, exporting `runLuaFilter`. Add `pandoc.lua` to data files. * Add private module Text.Pandoc.Lua.PandocModule to supply the default lua module. * Add Tests.Lua to tests. * Add data/pandoc.lua, the lua module pandoc imports when processing its lua filters. * Document in MANUAL.txt.
2017-03-16MANUAL: document `--abbreviations`.John MacFarlane1-0/+13
Closes #256.
2017-03-13Docx writer: Support 9 levels of headers.John MacFarlane1-5/+6
Closes #1642.
2017-03-12MANUAL: Small clarification in YAML metadata section.John MacFarlane1-1/+1
2017-03-07Clarify that meta-json contains transformed values (#3491)Jakob Voß1-1/+2
Make clear that template variable `meta-json` does not contain plain text values or JSON output format but field values transformed to the selected output format.
2017-03-04Document that html5 output is polyglot compatible.John MacFarlane1-1/+3
2017-02-27Removed `--epub-stylesheet`; use `--css` instead.John MacFarlane1-8/+7
* Removed writerEpubStylesheet in WriterOptions. * Removed `--epub-stylesheet` option. * Allow `--css` to be used with epub. * Allow multiple stylesheets to be used. * Stylesheets will be taken both from `--css` and from the `stylesheet` metadata field (which can contain either a file path or a list of them). Closes #3472, #847.
2017-02-26`--self-contained`: don't incorporate elements with `data-external="1"`.John MacFarlane1-5/+8
You can leave an external link as it is by adding the attribute data-external="1" to the element. Pandoc will then not try to incorporate its content when `--self-contained` is used. This is similar to a feature already supported by the EPUB writer. Closes #2656.
2017-02-26MANUAL.txt explain --webtex SVG url (#3471)Mauro Bieg1-1/+3
2017-02-25Add `sourcefile` and `outputfile` template variables (#3439)Roland Hieber1-0/+16
Closes #3431.
2017-02-25Make `--ascii` work with DocBook output too.John MacFarlane1-2/+2
2017-02-23Special-case .stretch class for images in reveal.js.John MacFarlane1-0/+4
Now in reveal.js, an image with class `stretch` in a paragraph by itself will stretch to fill the whole screen, with no caption or figure environment. Closes #1291.
2017-02-22MANUAL: Document that content above slide-level will be omitted...John MacFarlane1-3/+8
in slide shows. See #3460, #2265.
2017-02-11Added --log option to save log messages in JSON format to a file.John MacFarlane1-0/+6
See #3392.
2017-02-06Removed --parse-raw and readerParseRaw.John MacFarlane1-11/+0
These were confusing. Now we rely on the +raw_tex or +raw_html extension with latex or html input. Thus, instead of --parse-raw -f latex we use -f latex+raw_tex and instead of --parse-raw -f html we use -f html+raw_html
2017-02-06default.beamer changes (Thomas Hodgson):John MacFarlane1-0/+6
- Use dvipsnames options when colorlinks specified (otherwise we get an error for 'maroon') - Added titegraphic and logo variables.
2017-02-06Use unicode-math by default in default.latex template.John MacFarlane1-13/+16
mathspec will be used in xelatex if the `mathspec` variable is set; otherwise unicode-math will be used. Thanks to Václav Haisman.
2017-02-05Allow user to specify User-Agent (#3421)Thenaesh Elango1-0/+5
This commit enables users to specify the User-Agent header used when pandoc requests a document from a URL. This is done by setting an environment variable. For instance, one can do: USER_AGENT="..." ./pandoc -f html -t markdown http://example.com Signed-off-by: Thenaesh Elango <thenaeshelango@gmail.com>
2017-02-03Manual: Mention limitations of Literate Haskell Support (#3413)Joachim Breitner1-0/+4
This fixes #3410.
2017-02-03HTML and DocBook writers: fix internal links with writerIdentifierPrefix opt ↵Mauro Bieg1-4/+4
(#3398) closes #3397
2017-01-30`--mathml` and MathML in HTMLMathMethod longer take an argument.John MacFarlane1-5/+2
The argument was for a bridge javascript that used to be necessary in 2004. We have removed the script already.
2017-01-30Make epub an alias for epub3, not epub2.John MacFarlane1-2/+2
2017-01-29Merge branch 'typeclass'John MacFarlane1-110/+92
2017-01-29Updated authors and date in MANUALJohn MacFarlane1-2/+6
2017-01-26Split writeDocbook into writeDocbook4, writeDocbook5.John MacFarlane1-5/+5
Removed writerDocbookVersion in WriterOptions. Renamed default.docbook template to default.docbook4. Allow docbook4 as an output format. But alias docbook = docbook4.
2017-01-26EPUB writer: split writeEPUB into writeEPUB2, writeEPUB3.John MacFarlane1-11/+12
Also include explicit epub2 output format in CLI tool.
2017-01-25Removed duplicate name in authorsJohn MacFarlane1-1/+0
2017-01-25Removed writerTeXLigatures.John MacFarlane1-18/+12
Make `smart` extension work in LaTeX/ConTeXt writers instead. Instead of `-t latex --no-tex-ligatures`, do `-t latex-smart`.
2017-01-25Made `smart` extension default for pandoc markdown.John MacFarlane1-21/+20
Updated tests.
2017-01-25Make the `smart` extension affect the Markdown writer.John MacFarlane1-11/+12
Thus, to "unsmartify" something that has been parsed as smart by pandoc, you can use `-t markdown+smart`, and straight quotes will be produced instead of curly quotes, etc. Example: % pandoc -f latex -t markdown+smart ``hi''---ok ^D "hi"---ok
2017-01-25Removed readerOldDashes and --old-dashes option, added old_dashes extension.John MacFarlane1-6/+7
API change. CLI option change.
2017-01-25Removed readerSmart and the --smart option; added Ext_smart extension.John MacFarlane1-27/+18
Now you will need to do -f markdown+smart instead of -f markdown --smart This change opens the way for writers, in addition to readers, to be sensitive to +smart, but this change hasn't yet been made. API change. Command-line option change. Updated manual.
2017-01-25Removed `--normalize` option and normalization functions from Shared.John MacFarlane1-5/+0
* Removed normalize, normalizeInlines, normalizeBlocks from Text.Pandoc.Shared. These shouldn't now be necessary, since normalization is handled automatically by the Builder monoid instance. * Remove `--normalize` command-line option. * Don't use normalize in tests. * A few revisions to readers so they work well without normalize.
2017-01-25Removed deprecated `--no-wrap` option.John MacFarlane1-4/+0
2017-01-25Removed deprecated `--chapters` option.John MacFarlane1-4/+0
2017-01-25Simplified reference-docx/reference-odt to reference-doc.John MacFarlane1-37/+37
* Text.Pandoc.Options.WriterOptions: removed writerReferenceDocx and writerReferenceODT, replaced them with writerReferenceDoc. This can hold either an ODT or a Docx. In this way, writerReferenceDoc is like writerTemplate, which can hold templates of different formats. [API change] * Removed `--reference-docx` and `--reference-odt` options. * Added `--reference-doc` option.
2017-01-25Added `--fail-if-warnings` option.John MacFarlane1-0/+4
2017-01-25Added a `--quiet` option to suppress warnings.John MacFarlane1-0/+4
Use this also in Tests.Old.
2017-01-19Add breezeDark to the list of highlighting styles.John MacFarlane1-3/+4
2017-01-15Clarify that blank space is needed around footnotes.John MacFarlane1-1/+3
Closes #3352.
2017-01-03LaTeX template: allow passing `microtypeoptions` to microtype.John MacFarlane1-0/+3
Thanks to Vaclav Haisman.
2016-12-31Add '@*' usage (#3333)John Muccigrosso1-0/+8
* Add '@*' usage Added to nocite section to add the wildcard functionality. * Restoring accented characters. Removed trailing whitespace in new text too. * Removing unneeded single quotes.
2016-12-16MANUAL/README: Fixed broken links (#3316)ickc1-3/+3
MANUAL/README: "groff man" links to groff_man rather than groff MANUAL/README: Word docx link to wikipedia
2016-12-16MANUAL: note that --wrap=auto does not work in HTML output.John MacFarlane1-0/+1
2016-12-16MANUAL: Default --columns width is 72, not 80.John MacFarlane1-1/+1
2016-12-10Updated MANUAL date and man page.John MacFarlane1-1/+1
2016-12-07MANUAL: better docs on how to create a custom reference.docx.John MacFarlane1-8/+24
2016-12-03Minor spelling typos in the manual (#3273)Anthony Geoghegan1-23/+23
* Fix spelling typos: * hightlight * respecitively * codeblock – inconsistent with rest of document using “code block” * Use consistent case for proper nouns. For example: “ASCII”, “Unicode”, “Latin”, “JavaScript”, “CSS”.
2016-11-30Update date in manual and man page.John MacFarlane1-1/+1
2016-11-27Refactor top-level division selection (#3261)Albert Krewinkel1-7/+8
The "default" option is no longer represented as `Nothing` but via a new type constructor, making the `Maybe` wrapper superfluous. The default behavior of using heuristics can now be enabled explicitly by setting `--top-level-division=default`. API change (`Text.Pandoc.Options`): The `Division` type was renamed to `TopLevelDivision`. The `Section`, `Chapter`, and `Part` constructors were renamed to `TopLevelSection`, `TopLevelChapter`, and `TopLevelPart`, respectively. An additional `TopLevelDefault` constructor was added, which is now also the new default value of the `writerTopLevelDivision` field in `WriterOptions`.