Commit graph

10827 commits

Author SHA1 Message Date
John MacFarlane
44f1c72b28 Add test for .
Closes .
2018-05-08 09:14:58 -07:00
John MacFarlane
eb733d1365 LaTeX reader: handle $ in /text{..} inside math.
This fixes the main problem in .
There is still an issue about `\SI`, but that's a separate issue.
2018-05-08 09:11:39 -07:00
John MacFarlane
0d83ce3bc4 HTML writer: Strip links from headers when creating TOC.
Otherwise the TOC entries will not link to the sections.
Closes .
2018-05-07 17:44:05 -07:00
Alexander Krotov
5879923422 Muse writer: add support for left-align and right-align classes
Address issue 
2018-05-07 14:54:20 +03:00
Alexander Krotov
621e864023 Use Data.Maybe.fromMaybe 2018-05-07 14:20:42 +03:00
Mauro Bieg
7c0ef68311 Revert piping html to pdf-engine ()
* Revert "PDF: Use withTempDir in html2pdf."  We're going back to using tmpFile instead of piping
* Revert "html2pdf: inject base tag wih current working directory ()"

Fixes 
2018-05-05 09:31:17 -07:00
Francesco Occhipinti
59f0c1d83b catch IO errors when writing media files, closes ()
If we do not catch these errors, any malformed entry in a media bag
could cause the loss of a whole document output. An example of
malformed entry is an entry with an empty file path.
2018-05-04 10:31:02 -07:00
John MacFarlane
8cd3f19dc5 Add COPYRIGHT stanza for FB2 reader. 2018-05-03 18:26:52 -07:00
John MacFarlane
cf0b1e435b Relicense TikiWiki reader as GPL v2 or above, like rest of pandoc.
Author has given permission in an email, 3 May 2018.

See .
2018-05-03 18:24:46 -07:00
John MacFarlane
83fe92d23b Note on the effect of --standalone on native output. 2018-05-03 09:40:39 -07:00
Mauro Bieg
7e0362eeb2
MANUAL.txt fix two internal links 2018-05-02 11:09:33 +02:00
John MacFarlane
516025248e Update tests for . 2018-05-01 21:26:08 -07:00
Pablo Rodríguez
d5f085535e new Greek fallback typeface (would fix ) ()
CMU Serif would give better typographic results
than the current Greek fallback DejaVu Serif.
2018-05-01 21:22:56 -07:00
OvidiusCicero
5ced96c0cc Make template polyglot ()
This line:  `<link rel="stylesheet" href="$css$">` is not valid XML.
Making it self-closing makes the template polyglot.
2018-05-01 11:29:04 -07:00
Alexander Krotov
3d766b5c44 Don't lowercase custom writer filename
Fixes 
2018-04-30 00:55:25 +03:00
John MacFarlane
d250eed455 Fix another changelog typo 2018-04-29 13:28:55 -07:00
Alexander Krotov
4139e3e92b Test Lua filter converting display math to inline math 2018-04-29 16:20:38 +03:00
Alexander Krotov
5ce91a7e01 FB2 reader: replace some errors with warnings
Now FB2 reader can read writer.fb2, which does not validate (yet).
2018-04-28 22:44:07 +03:00
John MacFarlane
287c171d96 Add Joe Hermaszewski to authors 2018-04-27 12:46:07 -07:00
John MacFarlane
e53d65badf Fix changelog typo 2018-04-27 12:13:46 -07:00
John MacFarlane
94af4cad33 Fix Haskell link in README. 2018-04-27 09:23:25 -07:00
Francesco Occhipinti
8b01f03eaa RST writer: preserve empty inline parents in flatten () 2018-04-27 09:01:20 -07:00
Mauro Bieg
245c8d92ec
COPYRIGHT: remove ancient HTML math JS libs 2018-04-27 14:39:45 +02:00
Alexander Krotov
a2816cc700 Fix changelog typo 2018-04-27 12:38:05 +03:00
John MacFarlane
91a205f655 Update README.md. 2018-04-26 23:54:04 -07:00
John MacFarlane
79d6c3d62c Update man page and MANUAL date. 2018-04-26 23:35:31 -07:00
John MacFarlane
04811f17ad Update changelog. 2018-04-26 23:34:30 -07:00
Tim Parenti
9472811694 LaTeX writer: Update \lstinline delimiters. ()
Don't delimit \lstinline with characters that are normally escaped.

