Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-10-11 | Muse reader: use indentWith to parse indentation | Alexander Krotov | 1 | -2/+2 | |
2018-10-11 | Muse reader: move museInPara from state to environment | Alexander Krotov | 1 | -34/+25 | |
2018-10-10 | Pandoc.Parsing: rewrite nonspaceChar using noneOf | Alexander Krotov | 1 | -1/+1 | |
2018-10-10 | Vimwiki reader: get rid of F, runF and stateMeta' in favor of stateMeta | Alexander Krotov | 1 | -6/+6 | |
2018-10-10 | Muse reader internals: merge link and explicit link parsers into one function | Alexander Krotov | 1 | -13/+5 | |
2018-10-10 | Muse reader: rewrite code parser in applicative style | Alexander Krotov | 1 | -8/+5 | |
2018-10-10 | Muse reader: fix parsing of empty cells | Alexander Krotov | 1 | -1/+1 | |
2018-10-10 | Reimplement mapLeft using Bifunctor.first | Alexander Krotov | 1 | -2/+2 | |
2018-10-10 | Muse reader: simplify table parsing | Alexander Krotov | 1 | -10/+6 | |
2018-10-09 | Docx writer: added framework for custom properties. | John MacFarlane | 2 | -1/+21 | |
So far, we don't actually write any custom properties, but we have the infrastructure to add this. See #3034. | |||||
2018-10-09 | Get rid of mapLeft in Muse reader | Alexander Krotov | 1 | -3/+3 | |
2018-10-09 | hlint Muse writer | Alexander Krotov | 1 | -4/+4 | |
2018-10-09 | Muse reader: rewrite parseHtmlContent, verseTag and lineBlock in applicative ↵ | Alexander Krotov | 1 | -18/+12 | |
style | |||||
2018-10-09 | Get rid of unnecessary bind "res" | Alexander Krotov | 1 | -2/+1 | |
2018-10-08 | LaTeX writer with `--listings`: don't pass through org-babel attributes. | John MacFarlane | 1 | -1/+4 | |
So far: just, tangle, exports, results which are used by org mode. It might be better to use a whitelist of legal listings attributes, but there are a large number, and these may change. Closes #4889. | |||||
2018-10-08 | Add helpful suggestion to missing title warning. | John MacFarlane | 1 | -1/+2 | |
Tell users what to add to the command line to avoid the warning. Closes #4909. | |||||
2018-10-08 | LaTeX writer: with `--biblatex`, use `\autocite` when possible. | John MacFarlane | 1 | -13/+21 | |
`\autocites{a1}{a2}{a3}` will not collapse the entries. So, if we don't have prefixes and suffixes, we use instead `\autocite{a1;a2;a3}`. Closes #4960. | |||||
2018-10-08 | ODT writer: improve metadata. | John MacFarlane | 1 | -7/+26 | |
- Author, date added to metadata. - Remaining metadata properties (besides author, date, title, lang) are added as meta:user-defined tags. | |||||
2018-10-07 | Docx writer: handle tables in table cells. | John MacFarlane | 1 | -2/+7 | |
Although this is not documented in the spec, some versions of Word require a 'w:p' element inside every table cell. Thus, we add one when the contents of a cell do not already include one (e.g. when a table cell contains a table). Closes #4953. | |||||
2018-10-07 | RST reader: don't allow single-dash separator in headerless table. | John MacFarlane | 1 | -1/+3 | |
Closes #4382. | |||||
2018-10-07 | LaTeX reader: fix bugs omitting raw tex. | John MacFarlane | 1 | -2/+7 | |
The default is `-raw_tex`, so no raw tex should result unless we explicitly say `+raw_tex`. Previously some raw commands did make it through. Closes #4527. | |||||
2018-10-07 | RST reader: pass through fields in unknown directives as div attributes. | John MacFarlane | 1 | -17/+20 | |
This commit also adds support for `class` and `name` attributes to directives in general. Closes #4715. | |||||
2018-10-07 | Revert export of hasSimpleCells from T.P.Writers.Shared. | John MacFarlane | 1 | -18/+0 | |
This wasn't necessary. | |||||
2018-10-06 | RST writer: use simple tables when possible. | John MacFarlane | 2 | -4/+52 | |
Closes #4750. Text.Pandoc.Writers.Shared now exports hasSimpleCells [API change]. | |||||
2018-10-06 | Moved Haddock comment in Muse reader | Alexander Krotov | 1 | -4/+3 | |
2018-10-05 | Org reader: fix behavior for successive calls of `#+EXCLUDE_TAGS`. (#4951) | Brian Leung | 2 | -8/+13 | |
Calling `#+EXCLUDE_TAGS` multiple times should preserve the status of the previously declared tags. | |||||
2018-10-05 | CommonMark writer: add plain text fallbacks. (#4531) | quasicomputational | 3 | -39/+73 | |
Previously, the writer would unconditionally emit HTMLish output for subscripts, superscripts, strikeouts (if the strikeout extension is disabled) and small caps, even with raw_html disabled. Now there are plain-text (and, where possible, fancy Unicode) fallbacks for all of these corresponding (mostly) to the Markdown fallbacks, and the HTMLish output is only used when raw_html is enabled. This commit adds exported functions `toSuperscript` and `toSubscript` to `Text.Pandoc.Writers.Shared`. [API change] Closes #4528. | |||||
2018-10-05 | Org reader: Add partial support for `#+EXCLUDE_TAGS` option. (#4950) | Brian Leung | 4 | -7/+32 | |
Closes #4284. Headers with the corresponding tags should not appear in the output. If one or more of the specified tags contains a non-tag character like `+`, Org-mode will not treat that as a valid tag, but will nonetheless continue scanning for valid tags. That behavior is not replicated in this patch; entering `cat+dog` as one of the entries in `#+EXCLUDE_TAGS` and running the file through Pandoc will cause the parser to fail and result in the only excluded tag being the default, `noexport`. | |||||
2018-10-05 | Fixed haddock error in Muse reader. | John MacFarlane | 1 | -1/+2 | |
2018-10-05 | Muse reader: remove redundant bracket | Alexander Krotov | 1 | -1/+1 | |
2018-10-05 | OpenDocument writer: Implement table caption numbering (#4949) | Nils Carlson | 1 | -36/+53 | |
Implement table caption numbering with a format "Table 1: <caption>". Translations are enabled and numbering is consecutive for captioned tables, uncaptioned tables are not enumerated. Captioned figures are now also numbered consecutively and uncaptioned figures are not enumerated. | |||||
2018-10-05 | Muse reader: move museInLink state into ReaderT | Alexander Krotov | 1 | -11/+14 | |
2018-10-05 | Muse reader: use getIndent more for code cleanup | Alexander Krotov | 1 | -7/+4 | |
2018-10-05 | Muse reader: use getIndent in parseHtmlContent | Alexander Krotov | 1 | -7/+6 | |
2018-10-05 | Muse reader: make bulletListUntil similar to definitionListUntil | Alexander Krotov | 1 | -2/+1 | |
2018-10-05 | Muse reader: reduce duplication by introducing `getIndent` | Alexander Krotov | 1 | -9/+7 | |
2018-10-05 | Muse reader internals: simplify parseMuse | Alexander Krotov | 1 | -6/+2 | |
2018-10-05 | Muse reader: get rid of TagSoup import | Alexander Krotov | 1 | -2/+1 | |
2018-10-05 | Muse reader: simplify verse parsers | Alexander Krotov | 1 | -18/+7 | |
2018-10-05 | Muse reader: allow table caption to contain "+" | Alexander Krotov | 1 | -1/+1 | |
2018-10-04 | Docx reader: trigger bold/italic with bCs, iCs. | John MacFarlane | 1 | -2/+4 | |
These are variants for "complex scripts" like Arabic and are now treated just like b, i (bold, italic). Colses #4947. | |||||
2018-10-04 | KaTeX: don't use autorenderer. | John MacFarlane | 2 | -6/+6 | |
We no longer surround formulas with `\(..\)` or `\[..\]` and rely on the autorenderer. Instead, we tell katex to convert the contents of span elements with class "math". Since math has already been identified, this avoids wasted time parsing for LaTeX delimiters. Note, however, that this may yield unexpected results if you have span elements with class "math" that don't contain LaTeX math. Also, use latest version of KaTeX by default (0.9.0). Closes #4946. | |||||
2018-10-04 | Add lookupMeta* functions to Text.Pandoc.Writers.Shared (#4907) | Mauro Bieg | 6 | -65/+68 | |
Remove exported functions `metaValueToInlines`, `metaValueToString`. Add new exported functions `lookupMetaBool`, `lookupMetaBlocks`, `lookupMetaInlines`, `lookupMetaString`. Use these whenever possible for uniformity in writers. API change (major, because of removed function `metaValueToInlines`. `metaValueToString` wasn't in any released version.) | |||||
2018-10-04 | Vimwiki reader: code cleanup | Alexander Krotov | 1 | -11/+7 | |
2018-10-03 | OpenDocument writer: make 'Figure' term sensitive to `lang` in metadata. | John MacFarlane | 1 | -9/+16 | |
We use the new translations API. | |||||
2018-10-03 | Text.Pandoc.Writers.Shared: added `metaValueToString`. | John MacFarlane | 1 | -0/+9 | |
[API change] | |||||
2018-10-03 | OpenDocument writer: Implement figure numbering in captions (#4944) | Nils Carlson | 1 | -1/+13 | |
Figure captions are now numbered 1, 2, 3, ... The format in the caption is "Figure 1: <caption>" and so on. This is necessary in order for libreoffice to generate an Illustration Index (Table of Figures) for included figures. | |||||
2018-10-03 | TWiki reader: hlint | Alexander Krotov | 1 | -61/+50 | |
2018-10-02 | Removed Text.Pandoc.Groff. | John MacFarlane | 4 | -45/+11 | |
Moved groffEscape function to Text.Pandoc.Writers.Shared. [API change, since T.P.W.S is exported.] | |||||
2018-10-02 | OpenDocument writer: improve bullet/numbering alignment. | John MacFarlane | 1 | -4/+12 | |
This patch eliminates the large gap we used to have between bullet and text, and also ensures that numbers in numbered lists will be right-aligned. Closes #4385. |