Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-04 | Makefile - removed 'refactor' target. | John MacFarlane | 1 | -4/+1 | |
2017-03-04 | Makefile: Separate refactor and reformat targets. | John MacFarlane | 2 | -10/+5 | |
Removed tools/refactor.sh. | |||||
2017-03-04 | Stylish-haskell automatic formatting changes. | John MacFarlane | 102 | -1736/+1769 | |
2017-03-04 | Added 'make refactor' using hlint, stylish-haskell. | John MacFarlane | 3 | -1/+184 | |
2017-03-04 | hlint refactoring. | John MacFarlane | 1 | -12/+9 | |
2017-03-04 | Add hanging indent to log messages. | John MacFarlane | 1 | -3/+12 | |
This makes them easier to read. | |||||
2017-03-04 | HTML writer: issue warning if no title specified and template used. | John MacFarlane | 3 | -9/+16 | |
See #3473. | |||||
2017-03-04 | Logging: Added NoTitleElement constructor for LogMessage. | John MacFarlane | 1 | -0/+9 | |
2017-03-04 | Require skylighting 0.3.1. | John MacFarlane | 3 | -4/+4 | |
2017-03-04 | Document that html5 output is polyglot compatible. | John MacFarlane | 1 | -1/+3 | |
2017-03-04 | Merge branch 'master' of github.com:jgm/pandoc | John MacFarlane | 4 | -22/+22 | |
2017-03-04 | Make default.html5 polyglot markup conformant. (#3473) | John Luke Bentley | 4 | -22/+22 | |
Polyglot markup is HTML5 that is also valid XHTML. See <https://www.w3.org/TR/html-polyglot>. With this change, pandoc's html5 writer creates HTML that is both valid HTML5 and valid XHTML. See jgm/pandoc-templates#237 for prior discussion. * Add xml namespace to `<html>` element. * Make all `<meta>` elements self closing. See <https://www.w3.org/TR/html-polyglot/#empty-elements>. * Add `xml:lang` attribute on `<html>` element, defaulting to blank, and always include `lang` attribute, even when blank. See <https://www.w3.org/TR/html-polyglot/#language-attributes>. * Update test files for template changes. The key justification for having language values default to blank: it turns out the HTML5 spec requires it (as I read it). Under [the HTML5 spec, section "3.2.5.3. The lang and xml:lang attributes"](https://www.w3.org/TR/html/dom.html#the-lang-and-xmllang-attributes), providing attributes with blank contents both: * Has meaning, "unknown", and * Is a MUST (written as "must") if a language value is not provided ... > The lang attribute (in no namespace) specifies the primary language > for the element's contents and for any of the element's attributes that > contain text. Its value must be a valid BCP 47 language tag, or the > empty string. Setting the attribute to the empty string indicates that > the primary language is unknown. In short, it seems that where a language value is not provided then a blank value MUST be provided for Polyglot Markup conformance, because the HTML5 spec stipulates a "must". So although the Polyglot Markup spec is unclear on this issue it would seem that if it was correctly written, it would therefore require blank attributes. Further justifications are found at https://github.com/jgm/pandoc-templates/issues/237#issuecomment-275584181 (but the HTML5 spec justification given above would seem to be the clincher). In addition to having lang-values-default-to-blank I recommend that, when an author does not provide a lang value, then upon on pandoc command execution a warning message like the following be provided: > Polyglot markup stipulates that 'The root element SHOULD always specify > the language'. It is therefore recommended you specify a language value in > your source document. See > <https://www.w3.org/International/articles/language-tags/> for valid > language values. | |||||
2017-03-03 | OpenDocument writer: Clarified some code. | John MacFarlane | 1 | -12/+11 | |
2017-03-03 | OpenDocument writer: fixed dropped elements in some ordered lists. | John MacFarlane | 2 | -1/+60 | |
Closes #2434. | |||||
2017-03-03 | RST reader: support RST-style citations. | John MacFarlane | 3 | -14/+74 | |
The citations appear at the end of the document as a definition list in a special div with id `citations`. Citations link to the definitions. Added stateCitations to ParserState. Closes #853. | |||||
2017-03-03 | Docx writer: Don't include bookmarks on headers unless non-null id. | John MacFarlane | 1 | -22/+25 | |
Closes #3476. | |||||
2017-03-03 | Pretty: don't error for blocks of size < 1. | John MacFarlane | 1 | -1/+1 | |
Instead, resize to 1. Note, this (together with earlier changes to the Markdown writer) seems to fix #1785. The table renders as garbage, but pandoc now completes the conversion quickly and doesn't get tied up. | |||||
2017-03-03 | ConTeXt writer: remove unnecessary $ (#3482) | Alexander Krotov | 1 | -2/+2 | |
2017-03-02 | RST reader: Handle multiline cells in simple tables. | John MacFarlane | 2 | -8/+64 | |
Closes #1166. | |||||
2017-03-02 | LaTeX writer: add `\leavevmode` before hypertarget at start of paragraph. | John MacFarlane | 1 | -1/+8 | |
Closes #2704 (formatting problems in beamer citations). See http://tex.stackexchange.com/questions/22852/function-and-usage-of-leavevmode | |||||
2017-03-02 | LaTeX writer: use % after hypertarget before code block | John MacFarlane | 1 | -1/+4 | |
2017-03-02 | LaTeX writer: minor tweak to hypertarget (semantically irrelevant). | John MacFarlane | 1 | -1/+3 | |
2017-03-02 | Removed unnecessary import. | John MacFarlane | 1 | -1/+0 | |
2017-03-02 | Bumped syb upper bound. | John MacFarlane | 1 | -3/+3 | |
2017-03-02 | Markdown reader: when splitting pipe table cells, skip tex math. | John MacFarlane | 1 | -1/+1 | |
You might have a `|` character inside math. (Or for that matter something that the parser might mistake for raw HTML.) See #3481. | |||||
2017-03-01 | LaTeX writer: always add hypertarget when there's a non-empty identifier. | John MacFarlane | 6 | -67/+94 | |
Previously the hypertargets were only added when there was actually a link to that identifier. Closes #2719. | |||||
2017-03-01 | LaTeX reader: don't drop contents of \hypertarget. | John MacFarlane | 1 | -0/+3 | |
2017-03-01 | Writers: Use gets to access MonadState where possible (#3480) | Alexander Krotov | 7 | -53/+53 | |
2017-03-01 | Markdown writer: Fixed grid tables embedded in grid tables. | John MacFarlane | 2 | -32/+81 | |
Closes #2834. | |||||
2017-03-01 | Markdown writer: Refactored gridTable to use widths in chars. | John MacFarlane | 1 | -10/+12 | |
2017-03-01 | Fixed typos in CONTRIBUTING.md (#3479) | Wandmalfarbe | 1 | -2/+2 | |
2017-03-01 | ODT writer: calculate aspect ratio for percentage-sized images (#3478) | Mauro Bieg | 2 | -4/+2 | |
closes #3239 | |||||
2017-02-28 | RST reader: implemented implicit internal header links. | John MacFarlane | 2 | -18/+87 | |
Cloess #3475. | |||||
2017-02-27 | Removed `--epub-stylesheet`; use `--css` instead. | John MacFarlane | 4 | -47/+37 | |
* Removed writerEpubStylesheet in WriterOptions. * Removed `--epub-stylesheet` option. * Allow `--css` to be used with epub. * Allow multiple stylesheets to be used. * Stylesheets will be taken both from `--css` and from the `stylesheet` metadata field (which can contain either a file path or a list of them). Closes #3472, #847. | |||||
2017-02-27 | LaTeX reader: Handle komascript `\dedication`. | John MacFarlane | 1 | -0/+2 | |
It now adds a `dedication` field to metadata. It is up to the user to supply a template that uses this variable. Closes #1845. | |||||
2017-02-27 | Added issue and PR template for data/templates. | John MacFarlane | 2 | -0/+7 | |
Direct users to open issues in jgm/pandoc, not jgm/pandoc-templates. | |||||
2017-02-27 | Merge commit 'ce8226f1a7d64da56117d2f7f351e06225a84614' | John MacFarlane | 0 | -0/+0 | |
2017-02-27 | Update RELEASE_CHECKLIST. | John MacFarlane | 1 | -1/+1 | |
2017-02-27 | Removed .gitmodules. | John MacFarlane | 1 | -3/+0 | |
2017-02-27 | Updated README for pandco-templates. | John MacFarlane | 1 | -16/+23 | |
2017-02-27 | Minor cleanups in LaTeX reader. | John MacFarlane | 1 | -5/+4 | |
2017-02-26 | RST reader: support scale and align attributes of images. | John MacFarlane | 3 | -6/+37 | |
Closes #2662. | |||||
2017-02-26 | ImageSize: export lengthToDim, new function scaleDimension. | John MacFarlane | 1 | -0/+12 | |
2017-02-26 | `--self-contained`: don't incorporate elements with `data-external="1"`. | John MacFarlane | 2 | -5/+10 | |
You can leave an external link as it is by adding the attribute data-external="1" to the element. Pandoc will then not try to incorporate its content when `--self-contained` is used. This is similar to a feature already supported by the EPUB writer. Closes #2656. | |||||
2017-02-26 | Fixed typo in CONTRIBUTING.md. | John MacFarlane | 1 | -1/+1 | |
Introduced by 9d91b8825f6338e415eceb1163bba95d3178a49a. | |||||
2017-02-26 | MANUAL.txt explain --webtex SVG url (#3471) | Mauro Bieg | 1 | -1/+3 | |
2017-02-26 | CONTRIBUTING.md add "ask on pandoc-discuss" | Mauro Bieg | 1 | -1/+7 | |
2017-02-25 | Fixed type sig for older GHC versions. | John MacFarlane | 1 | -1/+1 | |
2017-02-25 | Added test case for variables/metadata in Markdown writer. | John MacFarlane | 1 | -0/+15 | |
2017-02-25 | App: reverse optInputFiles so they come out in right order in templates. | John MacFarlane | 1 | -1/+5 | |