aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-07-13Man writer: Improved definition list term output.John MacFarlane4-262/+272
Now we boldface code but not other things. This matches the most common style in man pages (particularly option lists). Also, remove a regression in the last commit in which 'nowrap' was removed.
2019-07-13Man writer: fixed boldfacing of definition terms.John MacFarlane3-19/+28
Previously the bold-facing would be interrupted by other formatting, because we used `.B`. Closes #5620.
2019-07-13Merge pull request #5606 from blmage/odt-framesJohn MacFarlane6-75/+129
Improve the parsing of frames in ODT documents
2019-07-13LaTeX reader: Properly handle \providecommand and environment...John MacFarlane2-21/+53
They are now ignored if the corresponding command or environment is already defined. Closes #5635.
2019-07-13An empty commit to correct errors in recent commit messages:John MacFarlane0-0/+0
- 5f495eaace3ce4cf15a89b6b3cfb54df6d1658d8 closes #5638, not #5643. - 6d30d3e0b3b4a7005018179ff1098dd16eeb2652 closes #5642, not #5646.
2019-07-13EPUB writer: Use svg tag wrapper for cover image.John MacFarlane3-2/+28
In addition, the code generating the image has been moved to the template, to make it more customizable. Those who use custom EPUB templates will need to adjust their templates, adding the code to generate the cover image. (Previously this was just inserted into 'body'.) Closes #5643.
2019-07-13fix filename and issue reference of previous commitmb211-0/+0
2019-07-12Pass through aria- attributes to HTML5.John MacFarlane3-4/+14
Also document addition of data- prefix to unknown attributes. Closes #5646.
2019-07-12Rebuild man pageJohn MacFarlane1-0/+7
2019-07-12Use -split-sections to reduce linux executable size.John MacFarlane1-1/+1
2019-07-12Update diff-zip to support windows (#5641)Agustín Martín Barbero1-3/+3
Trying to use this script on windows (git-bash) gave several errors: - *mktemp* complained about missing XXXs in the template (fixed by adding XXX) - *find* didn't understand the -E switch (fixed by using the equivalent arguments) - *terminal codes* were not being recognized by the console (-e added to echo)
2019-07-10Improve diff-docx.sh -> diff-zip.sh.John MacFarlane2-22/+26
It now can be used on odts, docx, or epubs.
2019-07-10Add diff-docx.sh to tools.John MacFarlane1-0/+22
2019-07-10RST reader: keep `name` property in `imgAttr`. (#5637)Brian Leung2-1/+11
Closes #5619.
2019-07-10Extensions.hs fix typo in PHP Markdown commentMauro Bieg1-1/+1
2019-07-06Updating JATS template to v1.1dtd (#5632)Arfon Smith2-5/+5
* Updating JATS template to v1.1dtd * Update writer.jats
2019-07-06Markdown reader: handle inline code more eagerly within lists. (#5628)Brian Leung2-5/+90
Closes #5627.
2019-07-05Update data/jats.csl to avoid commas between editor name-part elements. (#5629)Arfon Smith1-2/+2
2019-07-04Remove misleading comment in man, ms templates.John MacFarlane2-2/+2
2019-07-02Fix redundant constraint warnings. (#5625)Pete Ryland11-23/+20
2019-06-23Update Lua function names in pandoc.systemniszet1-2/+2
Fixed function names of pandoc.system.get_working_directory() and pandoc.system.with_temporary_directory() which are written in the manual of lua filter.
2019-06-22add tests for EPUB2 and EPUB3 cover readermartinfrancois5-1/+33
2019-06-21JATS Writer: do not emit empty <fn-group> (#5595)Mauro Bieg1-1/+3
introduced by e87b54dcad5e37133bc0f4cfc8039e9fd0dd1b4e
2019-06-21Support epigraph command in LaTeX Reader.oquechy2-0/+39
Closes #3523.
2019-06-20Add a test for MathML formulas in ODT documentsblmage2-0/+2
2019-06-20Improve the parsing of frames in ODT documentsblmage4-75/+127
2019-06-20JATS template: add abstractMauro Bieg1-0/+5
2019-06-18Handle the case where the "cover" meta does not link to the manifestblmage1-2/+2
2019-06-18Add support for EPUB2 covers (fix #3992)blmage1-7/+14
2019-06-18Do not override existing "fileN" medias when writing to EPUB format (fix #4206)blmage1-7/+16
2019-06-14Powerpoint code formatting is now context dependent (#5573)Jeroen de Haas9-21/+91
This commit alters the way in which the Powerpoint writer treats inline code and code blocks. - Inline code is now formatted at the same size as the surrounding text. - Code blocks are now given a margin and font size according to their level. - Furthermore this commit allows changing the font with which code is formatted via the `monofont` option. Tested in - PowerPoint 365 for Windows - 1808 (Build 10730.20344 Click-to-Run) - PowerPoint 365 for Mac - 16.26 (19060901)
2019-06-13Update test for skylighting 0.8.1.1.John MacFarlane1-2/+2
2019-06-13Use latest skylighting.John MacFarlane2-3/+3
2019-06-13Don't look for template files remotely for remote input.John MacFarlane1-1/+10
Previously pandoc would look for the template at a remote URL when a URL was used for the input file, instead of taking it from the data-dir. Closes #5579.
2019-06-12OpenDocument writer: Avoid duplicate attributes.John MacFarlane2-21/+24
We use the innermost attribute in nested cases. Closes #4634.
2019-06-12Lua: add a `clone()` method to all AST elements (#5572)Albert Krewinkel5-1/+112
Closes: #5568
2019-06-11Add Jira in trypandocJohn MacFarlane1-0/+1
2019-06-11Update manual date, readme, man page.John MacFarlane3-13/+67
2019-06-11Update changelog.John MacFarlane1-5/+35
2019-06-11LaTeX writer: Don't highlight code in headings.John MacFarlane2-3/+12
This causes compilation errors, and I don't know how to work around them. Closes #5574.
2019-06-11Revert "JATS template: don't include journal-meta unless 'journal'..."John MacFarlane2-2/+7
This reverts commit 193b5ccebaceeb7c0959d40136a1a4d2aeb00c95. journal-meta is required. Better to include it even if it doesn't validate through lack of required fields.
2019-06-11JATS template: don't include journal-meta unless 'journal'...John MacFarlane2-7/+2
...is set in metadata. Otherwise we get validation errors.
2019-06-11JATS writer: ensure validity of pub-date.John MacFarlane3-14/+30
We try to parse the date and convert to year, month, day, as expected in pub-date. We also add an iso-8601-date attribute if possible.
2019-06-11JATS writer: don't use break element for LineBreak.John MacFarlane2-2/+4
It's only allowed in a few special contexts, and not in p elements.
2019-06-11JATS writer: don't embed string-name in string.John MacFarlane2-6/+2
That's illegal with this DTD.
2019-06-11test/lua/module/pandoc.lua: fix non-determinism in testAlbert Krewinkel1-4/+11
2019-06-11data/pandoc.lua: fix deletion of nonexistent attributesAlbert Krewinkel2-1/+10
Fixes: #5569
2019-06-11Lua pandoc module: better tests for Attr and AttributeListAlbert Krewinkel1-0/+65
2019-06-11JATS writer: wrap elements with p when needed.John MacFarlane2-18/+64
The JATS spec restricts contents of certain elements (fn, list-item); this patch wraps elements that can't go in these contexts inside p elements with specific-use "wrapper", so the documents will conform. Closes #5570.
2019-06-10LaTeX writer: Use mbox to get proper behavior inside `\sout`.John MacFarlane3-7/+17
Closes #5529.