aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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