aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-09-04Plain writer: don't use   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.
2017-08-22Muse reader: avoid crashes on multiparagraph inline tags (#3866)Alexander2-2/+12
Test checks that behavior is consistent with Amusewiki
2017-08-22Muse reader: do not allow closing tags with EOF (#3863)Alexander2-3/+8
This behavior is compatible to Amusewiki
2017-08-22Text.Pandoc.Lua: support Inline and Block catch-allsAlbert Krewinkel4-7/+27
Try function `Inline`/`Block` if no other filter function of the respective type matches an element. Closes: #3859
2017-08-22Text.Pandoc.Lua: respect metatable when getting filtersAlbert Krewinkel3-52/+102
This change makes it possible to define a catch-all function using lua's metatable lookup functionality. function catch_all(el) … end return { setmetatable({}, {__index = function(_) return catch_all end}) } A further effect of this change is that the map with filter functions now only contains functions corresponding to AST element constructors.
2017-08-22Travis: Use ghc 8.2.1 in nightly stack build.John MacFarlane1-1/+1
2017-08-22Undid last travis changes.John MacFarlane1-15/+0
2017-08-22Travis: Removed sudos.John MacFarlane1-9/+9
2017-08-22Travis: shut down essential services and show memory.John MacFarlane1-0/+15
Also after failure.
2017-08-21Updated stack.pkg.yaml.John MacFarlane1-1/+2
2017-08-21Travis: use lts-9 with ghc 8.0.2 stack build. Remove swap stuff.John MacFarlane1-6/+1
It didn't help.
2017-08-21Added introduction and lightly edited rest of lua-filters document.John MacFarlane1-71/+150
See #3608.
2017-08-21travis: create some swap space.John MacFarlane1-0/+5
This may help with regex-tdfa build failures...
2017-08-21Small improvement to #3855 - move lang attribute up.John MacFarlane2-6/+5
So we don't have a dangling line with the closing `>` when `lang` is not set.
2017-08-21docbook5 template: use lang and subtitle variables (#3855)Jens Getreu2-2/+9
2017-08-21Muse reader: add definition list support (#3860)Alexander2-1/+80
2017-08-21doc/lua-filter.md: Add metadata variable replacment exampleAlbert Krewinkel1-0/+58
2017-08-21data/pandoc.lua: fix documentationAlbert Krewinkel1-3/+4
Multiple documentation mistakes were fixed.