Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2018-10-02 | T.P.Lua.StackInstances - moved pragmas to top of file. | John MacFarlane | 1 | -5/+5 | |
2018-10-01 | Shared: new export `splitSentences` [API change]. | John MacFarlane | 3 | -52/+26 | |
This was duplicated in the Man and Ms writers, and really belongs in Shared. | |||||
2018-10-01 | Moved isArgTok to Readers.LaTeX.Parsing. | John MacFarlane | 2 | -5/+6 | |
2018-10-01 | Moved babelLangToBCP, polyglossiaLangToBCP to new module... | John MacFarlane | 2 | -134/+175 | |
Text.Pandoc.Readers.LaTeX.Lang (unexported). | |||||
2018-10-01 | Lua filters: report traceback when an error occurs | Albert Krewinkel | 4 | -10/+44 | |
A proper Lua traceback is added if either loading of a file or execution of a filter function fails. This should be of help to authors of Lua filters who need to debug their code. | |||||
2018-10-01 | Lua Util: add missing docstring to defineHowTo | Albert Krewinkel | 1 | -1/+1 | |
2018-09-30 | Implement `--ascii` (`writerPreferAscii`) in writers, not App. | John MacFarlane | 10 | -74/+180 | |
Now the `write*` functions for Docbook, HTML, ICML, JATS, Man, Ms, OPML are sensitive to `writerPreferAscii`. Previously the to-ascii translation was done in Text.Pandoc.App, and thus not available to those using the writer functions directly. In addition, the LaTeX writer is now sensitive to `writerPreferAscii` and to `--ascii`. 100% ASCII output can't be guaranteed, but the writer will use commands like `\"{a}` and `\l` whenever possible, to avoid emiting a non-ASCII character. A new unexported module, Text.Pandoc.Groff, has been added to store functions used in the different groff-based writers. | |||||
2018-09-30 | Text.Pandoc.Options: add writerPreferAscii to WriterOptions. | John MacFarlane | 1 | -0/+2 | |
[API change] | |||||
2018-09-30 | LaTeX reader: simplified accent code using unicode-transforms. | John MacFarlane | 1 | -322/+33 | |
New dependency on unicode-transforms package for normalization. | |||||
2018-09-29 | LaTeX writer: Fix description lists contining highlighted code. | John MacFarlane | 1 | -2/+4 | |
Closes #4662. | |||||
2018-09-29 | LaTeX reader: allow verbatim blocks ending with blank lines. | John MacFarlane | 1 | -1/+14 | |
Closes #4624. | |||||
2018-09-29 | LaTeX reader: support breq math environments: dmath, dgroup, darray. | John MacFarlane | 1 | -0/+6 | |
2018-09-28 | Added Text.Pandoc.Readers.LaTeX.Parsing (unexported). | John MacFarlane | 2 | -557/+666 | |
This collects some of the general-purpose code from the LaTeX reader, with the aim of making the module smaller. (We've been having out-of-memory issues compiling this module on CI.) | |||||
2018-09-28 | Parse empty argument array in inline src blocks. | leungbk | 1 | -1/+2 | |
`enclosedByPair` alone does not the handle the empty array properly since it uses `many1Till`. | |||||
2018-09-27 | HTML writer: avoid adding extra section nestings for revealjs. | John MacFarlane | 1 | -1/+1 | |
Previously revealjs title slides at level (slidelevel - 1) were nested under an extra section element, even when the section contained no additional (vertical) content. That caused problems for some transition effects. See hakimel/reveal.js#1947. | |||||
2018-09-27 | JATS writer: remove 'role' attribute on 'bold' and 'sc' elements. | John MacFarlane | 1 | -3/+2 | |
The JATS spec does not allow these. Closes #4937. | |||||
2018-09-27 | HTML writer: omit unknown attributes in EPUB2 output. | John MacFarlane | 1 | -8/+140 | |
This allows users to include `epub:type` attributes, which will be passed through to epub3 but not epub2. | |||||
2018-09-26 | Force inline code blocks to honor export options. | leungbk | 3 | -6/+8 | |
`exportsCode` is moved from `Blocks.hs` to `Shared.hs` and exported accordingly. | |||||
2018-09-25 | Add support for multiprenote and multipostnote arguments in LaTeX. (#4930) | Brian Leung | 1 | -1/+34 | |
* Add support for multiprenote and multipostnote arguments. The multiprenotes occur before the first prefix of a multicite, and the multipostnotes follow the last suffix. * Add test for multiprenote and multipostnote. | |||||
2018-09-24 | Use hslua v1.0.0 | Albert Krewinkel | 10 | -308/+254 | |
2018-09-24 | Merge pull request #4921 from pyssling/master | John MacFarlane | 1 | -13/+21 | |
ODT Writer: Improve table header row style handling | |||||
2018-09-24 | RTF writer: Fix build failure with ghc-8.6.1 caused by missing MonadFail ↵ | Jonas Scholl | 1 | -2/+4 | |
instance. | |||||
2018-09-24 | Muse reader: replace inlineList with inline' | Alexander Krotov | 1 | -29/+29 | |
2018-09-24 | Muse reader: replace `optionMaybe` and `fromMaybe` with `option` | Alexander Krotov | 1 | -2/+2 | |
2018-09-23 | ODT Writer: Improve table header row style handling | Nils Carlson | 1 | -13/+21 | |
This changes the way styles for cells in the header row and normal rows are handled in ODT tables. Previously a new (but identical) style was generated for every table, specifying the style of the cells within the table. After this change there are two style definitions for table cells, one for the cells in the header row, one for all other cells. This doesn't change the actual styles, but makes post-processing changes to the table styles much simpler as it is no longer necessary to introduce new styles for header rows and there are now only two styles where there was previously one per table. | |||||
2018-09-22 | LaTeX writer: fix a use of `last` that might take empty list. | John MacFarlane | 1 | -3/+3 | |
If you ran with `--biblatex` and have an empty document (metadata but no blocks), pandoc would previously raise an error because of the use of `last` on an empty list. | |||||
2018-09-21 | Muse reader: simplify tag parsers | Alexander Krotov | 1 | -21/+19 | |
2018-09-21 | Muse reader: use isAlphaNum instead of isLetter and isDigit | Alexander Krotov | 1 | -2/+2 | |
2018-09-21 | Muse reader: do not allow code markup to be followed by digit | Alexander Krotov | 1 | -2/+2 | |
2018-09-21 | Muse reader: simplify ordered list parsing | Alexander Krotov | 1 | -11/+4 | |
2018-09-21 | Muse reader: rewrite headingStart in applicative style | Alexander Krotov | 1 | -7/+5 | |
and remove heading level limit | |||||
2018-09-21 | Muse reader: refactoring | Alexander Krotov | 1 | -18/+21 | |