Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-11-16 | When checking reader/writer name, check base name... | John MacFarlane | 1 | -9/+11 | |
now that we permit extensions on formats other than markdown. | |||||
2020-11-16 | Improve fix to siunitx numbers with minus. | John MacFarlane | 3 | -16/+28 | |
- use real minus sign - use tests contributed by Igor Pashev. | |||||
2020-11-16 | LaTeX reader: Fix negative numbers in siunitx commands. | John MacFarlane | 2 | -2/+19 | |
The commit a157e1a broke negative numbers, e.g. `\SI{-33}{\celcius}` or `\num{-3}`. This fixes the regression. | |||||
2020-11-16 | Added a sentence about `pagetitle` for HTML (#6843) | Alex Toldaiev | 1 | -1/+2 | |
changed: MANUAL.txt | |||||
2020-11-16 | CONTRIBUTING: describe hlint and how it's used (#6840) | Albert Krewinkel | 1 | -0/+27 | |
2020-11-15 | Markdown reader: fix detection of locators following in-text citations. | John MacFarlane | 2 | -27/+36 | |
Prevously, if we had `@foo [p. 33; @bar]`, the `p. 33` would be incorrectly parsed as a prefix of `@bar` rather than a suffix of `@foo`. | |||||
2020-11-15 | Text.Pandoc.PDF: Fix `changePathSeparators` for Windows. | John MacFarlane | 1 | -1/+4 | |
Previously a path beginning with a drive, like `C:\foo\bar`, was translated to `C:\/foo/bar`, which caused problems. With this fix, the backslashes are removed. Closes #6173. | |||||
2020-11-15 | Bump to 2.11.2 for next release (minor API change in Logging). | John MacFarlane | 1 | -1/+1 | |
2020-11-15 | Remove redundant bracket in App.Opt | Albert Krewinkel | 1 | -1/+1 | |
2020-11-14 | Fix small typo in manual for `--markdown-headings`. | John MacFarlane | 1 | -3/+3 | |
2020-11-14 | MANUAL: wrap some overly long lines. | John MacFarlane | 1 | -102/+130 | |
2020-11-14 | Revise deprecation warning for --atx-headers. | John MacFarlane | 1 | -1/+1 | |
2020-11-14 | Markdown writer: default to using ATX headings. | Aner Lucero | 36 | -194/+202 | |
Previously we used Setext (underlined) headings by default. The default is now ATX (`##` style). * Add the `--markdown-headings=atx|setext` option. * Deprecate `--atx-headers`. * Add constructor 'ATXHeadingInLHS` constructor to `LogMessage` [API change]. * Support `markdown-headings` in defaults files. * Document new options in MANUAL. Closes #6662. | |||||
2020-11-14 | Markdown reader: don't increment stateNoteNumber for example refs. | John MacFarlane | 3 | -1/+30 | |
Background: syntactically, references to example list items can't be distinguished from citations; we only know which they are after we've parsed the whole document (and this is resolved in the `runF` stage). This means that pandoc's calculation of `citationNoteNum` can sometimes be wrong when there are example list references. This commit partially addresses #6836, but only for the case where the example list references refer to list items defined previously in the document. | |||||
2020-11-13 | Improve period suppression algorithm for citations in notes... | John MacFarlane | 2 | -3/+24 | |
in note citation styles. See #6835. | |||||
2020-11-13 | Fix error when extension output is doc (#6834) | gison93 | 1 | -1/+1 | |
2020-11-11 | Manual: correct `link-citation` -> `link-citations`. | John MacFarlane | 1 | -1/+1 | |
2020-11-10 | Remove redundant bracket. | John MacFarlane | 1 | -1/+1 | |
2020-11-10 | Fix corner case in YAML metadata parsing. | John MacFarlane | 1 | -1/+4 | |
Previously YAML metadata would sometimes not get recognized if a field ended with a newline followed by spaces. Closes #6823. | |||||
2020-11-07 | Bump to 2.11.1.1 and update changelog. | John MacFarlane | 4 | -3/+35 | |
2020-11-07 | Hlint suggestions. | John MacFarlane | 1 | -2/+3 | |
2020-11-07 | Lint code in PRs and when committing to master (#6790) | Albert Krewinkel | 23 | -95/+138 | |
* Remove unused LANGUAGE pragmata * Apply HLint suggestions * Configure HLint to ignore some warnings * Lint code when committing to master | |||||
2020-11-06 | doc/filters.md: describe technical details of filter invocations (#6815) | Albert Krewinkel | 2 | -0/+81 | |
2020-11-06 | Comment out source-repository-package from cabal.project. | John MacFarlane | 1 | -4/+4 | |
2020-11-06 | Support nocase spansn for csljson output | John MacFarlane | 1 | -0/+1 | |
2020-11-05 | Use citeproc 0.1.1.1. | John MacFarlane | 2 | -3/+2 | |
Closes #6813. | |||||
2020-11-05 | Require latest commonmark, commonmark-extensions. | John MacFarlane | 2 | -4/+4 | |
Fixes a bug with `autolink_bare_uris` and commonmark. | |||||
2020-11-05 | LaTeX reader: better handling of `\\` inside math in table cells. | John MacFarlane | 1 | -0/+2 | |
Previously this confused the table parser. Closes #6811. | |||||
2020-11-05 | Use latest commonmark, commonmark-extensions. | John MacFarlane | 2 | -4/+4 | |
2020-11-05 | Citeproc: improve punctuation in in-text note citations. | John MacFarlane | 1 | -8/+15 | |
Previously in-text note citations inside a footnote would sometimes have the final period stripped, even if it was needed (e.g. on the end of 'ibid'). See #6813. | |||||
2020-11-04 | DokuWiki writer: translate language names for code elements... | John MacFarlane | 3 | -14/+36 | |
...and improve whitespace. Closes #6807. | |||||
2020-11-04 | MediaWiki writer: use syntaxhighlight tag... | John MacFarlane | 1 | -2/+9 | |
instead of deprecated source, for highlighted code. Also support `startFrom` attribute and `numberLines`. Closes #6810. | |||||
2020-11-04 | Use citeproc 0.1.1. | John MacFarlane | 3 | -4/+3 | |
2020-11-04 | Simplified idpred in citeproc. | John MacFarlane | 1 | -2/+1 | |
2020-11-03 | Update AUTHORS.md | John MacFarlane | 1 | -0/+1 | |
2020-11-03 | Update man page and changelog. | John MacFarlane | 2 | -1/+4 | |
2020-11-03 | man template: change tbl comment to `'\" t`. | John MacFarlane | 1 | -1/+1 | |
This is what is specified in groff_man(7). Closes #6803. | |||||
2020-11-03 | Update changelog | John MacFarlane | 1 | -0/+3 | |
2020-11-03 | Document pandoc's handling of metadata in JATS output (#6794) | Albert Krewinkel | 1 | -0/+299 | |
2020-11-03 | Regenerate man page. | John MacFarlane | 1 | -5/+5 | |
2020-11-03 | Update changelog. | John MacFarlane | 1 | -6/+15 | |
2020-11-03 | Clarify manual on `--track-changes`. | John MacFarlane | 1 | -12/+12 | |
Closes #6801. | |||||
2020-11-03 | LaTeX template: fix `\CSLRightInline`... | John MacFarlane | 1 | -3/+3 | |
so that it does not run over the right margin. | |||||
2020-11-03 | Properly support optional cite argument for `\blockquote`. | John MacFarlane | 2 | -7/+17 | |
(LaTeX reader) Closes #6802. | |||||
2020-11-02 | Update man page. | John MacFarlane | 2 | -2/+32 | |
2020-11-02 | Bump version to 2.11.1 and update changelog. | John MacFarlane | 2 | -1/+91 | |
2020-11-02 | LaTeX reader: fix bug parsing macro arguments. | John MacFarlane | 2 | -1/+21 | |
If `\cL` is defined as `\mathcal{L}`, and `\til` as `\tilde{#1}`, then `\til\cL` should expand to `\tilde{\mathcal{L}}`, but pandoc was expanding it to `\tilde\mathcal{L}`. This is fixed by parsing the arguments in "verbatim mode" when the macro expands arguments at the point of use. Closes #6796. | |||||
2020-11-02 | Default CSS tweaks. | John MacFarlane | 5 | -75/+70 | |
These changes restore the 20px font size while increasing readibility by reducing line width. (The number of words per line is now similar to that of pandoc's default LaTeX/PDF output.) With the narrower lines, we also need less interline and interparagraph space, so the content becomes more compact and skimmable: - Change default font size back to 20px. - Set font-size for print media to 12pt. - Reduce interline space. - Reduce interparagraph space. - Reduce line width. - Remove the special `line-height: 1` for table cells, which I had suggested but which now seems a mistake. - Remove the special line-height for pre. - Ensure that there is a bit more space before a heading than after. - Slightly reduced space after title header. | |||||
2020-11-02 | T.P.Filter: allow shorter YAML representation of Citeproc | Albert Krewinkel | 1 | -3/+5 | |
The map-based YAML representation of filters expects `type` and `path` fields. The path field had to be present for all filter types, but is not used for citeproc filters. The field can now be omitted when type is "citeproc", as described in the MANUAL. | |||||
2020-11-01 | Default CSS: avoid padding and color if monobackgroundcolor not given. | John MacFarlane | 6 | -20/+9 | |
This makes the default more austere, while putting the padded, colored code elements within easy reach. |