Commit graph

10038 commits

Author SHA1 Message Date
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
Salim B
0fd1e0fa45 update commands to extract deb archive on Linux (#4043)
Since Pandoc v2.0 the xz instead of gz format is used for the data archive inside the deb (`data.tar.xz`) and the old commands to extract a gzip archive fail.
2017-11-05 20:46:18 -05:00
John MacFarlane
f7a98a6d7f Fix 'make changes_github'. 2017-11-05 09:58:35 -08:00
John MacFarlane
b2bde69384 Fix test output for latest skylighting. 2017-11-04 22:18:13 -07:00
John MacFarlane
32d95aa9f6 Use skylighting 0.4.3.2. 2017-11-04 22:01:03 -07:00
John MacFarlane
8e8d7802ee Logging: issue INFO, not WARNING, if LaTeX .sty file can't be read.
Normally this is not a situation requiring a fix from the user,
so a warning is inappropriate.
2017-11-04 17:07:55 -07:00
John MacFarlane
5087b05df4 Use -O2 for windows, macos binary packages. 2017-11-04 15:57:21 -07:00
John MacFarlane
4a98b86a78 Update MANUAL date and man page. 2017-11-04 15:52:05 -07:00
John MacFarlane
f14013bce3 Bump to 2.0.1.1. 2017-11-04 15:51:23 -07:00
John MacFarlane
80f285243e Update changelog. 2017-11-04 15:44:19 -07:00
John MacFarlane
fe42c175eb Revert "Better indentation under headers in org mode output."
This reverts commit 1a81751cef.
2017-11-04 11:32:47 -07:00
John MacFarlane
1a81751cef Better indentation under headers in org mode output.
See #4036.

Close examination by org experts needed, to ensure that
nothing breaks.
2017-11-04 11:25:38 -07:00
John MacFarlane
8e53489cbc Fix strikethrough in gfm writer.
Previously we got a crash, because we were trying to print
a native cmark STRIKETHROUGH node, and the commonmark writer
in cmark-github doesn't support this.  Work around this by
using a raw node to add the strikethrough delimiters.

Closes #4038.
2017-11-04 10:35:52 -07:00
John MacFarlane
d31a04dfb2 Clarify that --setext-headers doesn't affect gfm output.
Closes #4035.
2017-11-04 10:35:26 -07:00
John MacFarlane
330fe87799 Merge branch 'master' of github.com:jgm/pandoc 2017-11-04 10:33:02 -07:00
Roland Hieber
2aef7f1f9e INSTALL.md: update links to Linux distributions (#4040)
* INSTALL.md: update links to Linux distributions.  Some links were outdated.
  Link to the package search page if no separate page for pandoc exists, and
  use HTTPS where possible.  All other links have been clicked once and deemed okay.

* INSTALL.md: also link to the download page in the Linux section
  for people who only read the parts relevant for them.

  Signed-off-by: Roland Hieber <rohieb@rohieb.name>
2017-11-04 13:32:22 -04:00
John MacFarlane
8a216b00ef Revise clarification on fenced_divs.
(#4039)
2017-11-04 10:30:32 -07:00
Tristano Ajmone
e9c9bf10e2 Manual: Edit "Extension: fenced_divs" (#4039)
Add paragraph at end of `Extension: fenced_divs` section to clarify that the actual number of colons in fences is irrelevant. (See issue #4037).
2017-11-04 13:27:03 -04:00
John MacFarlane
d35417f8a8 Test case change for texmath 0.10. 2017-11-04 10:23:02 -07:00
John MacFarlane
25f24af068 Use texmath 0.10. 2017-11-03 23:26:37 -07:00
John MacFarlane
a41015b929 Updated tests. 2017-11-03 11:46:15 -07:00
John MacFarlane
d0548fe29c Use latest skylighting. 2017-11-03 11:29:15 -07:00
Wandmalfarbe
62244713f5 Added a few abbreviations and sorted the list. (#3984) 2017-11-03 12:48:58 -04:00
John MacFarlane
642d603666 Improved support for columns in HTML.
* Move as much as possible to the CSS in the template.
* Ensure that all the HTML-based templates (including epub)
  contain the CSS for columns.
* Columns default to 50% width unless they are given a width
  attribute.

Closes #4028.
2017-11-02 20:57:05 -07:00
John MacFarlane
5282688126 Update skylighting version in stack.pkg.yaml. 2017-11-02 20:15:34 -07:00
John MacFarlane
22389fdda5
Merge pull request #4032 from wilx/master
pandoc-template-mode: Comments auto-fill and HTML attributes highlighting fixes.
2017-11-02 23:03:30 -04:00
Vaclav Haisman
1089fab083 Merge remote-tracking branch 'upstream/master' 2017-11-03 01:21:21 +01:00
Vaclav Haisman
916a80ea76 pandoc-template-mode.el: Improve.
Avoid highlighting of "strings" by deriving from
`text-mode-syntax-table`. This fixes missing highlighting in default.html5
tag attributes.

Define comment starting and ending sequences to allow use of M-q (auto-fill)
on comments.
2017-11-03 01:16:26 +01:00
John MacFarlane
5dfe131ee0 Support lineAnchors (or line-anchors) in code blocks, for HTML. 2017-11-02 16:38:06 -07:00
John MacFarlane
856587ff63 Use latest skylighting; ensure no duplicate ids on code lines.
The line identifiers are built using the code block's identifier
as a prefix. If the code block has null identifier, we use
"cb1", "cb2", etc.

Closes #4031.
2017-11-02 16:03:40 -07:00
John MacFarlane
5df272254d Bump tasty upper bound. 2017-11-02 11:22:19 -07:00