Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-02-08 | Use latest basement/foundation on 32bit windows. | John MacFarlane | 1 | -2/+3 | |
2019-02-08 | Docx reader: fix paths in archive to prevent Windows failure | Jesse Rosenthal | 1 | -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-07 | Revert "Docx reader: Fix windows error" | Jesse Rosenthal | 1 | -2/+1 | |
This reverts commit 2142bbe572cea00b7bb5ad3e10a3afb26845a1f7. | |||||
2019-02-07 | Docx reader: Fix windows error | Jesse Rosenthal | 1 | -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-07 | Use pandoc-citeproc-0.16.0.2 | John MacFarlane | 2 | -2/+2 | |
2019-02-07 | Docx reader: Some code cleanup | Jesse Rosenthal | 1 | -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-07 | Docx reader: Extend dynamic xml location to detecting relationships | Jesse Rosenthal | 1 | -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-07 | data/pandoc.lua: re-export List and utils module | Albert Krewinkel | 2 | -1/+25 | |
2019-02-06 | Docx reader: Tests for alternate document.xml | Jesse Rosenthal | 3 | -2/+9 | |
2019-02-06 | Docx reader: Dynamically determine document.xml path. | Jesse Rosenthal | 1 | -3/+12 | |
The desktop Word program places the main document file in "word/document.xml", but the online word places it in "word/document2.xml". This file path is actually stated in the root "_rels/.rels" file, in the "Relationship" element with an "http://../officedocument" type. Closes #5277 | |||||
2019-02-06 | cabal.project - use released pandoc-citeproc (take 2). | John MacFarlane | 1 | -5/+4 | |
2019-02-06 | cabal - prevent using basement 0.0.10 on 32-bit windows. | John MacFarlane | 1 | -1/+4 | |
It is broken, see https://github.com/haskell-foundation/foundation/issues/515 | |||||
2019-02-06 | Remove PROVISIONAL from 2.6 changelog. | John MacFarlane | 1 | -1/+1 | |
2019-02-06 | cabal.project - use released pandoc-citeproc. | John MacFarlane | 1 | -4/+4 | |
2019-02-06 | stack.yaml - use latest pandoc-citeproc. | John MacFarlane | 1 | -1/+1 | |
2019-02-06 | Handle Word files generated by Microsoft Word Online. | John MacFarlane | 1 | -0/+2 | |
For some reason, Word in Office 365 Online uses `document2.xml` for the content, instead of `document.xml`. This causes pandoc not to be able to parse docx. This quick fix has the parser check for both `document.xml` and `document2.xml`. Addresses #5277, but a more robust solution would be to get the name of the main document dynamically (who knows whether it might change again?). | |||||
2019-02-06 | Muse reader: test that block level markup does not break <verbatim> | Alexander Krotov | 1 | -0/+7 | |
2019-02-04 | Add missing copyright notices and remove license boilerplate (#5112) | Albert Krewinkel | 160 | -254/+700 | |
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592. | |||||
2019-02-04 | More carefully groom ipynb default extensions. | John MacFarlane | 1 | -2/+18 | |
2019-02-04 | Add `all_symbols_escapable` to githubMarkdownExtensions. | John MacFarlane | 1 | -1/+1 | |
2019-02-04 | Markdown reader: add newline when parsing blocks in YAML. | John MacFarlane | 2 | -9/+22 | |
Otherwise last block gets parsed as a Plain rather than a Para. This is a regression in pandoc 2.x. This patch restores pandoc 1.19 behavior. Closes #5271. | |||||
2019-02-02 | ipynb reader: handle images referring to attachments. | John MacFarlane | 1 | -1/+9 | |
Previously we didn't strip off the attachment: prefix, so even though the attachment is available in the mediabag, pandoc couldn't find it. | |||||
2019-02-02 | HTML5 template: Add role with ARIA doc-toc for table of contents. | John MacFarlane | 1 | -1/+1 | |
See #4213. | |||||
2019-02-02 | Update test for last commit. | John MacFarlane | 1 | -3/+3 | |
2019-02-02 | HTML5 writer: implement WAI-ARIA roles for (end)notes. | John MacFarlane | 2 | -22/+35 | |
See #4213. | |||||
2019-02-02 | Shared: withTempDir is no longer used in the codebase. | John MacFarlane | 1 | -0/+2 | |
Add comment to remove it in next major release. | |||||
2019-02-02 | PDF: More conservative solution to #777. | John MacFarlane | 1 | -2/+11 | |
Now, instead of always creating temp dirs in the home directory on Windows, we only do it if the system tempdir name contains tildes. (This will be the case for longer usernames only.) Closes #1192. | |||||
2019-02-02 | PDF: use system temp dir and set TEXMFOUTPUT. | John MacFarlane | 1 | -8/+5 | |
Previously the temp directory was created inside the working directory, so that programs like epstopdf.pl would be allowed to run in restricted mode. However, setting TEXMFOUTPUT allows these programs to run in the tmpdir inside the system temp directory. This is a better solution than cd51983. Using the system temp dir prevents problems when pandoc is run inside a synced directory (e.g. dropbox). Partially addresses #1192. | |||||
2019-02-02 | MIME: add WebP | Mauro Bieg | 1 | -0/+1 | |
fixes #5267 | |||||
2019-02-01 | LaTeX writer: use right fold for escapeString. | John MacFarlane | 1 | -15/+13 | |
This is more elegant than the explicit recursive we were using. | |||||
2019-02-01 | LaTeX writer: code simplification in escaping. | John MacFarlane | 1 | -20/+21 | |
2019-02-01 | Markdown writer: use markdown="1" when appropriate for Divs. | John MacFarlane | 1 | -0/+6 | |
When `native_divs` and `markdown_in_html_blocks` are disabled but `raw_html` and `markdown_attribute` are enabled... | |||||
2019-02-01 | LaTeX writer: avoid `{}` after control sequences when escaping. | John MacFarlane | 4 | -32/+41 | |
`\ldots{}.` doesn't behave as well as `\ldots.` with the latex ellipsis package. This patch causes pandoc to avoid emitting the `{}` when it is not necessary. Now `\ldots` and other control sequences used in escaping will be followed by either a `{}`, a space, or nothing, depending on context. Thanks to Elliott Slaughter for the suggestion. | |||||
2019-02-01 | doc/lua-filters.md: fix docs for OrderedList items | Albert Krewinkel | 1 | -3/+1 | |
2019-01-31 | LaTeX reader: don't let `\egroup` match `{`. | John MacFarlane | 2 | -3/+15 | |
`braced` now actually requires nested braces. Otherwise some legitimate command and environment definitions can break (see test/command/tex-group.md). | |||||
2019-01-31 | Tests: avoid calling findPandoc multiple times. | John MacFarlane | 3 | -194/+207 | |
2019-01-31 | Old tests: remove need for temp files by using pipeProcess. | John MacFarlane | 1 | -16/+6 | |
2019-01-31 | More improvements on lua-filters docs. | John MacFarlane | 1 | -342/+386 | |
2019-01-30 | linux/Dockerfile : use default -O1 instead of -O2. | John MacFarlane | 1 | -1/+1 | |
2019-01-30 | stack.yaml - use latest texmath. | John MacFarlane | 1 | -0/+1 | |
2019-01-30 | Update manual. | John MacFarlane | 2 | -958/+1296 | |
2019-01-30 | Update changelog. | John MacFarlane | 1 | -0/+3 | |
2019-01-30 | Manual: document `date-meta` template variable (#5260) | Tristan Stenner | 1 | -0/+10 | |
In HTML based formats the `date` metadata variable is converted to ISO 8601 and available as `$date-meta`, but it's not documented at the moment. | |||||
2019-01-30 | Update copyright year in version. | John MacFarlane | 1 | -1/+1 | |
2019-01-30 | Use lts-13 in makefile | John MacFarlane | 1 | -1/+1 | |
2019-01-30 | Update stack.yaml to use lts-13. | John MacFarlane | 1 | -9/+2 | |
2019-01-30 | doc/lua-filters.md: use 3rd level headers for module fields | Albert Krewinkel | 1 | -664/+664 | |
2019-01-30 | Update changelog. | John MacFarlane | 1 | -43/+85 | |
2019-01-30 | Org reader: add support for #+SELECT_TAGS. | leungbk | 8 | -23/+107 | |
2019-01-30 | Org reader: separate filtering logic from conversion function. | leungbk | 2 | -8/+11 | |