summaryrefslogtreecommitdiff
path: root/MANUAL.txt
Commit message (Collapse)AuthorAge
* Let `--eol` take `native` as an argument.John MacFarlane2017-05-22
| | | | | Add `Native` to the `LineEnding` type. Make `optEol` a `Native` rather than `Maybe Native`.
* Finished implemtation of `--resource-path`.John MacFarlane2017-05-21
| | | | | | * Default is just working directory. * Working directory must be explicitly specifide if `--resource-path` option is used.
* Added `--resource-path=SEARCHPATH` command line option.John MacFarlane2017-05-20
| | | | | | | | | | | | | | | | 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.
* Update Figure With Caption -> Captioned Figure in MANUAL.txt.John MacFarlane2017-05-18
|
* Add `--eol` flag and writer option to control line endings.Stefan Dresselhaus2017-05-18
| | | | | | | | | | | | * 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.
* MANUAL: remove refs to highlighting-kate.John MacFarlane2017-05-15
| | | | Closes #3672.
* Update dates in copyright noticesAlbert Krewinkel2017-05-13
| | | | | This follows the suggestions given by the FSF for GPL licensed software. <https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html>
* Updated documentation for `--extract-media`.John MacFarlane2017-05-07
|
* Small reformatting in MANUAL.John MacFarlane2017-05-06
|
* Use lowercase a4 for latex papersize example.John MacFarlane2017-04-12
|
* Fixed a typo (#3562)Sam Kim2017-04-07
|
* Ms writer improvements:John MacFarlane2017-04-04
| | | | | - added some variables to the default template. - cleaner output for images (stringify alt text).
* MANUAL: document highlighting support in ms.John MacFarlane2017-04-02
|
* Allow a theme file as argument to `--highlight-style`.John MacFarlane2017-04-01
| | | | Also include a sample, `default.theme`, in `data/`.
* Allow dynamic loading of syntax definitions.John MacFarlane2017-03-30
| | | | | | | | | | | | | | | | | 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.
* Added JATS writer.John MacFarlane2017-03-30
| | | | | | | * New module Text.Pandoc.Writer.JATS exporting writeJATS. * New output format `jats`. * Added tests. * Revised manual.
* MANUAL: document that html4 is technically XHTML 1.0 transitional.John MacFarlane2017-03-27
|
* Update date on MANUALJohn MacFarlane2017-03-26
|
* Ms writer: support --toc, date, abstract.John MacFarlane2017-03-24
|
* Allow creation of pdf via groff ms and pdfroff.John MacFarlane2017-03-23
| | | | pandoc -t ms -o output.pdf input.txt
* Add `space_in_atx_header` extension.John MacFarlane2017-03-20
| | | | | | | | | | | | | | | | | 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.
* Lua filters (#3514)Albert Krewinkel2017-03-20
| | | | | | | | | * 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.
* MANUAL: document `--abbreviations`.John MacFarlane2017-03-16
| | | | Closes #256.
* Docx writer: Support 9 levels of headers.John MacFarlane2017-03-13
| | | | Closes #1642.
* MANUAL: Small clarification in YAML metadata section.John MacFarlane2017-03-12
|
* Clarify that meta-json contains transformed values (#3491)Jakob Voß2017-03-07
| | | 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.
* Document that html5 output is polyglot compatible.John MacFarlane2017-03-04
|
* Removed `--epub-stylesheet`; use `--css` instead.John MacFarlane2017-02-27
| | | | | | | | | | | | * 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.
* `--self-contained`: don't incorporate elements with `data-external="1"`.John MacFarlane2017-02-26
| | | | | | | | | 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.
* MANUAL.txt explain --webtex SVG url (#3471)Mauro Bieg2017-02-26
|
* Add `sourcefile` and `outputfile` template variables (#3439)Roland Hieber2017-02-25
| | | Closes #3431.
* Make `--ascii` work with DocBook output too.John MacFarlane2017-02-25
|
* Special-case .stretch class for images in reveal.js.John MacFarlane2017-02-23
| | | | | | | | 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.
* MANUAL: Document that content above slide-level will be omitted...John MacFarlane2017-02-22
| | | | in slide shows. See #3460, #2265.
* Added --log option to save log messages in JSON format to a file.John MacFarlane2017-02-11
| | | | See #3392.
* Removed --parse-raw and readerParseRaw.John MacFarlane2017-02-06
| | | | | | | | | | | | | | | | | | | | | | | 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
* default.beamer changes (Thomas Hodgson):John MacFarlane2017-02-06
| | | | | | - Use dvipsnames options when colorlinks specified (otherwise we get an error for 'maroon') - Added titegraphic and logo variables.
* Use unicode-math by default in default.latex template.John MacFarlane2017-02-06
| | | | | | | mathspec will be used in xelatex if the `mathspec` variable is set; otherwise unicode-math will be used. Thanks to Václav Haisman.
* Allow user to specify User-Agent (#3421)Thenaesh Elango2017-02-05
| | | | | | | | | 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>
* Manual: Mention limitations of Literate Haskell Support (#3413)Joachim Breitner2017-02-03
| | | This fixes #3410.
* HTML and DocBook writers: fix internal links with writerIdentifierPrefix opt ↵Mauro Bieg2017-02-03
| | | | | (#3398) closes #3397
* `--mathml` and MathML in HTMLMathMethod longer take an argument.John MacFarlane2017-01-30
| | | | | The argument was for a bridge javascript that used to be necessary in 2004. We have removed the script already.
* Make epub an alias for epub3, not epub2.John MacFarlane2017-01-30
|
* Merge branch 'typeclass'John MacFarlane2017-01-29
|\
| * Split writeDocbook into writeDocbook4, writeDocbook5.John MacFarlane2017-01-26
| | | | | | | | | | | | | | Removed writerDocbookVersion in WriterOptions. Renamed default.docbook template to default.docbook4. Allow docbook4 as an output format. But alias docbook = docbook4.
| * EPUB writer: split writeEPUB into writeEPUB2, writeEPUB3.John MacFarlane2017-01-26
| | | | | | | | Also include explicit epub2 output format in CLI tool.
| * Removed duplicate name in authorsJohn MacFarlane2017-01-25
| |
| * Removed writerTeXLigatures.John MacFarlane2017-01-25
| | | | | | | | | | | | Make `smart` extension work in LaTeX/ConTeXt writers instead. Instead of `-t latex --no-tex-ligatures`, do `-t latex-smart`.
| * Made `smart` extension default for pandoc markdown.John MacFarlane2017-01-25
| | | | | | | | Updated tests.
| * Make the `smart` extension affect the Markdown writer.John MacFarlane2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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