Follow-up to , .
2018-04-26 12:41:15 -07:00
John MacFarlane
1494b20bb4 Document FB2 reader. 2018-04-26 12:35:02 -07:00
Alexander
1927bc9aac Add FB2 reader () 2018-04-26 12:33:18 -07:00
John MacFarlane
5f0d407279 Merge branch 'labdsf-fb2-hrblankline' 2018-04-26 12:29:17 -07:00
John MacFarlane
619aaf29aa Merge branch 'fb2-hrblankline' of https://github.com/labdsf/pandoc into labdsf-fb2-hrblankline 2018-04-26 12:29:06 -07:00
John MacFarlane
a96c762a10 RST reader: fix anonymous redirects with backticks.
Closes .
2018-04-26 12:23:25 -07:00
John MacFarlane
50da88446c MANUAL: explain where you can put lua filters. 2018-04-26 12:23:25 -07:00
John MacFarlane
dba86dcceb Use texmath-0.10.1.2.
Closes .
2018-04-26 12:23:25 -07:00
John MacFarlane
e3d05171f3 Make --ascii work for all XML formats (ICML, OPML, JATS,...).
Also document in manual.
2018-04-26 12:23:25 -07:00
John MacFarlane
3ed4861c62 Make --ascii work with ms and man output. 2018-04-26 12:23:25 -07:00
Francesco Occhipinti
eef1c211f5 RST reader: flatten nested inlines, closes ()
nested inlines are not valid RST syntax, so we flatten them following
some readability criteria discussed in .
2018-04-26 12:17:51 -07:00
Joe Hermaszewski
cfa4eee28b DocBook Reader: Read Latex math as output by asciidoctor () 2018-04-26 12:12:28 -07:00
John Muccigrosso
00e3c5c8c1 Add background-image variable to default.latex ()
New variable with same name as comparable variable in (proposed) reveal.js template, so that background images can indicated for both presentation formats with one variable.
2018-04-26 11:33:20 -07:00
John Muccigrosso
91877692f3 Adding background-image variable to reveal.js template () 2018-04-26 11:32:48 -07:00
Alexander Krotov
1b5948b079 Remove unused import 2018-04-26 14:43:27 +03:00
Alexander Krotov
4d89a1db7f Muse reader: allow nested footnotes 2018-04-26 12:38:17 +03:00
Alexander Krotov
73463b8239 Muse reader: use Data.Map.member instead of lookup 2018-04-26 12:09:59 +03:00
Alexander Krotov
188f9f4c53 Simplify curSlideHasSpeakerNotes 2018-04-26 12:09:25 +03:00
John MacFarlane
df452038f5 stack.yaml: use latest pandoc-citeproc. 2018-04-25 23:48:01 -07:00
John MacFarlane
c139a011fa LaTeX reader: fixed previous commit. 2018-04-25 23:47:43 -07:00
John MacFarlane
06bc0376d1 LaTeX reader: Improve handling of raw LaTeX (for markdown etc.).
Previously there were some bugs in how macros were handled.

Closes , .
2018-04-25 23:20:52 -07:00
John MacFarlane
aba0f7e063 Add tests for and (currently failing). 2018-04-25 23:04:08 -07:00
John MacFarlane
d0940c6e00 Ms template: Fix date.
Previously .ND was used, but this only works if you
have a title page, which we don't.  Thanks to @teoric.
2018-04-25 17:49:01 -07:00