Commit graph

9818 commits

Author SHA1 Message Date
John MacFarlane
508aab0bd5 Text.Pandoc.Parsing.uri: allow & and = as word characters.
This fixes a bug where pandoc would stop parsing a URI with an
empty attribute:  for example, `&a=&b=` wolud stop at `a`.
(The uri parser tries to guess which punctuation characters
are part of the URI and which might be punctuation after it.)

Closes #4068.
2017-11-14 22:08:14 -08:00
John MacFarlane
22d69c8916 RST reader: better support for 'container' directive.
Create a div, incorporate name attribute and classes.

Closes #4066.
2017-11-14 21:20:30 -08:00
John MacFarlane
c2a68ad763 EPUB writer: Fixed path for cover image.
It was previously `media/media/imagename`, and should have
been `media/imagename`.
2017-11-14 21:06:24 -08:00
John MacFarlane
d29ef39f6f EPUB writer: fix paths for cover image.
Closes #4069.
2017-11-14 20:57:41 -08:00
John MacFarlane
c9407f85a0 LaTeX template: include natbib/biblatex after polyglossia.
Otherwise we seem to get an error; biblatex wants polyglossia
language to be defined.

Closes #4073.
2017-11-14 20:50:13 -08:00
John MacFarlane
51897937cd LaTeX reader: allow optional arguments on \footnote.
Closes #4062.
2017-11-13 21:19:38 -08:00
John MacFarlane
8d6e0e516a Markdown writer: fix bug with doubled footnotes in grid tables.
Closes #4061.
2017-11-13 21:12:04 -08:00
Alexander Krotov
3a83b3843d Replace "emacs" extension with "amuse" extension
It makes clear that extension is related to Muse markup.
2017-11-13 18:41:49 +03:00
John MacFarlane
e5e8350fcb More efficient wordcount.lua example. 2017-11-12 21:55:10 -08:00
John MacFarlane
a89d4aa924 lua-filters.md: add wordcount example. 2017-11-12 21:48:47 -08:00
John MacFarlane
b85921259d Fix comment that confuses haddock. 2017-11-12 16:51:49 -08:00
John MacFarlane
5c71e5afbf Improve handout example. 2017-11-12 15:51:10 -08:00
John MacFarlane
eacf1a2f00 Fixed typo in lua-filters exmaple. 2017-11-12 15:38:10 -08:00
John MacFarlane
3d6f98c4a3 lua-filters.md doc: Added handout example. 2017-11-12 15:36:11 -08:00
John MacFarlane
eeaa3b048c LaTeX reader: support column specs like *{2}{r}.
This is equivalent to `rr`.  We now expand it like a macro.

Closes #4056.
2017-11-12 14:46:29 -08:00
John MacFarlane
7ba0ae8b4d LaTeX reader: allow optional args for parbox.
See #4056.
2017-11-12 14:19:58 -08:00
John MacFarlane
b4f68a5a9f README: fixed link. 2017-11-12 10:31:31 -08:00
Alexander Krotov
df4cb20f29 Muse reader: accept Emacs Muse definition lists
Emacs Muse does not require indentation.
2017-11-12 18:08:41 +03:00
Alexander Krotov
f13f142945 Add emacs extension 2017-11-12 16:06:22 +03:00
Alexander Krotov
af06d52609 Fix a typo: "uisng" -> "using" 2017-11-12 16:05:01 +03:00
John MacFarlane
6094c84b7a Functor instance to fix ghc 7.8 warning. 2017-11-11 21:13:43 -08:00
John MacFarlane
06ab7230bc Update changelog. 2017-11-11 16:42:35 -08:00
John MacFarlane
931a1c47c5 Require latest pandoc-types. 2017-11-11 16:26:25 -08:00
John MacFarlane
cf7d66c097 Fixed URIs in jats.csl.
They were being rendered twice, leading to invalid XML.
2017-11-11 16:23:41 -08:00
John MacFarlane
f9c7b49502 lua-filters.md: use real-world man page filter as example. 2017-11-11 16:18:39 -08:00
John MacFarlane
1c901057bb Bump to 2.0.2. 2017-11-11 15:28:34 -08:00
John MacFarlane
6b75d6e08c Use lua filter to generate man page from MANUAL.
Instead of three Haskell filters.

