Commit graph

12921 commits

Author SHA1 Message Date
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
John MacFarlane
41d1ae0fdd Change styles in reference.docx.
All headings now have a uniform color.

Level-1 headings no longer set `w:themeShade="B5"`.

Level-2 headings are now 14 point rather than 16 point.

Level-3 headings are now 12 point rather than 14 point.

Level-4 headings are italic rather than bold.

Closes #5820.
2019-11-16 09:48:05 -08:00
jeongminkim-islab
72666f3331 Patch for fixing spacing problem on CJK language. (#5855)
This changes the default on the xeCJK package so that spaces between words
are preserved instead of being collapsed. This is necessary for Korean.

Issue and solution is from below.
https://tex.stackexchange.com/questions/17292/how-to-write-spaces-between-korean-words-with-xecjk
2019-11-16 09:41:21 -08:00
John MacFarlane
1f69162ffd RST writer: Improve spacing for tables with no width information.
If a simple table would be too wide, we use a grid table.
The code for generating grid tables has been adjusted to
give more intelligent column widths when widths aren't
given. (This also affects the markdown writer.)

Closes #5899.
2019-11-15 23:09:53 -08:00
Andrew Dunning
6c1692ea22 LaTeX Reader: Add KOMA-Script metadata commands (#5910)
Add all titling commands to existing definition for `\dedication`.
2019-11-15 08:45:18 -08:00
John MacFarlane
e8de53ce4a Change reference.docx to use more normal block quotes.
Indented left and right, same font and size.
Previously it was unindented, smaller font and different
typeface.

See #5820.
2019-11-14 22:20:58 -08:00
John MacFarlane
bfa6c0b57d Default files: Allow leaving input-files blank again.
Leaving it blank yields a Nothing value (interpreted as stdin).
Providing an empty list is intepreted as no input.

This resolves one part of #5888.
2019-11-14 21:46:35 -08:00
John MacFarlane
81fae63a54 Change optInputFiles to a Maybe [FilePath].
`Nothing` means: nothing specified.
`Just []` means: an empty list specified (e.g. in defaults).
Potentially these could lead to different behavior: see #5888.
2019-11-14 18:42:55 -08:00
John MacFarlane
871bfaf794 Writers.Shared: Clean up code for adding metadata to variables. 2019-11-14 11:01:43 -08:00