aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-11-17Changelog for 2.8 consolidate jira writer sections (#5912)Mauro Bieg1-6/+3
2019-11-16Update changelog.John MacFarlane1-2/+17
2019-11-16Ms template: Use Palatino for default font.John MacFarlane2-2/+2
This is less ugly than Times.
2019-11-16Updaet ms writer test.John MacFarlane1-1/+1
2019-11-16Ms template: slightly wider default interparagraph space.John MacFarlane1-1/+1
2019-11-16Ms writer: boldface definition terms in DefinitionLists.John MacFarlane2-18/+19
Like LaTeX, ConTeXt.
2019-11-16MANUAL: fix formatting for --shift-heading-level.John MacFarlane1-1/+1
2019-11-16ms template: default to page numbers on bottom, no paragaraph indent.John MacFarlane2-2/+8
To be more like the default LaTeX output.
2019-11-16ConTeXt template: add a saner default for page numbers.John MacFarlane3-0/+4
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-16ConTeXt writer: set csl-hanging-ident variable if needed.John MacFarlane1-2/+6
2019-11-16ConTeXt writer: Use special environment for CSL references.John MacFarlane1-0/+8
2019-11-16Fix changelog list formatting.John MacFarlane1-20/+20
2019-11-16ConTeXt writer: use braces, not start/stop, for inline language tags.John MacFarlane2-9/+8
This prevents unwanted gobbling of spaces.
2019-11-16Update default.context (#5875)Denis Maier1-0/+16
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-16Add `Ext_smart` to list of possible extensions for HTML.John MacFarlane1-0/+1
2019-11-16Regenerate README.md.John MacFarlane1-0/+1
2019-11-16Adjust date on manual, regenerate man page.John MacFarlane2-140/+880
2019-11-16Update changelog, AUTHORS.John MacFarlane2-4/+87
2019-11-16Change styles in reference.docx.John MacFarlane29-7/+6
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-16Patch for fixing spacing problem on CJK language. (#5855)jeongminkim-islab1-1/+1
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-15RST writer: Improve spacing for tables with no width information.John MacFarlane4-15/+94
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-15LaTeX Reader: Add KOMA-Script metadata commands (#5910)Andrew Dunning1-1/+8
Add all titling commands to existing definition for `\dedication`.
2019-11-14Change reference.docx to use more normal block quotes.John MacFarlane29-7/+1
Indented left and right, same font and size. Previously it was unindented, smaller font and different typeface. See #5820.
2019-11-14Default files: Allow leaving input-files blank again.John MacFarlane2-4/+5
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-14Change optInputFiles to a `Maybe [FilePath]`.John MacFarlane5-16/+22
`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-14Writers.Shared: Clean up code for adding metadata to variables.John MacFarlane1-10/+9
2019-11-14Markdown reader: use take1WhileP for table row.John MacFarlane1-1/+1
2019-11-14Markdown reader: Use take1WhileP for str.John MacFarlane1-1/+3
This yields a small but measurable performance improvement.
2019-11-14Parsing: Rename takeWhileP -> take1WhileP and clean it up.John MacFarlane1-9/+11
(It doesn't match the empty sequence.)
2019-11-14Allow combining `-Vheader-includes` and `--include-in-header`.John MacFarlane2-15/+23
Closes #5904.
2019-11-14Fixed some test locations and put test data files in extra-source-files.John MacFarlane11-7/+13
2019-11-14Fix regression preventing header-includes from being set using -V.John MacFarlane2-1/+10
See #5904.
2019-11-14RST writer: fix backslash escaping after stringsAlbert Krewinkel2-2/+5
The check whether a complex inline element following a string must be escaped, now depends on the last character of the string instead of the first. Fixes: #5906
2019-11-13Fix regression introduced by last commit.John MacFarlane1-1/+2
2019-11-13Markdown reader: don't parse footnote body unless extension enabled.John MacFarlane1-18/+20
2019-11-13Add test for #5881.John MacFarlane7-0/+23
2019-11-13Default files: combine with prior values when appropriate.John MacFarlane2-21/+54
Certain command-line arguments can be repeated: `--metadata-file`, `--css`, `--include-in-header`, `--include-before-body`, `--include-after-body`, `--variable`, `--metadata`, `--syntax-definition`. In these cases, values specified in default files should be added to the list rather than replacing values specified earlier on the command line (perhaps in other default files). So, for example, if one does pandoc --variable foo=3 --defaults d1 --defaults d2 and `d1` sets the variable `bar` and `d2` sets `baz`, all three variables will be set. Closes #5894.
2019-11-13Update manual in light of last change.John MacFarlane1-1/+1
2019-11-13Use `atx-headers` rather than `setext-headers` in defaults file...John MacFarlane1-2/+2
for consistency with CLI options. See #5894.
2019-11-13Ensure there's a blank line before RST tables.John MacFarlane2-4/+41
Closes #5898.
2019-11-13doc/lua-filters.md: mention which Lua version is shipped with pandocAlbert Krewinkel1-3/+3
See: #5892
2019-11-12Switch to new pandoc-types and use Text instead of String [API change].despresc143-5981/+6368
PR #5884. + Use pandoc-types 1.20 and texmath 0.12. + Text is now used instead of String, with a few exceptions. + In the MediaBag module, some of the types using Strings were switched to use FilePath instead (not Text). + In the Parsing module, new parsers `manyChar`, `many1Char`, `manyTillChar`, `many1TillChar`, `many1Till`, `manyUntil`, `mantyUntilChar` have been added: these are like their unsuffixed counterparts but pack some or all of their output. + `glob` in Text.Pandoc.Class still takes String since it seems to be intended as an interface to Glob, which uses strings. It seems to be used only once in the package, in the EPUB writer, so that is not hard to change.
2019-11-11Clarify MANUAL.txt on `--preserve-tabs`John MacFarlane1-3/+4
2019-11-11Fix typos (#5896)Brian Wignall3-10/+10
2019-11-11Markdown reader: fix small super/subscript issue.John MacFarlane3-8/+20
Superscripts and subscripts cannot contain spaces, but newlines were previously allowed (unintentionally). This led to bad interactions in some cases with footnotes. E.g. ``` foo^[note] bar^[note] ``` With this change newlines are also not allowed inside super/subscripts. Closes #5878.
2019-11-11Change the implementation of `htmlSpanLikeElements` and implement `<dfn>` ↵Florian Beeres4-7/+36
(#5882) * Add HTML Reader support for `<dfn>`, parsing this as a Span with class `dfn`. * Change `htmlSpanLikeElements` implementation to retain classes, attributes and inline content.
2019-11-07DocBook reader: Fix bug with entities in mathphrase element.John MacFarlane2-4/+22
Closes #5885.
2019-11-07FIx typo in cabal.project.John MacFarlane1-1/+1
2019-11-07Fix list fields in Opt so they aren't reversed.John MacFarlane3-30/+30
Previously optIncludeInHeader, etc. were in reverse order. This has been changed to promote #5881. Note also that the `sourcefile` variable used to be sometimes a string, sometimes a list (when there was more than one). Now it is always a list.
2019-11-07Change merge behavior for metadata.John MacFarlane7-15/+19
Previously, if a document contained two YAML metadata blocks that set the same field, the conflict would be resolved in favor of the first. Now it is resolved in favor of the second (due to a change in pandoc-types). This makes the behavior more uniform with other things in pandoc (such as reference links and `--metadata-file`).