aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2017-08-30Document fallback functions in lua filtersAlbert Krewinkel1-0/+5
2017-08-29Muse reader: parse verse markup (#3882)Alexander2-1/+45
2017-08-29hlint Muse reader (#3884)Alexander1-4/+3
2017-08-29Add a type sig to satisfy ghc 7.10.3.John MacFarlane1-0/+1
2017-08-28HTML writer: ensure we don't get two style attributes for width & height.John MacFarlane1-2/+8
2017-08-28RST reader: handle blank lines correctly in line blocks (#3881)Alexander2-1/+14
Previously pandoc would sometimes combine two line blocks separated by blanks, and ignore trailing blank lines within the line block. Test is checked to be consisted with http://rst.ninjs.org/
2017-08-27RST reader: Fixed `..include::` directive.John MacFarlane4-9/+17
Closes #3880.
2017-08-26Markdown writer: don't crash on Str "".John MacFarlane1-1/+1
2017-08-26Combine LaTeX/Beamer templatesAndrew Dunning1-1/+97
All conditionals use the `beamer` variable set by the writer. Closes #3878.
2017-08-25LaTeX reader: improved support for \hyperlink, \hypertarget.John MacFarlane2-6/+61
Closes #2549.
2017-08-25Allow setting Japanese fonts when using LuaLaTeX (#3873)Václav Haisman1-0/+13
...by using the `luatexja-fontspec` and `luatexja-preset` packages. Use existing `CJKmainfont` and `CJKoptions` template variables. Add `luatexjafontspecoptions` for `luatexja-fontspec` and `luatexjapresetoptions` for `luatexja-preset`.
2017-08-25Muse reader: parse <verse> tag (#3872)Alexander2-1/+42
2017-08-25Add a travis build for ghc 8.2.1 + cabal 2.0.John MacFarlane1-0/+4
2017-08-24LaTeX reader: RN and Rn, from biblatex (#3854)bucklereed2-1/+52
2017-08-23add documentation of limitations of grid tables (#3864)Stephen McDowell1-0/+12
- see discussion: https://groups.google.com/forum/#!topic/pandoc-discuss/r9fAeeV3dSw - grid tables cannot have row spans or column spans
2017-08-23Name change OSX -> macOS (#3869)ickc9-21/+21
* Name change OSX -> macOS fix commit c96b64e This commit finishes remaining osx to macOS change, as well as replacing MacOS with macOS. The reason for the later one is because the "correct" casing of macOS is like that. Apple styles it to looks like iOS, watchOS, tvOS, etc. And unfortunately they all start with a lowercase letter, making propercasing (or even title-casing) odd. * fix casing of Linux, UNIX, and Windows
2017-08-23Use lts-9.1 in travis.John MacFarlane2-2/+2
2017-08-23Tweak travis stack build command (test --test -> build --test).John MacFarlane1-1/+1
2017-08-23Revert "Build GHC 8.2.1 with one core only"Albert Krewinkel1-1/+1
This reverts commit 9930e8582dbe6f34cb37e381ace2ef9fbbac957d. This was intended for testing only and was pushed by mistake.
2017-08-23Text.Pandoc.Lua: fix fallback functions with GHC 7.8Albert Krewinkel1-2/+2
2017-08-23Build GHC 8.2.1 with one core onlyAlbert Krewinkel1-1/+1
Avoid out-of-memory error on travis.