Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-05-30 | Markdown writer: preserve `implicit_figures` with attributes... | John MacFarlane | 1 | -5/+11 | |
...even if `implicit_attributes` is not set, by rendering in raw HTML. Fixes #4677. | |||||
2018-05-30 | Muse reader: parse image URLs without "guard" and "takeExtension" | Alexander Krotov | 1 | -5/+3 | |
2018-05-28 | Muse reader: split link and image parsing into separate functions | Alexander Krotov | 1 | -10/+17 | |
2018-05-27 | Muse reader: parse links starting with "URL:" explicitly | Alexander Krotov | 1 | -12/+19 | |
instead of trying to strip "URL:" prefix after parsing. | |||||
2018-05-20 | Use haddock-library 1.6.0. | John MacFarlane | 1 | -13/+1 | |
2018-05-16 | LaTeX reader: parse more siunitx unit commands. | John MacFarlane | 1 | -1/+73 | |
Improves on earlier fix for #4296. | |||||
2018-05-16 | Custom writer: fix error message on script failure | Albert Krewinkel | 1 | -1/+1 | |
Error messages produced by Lua were not displayed by Pandoc. The writer was using the bottom-most stack element, while the error message is the top-most element. This lead to the writer to always show "Lua 5.3" as error message, disregarding the actual message. | |||||
2018-05-15 | rawLaTeXBlock: don't expand macros in macro definitions! | John MacFarlane | 1 | -11/+11 | |
Closes #4653. Note that this only affected LaTeX in markdown. Added regression test. | |||||
2018-05-14 | Docx writer: be sensitive to `toc` in YAML metadata. | John MacFarlane | 1 | -4/+11 | |
Closes #4645. | |||||
2018-05-14 | Make internal links work in ODT/OpenDocument. | John MacFarlane | 1 | -5/+11 | |
This adds proper bookmarks to the headers with non-null IDs. Closes #4358. | |||||
2018-05-12 | EPUB writer: properly escape pagetitle. | John MacFarlane | 1 | -3/+6 | |
Previously we weren't escaping `&` and other XML characters in the pagetitle, so a title containing a `&` would be invalid. | |||||
2018-05-09 | Org reader: fix image filename recognition | Albert Krewinkel | 1 | -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-09 | Restored and undeprecated gladtex for HTML math. | John MacFarlane | 3 | -1/+15 | |
- 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-09 | Fix regression with tex math environments in HTML + MathJax. | John MacFarlane | 1 | -11/+5 | |
Closes #4639. | |||||
2018-05-09 | Parsing: Lookahead for non-whitespace after single/double quote start. | John MacFarlane | 1 | -2/+4 | |
Closes #4637. | |||||
2018-05-08 | Fixed bug in uriPathToPath for Windows. | John MacFarlane | 1 | -1/+1 | |
2018-05-08 | Support underline in docx writer. | John MacFarlane | 1 | -0/+3 | |
Updated golden test and confirmed validity of file. Closes #4633. | |||||
2018-05-08 | Use uriPathToPath with file: URIs. | John MacFarlane | 2 | -3/+4 | |
Closes #4613. Needs testing on Windows. | |||||
2018-05-08 | Shared: add uriPathToPath. | John MacFarlane | 1 | -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-08 | LaTeX reader: handle `$` in `/text{..}` inside math. | John MacFarlane | 1 | -7/+22 | |
This fixes the main problem in #4576. There is still an issue about `\SI`, but that's a separate issue. | |||||
2018-05-07 | HTML writer: Strip links from headers when creating TOC. | John MacFarlane | 1 | -4/+12 | |
Otherwise the TOC entries will not link to the sections. Closes #4340. | |||||
2018-05-07 | Muse writer: add support for left-align and right-align classes | Alexander Krotov | 1 | -2/+8 | |
Address issue #4542 | |||||
2018-05-07 | Use Data.Maybe.fromMaybe | Alexander Krotov | 1 | -6/+3 | |
2018-05-05 | Revert piping html to pdf-engine (#4628) | Mauro Bieg | 1 | -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-04 | catch IO errors when writing media files, closes #4559 (#4619) | Francesco Occhipinti | 2 | -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-03 | Relicense TikiWiki reader as GPL v2 or above, like rest of pandoc. | John MacFarlane | 1 | -1/+1 | |
Author has given permission in an email, 3 May 2018. See #4591. | |||||
2018-04-30 | Don't lowercase custom writer filename | Alexander Krotov | 1 | -5/+3 | |
Fixes #4610 | |||||
2018-04-28 | FB2 reader: replace some errors with warnings | Alexander Krotov | 2 | -9/+18 | |
Now FB2 reader can read writer.fb2, which does not validate (yet). | |||||
2018-04-27 | RST writer: preserve empty inline parents in flatten (#4603) | Francesco Occhipinti | 1 | -2/+5 | |
2018-04-26 | LaTeX writer: Update \lstinline delimiters. (#4369) | Tim Parenti | 1 | -1/+1 | |
Don't delimit \lstinline with characters that are normally escaped. Follow-up to #4111, #4271. | |||||
2018-04-26 | Add FB2 reader (#4539) | Alexander | 3 | -0/+406 | |
2018-04-26 | Merge branch 'fb2-hrblankline' of https://github.com/labdsf/pandoc into ↵ | John MacFarlane | 1 | -7/+4 | |
labdsf-fb2-hrblankline | |||||
2018-04-26 | RST reader: fix anonymous redirects with backticks. | John MacFarlane | 1 | -3/+8 | |
Closes #4598. | |||||
2018-04-26 | Make `--ascii` work for all XML formats (ICML, OPML, JATS,...). | John MacFarlane | 1 | -2/+3 | |
Also document in manual. | |||||
2018-04-26 | Make `--ascii` work with `ms` and `man` output. | John MacFarlane | 1 | -8/+16 | |
2018-04-26 | RST reader: flatten nested inlines, closes #4368 (#4554) | Francesco Occhipinti | 1 | -3/+75 | |
nested inlines are not valid RST syntax, so we flatten them following some readability criteria discussed in #4368. | |||||
2018-04-26 | DocBook Reader: Read Latex math as output by asciidoctor (#4569) | Joe Hermaszewski | 1 | -11/+48 | |
2018-04-26 | Remove unused import | Alexander Krotov | 1 | -1/+1 | |
2018-04-26 | Muse reader: allow nested footnotes | Alexander Krotov | 1 | -1/+1 | |
2018-04-26 | Muse reader: use Data.Map.member instead of lookup | Alexander Krotov | 1 | -3/+3 | |
2018-04-26 | Simplify curSlideHasSpeakerNotes | Alexander Krotov | 1 | -4/+2 | |
2018-04-25 | LaTeX reader: fixed previous commit. | John MacFarlane | 1 | -3/+3 | |
2018-04-25 | LaTeX reader: Improve handling of raw LaTeX (for markdown etc.). | John MacFarlane | 1 | -31/+32 | |
Previously there were some bugs in how macros were handled. Closes #4589, #4594. | |||||
2018-04-25 | LaTeX reader: support `\MakeUppercase`, `\MakeLowercase'. | John MacFarlane | 1 | -1/+17 | |
Also `\MakeTextUppercase`, `\MakeTextLowercase` from textcase and `\uppercase`, `\lowercase`. We don't mimic exactly the quirky semantic differences between these commands, but just uppercase/lowercase regular strings within them. We leave commands and code alone. Closes #4595. | |||||
2018-04-25 | Removed deprecated ancient HTML math methods. | John MacFarlane | 3 | -68/+0 | |
Removed `--latexmathml`, `--gladtex`, `--mimetex`, `--jsmath`, `-m`, `--asciimathml` options. Removed `JsMath`, `LaTeXMathML`, and `GladTeX` constructors from `Text.Pandoc.Options.HTMLMathMethod` [API change]. Removed unneeded data file LaTeXMathML.js and updated tests. Bumped version to 2.2. | |||||
2018-04-25 | Added licensing headers for DocBook, EPUB, JATS, OPML readers. | John MacFarlane | 4 | -1/+118 | |
See #4592. | |||||
2018-04-22 | RST reader: allow < 3 spaces indent under directives. | John MacFarlane | 1 | -3/+7 | |
Closes #4579. | |||||
2018-04-21 | Markdown reader/writer: spacing adjustments in tables. | John MacFarlane | 2 | -4/+12 | |
* Markdown writer now includes a blank line at the end of the row in a single-row multiline table, to prevent it from being interpreted as a simple table. Closes #4578. * Markdown reader does a better job computing the relative width of the last column in a multiline table, so we can round-trip tables without constantly shrinking the last column. | |||||
2018-04-21 | makePDF: Don't try to convert eps files. | John MacFarlane | 1 | -0/+2 | |
pdflatex converts them itself, and JuicyPixels can't do it. See #2067. | |||||
2018-04-21 | makePDF: For pdflatex, use a temp dir in the working directory. | John MacFarlane | 1 | -3/+5 | |
Otherwise we can have problems with things like epstopdf.pl, which pdflatex runs to convert eps files and which won't run on a file above the working directory in restricted mode. |