John MacFarlane
72ddbf5994
CONTRIBUTING: make clear that --accept
works for all golden tests...
...
not just docx.
2019-07-19 09:29:10 -07:00
John MacFarlane
d4b2128d55
CONTRIBUTING.md: mention command tests.
2019-07-19 09:24:31 -07:00
Agustín Martín Barbero
145b4d5ad6
Improve CONTRIBUTING.md with information on tests ( #5652 )
...
from INSTALL.md and [elsewhere](https://github.com/jgm/pandoc/pull/4383#issuecomment-367379040 )
2019-07-19 09:23:18 -07:00
John MacFarlane
28cad16517
Markdown writer: prefer using raw_attribute when enabled.
...
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-18 22:31:03 -07:00
John MacFarlane
5c655e86d5
HTML writer: ensure that line numbers in code blocks get id-prefix.
...
Closes #5650 .
2019-07-18 22:08:37 -07:00
John MacFarlane
4d65bbf0df
Fix diff-zip.sh so it works on Darwin.
...
BSD find is slightly different and doesn't have -regextype option.
2019-07-17 09:22:07 -07:00
John MacFarlane
c75faac1b5
LaTeX reader: handle \looseness command values better.
...
Closes #4439 .
2019-07-16 13:42:34 -07:00
John MacFarlane
0d72237e27
Dokuwiki writer: handle mixed lists without HTML fallback.
...
Closes #5107 .
2019-07-16 13:14:37 -07:00
John MacFarlane
100624a009
Ms writer: Use .LP instead of .PP for line block.
...
Closes #5588 .
2019-07-16 12:17:02 -07:00
John MacFarlane
6355552abc
Version to 2.7.4.
2019-07-16 11:04:48 -07:00
Tristan Stenner
09f30d65e4
Add option to include source files in ConTeXt PDFs ( #5578 )
...
Add a metadata option (`includesource`) to attach the source documents to the resulting PDF.
2019-07-16 09:31:59 -07:00
John MacFarlane
5454aad324
Make filterIpynbOutput strip ANSI escapes from code in output...
...
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-16 09:27:51 -07:00
Karl Pettersson
5303791bc4
Customizable type of PDF/A for the ConTeXt writer (issue #5608 ) ( #5610 )
...
* 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-15 11:55:04 -07:00
John MacFarlane
680d7b515f
Logging: Added UnknownExtensions constructor to LogMessage.
...
[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-14 11:35:17 -07:00
John MacFarlane
ed0548d898
Change formatForFilePaths to return a Maybe.
...
Internal change. This will make it easier to emit messages
when we're guessing at a format.
2019-07-14 10:48:38 -07:00
John MacFarlane
968d2046a3
Update test for new skylighting.
2019-07-14 10:48:14 -07:00
John MacFarlane
25939c0838
stack.yaml - use latest skylighting.
2019-07-14 10:40:17 -07:00
John MacFarlane
021e967914
Require skylighting 0.8.2 (fix bug with long integer literals).
2019-07-14 10:10:13 -07:00
John MacFarlane
b9e7490074
Require skylighting 0.8.1.2.
...
This fixes a regression for C character escapes.
2019-07-14 09:52:08 -07:00
Alexander Krotov
0713cb65bc
Muse: add RTL support
...
Closes #5551
2019-07-14 18:22:52 +03:00
Vasily Alferov
f6c92c7523
Fix #4499 : add mbox and hbox handling to LaTeX reader ( #5586 )
...
When `+raw_tex` is enabled, these are passed through literally.
Otherwise, they are handled in a way that emulates LaTeX's behavior.
2019-07-13 16:55:41 -07:00
John MacFarlane
7bc9eab846
Merge pull request #5589 from blmage/fix-3992
...
Add support for EPUB2 covers (fix #3992 )
2019-07-13 16:48:09 -07:00
John MacFarlane
1e0d4f16b0
Merge pull request #5590 from blmage/fix-4206
...
Do not override "fileN" medias when writing to EPUB format (fix #4206 )
2019-07-13 16:45:58 -07:00
John MacFarlane
51933c319b
Merge pull request #5604 from jgm/jats-abstract
...
JATS template: add abstract
2019-07-13 16:43:06 -07:00
John MacFarlane
4a5e727c8c
Man writer: Improved definition list term output.
...
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-13 16:41:43 -07:00
John MacFarlane
d0bf7efe95
Man writer: fixed boldfacing of definition terms.
...
Previously the bold-facing would be interrupted by
other formatting, because we used `.B`.
Closes #5620 .
2019-07-13 16:12:28 -07:00
John MacFarlane
a16311c225
Merge pull request #5606 from blmage/odt-frames
...
Improve the parsing of frames in ODT documents
2019-07-13 15:53:58 -07:00
John MacFarlane
1784161946
LaTeX reader: Properly handle \providecommand and environment...
...
They are now ignored if the corresponding command or environment
is already defined.
Closes #5635 .
2019-07-13 15:51:33 -07:00
John MacFarlane
53e30750ba
An empty commit to correct errors in recent commit messages:
...
- 5f495eaace
closes #5638 , not #5643 .
- 6d30d3e0b3
closes #5642 , not #5646 .
2019-07-13 15:31:51 -07:00
John MacFarlane
5f495eaace
EPUB writer: Use svg tag wrapper for cover image.
...
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-13 15:20:14 -07:00
mb21
6cf5c3f6ac
fix filename and issue reference of previous commit
2019-07-13 12:03:45 +02:00
John MacFarlane
6d30d3e0b3
Pass through aria- attributes to HTML5.
...
Also document addition of data- prefix to unknown attributes.
Closes #5646 .
2019-07-12 17:03:01 -07:00
John MacFarlane
c497d79dfd
Rebuild man page
2019-07-12 09:51:51 -07:00
John MacFarlane
fe39bb009f
Use -split-sections to reduce linux executable size.
2019-07-12 09:51:24 -07:00
Agustín Martín Barbero
6134616352
Update diff-zip to support windows ( #5641 )
...
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-12 09:08:27 -07:00
John MacFarlane
83a0104d5b
Improve diff-docx.sh -> diff-zip.sh.
...
It now can be used on odts, docx, or epubs.
2019-07-10 20:53:40 -07:00
John MacFarlane
2c2d4e2138
Add diff-docx.sh to tools.
2019-07-10 20:28:21 -07:00
Brian Leung
1d9ff85b45
RST reader: keep name
property in imgAttr
. ( #5637 )
...
Closes #5619 .
2019-07-10 18:35:01 -07:00
Mauro Bieg
95d7d1b908
Extensions.hs fix typo in PHP Markdown comment
2019-07-10 09:25:42 +02:00
Arfon Smith
020e2a06d5
Updating JATS template to v1.1dtd ( #5632 )
...
* Updating JATS template to v1.1dtd
* Update writer.jats
2019-07-06 23:31:02 +02:00
Brian Leung
9c4ba81357
Markdown reader: handle inline code more eagerly within lists. ( #5628 )
...
Closes #5627 .
2019-07-06 23:14:21 +02:00
Arfon Smith
1e80288606
Update data/jats.csl to avoid commas between editor name-part elements. ( #5629 )
2019-07-05 13:07:51 +02:00
John MacFarlane
c20f1635c9
Remove misleading comment in man, ms templates.
2019-07-04 19:26:24 +02:00
Pete Ryland
24c781039f
Fix redundant constraint warnings. ( #5625 )
2019-07-02 10:29:34 +02:00
niszet
b6c53553a9
Update Lua function names in pandoc.system
...
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-23 14:03:14 +02:00
martinfrancois
4b73544087
add tests for EPUB2 and EPUB3 cover reader
2019-06-22 22:07:26 +02:00
Mauro Bieg
ecea807397
JATS Writer: do not emit empty <fn-group> ( #5595 )
...
introduced by e87b54dcad
2019-06-21 19:06:28 +02:00
oquechy
f0edf60364
Support epigraph command in LaTeX Reader.
...
Closes #3523 .
2019-06-21 18:27:26 +02:00
blmage
449c133406
Add a test for MathML formulas in ODT documents
2019-06-20 21:55:31 +02:00
blmage
e683707d60
Improve the parsing of frames in ODT documents
2019-06-20 21:54:30 +02:00