aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2019-02-08Fix misleading code comment.John MacFarlane1-2/+1
2019-02-08Make --metadata-file use pandoc-markdown (#5279)Mauro Bieg1-1/+2
see #5272
2019-02-08Small fix in lua-filters doc.John MacFarlane1-1/+1
2019-02-08Use latest basement/foundation on 32bit windows.John MacFarlane1-2/+3
2019-02-08Docx reader: fix paths in archive to prevent Windows failureJesse Rosenthal1-1/+6
Some paths in archives are absolute (have an opening slash) which, for reasons unknown, produces a failure in the test suite on MS Windows. This fixes that by removing the leading slash if it exists. Closes #5277 (previously closed with 4cce0ef but reopened due to this bug).
2019-02-07Revert "Docx reader: Fix windows error"Jesse Rosenthal1-2/+1
This reverts commit 2142bbe572cea00b7bb5ad3e10a3afb26845a1f7.
2019-02-07Docx reader: Fix windows errorJesse Rosenthal1-1/+2
Try fixing a parsing error on windows by insisting that the parser use a Posix filepath library for splitting doc paths in a zipfile. (It might default on Windows to using a backslash as a separator, while it's always a forward-slash in zip archives.)
2019-02-07Use pandoc-citeproc-0.16.0.2John MacFarlane2-2/+2
2019-02-07Docx reader: Some code cleanupJesse Rosenthal1-15/+25
* clarify function name. We had previously used `getDocumentPath`, but `Document` is an overdetermined term here. Use `getDocumentXmlPath` to make clear what we're doing. * Use field notation for setting ReaderEnv. As we've added (and continue to add) fields, the assignment by position has gotten harder to read. * figure out document.xml path once at the beginning of parsing, and add it to the environment, so we can avoid repeated lookups.
2019-02-07Docx reader: Extend dynamic xml location to detecting relationshipsJesse Rosenthal1-12/+19
Getting the location used to depend on a hard-coded .rels file based on "word/document.xml". We now dynamically detect that file based on the document.xml file specified in "_rels/.rels"
2019-02-07data/pandoc.lua: re-export List and utils moduleAlbert Krewinkel2-1/+25
2019-02-06Docx reader: Tests for alternate document.xmlJesse Rosenthal3-2/+9