Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-05-30 | Clarify how Ext_east_asian_line_breaks extension works (API docs). | kaizhang91 | 1 | -1/+4 | |
Note that it will not take effect when readers/writers are called as libraries (#4674). | |||||
2018-05-30 | Revert "ALlow compilation with haddock-library 1.4 and above." | John MacFarlane | 1 | -14/+1 | |
This reverts commit 50c71b5bc5db797ac46550ed54e91196269716e3. This was a bad idea, since tests depend on recent haddock-library. We'd be able to build but fail tests. | |||||
2018-05-30 | ALlow compilation with haddock-library 1.4 and above. | John MacFarlane | 1 | -1/+14 | |
haddock-library-1.6 requires Cabal >= 2.0. This change allows systems with older Cabal versions to build pandoc. | |||||
2018-05-30 | LaTeX reader `rawLaTeXBlock`: handle macros that resolve to a... | John MacFarlane | 1 | -1/+17 | |
...`\begin` or `\end`. Fixes #4667. | |||||
2018-05-30 | LaTeX reader: tighten up reading of beamer overlay specifications. | John MacFarlane | 1 | -9/+20 | |
Ideally we'd turn these on only when reading beamer, but currently beamer is not distinguished from latex as an input format. This commit also activates parsing of overlay specifications after commands in general (e.g. `\item`), since they can occur in many contexts in beamer. Closes #4669. | |||||
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. |