This is easier and faster.
2017-11-11 15:26:24 -08:00
John MacFarlane
6174b5bea5 Add lua filter functions to walk inline and block elements.
Refactored some code from Text.Pandoc.Lua.PandocModule
into new internal module Text.Pandoc.Lua.Filter.

Add `walk_inline` and `walk_block` in pandoc lua module.
2017-11-11 14:41:11 -08:00
John MacFarlane
5bedd6219a Use pandoc-types 1.17.3 2017-11-11 13:40:01 -08:00
John MacFarlane
84907fef15 MANUAL: update date. 2017-11-11 10:26:56 -05:00
John MacFarlane
fb5ba1bb00 Fixed YAML metadata with "chomp" (|-).
Previously if a YAML block under `|-` contained
a blank line, pandoc would not parse it as metadata.
2017-11-11 10:17:53 -05:00
Alexander Krotov
f501ad031d MediaWiki reader: hlint 2017-11-11 03:12:15 +03:00
Alexander Krotov
6e832a571b Txt2Tags reader: hlint 2017-11-10 14:48:11 +03:00
Alexander Krotov
207b3edcb9 Vimwiki reader: hlint 2017-11-10 13:26:39 +03:00
John MacFarlane
8d31e00010 Removed etc. from abbreviations file.
Reason:  often etc. ends a sentence, and we want the . to
be treated as a sentence-ending period.
2017-11-09 23:23:51 -05:00
John MacFarlane
1592d38821 Allow fenced code blocks to be indented 1-3 spaces.
This brings our handling of them into alignment with
CommonMark's.

Closes #??.
2017-11-09 23:22:44 -05:00
Alexander Krotov
f72d763655 HTML reader: hlint 2017-11-10 02:23:58 +03:00
Albert Krewinkel
725500bc58
MANUAL: fix header level of "Extension: emoji"
The level of the "Extension: `emoji`" heading is reduced from 5 to 4 to
conform with the other extension headings.
2017-11-09 09:46:54 +01:00
John MacFarlane
fef5770591 Fix regression with --metadata.
It should replace a metadata value set in the document
itself, rather than creating a list including a new value.

Closes #4054.
2017-11-08 21:54:23 -08:00
John MacFarlane
c6338fa883 EPUB writer: fixed modified paths for raw HTML tags
(src, poster, etc.)  This had not been updated for the
new EPUB container layout, with a separate text/ subdirectory.
Closes #4050. Closes #4055.
2017-11-08 17:07:27 -08:00
John MacFarlane
8cf9b23b45 Change to using pandoc-citeproc 0.12.1 in binary packages. 2017-11-08 08:45:36 -08:00
John MacFarlane
2e3ccd7924 Remove stack.full.yaml.
See #4052.
2017-11-08 08:29:32 -08:00
John MacFarlane
5a4c0d6a8c Deprecated ancient HTML math methods.
`--latexmathml`,
`--gladtex`,
`--mimetex`,
`--jsmath`
2017-11-07 13:05:06 -08:00
Mauro Bieg
f0182e1cb5 MANUAL: consolidate math documentation (#4049) 2017-11-07 15:43:36 -05:00
John MacFarlane
b0b90aba62 EPUB writer: fixed EPUB OCF structure.
The structure of the EPUBs was messed up, and #3720 was
improperly implemented.  This commit fixes things.
2017-11-07 12:24:37 -08:00
John MacFarlane
36449d3ea4 EPUB writer: fix image paths with empty --epub-subdirectory. 2017-11-07 08:30:52 -08:00
Alexander Krotov
dd2455cb0d s/suppport/support/ 2017-11-06 09:53:10 +03:00
Alexander Krotov
38ad0b3204 Spellcheck comments 2017-11-06 06:56:21 +03:00
John MacFarlane
5ece5d729d Update RELEASE_CHECKLIST with instruction to tag templates.
Closes #4044.
2017-11-05 18:41:33 -08:00
John MacFarlane
c8d889320f Various improvements to INSTALL.md. 2017-11-05 18:02:21 -08:00