aboutsummaryrefslogtreecommitdiff
path: root/MANUAL.txt
AgeCommit message (Collapse)AuthorFilesLines
2017-05-21Finished implemtation of `--resource-path`.John MacFarlane1-1/+7
* Default is just working directory. * Working directory must be explicitly specifide if `--resource-path` option is used.
2017-05-20Added `--resource-path=SEARCHPATH` command line option.John MacFarlane1-0/+6
SEARCHPATH is separated by the usual character, depending on OS (: on unix, ; on windows). Note: This does not yet work for PDF output, because the routine that creates PDFs runs outside PandocMonad. (This has to do with its use of inTemporaryDirectory and its interaction with our exceptions.) The best solution would be to figure out how to move the PDF creation routines into PandocMonad. Second-best, just pass an extra parameter in? See #852.
2017-05-18Update Figure With Caption -> Captioned Figure in MANUAL.txt.John MacFarlane1-1/+1
2017-05-18Add `--eol` flag and writer option to control line endings.Stefan Dresselhaus1-0/+7
* Add `--eol=crlf|lf` CLI option. * Add `optEol` to `WriterOptions` [API change] * In `Text.Pandoc.UTF8`, add new functions parameterized on `Newline`: `writeFileWith`, `putStrWith`, `putStrLnWith`, `hPutStrWith`, `hPutStrLnWith`. [API change] * Document option in MANUAL.txt. Closes #3663. Closes #2097.
2017-05-15MANUAL: remove refs to highlighting-kate.John MacFarlane1-2/+2
Closes #3672.
2017-05-13Update dates in copyright noticesAlbert Krewinkel1-1/+1
This follows the suggestions given by the FSF for GPL licensed software. <https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html>
2017-05-07Updated documentation for `--extract-media`.John MacFarlane1-4/+9
2017-05-06Small reformatting in MANUAL.John MacFarlane1-41/+45
2017-04-12Use lowercase a4 for latex papersize example.John MacFarlane1-1/+1
2017-04-07Fixed a typo (#3562)Sam Kim1-1/+1
2017-04-04Ms writer improvements:John MacFarlane1-0/+15
- added some variables to the default template. - cleaner output for images (stringify alt text).
2017-04-02MANUAL: document highlighting support in ms.John MacFarlane1-6/+6
2017-04-01Allow a theme file as argument to `--highlight-style`.John MacFarlane1-1/+7
Also include a sample, `default.theme`, in `data/`.
2017-03-30Allow dynamic loading of syntax definitions.John MacFarlane1-0/+8
See #3334. * Add writerSyntaxMap to WriterOptions. * Highlighting: added parameter for SyntaxMap to highlight. * Implemented --syntax-definition option. TODO: [ ] Figure out whether we want to have the xml parsing depend on the dtd (it currently does, and fails unless the language.dtd is found in the same directory). [ ] Add an option to read a KDE syntax highlighting theme as a custom style. [ ] Add tests.
2017-03-30Added JATS writer.John MacFarlane1-6/+6
* New module Text.Pandoc.Writer.JATS exporting writeJATS. * New output format `jats`. * Added tests. * Revised manual.
2017-03-27MANUAL: document that html4 is technically XHTML 1.0 transitional.John MacFarlane1-2/+2
2017-03-26Update date on MANUALJohn MacFarlane1-20/+22
2017-03-24Ms writer: support --toc, date, abstract.John MacFarlane1-3/+4
2017-03-23Allow creation of pdf via groff ms and pdfroff.John MacFarlane1-6/+8
pandoc -t ms -o output.pdf input.txt
2017-03-20Add `space_in_atx_header` extension.John MacFarlane1-0/+6
This is enabled by default in pandoc and GitHub markdown but not the other flavors. This requirse a space between the opening #'s and the header text in ATX headers (as CommonMark does but many other implementations do not). This is desirable to avoid falsely capturing things ilke #hashtag or #5 Closes #3512.
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