aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-09-12Use defaultLatexEngine instead of `head latexEngines`.John MacFarlane1-3/+9
Partial functions make me nervous.
2017-09-12Update MANUAL.txt (#3919)Ian1-1/+2
Add URL for Prince HTML > PDF engine
2017-09-11Support for PDF generation via `weasyprint` and `prince` (#3909)Mauro Bieg6-76/+127
* Rename --latex-engine to --pdf-engine * In `Text.Pandoc.Options.WriterOptions`, rename `writerLaTeXEngine` to `writerPdfEngine` and `writerLaTeXArgs` to `writerPdfArgs`. * Add support for `weasyprint` and `prince`, in addition to `wkhtmltopdf`, for PDF generation via HTML (closes #3906). * `Text.Pandoc.PDF.html2pdf`: use stdin instead of intermediate HTML file
2017-09-11Merge pull request #3911 from labdsf/muse-reader-bracesJohn MacFarlane2-1/+41
Muse reader: parse {{{ }}} example syntax
2017-09-11Merge pull request #3917 from labdsf/muse-reader-emphasis-wordJohn MacFarlane2-4/+21
Muse reader: allow inline markup to be followed by punctuation
2017-09-11Muse reader: allow inline markup to be followed by punctuationAlexander Krotov2-4/+21
Previously code was not allowed to be followed by comma, and emphasis was allowed to be followed by letter.
2017-09-11Muse reader: parse {{{ }}} example syntaxAlexander Krotov2-1/+41
2017-09-11Merge pull request #3913 from labdsf/muse-reader-verbatimJohn MacFarlane2-1/+8
Muse reader: parse verbatim tag
2017-09-11Muse reader: parse verbatim tagAlexander Krotov2-1/+8
2017-09-10Merge pull request #3908 from labdsf/muse-reader-exampleJohn MacFarlane2-1/+35
Muse reader: trim newlines from <example>s
2017-09-10Muse reader: trim newlines from <example>sAlexander Krotov2-1/+35
2017-09-09Require skylighting 0.3.4.1 or higher.John MacFarlane1-2/+2
2017-09-09Updated lhs-test for new skylighting.John MacFarlane2-74/+108
2017-09-09Use skylighting 0.3.4.1.John MacFarlane2-2/+2
2017-09-09Merge pull request #3904 from labdsf/muse-reader-codeJohn MacFarlane2-11/+38
Muse reader: debug inline code markup
2017-09-09Muse reader: debug inline code markupAlexander Krotov2-11/+38
2017-09-08Adjusted some tests for last commit.John MacFarlane2-0/+2
2017-09-08Merge pull request #3902 from adunning/euroJohn MacFarlane5-14/+4
Write euro symbol directly in LaTeX
2017-09-08Write euro symbol directly in LaTeXAndrew Dunning5-14/+4
The textcomp package allows pdfLaTeX to parse `€` directly, making the \euro command unneeded. Closes #3801.
2017-09-08Removed old beamer template.John MacFarlane4-286/+2
We now use the default.latex template for both latex and beamer. It contains conditionals for the beamer-specific things. `pandoc -D beamer` will return this template.
2017-09-08Merge pull request #3879 from adunning/patch-1John MacFarlane2-15/+106
Combine LaTeX/Beamer templates
2017-09-08Use starred versions of xcolor namesAndrew Dunning1-1/+1
Prevents changes to documents defined using the dvipsnames list (e.g. `Blue` gives a different result with svgnames enabled).
2017-09-08Note use of xcolor in manual.Andrew Dunning1-12/+4
2017-09-08Merge branch 'master' into patch-1Andrew Dunning24-222/+1193
2017-09-07LaTeX template: load polyglossia after header-includes.John MacFarlane2-15/+15
It needs to be loaded as late as possible. Closes #3898.
2017-09-07Markdown writer: Escape pipe characters when `pipe_tables` enabled.John MacFarlane2-1/+2
Closes #3887.
2017-09-07LaTeX writer: use proper code for list enumerators.John MacFarlane1-2/+13
This should fix problems with lists that don't use arabic numerals. Closes #3891.
2017-09-07Merge pull request #3885 from tarleb/lua-module-docsJohn MacFarlane3-3/+781
Lua module documentation
2017-09-07Use xcolor for colorlinks optionAndrew Dunning1-2/+5
Beamer loads `xcolor` rather than `color`, and thus the `dvipsnames` option doesn't take effect. This also provides a wider range of colour selections with the `svgnames` option. Closes #3877.
2017-09-07cabal: add custom-setup stanza, lowercase field names.John MacFarlane1-93/+96
2017-09-06Add simple Emacs mode to help with Pandoc templates editing. (#3889)Václav Haisman1-0/+58
tools/pandoc-template-mode.el
2017-09-06Muse reader: Allow finishing header with EOF (#3897)Alexander2-11/+15
2017-09-05LaTeX reader: Better support for ogonek accents.John MacFarlane1-0/+10
2017-09-05Markdown writer: make Span with null attribute transparent.John MacFarlane1-4/+3
That is, we don't use brackets or `<span>` tags to mark spans when there are no attributes; we simply output the contents.
2017-09-05LaTeX reader: Improve handling of accents.John MacFarlane1-15/+17
Handle ogonek, and fall back correctly with forms like `\"{}`.
2017-09-05LaTeX reader: support `\k` ogonek accent.John MacFarlane1-0/+5
2017-09-05Muse reader: require at least one space char after * in header (#3895)Alexander2-1/+2
2017-09-05Another try to get linux static linking working again.John MacFarlane1-2/+2
2017-09-04Plain writer: don't use &nbsp; to separate list and indented code.John MacFarlane1-3/+6
There's no need for it in this context, since this isn't to be interpreted using Markdown rules.
2017-09-04Make sure bash is available in linux package build environment.John MacFarlane1-1/+1
2017-09-04Muse reader: parse <div> tag (#3888)Alexander2-0/+15
2017-09-04Revert use of llvm backend in static linux build.John MacFarlane1-2/+2
It was failing for reasons I couldn't diagnose.
2017-09-04HTML reader: Fix pattern match.John MacFarlane1-1/+1
2017-09-04Use latest pandoc-citeproc in stack.pkg.yaml.John MacFarlane1-1/+1
2017-09-04Add 'static' Cabal flag, use it for linux statically linked.John MacFarlane2-5/+12
2017-09-01Org writer: stop using raw HTML to wrap divsAlbert Krewinkel2-37/+40
Div's are difficult to translate into org syntax, as there are multiple div-like structures (drawers, special blocks, greater blocks) which all have their advantages and disadvantages. Previously pandoc would use raw HTML to preserve the full div information; this was rarely useful and resulted in visual clutter. Div-rendering was changed to discard the div's classes and key-value pairs if there is no natural way to translate the div into an org structure. Closes: #3771
2017-08-31lua-filters.md: append docs for pandoc's lua moduleAlbert Krewinkel1-1/+736
The documentation was generated from `data/pandoc.lua` using the following command: ldoc -l doc -d /tmp data/pandoc.lua; pandoc -t markdown --columns=65 \ --atx-headers /tmp/index.html >> \ doc/lua-filters.md
2017-08-31data/pandoc.lua: fix typos in documentationAlbert Krewinkel1-2/+2
2017-08-31Add ldoc template for lua module documentationAlbert Krewinkel1-0/+38
The template can be used instead of the default template by calling ldoc with the `-l doc` option, where *doc* is the directory of the template.
2017-08-30HTML reader: improved handling of figure.John MacFarlane1-17/+17
Previously we had a parse failure if the figure contained anything besides an image and caption.