aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-02-27PowerPoint writer: add underlinesJesse Rosenthal1-0/+3
Use span with single class "underline" as in docx writer.
2019-02-25Shared.compactify: Avoid mixed lists.John MacFarlane23-26/+48
This improves on the original fix to #5285 by preventing other mixed lists (lists with a mix of Plain and Para elements) that were allowed given the original fix.
2019-02-23JATS reader: fix parsing of figures.John MacFarlane2-18/+51
This ensures that a figure containing a single image is parsed as a pandoc "implicit figure" (i.e., a Para with a single Image whose title attribute begins with `fig:`). More complex figures will still be parsed as divs. Closes #5321.
2019-02-22Add section identifiers support for FB2 writer (#5315)John4-70/+63
Closes #5229.
2019-02-21Docx reader: Start adding comment to combine moduleJesse Rosenthal1-0/+40
This module is one of the most opaque parts of the docx reader: it deals with the fact that runs have non-nesting formatting, so we have to figure out the nesting on the fly as we combine them. We start adding commenting, so new developers can understand and, if necessary, modify this module. Specific function comments will be added in the future, but this offers a global description of the purpose of the module.
2019-02-20MANUAL: reorder custom-styles section (#5324)Mauro Bieg1-47/+51
2019-02-20Escape slashes so haddock doesn't think they're italics (#5322)Chris Martin1-1/+1
2019-02-18Docx reader tests: fix test file with trailing space.Jesse Rosenthal1-1/+1
This failed due to the fix of #5273.
2019-02-18Docx reader: add tests for trimming last inline.Jesse Rosenthal3-0/+6
2019-02-18Docx reader: Trim space inside the last inline.Jesse Rosenthal1-1/+2
We have to add one final mempty when we're combining in order to trim inlines appropriately. (We need to use our own trimming routines here due to the way that formatted inlines are smushed together when converting from docx.) Closes #5273
2019-02-18hlint MuseAlexander Krotov2-3/+3
2019-02-18Muse reader: add secondary note supportAlexander Krotov2-5/+28
2019-02-18Muse writer: escape secondary notesAlexander Krotov2-7/+11
2019-02-18Move a comment in Muse WriterAlexander Krotov1-1/+1
2019-02-16doc/lua-filters.md: fixed typos in mediabag docs.Albert Krewinkel1-3/+3
2019-02-16T.P.Lua: split StackInstances into smaller Marshaling modulesAlbert Krewinkel12-175/+240
2019-02-16T.P.Lua: get CommonState from Lua globalAlbert Krewinkel3-54/+64
This allows more control over the common state from within Lua scripts.
2019-02-15ipynb writer: don't create attachments for images with absolute URIs.John MacFarlane1-2/+3
...including data: URIs. Closes #5303.
2019-02-15Markdown reader: fix bug parsing fenced code blocks.John MacFarlane2-2/+27
Previously parsing would break if the code block contained a string of backticks of sufficient length followed by something other than end of line. Closes #5304.
2019-02-15Use latest pandoc-citeproc (0.16.1).John MacFarlane2-2/+2
2019-02-15Revert "JATS writer: Support citations."John MacFarlane1-4/+3
This reverts commit 39889c22df578a4310bcf549fcd507c08fbf1416.
2019-02-15JATS writer: Support citations.John MacFarlane1-3/+4
2019-02-15JATS reader: handle citations with multiple references.John MacFarlane1-7/+10
The rid attribute can have a space-separated list of ids. Closes #5310.
2019-02-14Delete default.nix.John MacFarlane1-96/+0
This is a generated file and shouldn't be in the repository. Closes #5298.
2019-02-12Docx reader: Add test for reading sdts in footnotes.Jesse Rosenthal3-0/+5
2019-02-12Docx reader: unwrap sdt elements in footnotes and comments.Jesse Rosenthal1-3/+3
We had previously walked the document to unwrap sdt/sdtContent and smartTag tags in `word/document.xml`, but not in the `word/{foot/end}note.xml` and `word/comments.xml`. Closes #5302
2019-02-11CircleCI: show build.log on cabal builds.John MacFarlane1-0/+1
2019-02-11Remove redundant import.John MacFarlane1-1/+0
2019-02-10ipynb writer: keep plain text fallbacks in output...John MacFarlane1-26/+14
even if a richer format is included. We don't know what output format will be needed. The fallback can always be weeded out using a filter. Closes #5293.
2019-02-10Implement aria roles doc-bibliography, doc-biblioentry, doc-biblioref.John MacFarlane1-2/+10
Note that doc-biblioref is only used when link-citations produces links, since it belongs on links. See #4213.
2019-02-10trypandoc: added some missing formats to drop-down list.John MacFarlane1-2/+8
2019-02-10Provisional changelog updates.John MacFarlane1-0/+138
2019-02-10Bump to 2.6.1.John MacFarlane1-1/+1
2019-02-10Update AUTHORS.John MacFarlane1-0/+1
2019-02-10Use latest skylighting.John MacFarlane6-5/+7
2019-02-10JATS writer: wrap figure caption in <p> to fix validation (#5292)Mauro Bieg2-2/+2
closes #5290
2019-02-10Add JATS to output option on Try pandoc. (#5291)Arfon Smith1-0/+1
2019-02-09Added simple ipynb reader/writer tests.John MacFarlane5-0/+101
Closes #5274.
2019-02-09ipynb writer - ensure final newline.John MacFarlane1-0/+1
2019-02-09Add titlepage class to section in epub3 template.John MacFarlane1-1/+1
Closes #5269.
2019-02-09Lua filters: load module `pandoc` before calling `init.lua` (#5287)Albert Krewinkel3-22/+37
The file `init.lua` in pandoc's data directory is run as part of pandoc's Lua initialization process. Previously, the `pandoc` module was loaded in `init.lua`, and the structure for marshaling was set-up after. This allowed simple patching of element marshaling, but made using `init.lua` more difficult: - it encouraged mixing essential initialization with user-defined customization; - upstream changes to init.lua had to be merged manually; - accidentally breaking marshaling by removing required modules was possible; Instead, all required modules are now loaded before calling `init.lua`. The file can be used entirely for user customization. Patching marshaling functions, while discouraged, is still possible via the `debug` module.
2019-02-09Added support for the `subject` metadata variable to PDF. (#5289)Pascal Wagler2-1/+4
2019-02-09T.P.Lua: properly indent module-loading errorAlbert Krewinkel1-1/+1
2019-02-09data/pandoc.lua: re-export all bundled modulesAlbert Krewinkel3-11/+20
All Lua modules bundled with pandoc, i.e., `pandoc.List`, `pandoc.mediabag`, `pandoc.utils`, and `text` are re-exported from the `pandoc` module. They are assigned to the fields `List`, `mediabag`, `utils`, and `text`, respectively.
2019-02-09Fixed asciidoc display math in list contexts.John MacFarlane3-19/+48
2019-02-09Asciidoctor writer sets the stem attribute if it contains latexmathTG3-1/+11
2019-02-09Adds Asciidoctor sprcific writer and testsTG9-16/+794
2019-02-09AsciiDoc Writer: DisplayMath as asciidoc latexmath blockTG3-3/+10
2019-02-09AsciiDoc writer: change bulletListLevel and orderedListLevel...John MacFarlane1-4/+4
so that 0 means "not in a list," which is more what one would expect.
2019-02-08Improve tight/loose list handling.John MacFarlane2-2/+24
Closes #5285. Previously the algorithm allowed list items with a mix of Para and Plain, which is never wanted. compactify in T.P.Shared has been modified so that, if a list's items contain (at the top level) Para elements (aside from perhaps at the very end), ALL Plains are converted to Paras.