aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-05-14Make internal links work in ODT/OpenDocument.John MacFarlane2-49/+64
This adds proper bookmarks to the headers with non-null IDs. Closes #4358.
2018-05-14Require texmath >= 0.11.John MacFarlane1-1/+1
Although pandoc compiles with 0.10, the tests assume texmath 0.11. Closes #4651.
2018-05-12EPUB writer: properly escape pagetitle.John MacFarlane1-3/+6
Previously we weren't escaping `&` and other XML characters in the pagetitle, so a title containing a `&` would be invalid.
2018-05-11Removed inadvertently added .orig files from repository.John MacFarlane79-10389/+0
These were added by https://github.com/schrieveslaach/pandoc/commit/96d10c72cc95e56c9e49db3e6db7118e89d1f1e0 Closes #4648.
2018-05-11Dockerfile fixes.John MacFarlane1-1/+2
Note that stack no longer provides a static binary, so we use an older one from their GitHub releases.
2018-05-10Update changelog.John MacFarlane1-1/+1
2018-05-10Update version on man page.John MacFarlane1-1/+1
2018-05-10Bump version to 2.2.1.John MacFarlane1-1/+1
2018-05-10Update manual date and man page.John MacFarlane2-8/+10
2018-05-10Update changelog.John MacFarlane1-3/+15
2018-05-10Use texmath-0.11.John MacFarlane4-4/+4
2018-05-09MANUAL: clarify pipe table width calculation (#4630)Mauro Bieg1-4/+6
closes #4520
2018-05-09Org reader: fix image filename recognitionAlbert Krewinkel1-6/+7
Use a function from the *filepath* library to check whether a string is a valid file name. The custom validity checker that was used before gave wrong results, e.g. for absolute file paths on Windows (kawabata/ox-pandoc#52).
2018-05-09Update changelog.John MacFarlane2-0/+59
2018-05-09Restored and undeprecated gladtex for HTML math.John MacFarlane5-7/+67
- Added `GladTeX` constructor to `Text.Pandoc.Options.HTMLMathMethod` [API change, reverts removal in v2.2] - Restored and undeprecated `--gladtex` option, removed in v2.2. Closes #4607.
2018-05-09Fix regression with tex math environments in HTML + MathJax.John MacFarlane2-11/+15
Closes #4639.
2018-05-09Parsing: Lookahead for non-whitespace after single/double quote start.John MacFarlane2-2/+10
Closes #4637.
2018-05-08Another try at test-pandoc-utils.lua on windows.John MacFarlane1-3/+2
2018-05-08test-pandoc-utils.lua - add diagnostic for windows test.John MacFarlane1-0/+1
2018-05-08More adjustments to test-pandoc-utils.lua.John MacFarlane1-5/+4
We need to find something that will work on windows.
2018-05-08test-pandoc-utils.lua - use tr instead of sed.John MacFarlane1-1/+1
It should be installed on all *nix systems.
2018-05-08Fixed bug in uriPathToPath for Windows.John MacFarlane1-1/+1
2018-05-08test-pandoc-utils.lua: workaround some local differences in 'echo'.John MacFarlane1-2/+2
2018-05-08test-pandoc-utils.lua: remove problems with missing `/bin/false`.John MacFarlane1-13/+22
Previously it was assumed that the system would have `/bin/false` and `/bin/sed`, and these tests were skipped otherwise. On MacOS, these utilities are located in `/usr/bin`. Fixed by just using `sed` and `false` -- these should always be in the path. Removed the "skipping" behavior, replaced with a check for Windows. On Windowns, we use `echo` and `cd`, which should always exist. Not yet checked on Windows.
2018-05-08Support underline in docx writer.John MacFarlane2-0/+3
Updated golden test and confirmed validity of file. Closes #4633.
2018-05-08Use uriPathToPath with file: URIs.John MacFarlane2-3/+4
Closes #4613. Needs testing on Windows.
2018-05-08Shared: add uriPathToPath.John MacFarlane1-0/+14
This adjusts the path from a file: URI in a way that is sensitive to Windows/Linux differences. Thus, on Windows, `/c:/foo` gets interpreted as `c:/foo`, but on Linux, `/c:/foo` gets interpreted as `/c:/foo`. See #4613.
2018-05-08MANUAL: clarify truthiness in template variables (#4631)Mauro Bieg1-4/+18
closes #2281
2018-05-08Add test for #4576.John MacFarlane1-0/+6
Closes #4576.
2018-05-08LaTeX reader: handle `$` in `/text{..}` inside math.John MacFarlane1-7/+22
This fixes the main problem in #4576. There is still an issue about `\SI`, but that's a separate issue.
2018-05-07HTML writer: Strip links from headers when creating TOC.John MacFarlane1-4/+12
Otherwise the TOC entries will not link to the sections. Closes #4340.
2018-05-07Muse writer: add support for left-align and right-align classesAlexander Krotov2-2/+14
Address issue #4542
2018-05-07Use Data.Maybe.fromMaybeAlexander Krotov1-6/+3
2018-05-05Revert piping html to pdf-engine (#4628)Mauro Bieg1-50/+46
* Revert "PDF: Use withTempDir in html2pdf." We're going back to using tmpFile instead of piping * Revert "html2pdf: inject base tag wih current working directory (#4443)" Fixes #4413
2018-05-04catch IO errors when writing media files, closes #4559 (#4619)Francesco Occhipinti2-1/+15
If we do not catch these errors, any malformed entry in a media bag could cause the loss of a whole document output. An example of malformed entry is an entry with an empty file path.
2018-05-03Add COPYRIGHT stanza for FB2 reader.John MacFarlane1-0/+6
2018-05-03Relicense TikiWiki reader as GPL v2 or above, like rest of pandoc.John MacFarlane2-2/+2
Author has given permission in an email, 3 May 2018. See #4591.
2018-05-03Note on the effect of --standalone on native output.John MacFarlane1-1/+2
2018-05-02MANUAL.txt fix two internal linksMauro Bieg1-2/+2
2018-05-01Update tests for #4605.John MacFarlane2-2/+2
2018-05-01new Greek fallback typeface (would fix #4405) (#4605)Pablo Rodríguez1-1/+1
CMU Serif would give better typographic results than the current Greek fallback DejaVu Serif.
2018-05-01Make template polyglot (#4606)OvidiusCicero1-1/+1
This line: `<link rel="stylesheet" href="$css$">` is not valid XML. Making it self-closing makes the template polyglot.
2018-04-30Don't lowercase custom writer filenameAlexander Krotov1-5/+3
Fixes #4610
2018-04-29Fix another changelog typoJohn MacFarlane1-1/+1
2018-04-29Test Lua filter converting display math to inline mathAlexander Krotov2-1/+18
2018-04-28FB2 reader: replace some errors with warningsAlexander Krotov2-9/+18
Now FB2 reader can read writer.fb2, which does not validate (yet).
2018-04-27Add Joe Hermaszewski to authorsJohn MacFarlane1-0/+1
2018-04-27Fix changelog typoJohn MacFarlane1-1/+1
2018-04-27Fix Haskell link in README.John MacFarlane2-3/+4
2018-04-27RST writer: preserve empty inline parents in flatten (#4603)Francesco Occhipinti2-2/+8