aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-10-19Update tests for last change to man reader.John MacFarlane1-42/+42
2018-10-19Man reader: generate Space elements correctly.John MacFarlane1-4/+4
Closes #4979.
2018-10-18Update man reader tests.John MacFarlane3-32/+30
2018-10-18Man reader: improve list parsing.John MacFarlane1-20/+13
We now handle all kinds of ordered list markers. We also avoid having an extra bullet character in bullet list contents.
2018-10-18Man reader: remove final newline in code blocks.John MacFarlane1-1/+5
This is consistent with other readers.
2018-10-18Man reader: use report instead of logMessage.John MacFarlane1-2/+6
2018-10-18Man reader: improved parsing of groff escapes.John MacFarlane1-80/+116
We now handle all the named escapes, plus combining accents and unicode escapes.
2018-10-18GroffChar: fixed interpretation of `\-`.John MacFarlane3-20/+20
It is the ascii - sign, not the unicode hyphen.
2018-10-19Lua filter doc: merge type references into main documentAlbert Krewinkel2-661/+665
2018-10-18Merge branch 'Yanpas-groff_reader'John MacFarlane9-0/+958
2018-10-18Remove tag on pandoc-citeproc in cabal.project.John MacFarlane1-1/+0
2018-10-18Bump upper bound for QUickCheck.John MacFarlane1-1/+1
2018-10-18Bump upper bound for binary.John MacFarlane1-1/+1
2018-10-18cabal.project - add tag for pandoc-citeproc.John MacFarlane1-0/+1
2018-10-18Revert "cabal.project - removed git repo for pandoc-citeproc."John MacFarlane1-0/+4
This reverts commit 29ea3e734d916128db8bf6186e17940b98738b43.
2018-10-18cabal.project - removed git repo for pandoc-citeproc.John MacFarlane1-4/+0
Released version is okay.
2018-10-18appveyor - --verbose to diagnose problem.John MacFarlane1-2/+2
Why is text-icu being built?
2018-10-18Lua filters doc: fix and add more links to typesAlbert Krewinkel1-45/+48
2018-10-18Remove unneeded import.John MacFarlane1-1/+0
2018-10-18linux Dockerfile - use released static build of stack.John MacFarlane1-4/+2
2018-10-18Groff escaping changes.John MacFarlane10-110/+118
- `--ascii` is now turned on automatically for man output, for portability. All man output will be escaped to ASCII. - In T.P.Writers.Groff, `escapeChar`, `escapeString`, and `escapeCode` now take a boolean parameter that selects ascii-only output. This is used by the Ms writer for `--ascii`, instead of doing an extra pass after writing the document. - In ms output without `--ascii`, unicode is used whenever possible (e.g. for double quotes). - A few escapes are changed: e.g. `\[rs]` instead of `\\` for backslash, and `\ga]` instead of `` \` `` for backtick.
2018-10-18Add Text.Pandoc.GroffChar.John MacFarlane3-20/+421
This will hold common escaping data for groff characters.
2018-10-17man/ms writers: use `\[at]` for escaped `@`.John MacFarlane2-2/+2
2018-10-17Updated version bounds for containers and haddock-library.John MacFarlane6-9/+7
Allow haddock-library 1.7 and containers 0.6.*. Closes #4974.
2018-10-17Move common groff functions to Text.Pandoc.Writers.GroffJohn MacFarlane11-215/+221
(unexported module). These are used in both the man and ms writers. Moved groffEscape out of Text.Pandoc.Writers.Shared [cancels earlier API change from adding it, which was after last release]. This fixes strong/code combination on man (should be `\f[CB]` not `\f[BC]`), mentioned in #4973. Updated tests. Closes #4975.
2018-10-17Man writer: use \f[R] instead of \f[] to reset fontAlexander Krotov3-46/+47
Fixes #4973
2018-10-17Muse reader: allow examples to be indented with tabsAlexander Krotov2-8/+13
2018-10-17Muse reader: remove indentation from examples indicated by {{{ and }}}Alexander Krotov2-4/+13
2018-10-16Merge branch 'groff_reader' of https://github.com/Yanpas/pandoc into ↵John MacFarlane9-0/+958
Yanpas-groff_reader
2018-10-17update cabal, add man-readerYan Pas1-0/+1
2018-10-17added old-style testYan Pas5-1/+289
2018-10-16Added note to customizing-pandoc.John MacFarlane1-0/+4
2018-10-16customizing-pandoc: add suggestion about 'pandoc -t native'.John MacFarlane1-1/+2
2018-10-16Revised customizing-pandoc.md and included TODOs.John MacFarlane1-63/+151
2018-10-16Muse reader: simplify "atStart"Alexander Krotov1-5/+6
2018-10-16add docs about customizing pandoc (#4972)Mauro Bieg2-2/+66
closes #3288
2018-10-16Muse reader: code cleanupAlexander Krotov1-33/+29
2018-10-16Muse reader: simplify "commonPrefix" implementationAlexander Krotov1-5/+1
2018-10-16Muse reader: simplify emphasis parsingAlexander Krotov1-17/+7
2018-10-16Lua filter docs: extend description of table fieldsAlbert Krewinkel1-9/+18
2018-10-15Only override --quickcheck-tests=N if N is not default value (100).John MacFarlane2-2/+12
Some of the round-trip tests are set to do a maximum of 25 trials when the default value is given. Closes #4956.
2018-10-15LaTeX reader: small verbatim mode cleanups.John MacFarlane1-17/+15
2018-10-15LaTeX reader: withVerbatimMode now does nothing if already inJohn MacFarlane1-4/+8
verbatim mode. Previously nested uses wouldn't work properly.
2018-10-15LaTeX reader: simplified type on doMacros'.John MacFarlane2-12/+9
2018-10-16buildersYan Pas2-68/+62
2018-10-15LaTeX reader: small efficiency improvement.John MacFarlane1-1/+2
2018-10-15LaTeX reader: tokenize before pulling tokens,John MacFarlane2-15/+16
rather than after. This has some performance penalty but is more reliable. Closes #4408.
2018-10-16font as a set of styles, mono font supportYan Pas1-24/+39
2018-10-15Lua filter docs: describe Attr typeAlbert Krewinkel1-13/+28
2018-10-15Lua filter docs: render field names as codeAlbert Krewinkel1-131/+131