Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-11-24 | EPUB writer: handle calibre metadata. | John MacFarlane | 1 | -1/+22 | |
Nodes of the form <meta name="calibre:series" content="Classics on War and Politics"/> are now included from an epub XML metadata file. You can also include this information in your YAML metadata, like so: calibre: series: Classics on War and Policitics In addition, ibooks-specific metadata can now be included via an XML file. (Previously, it could only be included via YAML metadata, see #2693.) Closes #5098. | |||||
2018-11-25 | MediaWiki reader internals: remove unnecessary binding | Alexander Krotov | 1 | -2/+1 | |
2018-11-22 | Hlint suggestions. | John MacFarlane | 5 | -30/+26 | |
2018-11-22 | RTF writer: fix warnings for skipped raw inlines. | John MacFarlane | 1 | -1/+1 | |
2018-11-22 | OpenDocument writer: small amendment to #5095. | John MacFarlane | 1 | -1/+1 | |
Level one lists should start at 0.5in rather than 0.75in. (At least this is how LibreOffice behaves for me with a new document.) | |||||
2018-11-22 | Merge pull request #5095 from pyssling/master | John MacFarlane | 1 | -2/+2 | |
ODT writer: Fix list indentation | |||||
2018-11-22 | ODT writer: Fix list indentation | Nils Carlson | 1 | -2/+2 | |
Previously lists were indented by half an inch on the first line for each level of nesting. This resulted in lists that looked like this: 1. The first line of the list point text the second line of the same list point. Fix this and bring style into line with libreoffice standards: 1. The first line of the list point text the second line of the list point text. | |||||
2018-11-21 | HTML writer: use plain `"` instead of `"` outside of attributes. | John MacFarlane | 1 | -1/+2 | |
2018-11-20 | Docx writer: Fix bookmarks to headers with long titles. | John MacFarlane | 1 | -4/+18 | |
Word has a 40 character limit for bookmark names. In addition, bookmarks must begin with a letter. Since pandoc's auto-generated identifiers may not respect these constraints, some internal links did not work. With this change, pandoc uses a bookmark name based on the SHA1 hash of the identifier when the identifier isn't a legal bookmark name. Closes #5091. | |||||
2018-11-19 | Fix compiler warning. | John MacFarlane | 1 | -1/+1 | |
2018-11-19 | AsciiDoc writer: improve ordered lists. | John MacFarlane | 1 | -32/+27 | |
Use `.`+ as list markers to support nested ordered lists. Closes #5087. Support list number styles. Closes #5089. | |||||
2018-11-19 | Lua filters: test AST object equality via Haskell | Albert Krewinkel | 1 | -3/+15 | |
Equality of Lua objects representing pandoc AST elements is tested by unmarshalling the objects and comparing the result in Haskell. A new function `equals` which performs this test has been added to the `pandoc.utils` module. Closes: #5092 | |||||
2018-11-19 | For bibliography match Div with id 'refs', not class 'references'. | John MacFarlane | 6 | -12/+13 | |
This was a mismatch between pandoc's docx, epub, latex, and markdown writers and the behavior of pandoc-citeproc, which actually looks for a div with id 'refs' rather than one with class 'references'. | |||||
2018-11-19 | LaTeX reader: cleaned up handling of dimension arguments. | John MacFarlane | 2 | -6/+12 | |
Allow decimal points, preceding space. Also require text 1.1+. | |||||
2018-11-18 | LaTeX reader: don't allow arguments for verbatim, etc. | John MacFarlane | 1 | -1/+0 | |
2018-11-18 | LaTeX reader: Allow space before bracketed options. | John MacFarlane | 1 | -1/+2 | |
2018-11-18 | LaTeX reader: allow optional arguments after \\ in tables. | John MacFarlane | 1 | -1/+2 | |
2018-11-18 | LaTeX reader: improve parsing of `\tiny`, `scriptsize`, etc. | John MacFarlane | 1 | -4/+18 | |
Parse as raw, but know that these font changing commands take no arguments. | |||||
2018-11-19 | FB2 reader: do not throw error for unknown elements in <body> | Alexander Krotov | 1 | -1/+1 | |
Some libraries include custom elements in their FB2 files. | |||||
2018-11-17 | Lua Utils module: improve stringify | Albert Krewinkel | 1 | -2/+9 | |
Meta value strings (MetaString) and booleans (MetaBool) are now converted to the literal string and the lowercase boolean name, respectively. Previously, all values of these types were converted to the empty string. | |||||
2018-11-16 | HTML reader: allow tfoot before body rows. | John MacFarlane | 1 | -2/+3 | |
Closes #5079. | |||||
2018-11-15 | HTML reader: parse `<small>` as a Span with class "small". | John MacFarlane | 1 | -0/+4 | |
Closes #5080. | |||||
2018-11-15 | Asciidoc writer: Render Spans using `[#id .class]#contents#`. | John MacFarlane | 1 | -3/+7 | |
See #5080. | |||||
2018-11-15 | Muse writer: output tables as grid tables if they have multi-line cells | Alexander Krotov | 1 | -1/+13 | |
2018-11-14 | Muse reader: trim whitespace before parsing grid table cells | Alexander Krotov | 1 | -2/+2 | |
2018-11-14 | Muse reader: add grid tables support | Alexander Krotov | 1 | -2/+31 | |
2018-11-14 | Muse writer: indent simple tables only on the top level | Alexander Krotov | 1 | -4/+5 | |
2018-11-14 | Muse writer: simplify "simpleTable" | Alexander Krotov | 1 | -7/+4 | |
2018-11-14 | Muse writer: remove outdated comments | Alexander Krotov | 1 | -3/+0 | |
2018-11-13 | HTML reader: allow thead containing a row with td rather than th. | John MacFarlane | 1 | -11/+11 | |
See #5014. Note that this doesn't address the original issue in #5014, only an unrelated side-issue. | |||||
2018-11-13 | Muse writer: output tables with one column as grid tables | Alexander Krotov | 1 | -1/+1 | |
2018-11-12 | LaTeX writer: don't emit `[<+->]` unless beamer output, | John MacFarlane | 1 | -2/+3 | |
even if `writerIncremental` is True. See #5072. | |||||
2018-11-11 | Exactly match GitHub's identifier generating algorithm. | John MacFarlane | 1 | -2/+7 | |
See #5057. | |||||
2018-11-11 | Text.Pandoc.Shared: add parameter to uniqueIdent, inlineListToIdentifier. | John MacFarlane | 13 | -70/+81 | |
The parameter is Extensions. This allows these functions to be sensitive to the settings of `Ext_gfm_auto_identifiers` and `Ext_ascii_identifiers`. This allows us to use `uniqueIdent` in the CommonMark reader, replacing some custom code. It also means that `gfm_auto_identifiers` can now be used in all formats. Semantically, `gfm_auto_identifiers` is now a modifier of `auto_identifiers`; for identifiers to be set, `auto_identifiers` must be turned on, and then the type of identifier produced depends on `gfm_auto_identifiers` and `ascii_identifiers` are set. Closes #5057. | |||||
2018-11-11 | Remove `ascii_identifiers` from `githubMarkdownExtensions`. | John MacFarlane | 1 | -1/+0 | |
GitHub doesn't seem to strip non-ascii characters. | |||||
2018-11-11 | Clean up toIdent in CommonMark reader. | John MacFarlane | 1 | -8/+9 | |
This partially addresses #5057, fixing a bad interaction between the `ascii_identifiers` extension and the `gfm_auto_identifiers` extension, and creating identifiers that match the ones GitHub produces. This code still needs to be put somewhere common, so the `gfm_auto_identifiers` extension will work with other formats. | |||||
2018-11-11 | Fix CPP conditional for TH pragma | Albert Krewinkel | 3 | -4/+4 | |
The condition was from an earlier version. | |||||
2018-11-08 | Remove Functor and Applicative constraints where Monad already exists | Alexander Krotov | 1 | -14/+7 | |
2018-11-07 | Merge pull request #5054 from lierdakil/docx-image-bookmarks | John MacFarlane | 1 | -26/+17 | |
Docx image and code block bookmarks | |||||
2018-11-07 | Texinfo writer: add blank line before `@menu` section. | John MacFarlane | 1 | -1/+2 | |
Closes #5055. | |||||
2018-11-07 | T.P.App: fix regression in output format heuristics | Albert Krewinkel | 1 | -47/+5 | |
This fix is necessary due to a rebasing error introduced in commit 418bd42df85b93016e50ba48042804e8f51341b5 | |||||
2018-11-07 | T.P.App: extract submodule T.P.App.FormatHeuristics | Albert Krewinkel | 2 | -57/+95 | |
Format guessing is used for input and output options and should be shared. | |||||
2018-11-07 | [Docx Writer] Add bookmarks to code blocks | Nikolay Yakimov | 1 | -2/+2 | |
2018-11-07 | [Docx Writer] Add bookmarks to images | Nikolay Yakimov | 1 | -2/+2 | |
2018-11-07 | [Docx Writer] Refactor common bookmark creation code into a function | Nikolay Yakimov | 1 | -22/+13 | |
2018-11-07 | ICML writer: fix missing type signature warning | Albert Krewinkel | 1 | -3/+4 | |
2018-11-06 | Text.Pandoc.Pretty: don't render BreakingSpace at end of line... | John MacFarlane | 1 | -2/+9 | |
or beginning of line. Closes #5050. | |||||
2018-11-06 | ICML writer: consolidate adjacent strings, inc. spaces. | John MacFarlane | 1 | -15/+15 | |
This avoids chunking up the output unnecessarily into separate elements. | |||||
2018-11-06 | T.P.App: extract Opt into separate module | Albert Krewinkel | 4 | -180/+227 | |
The new Opt module has only a few dependencies. This is important for compile-times during development, as Template Haskell containing modules are be recompiled whenever a (transitive) dependency changes. | |||||
2018-11-05 | Use DERIVE_JSON_VIA_TH in Text.Pandoc.Filter. | John MacFarlane | 1 | -6/+6 | |
Previously AVOID_TEMPLATE_HASKELL was used (with the opposite valence). I assume this was a leftover from an earlier version. |