Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | 11 | -77/+135 | |
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-16 | INSTALL.md put rpm-based distros on separate point (#3449) | Mauro Bieg | 1 | -1/+3 | |
2017-02-15 | Fix indirect hyperlink targets. Closes #512. | John MacFarlane | 2 | -23/+74 | |
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 | 3 | -55/+81 | |
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 | 2 | -12/+57 | |
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 | appveyor.yml: Fixed some paths. | John MacFarlane | 1 | -1/+1 | |
2017-02-12 | deb/make_deb.sh fixes. | John MacFarlane | 1 | -7/+7 | |
2017-02-12 | appveyor.yml: use -j1, in hopes that this will help with a GHC bug. | John MacFarlane | 1 | -2/+2 | |
The bug: https://ghc.haskell.org/trac/ghc/ticket/13194 See https://ci.appveyor.com/api/buildjobs/02l7v73n5hjs2t5u/log for its occurrence in previous appveyor builds of pandoc. | |||||
2017-02-12 | Windows packaging fixes to use new stack.pkg.yaml. | John MacFarlane | 2 | -2/+2 | |
2017-02-12 | Replaced {deb,macos,windows}/stack.yaml with stack.pkg.yaml. | John MacFarlane | 6 | -47/+5 | |
2017-02-12 | More updates to macos/stack.yaml. | John MacFarlane | 1 | -2/+2 | |
2017-02-12 | pandoc.cabal: use cpphs if embed_data_files and darwin. | John MacFarlane | 1 | -0/+3 | |
2017-02-12 | stack.yamls: Use lts-8.0. | John MacFarlane | 5 | -31/+12 | |
2017-02-12 | Comment out instruction to use cpphs in macos stack.yaml. | John MacFarlane | 1 | -3/+3 | |
I don't think this is still needed. If the Travis build fails, we can try adjusting the CPP to make it more compatible. | |||||
2017-02-12 | Merge pull request #3438 from ilabdsf/org-anchor-links | Albert Krewinkel | 4 | -1/+29 | |
Org anchor links | |||||
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-12 | Add Org writer unit tests | Alexander Krotov | 3 | -0/+28 | |
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 | 4 | -45/+43 | |
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 | 2 | -3/+21 | |
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 | 3 | -17/+20 | |
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 | 21 | -176/+203 | |
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 | 13 | -19/+95 | |
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 | |
2017-02-10 | LaTeX reader: Improved warning messages for unknown commands. | John MacFarlane | 1 | -19/+23 | |
2017-02-10 | HTML reader: Added warnings for ignored material. | John MacFarlane | 1 | -5/+14 | |
See #3392. | |||||
2017-02-09 | LaTeX reader: Issue warnings when skipping unknown latex commands. | John MacFarlane | 2 | -5/+11 | |
See #3392. | |||||
2017-02-09 | Reverted deferred media bag code. | John MacFarlane | 1 | -51/+6 | |
This was not actually being used. Since it adds considerable complexity, it's best not to include it unless we are actually going to use it. The original thought was that we could do all loading in the readers, always deferred and thus costless. This was supposed to eliminate the need to traverse trees loading resources in the docx, epub, odt writers and in PDF and SelfContained. (It would also have the side effect that --extract-media could be used with all input formats. This wasn't an intended side effect, and it could be debated whether it's desirable, since --extract-media was originally designed to extract the media contained in a docx or odt or epub container.) However, we never actually took the step of moving all of this work to the readers, for a couple of reasons. The main reason is that we'd still need to fetch resources in the docx, epub, odt, pdf and self-contained writers, since the Pandoc AST might have been built programatically and hence not generated by a reader. So it's not clear that doing lazy loading in the readers would have any real advantage. I'm still not completely sure about this --- if we change our minds it would be easy to undo this commit. @jkr comments welcome. | |||||
2017-02-08 | LaTeX reader: support `\lstinputlisting`. | John MacFarlane | 1 | -11/+34 | |
Closes #2116. | |||||
2017-02-07 | RST reader: Improved admonition support. | John MacFarlane | 1 | -6/+8 | |
* We no longer add an "admonition" class, we just use the class for the type of admonition, "note" for example. * We put the word corresponding to the label in a paragraph inside a div at the beginning of the admonition with class "admonition-title". * This is about as close as we can get to RST's own output. See #223. | |||||
2017-02-07 | Refactored some files formerly in LaTeX reader. | John MacFarlane | 4 | -37/+33 | |
* Export readFileFromDirs from Class. * Export insertIncludedFile from Parsing. Simplified code in LaTeX/RST readers. | |||||
2017-02-07 | Moved readFileFromDirs to Text.Pandoc.Class. | John MacFarlane | 3 | -32/+22 | |
This can be used in several different modules, not just LaTeX reader. | |||||
2017-02-07 | Refactored include file handling in LaTeX reader. | John MacFarlane | 1 | -14/+16 | |
2017-02-07 | Makefile: make version overridable. | John MacFarlane | 1 | -1/+1 | |
2017-02-07 | Use latest pandoc-citeproc dev in stack builds. | John MacFarlane | 3 | -3/+3 | |