Commit Graph
11769 Commits
Author SHA1 Message Date
Albert Krewinkel 62a5f6fa85 ICML writer: fix missing type signature warning 2018-11-07 09:52:12 +01:00
John MacFarlane 5f030f3c2c Add command test for #5050. 2018-11-06 22:57:11 -08:00
John MacFarlane 6619b96dd7 Text.Pandoc.Pretty: don't render BreakingSpace at end of line...
or beginning of line.

Closes #5050.
2018-11-06 22:54:43 -08:00
John MacFarlane 985db7b0a8 ICML writer: consolidate adjacent strings, inc. spaces.
This avoids chunking up the output unnecessarily into
separate elements.
2018-11-06 22:54:25 -08:00
Albert Krewinkel dae3a0e3d2 T.P.App: extract Opt into separate module
The new Opt module has only a few dependencies. This is important for
compile-times during development, as Template Haskell containing modules
are be recompiled whenever a (transitive) dependency changes.
2018-11-06 21:31:12 +01:00
John MacFarlane d66c88a963 Fix typo in changelog. 2018-11-06 10:35:42 -08:00
John MacFarlane f16e29ee2b MANUAL.txt: remove confusing cross-links for some extensions.
I think the text comment to look in the pandoc markdown section
is enough.
2018-11-05 17:20:41 -08:00
John MacFarlane 8c61fe8d6a Use DERIVE_JSON_VIA_TH in Text.Pandoc.Filter.
Previously AVOID_TEMPLATE_HASKELL was used (with the opposite
valence).  I assume this was a leftover from an earlier version.
2018-11-05 15:06:55 -08:00
Alexander Krotov 6a5661da63 hlint Muse writer 2018-11-06 00:04:33 +03:00
Alexander Krotov 928ec21732 Use OverloadedStrings extension to simplify Muse writer tests 2018-11-06 00:04:33 +03:00
John MacFarlane c4223ca094 MANUAL: don't put pandoc in code ticks in heading. 2018-11-05 10:09:52 -08:00
John MacFarlane f14396011e CommonMark writer: make sure --ascii affects quotes, super/subscript. 2018-11-05 09:55:15 -08:00
John MacFarlane 1269fbd032 MANUAL.txt: --ascii works for gfm too. 2018-11-05 09:46:04 -08:00
quasicomputational a747268823 CommonMark writer: respect --ascii (#5043) 2018-11-05 09:33:10 -08:00
John MacFarlane 249fd40838 MANUAL.txt: added "A note on security." 2018-11-05 09:21:43 -08:00
John MacFarlane 511d647290 XML: toHtml5Entities: prefer shorter entities...
when there are several choices for a particular character.
2018-11-04 22:15:53 -08:00
Alexander Krotov 0c84630549 Muse writer: add support for --reference-location=
Address #107
2018-11-05 08:42:52 +03:00
Albert Krewinkel a4968d775d .travis.yml: test deriving via generics with GHC 8.4 2018-11-04 20:51:08 +01:00
Albert Krewinkel dc150df8e1 Add cabal flag derive_json_via_th
Disabling the flag will cause derivation of ToJSON and FromJSON
instances via GHC Generics instead of Template Haskell. The flag is
enabled by default, as deriving via Generics can be slow (see #4083).
2018-11-04 20:51:08 +01:00
John MacFarlane 41b8ad6dd7 MANUAL.txt: add man to --from options. 2018-11-04 11:28:10 -08:00
John MacFarlane 9aaecce7d6 trypandoc: tweaked drop-down lists. 2018-11-04 11:22:25 -08:00
John MacFarlane 849a35643c Revert "Trypandoc: recompile on select rather than change."
This reverts commit f5ad280efb.
2018-11-04 11:19:16 -08:00
John MacFarlane f5ad280efb Trypandoc: recompile on select rather than change. 2018-11-04 11:17:36 -08:00
John MacFarlane 22681b3a2a trypandoc: put link to site in footer. 2018-11-04 10:45:44 -08:00
John MacFarlane 553e364d0d trypandoc: preselect output format. 2018-11-04 10:43:38 -08:00
John MacFarlane bf0e6ad4db trypandoc: update on change of in or out format. 2018-11-04 10:42:37 -08:00
John MacFarlane 0868e088be Trypandoc: add man input format. 2018-11-04 09:56:44 -08:00
John MacFarlane 3af988a671 linux/Dockerfile - use resolver lts-12.12. 2.4 2018-11-03 21:08:12 -07:00
John MacFarlane bf17af65a7 Fix bug in linux/Dockerfile. 2018-11-03 20:56:39 -07:00
John MacFarlane 23cd1c77a6 Fix bug in linux/Dockerfile. 2018-11-03 20:55:17 -07:00
John MacFarlane 20c27b6967 Update man/pandoc.1. 2018-11-03 20:55:03 -07:00
John MacFarlane b8573aab29 Update AUTHORS.md. 2018-11-03 12:48:06 -07:00
John MacFarlane 78c983c5ab Update changelog. 2018-11-03 12:44:19 -07:00
John MacFarlane db8ff174e5 Document romanfont, romanfontoptions. 2018-11-03 12:42:36 -07:00
John MacFarlane 0a0da14f35 Update changelog. 2018-11-03 12:41:52 -07:00
OvidiusCicero 6beb1fc28d LaTeX template: add variable romanfont (#4665)
This opens up the possibility of setting the romanfont in xelatex/lualatex.
Note that mainfont actually oversets sansfont in headings
2018-11-03 12:41:47 -07:00
John MacFarlane 9d0937180a Update README.md. 2018-11-03 12:38:03 -07:00
John MacFarlane be24147d3c Update man page. 2018-11-03 12:37:30 -07:00
John MacFarlane c970040c30 Update changelog. 2018-11-03 12:37:15 -07:00
John MacFarlane 7ac9c39996 AsciiDoc writer: prevent illegal nestings.
In asciidoc you can only have level n+1 headers directly under
level n headers.
2018-11-03 12:22:01 -07:00
John MacFarlane 2f65263851 AsciiDoc writer: use single-line section headers.
The underline style is now deprecated.
Previously `--atx-headers` would enable the single-line
style; now the single-line style is always used.

Closes #5038.
2018-11-03 12:03:05 -07:00
Alexander Krotov 9a004b86c9 Vimwiki reader: parse Text without converting to [Char] 2018-11-03 10:17:32 -07:00
Alexander Krotov 5686bdfc97 Creole reader: parse Text without converting to [Char] 2018-11-03 10:17:32 -07:00
Alexander Krotov e5cc24fb61 Make readWithM accept Text input as well as String (API change) 2018-11-03 10:17:32 -07:00
Alexander Krotov 95eccb94b0 Add Text.Pandoc.Shared.ToString typeclass (API change) 2018-11-03 10:16:47 -07:00
Albert Krewinkel 418bd42df8 App: extract output settings into module 2018-11-03 10:07:47 -07:00
Albert Krewinkel fd3c8cd8c7 App: extract command line options to separate module 2018-11-03 10:07:47 -07:00
John MacFarlane b826fe7086 Update changelog. 2018-11-03 10:05:54 -07:00
John MacFarlane 2f6e4ba84a Man reader: table improvements. 2018-11-02 23:38:49 -07:00
John MacFarlane 2843ee960f Man reader: allow .SS to have blank contents. 2018-11-02 23:38:39 -07:00