aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-30Implement `--ascii` (`writerPreferAscii`) in writers, not App.John MacFarlane13-76/+230
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-30Text.Pandoc.Options: add writerPreferAscii to WriterOptions.John MacFarlane1-0/+2
[API change]
2018-09-30pandoc.cabal: make base lower bound 4.8.John MacFarlane1-5/+5
We no longer support ghc 7.8, but this wasn't reflected in the base versions.
2018-09-30LaTeX reader: simplified accent code using unicode-transforms.John MacFarlane2-322/+34
New dependency on unicode-transforms package for normalization.
2018-09-29LaTeX writer: Fix description lists contining highlighted code.John MacFarlane1-2/+4
Closes #4662.
2018-09-29LaTeX reader: allow verbatim blocks ending with blank lines.John MacFarlane2-1/+44
Closes #4624.
2018-09-29LaTeX reader: support breq math environments: dmath, dgroup, darray.John MacFarlane1-0/+6
2018-09-28Use released pandoc-citeproc, texmath.John MacFarlane1-0/+2
2018-09-28Update changelog.John MacFarlane1-2/+7
2018-09-28Added Text.Pandoc.Readers.LaTeX.Parsing (unexported).John MacFarlane3-557/+667
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-28Parse empty argument array in inline src blocks.leungbk2-1/+9
`enclosedByPair` alone does not the handle the empty array properly since it uses `many1Till`.
2018-09-27Version to 2.3.1.John MacFarlane4-6/+6
2018-09-27Update changelog, AUTHORS.md.John MacFarlane2-12/+69
2018-09-27HTML writer: avoid adding extra section nestings for revealjs.John MacFarlane1-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-27JATS writer: remove 'role' attribute on 'bold' and 'sc' elements.John MacFarlane2-10/+8
The JATS spec does not allow these. Closes #4937.
2018-09-27HTML writer: omit unknown attributes in EPUB2 output.John MacFarlane1-8/+140
This allows users to include `epub:type` attributes, which will be passed through to epub3 but not epub2.
2018-09-27HTML, Muse reader tests: reduce time taken by round-trip test.John MacFarlane2-4/+6
2018-09-27MANUAL: epub:type is only useful for epub3Mauro Bieg1-3/+3
2018-09-26appveyor - Removed new-clean.John MacFarlane1-1/+0
2018-09-26Fixed appveyor improvemnets.John MacFarlane1-7/+6
2018-09-26More appveyor improvements.John MacFarlane1-4/+7
2018-09-26Added 'allow-newer' to cabal.project.John MacFarlane2-2/+4
2018-09-26appveyor - different try with 'new-test'.John MacFarlane1-1/+1
2018-09-26appveyor - single quote cache.John MacFarlane1-1/+1
2018-09-26appveyor - remove old stack stuff; revise to run new-test.John MacFarlane1-50/+13
2018-09-26appveyor - fix problem when cached cabal db already exists.John MacFarlane1-3/+3
2018-09-26Force inline code blocks to honor export options.leungbk4-6/+16
`exportsCode` is moved from `Blocks.hs` to `Shared.hs` and exported accordingly.
2018-09-25appveyor - comment out caching of STACK_ROOT.John MacFarlane1-1/+1
2018-09-25appveyor - fix typo.John MacFarlane1-1/+1
2018-09-25appveyor - add cabal options, run tests.John MacFarlane1-4/+10
2018-09-25appveyor - add 64-bit cabal build.John MacFarlane1-0/+8
2018-09-25appveyor - fixed forfiles.John MacFarlane1-4/+4
2018-09-25appveyor - Remove -p from mkdir.John MacFarlane1-1/+1
2018-09-25appveyor - another try with forfiles.John MacFarlane1-1/+2
2018-09-25appveyor - allow RDP access on finish (temporary for debugging).John MacFarlane1-0/+3
2018-09-25Add support for multiprenote and multipostnote arguments in LaTeX. (#4930)Brian Leung2-1/+82
* 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-25Add texmath to cabal.project.John MacFarlane1-3/+5
2018-09-25cabal.project - use source repository stanzas.John MacFarlane2-3/+11
2018-09-25appveyor - use github version of memory for now with ghc 8.6.John MacFarlane1-0/+1
2018-09-25appveyor - clone pandoc-citeproc into vendor/.John MacFarlane1-1/+1
2018-09-25cabal.project - use vendor/*/*.cabal.John MacFarlane1-1/+1
2018-09-25appveyor - git clone pandoc-citeproc repo.John MacFarlane1-1/+1
2018-09-25cabal.project - use ./pandoc-citeproc.John MacFarlane1-1/+1
2018-09-25appveyor - Put cabal unpack in right place.John MacFarlane1-1/+1
2018-09-25appveyor - Unpack pandoc-citeproc.John MacFarlane1-0/+1
2018-09-25Added cabal.project.John MacFarlane1-0/+1
2018-09-25appveyor - added &&.John MacFarlane1-1/+1
2018-09-25appveyor - use forfiles and cabal new-build.John MacFarlane1-1/+2
new-install symlinks don't work on windows.
2018-09-25appveyor - try manually creating package.db.John MacFarlane1-2/+2
2018-09-25appveyor - another attempt.John MacFarlane1-2/+2