aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-07-23Templates: Change type of renderTemplate'.John MacFarlane5-15/+14
Return value is now Text rather than being polymorphic. This makes room for upcoming removal of the TemplateTarget class from doctemplates. Other code modified accordingly, and should compile with both current and upcoming version of doctemplates.
2019-07-23revealjs template: add navigationMode (#5657)Mauro Bieg1-0/+4
2019-07-23HTML writer: render inline formulas correctly with --webtex (#5656)Philip Pesca2-1/+18
We add `\textstyle` to the beginning of the formula to ensure it will be rendered in inline style. Closes #5655.
2019-07-22Fix error introduced in change to test for 4669.John MacFarlane1-1/+1
2019-07-22LaTeX reader: support tex `\tt` command.John MacFarlane3-1/+8
Closes #5654.
2019-07-22Org reader: accept ATTR_LATEX in block attributesAlbert Krewinkel2-3/+18
Attributes for LaTeX output are accepted as valid block attributes; however, their values are ignored. Fixes: #5648
2019-07-20LaTeX writer: fix line breaks at start of paragraph.John MacFarlane2-9/+27
Previously we just omitted these. Now we render them using `\hfill\break` instead of `\\`. This is a revision of a PR by @sabine (#5591) who should be credited with the idea. Closes #3324.
2019-07-20PDF: Better detection of a Cygwin environment.John MacFarlane1-1/+8
Should close #5451. Unlike the earlier fix, this one doesn't spill out to stderr when 'uname -o' fails.
2019-07-20Revert "PDF: create temp dir in . on Cygwin."John MacFarlane1-4/+1
This reverts commit 50885eabde6e9ba524d74a234154766f4c522627. Reopens #5451. The problem with the previous commit is that it would lead to spurious messages on stderr on platforms like macOS.
2019-07-20Removed an unnecessary liftIO.John MacFarlane1-2/+1
2019-07-20Moved istty check.John MacFarlane1-5/+5
2019-07-20Minor code clarity change.John MacFarlane1-8/+8
2019-07-20LaTeX reader: search for image with list of extensions...John MacFarlane2-6/+22
like latex does, if an extension is not provided. Closes #4933.
2019-07-19MANUAL: reveal.js flags (#5653)Mauro Bieg1-0/+2
2019-07-19Markdown: Ensure that expanded latex macros end with space if original did.John MacFarlane2-1/+19
Closes #4442.
2019-07-19PDF: create temp dir in . on Cygwin.John MacFarlane1-1/+4
See #5451.
2019-07-19Change order of ilvl and numId in document.xml (#5647)Agustín Martín Barbero5-3/+3
Workaround for Word Online shortcomming. Fixes #5645 Also, make list para properties go first. This reordering of properties shouldn't be necessary but it seems Word Online does not understand the docx correctly otherwise.
2019-07-19CONTRIBUTING: make clear that `--accept` works for all golden tests...John MacFarlane1-6/+8
not just docx.
2019-07-19CONTRIBUTING.md: mention command tests.John MacFarlane1-1/+2
2019-07-19Improve CONTRIBUTING.md with information on tests (#5652)Agustín Martín Barbero1-0/+29
from INSTALL.md and [elsewhere](https://github.com/jgm/pandoc/pull/4383#issuecomment-367379040)
2019-07-18Markdown writer: prefer using raw_attribute when enabled.John MacFarlane6-16/+58
The `raw_attribute` will be used to mark raw bits, even HTML and LaTeX, and even when `raw_html` and `raw_tex` are enabled, as they are by default. To get the old behavior, disable `raw_attribute` in the writer. Closes #4311.
2019-07-18HTML writer: ensure that line numbers in code blocks get id-prefix.John MacFarlane2-3/+27
Closes #5650.
2019-07-17Fix diff-zip.sh so it works on Darwin.John MacFarlane1-1/+8
BSD find is slightly different and doesn't have -regextype option.
2019-07-16LaTeX reader: handle \looseness command values better.John MacFarlane1-5/+4
Closes #4439.
2019-07-16Dokuwiki writer: handle mixed lists without HTML fallback.John MacFarlane2-20/+31
Closes #5107.
2019-07-16Ms writer: Use .LP instead of .PP for line block.John MacFarlane1-1/+1
Closes #5588.
2019-07-16Version to 2.7.4.John MacFarlane1-1/+1
2019-07-16Add option to include source files in ConTeXt PDFs (#5578)Tristan Stenner2-0/+8
Add a metadata option (`includesource`) to attach the source documents to the resulting PDF.
2019-07-16Make filterIpynbOutput strip ANSI escapes from code in output...John MacFarlane1-1/+10
for non-ipynb formats, when the default "best" option is used with --ipynb-output. The escape sequences cause problems in many formats, including LaTeX. Closes #5633.
2019-07-15Customizable type of PDF/A for the ConTeXt writer (issue #5608) (#5610)Karl Pettersson5-12/+34
* Let the user choose type of PDF/A generated with ConTeXt (closes #5608) * Updated ConTeXt test documents for changes in tagging * Updated color profile settings in accordance with ConTeXt wiki * Made ICC profile and output intent for PDF/A customizable * Read pdfa variable from meta (and updated manual)
2019-07-14Logging: Added UnknownExtensions constructor to LogMessage.John MacFarlane3-39/+58
[API change] Issue this warning when we're falling back to markdown or html because we don't recognize the extension of the input or output files.
2019-07-14Change formatForFilePaths to return a Maybe.John MacFarlane3-8/+10
Internal change. This will make it easier to emit messages when we're guessing at a format.
2019-07-14Update test for new skylighting.John MacFarlane2-14/+12
2019-07-14stack.yaml - use latest skylighting.John MacFarlane1-2/+2
2019-07-14Require skylighting 0.8.2 (fix bug with long integer literals).John MacFarlane1-1/+1
2019-07-14Require skylighting 0.8.1.2.John MacFarlane1-1/+1
This fixes a regression for C character escapes.
2019-07-14Muse: add RTL supportAlexander Krotov4-5/+31
Closes #5551
2019-07-13Fix #4499: add mbox and hbox handling to LaTeX reader (#5586)Vasily Alferov2-1/+98
When `+raw_tex` is enabled, these are passed through literally. Otherwise, they are handled in a way that emulates LaTeX's behavior.
2019-07-13Merge pull request #5589 from blmage/fix-3992John MacFarlane6-9/+48
Add support for EPUB2 covers (fix #3992)
2019-07-13Merge pull request #5590 from blmage/fix-4206John MacFarlane1-7/+16
Do not override "fileN" medias when writing to EPUB format (fix #4206)
2019-07-13Merge pull request #5604 from jgm/jats-abstractJohn MacFarlane1-0/+5
JATS template: add abstract
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