Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-02-23 | Use PandocIOError in Class. | John MacFarlane | 2 | -41/+24 | |
2017-02-23 | Error: Changed PandocFileReadError to PandocIOError | John MacFarlane | 1 | -2/+3 | |
2017-02-23 | Shared.openURL: Changed type from an Either. | John MacFarlane | 1 | -6/+9 | |
Now it will just raise an exception to be trapped later. | |||||
2017-02-23 | PDF: make sure that verbosity is respected when we fetch items. | John MacFarlane | 1 | -10/+19 | |
2017-02-23 | Put makeSelfContained in PandocMonad instead of IO. | John MacFarlane | 3 | -49/+58 | |
This removes the need to pass MediaBag around and improves exceptions. It also opens up the possibility of using makeSelfContained purely. | |||||
2017-02-23 | Pretty: simplified definition of realLength. | John MacFarlane | 1 | -1/+1 | |
2017-02-22 | Added emf to mimeTypes with type application/x-msmetafile. | John MacFarlane | 1 | -0/+1 | |
See #1713. | |||||
2017-02-22 | When parsing raw LaTeX commands, include trailing space. | John MacFarlane | 1 | -2/+2 | |
Otherwise things like `\noindent foo` break and turn into `\noindentfoo`. Affects `-f latex+raw_tex` and `-f markdown` (and other formats that allow `raw_tex`). Closes #1773. | |||||
2017-02-22 | imageSize interface change | mb21 | 5 | -10/+9 | |
`imageSize img` is now `imageSize opts img` | |||||
2017-02-22 | make imageSize recognize basic SVG dimensions, see #3462 | mb21 | 2 | -16/+49 | |
2017-02-21 | MediaWiki reader: ensure that list starts begin at left margin. | John MacFarlane | 1 | -9/+18 | |
Including when they're in tables or other list items. Closes #2606. | |||||
2017-02-21 | MediaWiki writer: Remove newline before `</ref>`. | John MacFarlane | 1 | -2/+2 | |
Closes #2652. | |||||
2017-02-21 | MediaWiki writer: add display attribute on `<math>` tags. | John MacFarlane | 1 | -2/+5 | |
This allows display math to be rendered properly. Closes #3452. | |||||
2017-02-21 | MediaWiki reader: fixed more table issues. | John MacFarlane | 1 | -9/+7 | |
Closes #2649. | |||||
2017-02-21 | MediaWiki reader: Allow blank line after table start. | John MacFarlane | 1 | -1/+1 | |
See #2649. | |||||
2017-02-21 | MediaWiki tables: allow extra hyphens after `|-` in tables. | John MacFarlane | 1 | -1/+1 | |
I didn't see this documented anywhere, but it seems to be allowed (and common). See #2649. This addresses some of the cases there, but not all. | |||||
2017-02-21 | MediaWiki writer: Updated list of syntax highlighting languages. | John MacFarlane | 1 | -17/+641 | |
Now 'r' gets you `<source>` rather than `<code>` (among others). Closes #3461. | |||||
2017-02-20 | Use lazy loading for reveal.js slide shows. | John MacFarlane | 2 | -8/+19 | |
* In HTML writer, with reveal.js we use data-src instead of src for images. * In SelfContained, we also load resources from data-src. Closes #2283. | |||||
2017-02-20 | Added Functor constraint to keep ghc 7.8.4 happy. | John MacFarlane | 1 | -1/+1 | |
2017-02-20 | Tighten up HasQuoteContext instance in HTML reader. | John MacFarlane | 1 | -1/+1 | |
We constrain it to the state used in the HTML reader. Otherwise we can get overlap with the general instance for ParserState m. | |||||
2017-02-20 | Revert "Refined constraint for HasQuoteContext instance." | John MacFarlane | 1 | -1/+1 | |
This reverts commit 3c427fc17d53a564305aadde015dd2f048d9ff71. | |||||
2017-02-20 | Refined constraint for HasQuoteContext instance. | John MacFarlane | 1 | -1/+1 | |
in hopes that this will help the ghc 7.8.4 build... | |||||
2017-02-20 | Removed redundant constraint. | John MacFarlane | 1 | -2/+1 | |
2017-02-19 | Error: added PandocMakePDFError | John MacFarlane | 1 | -0/+2 | |
2017-02-17 | Added warnings for non-rendered blocks to some writers. | John MacFarlane | 10 | -76/+133 | |
2017-02-17 | FB2 writer: don't render RawBlock as code. | John MacFarlane | 1 | -4/+7 | |
2017-02-17 | Markdown reader: Use logMessage instead of report. | John MacFarlane | 1 | -5/+7 | |
2017-02-17 | Fixed repeated log messages in RST reader. | John MacFarlane | 1 | -13/+14 | |
See #3447. To complete fixes on this issue, we need to do the same for the other readers. Note that the changes required are minimal -- add reportLogMessages to the end of the main parser, and replace report with logMessage. (except for trace) | |||||
2017-02-17 | Parsing: Added HasLogMessages, logMessage, reportLogMessages. | John MacFarlane | 1 | -0/+25 | |
We need to do logging by updating parser state, or we'll get inappropriate and repeated log messages when there is parser backtracking. See #3447. | |||||
2017-02-15 | Fix indirect hyperlink targets. Closes #512. | John MacFarlane | 1 | -23/+33 | |
2017-02-15 | Add CircularReference constructor to LogMessage. | John MacFarlane | 1 | -0/+10 | |
2017-02-15 | ZimWiki writer: removed internal formatting from note and table cells, ↵ | Alex Ivkin | 1 | -24/+54 | |
because ZimWiki does not support it (#3446) | |||||
2017-02-14 | LaTeX reader: include contents of `\parbox`. | John MacFarlane | 1 | -0/+1 | |
2017-02-14 | Simplify toRomanNumeral using guards (#3445) | Alexander Krotov | 1 | -18/+16 | |
2017-02-14 | Removed unnecessary import. | John MacFarlane | 1 | -1/+1 | |
2017-02-13 | LaTeX reader: properly handle column prefixes/suffixes. | John MacFarlane | 1 | -12/+33 | |
For example, in \begin{tabular}{>{$}l<{$}>{$}l<{$} >{$}l<{$}} each cell will be interpreted as if it has a `$` before its content and a `$` after (math mode). | |||||
2017-02-12 | Do not strip # from Org anchor links | Alexander Krotov | 1 | -1/+1 | |
Links with # are perfectly valid according to http://orgmode.org/manual/Internal-links.html#Internal-links | |||||
2017-02-11 | Rename logMessagesToJSON -> encodeLogMessages. | John MacFarlane | 2 | -5/+4 | |
2017-02-11 | RST reader: Support `.. line-block` directive. | John MacFarlane | 1 | -2/+7 | |
This is deprecated but may still be in older documents. | |||||
2017-02-11 | RST reader/writer: properly handle table captions. | John MacFarlane | 2 | -5/+6 | |
Currently the support for the `.. table` directive is a bit limited; we don't yet support the `widths` field. But at least you can have a proper captioned table. | |||||
2017-02-11 | RST reader: Initial support of .. table directive. | John MacFarlane | 1 | -4/+21 | |
This allows adding captions to tables. | |||||
2017-02-11 | Fixed small bug in RST list parsing. | John MacFarlane | 1 | -3/+2 | |
See #3432. Previously the parser didn't handle properly this case: * - a - b * - c - d | |||||
2017-02-11 | Logging: export logMessagesToJSON. | John MacFarlane | 2 | -2/+12 | |
Use a deterministic order for fields. | |||||
2017-02-11 | Added --log option to save log messages in JSON format to a file. | John MacFarlane | 1 | -0/+12 | |
See #3392. | |||||
2017-02-11 | Class.report: Save all log messages in state. | John MacFarlane | 1 | -2/+2 | |
Verbosity level only affects which are printed to stdout. (Exception: DEBUG messages are only printed, never saved to state.) | |||||
2017-02-11 | HTML writer: report when not rendering raw inline/block. | John MacFarlane | 1 | -3/+8 | |
2017-02-11 | Use new warnings throughout the code base. | John MacFarlane | 20 | -175/+202 | |
2017-02-10 | Logging: added ToJSON instance and showLogMessage. | John MacFarlane | 1 | -3/+96 | |
This gives us the possibility of both machine-readable and human-readable output for log messages. See #3392. | |||||
2017-02-10 | Added Text.Pandoc.Logging (exported module). | John MacFarlane | 12 | -19/+94 | |
This now contains the Verbosity definition previously in Options, as well as a new LogMessage datatype that will eventually be used instead of raw strings for warnings. This will enable us, among other things, to provide machine-readable warnings if desired. See #3392. | |||||
2017-02-10 | LaTeX reader: Improved messages for skipped environments. | John MacFarlane | 1 | -5/+13 | |