Commit graph

13029 commits

Author SHA1 Message Date
John MacFarlane
659ee98176 Add unexported Text.Pandoc.Readers.Metadata.
For YAML metadata parsing. A step in the direction of #5914.
No API change.
2019-11-24 11:50:28 -08:00
John MacFarlane
da5b6d5c0b Update man template to avoid bad wraps.
The contents of the .TH line cannot wrap.
Closes #5929.
2019-11-24 09:55:04 -08:00
John MacFarlane
7fb9432ae1 Update to doctemplates 0.7.2, update template docs.
This adds the `nowrap` filter.
2019-11-24 09:53:45 -08:00
Alexandre Franke
a09edd1703 Add support for $toc-title$ to HTML (4 and 5) (#5930) 2019-11-23 17:13:23 -08:00
Ian Max Andolina
39fde70c41 Remove grffile requirement in MANUAL.txt (#5927)
See #5848 for the details.
2019-11-22 19:56:25 -08:00
John MacFarlane
4334732f3d changelog: put readers together. 2019-11-22 17:28:54 -08:00
John MacFarlane
9cd693873b change ordering in AUTHORS.md. 2019-11-22 17:05:12 -08:00
John MacFarlane
e19ce31639 Fix trypandoc for Text changes. 2019-11-22 09:45:10 -08:00
John MacFarlane
415ddbe228 Fix extract-changes.hs to use new changelog.md format. 2019-11-22 09:42:04 -08:00
John MacFarlane
36f02e1673 Fix extract-changes.hs so it uses stack as interpreter. 2019-11-22 09:33:32 -08:00
John MacFarlane
dc83f0173f Fix changes_github Makefile target. 2019-11-22 09:23:14 -08:00
John MacFarlane
0cad098c53 Remove PROVISIONAL on changelog. 2019-11-22 09:17:05 -08:00
John MacFarlane
124fc40dd7 Update date on manual. 2019-11-22 07:59:52 -08:00
John MacFarlane
d5d3888865 Update changelog 2019-11-22 07:59:31 -08:00
John MacFarlane
20f8391a56 Re-add pandoc-citeproc to cabal.project. 2019-11-22 07:57:40 -08:00
Albert Krewinkel
d948e13fea Jira writer: improve escaping of special chars (#5925)
Backslash-escaping is used instead of HTML entities, as escaped
characters are easier to read this way. Furthermore, Confluence, which
seems to use a subset of Jira markup, seems to get confused by HTML
entities.
2019-11-22 07:57:24 -08:00
John MacFarlane
138d0b1b3e Use released pandoc-citeproc 0.16.4. 2019-11-21 21:40:35 -08:00
John MacFarlane
cac01f45bb Update changelog 2019-11-21 17:14:08 -08:00
Jose Luis Duran
ff8d143836 LaTeX reader: parse \micro siunitx unit command (#5921)
This was somehow missed in 884aef31c5.
2019-11-21 09:22:53 -08:00
John MacFarlane
5a7a4451ca TEI writer: don't strip hash from internal links.
Closes #5922.
2019-11-21 09:21:15 -08:00
Brian Wignall
a946424e3c Fix typos (#5919) 2019-11-20 09:44:23 -08:00
John MacFarlane
c1b51b1282 Improve markdown escaping in list items.
Closes #5918.
2019-11-19 22:33:14 -08:00
John MacFarlane
0267c1f6f3 Use -j1 for rc builds.
Avoid running out of memory.
2019-11-18 21:11:46 -08:00
John MacFarlane
038f70c84a Update man page. 2019-11-18 20:13:21 -08:00
John MacFarlane
822b2cf80a Update changelog. 2019-11-18 20:12:45 -08:00
John MacFarlane
0d4813d7ba Update MANUAL.txt for doctemplates changes. 2019-11-18 20:10:32 -08:00
John MacFarlane
06124fb863 Use doctemplates 0.7.1 2019-11-18 17:46:43 -08:00
Alexander Krotov
33d2a1a84f DokuWiki reader: parse markup inside monospace ('') (#5917)
Fixes #5916
2019-11-18 15:05:19 -08:00
John MacFarlane
787ad00167 Use dev version of doctemplates. 2019-11-17 22:44:40 -08:00
John MacFarlane
73fb9496bc Reverted the behavior change with --title-prefix.
It now implies `--standalone` again, as before.
2019-11-17 17:35:50 -08:00
John MacFarlane
147ef90fde Ensure that options imply --standalone even in defaults file.
Certain options (`--self-contained`, `--include-in-header`, etc.)
imply `--standalone`.  We now handle this after option parsing
so that it affects options specified in defaults files too.

Behavior change: `--title-prefix` no longer implies `--standalone`.
2019-11-17 17:21:55 -08:00
John MacFarlane
7969d09866 Regenerate man page. 2019-11-17 08:06:53 -08:00
Mauro Bieg
0ea7e4ad45 Changelog for 2.8 consolidate jira writer sections (#5912) 2019-11-17 08:06:18 -08:00
John MacFarlane
0ca2251366 Update changelog. 2019-11-16 22:10:06 -08:00
John MacFarlane
16618f38fb Ms template: Use Palatino for default font.
This is less ugly than Times.
2019-11-16 19:32:59 -08:00
John MacFarlane
e9aea67032 Updaet ms writer test. 2019-11-16 19:22:51 -08:00
John MacFarlane
68aab8a841 Ms template: slightly wider default interparagraph space. 2019-11-16 19:19:36 -08:00
John MacFarlane
1bf17a7c87 Ms writer: boldface definition terms in DefinitionLists.
Like LaTeX, ConTeXt.
2019-11-16 19:01:53 -08:00
John MacFarlane
0cea8df8ac MANUAL: fix formatting for --shift-heading-level. 2019-11-16 18:52:50 -08:00
John MacFarlane
56543ec397 ms template: default to page numbers on bottom, no paragaraph indent.
To be more like the default LaTeX output.
2019-11-16 18:51:22 -08:00
John MacFarlane
1b42e05bd9 ConTeXt template: add a saner default for page numbers.
Previously they appeared centered at the top of the page;
now we put them centered at the bottom, unless the `pagenumbering`
variable is set (this gives users full control over page
number format and position,
https://wiki.contextgarden.net/Command/setuppagenumbering)
2019-11-16 18:38:05 -08:00
John MacFarlane
202d404d65 ConTeXt writer: set csl-hanging-ident variable if needed. 2019-11-16 18:21:33 -08:00
John MacFarlane
2a44140e11 ConTeXt writer: Use special environment for CSL references. 2019-11-16 17:31:47 -08:00
John MacFarlane
11fd45817e Fix changelog list formatting. 2019-11-16 17:31:47 -08:00
John MacFarlane
8683cb596d ConTeXt writer: use braces, not start/stop, for inline language tags.
This prevents unwanted gobbling of spaces.
2019-11-16 17:31:47 -08:00
Denis Maier
c4e198c84d Update default.context (#5875)
Define an start-stop-pair `cslreferences` to allow for hanging indents in the bibliography. Analogous to the cslreferences-environment in the default latex template. See here: https://github.com/jgm/pandoc-citeproc/issues/410
For this to work the context writer must be adapted.
2019-11-16 17:06:26 -08:00
John MacFarlane
5bd6d966f4 Add Ext_smart to list of possible extensions for HTML. 2019-11-16 16:58:10 -08:00
John MacFarlane
23aad047da Regenerate README.md. 2019-11-16 12:54:37 -08:00
John MacFarlane
ce976810b2 Adjust date on manual, regenerate man page. 2019-11-16 12:54:19 -08:00
John MacFarlane
39c08b8db8 Update changelog, AUTHORS. 2019-11-16 12:53:06 -08:00