aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-11-18JATS writer: wrap all tablesAlbert Krewinkel4-330/+355
All `<table>` elements are put inside `<table-wrap>` elements, as the former are not valid as immediate child elements of `<body>`.
2020-11-18CI: validate JATS table outputAlbert Krewinkel1-6/+30
2020-11-18Replace org #+KEYWORDS with #+keywordsTEC16-237/+237
As of ~2 years ago, lower case keywords became the standard (though they are handled case insensitive, as always): https://code.orgmode.org/bzg/org-mode/commit/13424336a6f30c50952d291e7a82906c1210daf0 Upper case keywords are exclusive to the manual: - https://orgmode.org/list/871s50zn6p.fsf@nicolasgoaziou.fr/ - https://orgmode.org/list/87tuuw3n15.fsf@nicolasgoaziou.fr/
2020-11-18Update org supported languages and identifiersTEC1-7/+11
according to the current list contained in https://orgmode.org/worg/org-contrib/babel/languages/index.html
2020-11-17Bibtex reader: fall back on en-US if locale for LANG not found.John MacFarlane1-1/+4
This reproduces earlier pandoc-citeproc behavior. Closes jgm/citeproc#26.
2020-11-17Markdown reader: fix regression with example list references.John MacFarlane3-2/+22
This affects example list references followed by dashes. Introduced by commit b8d17f7. Closes #6855.
2020-11-17Remove obsolete bibutils flag setting on linux/make_artifacts.sh.John MacFarlane1-1/+1
2020-11-17JATS writer: move Table handling to separate moduleAlbert Krewinkel4-68/+146
This makes it easier to split the module into smaller parts.
2020-11-16Move getNextNumber from Readers.LaTeX to Readers.LaTeX.Parsing.John MacFarlane2-26/+26
2020-11-16CI: remove setup-haskell for windows.John MacFarlane1-4/+5
It is no longer necessary, because ghc, cabal, and stack are pre-installed.
2020-11-16Update setup-haskell version.John MacFarlane1-3/+3
2020-11-16Only use filterIpynbOutput if input format is ipynb.John MacFarlane1-0/+1
Closes #6841.
2020-11-16When checking reader/writer name, check base name...John MacFarlane1-9/+11
now that we permit extensions on formats other than markdown.
2020-11-16Improve fix to siunitx numbers with minus.John MacFarlane3-16/+28
- use real minus sign - use tests contributed by Igor Pashev.
2020-11-16LaTeX reader: Fix negative numbers in siunitx commands.John MacFarlane2-2/+19
The commit a157e1a broke negative numbers, e.g. `\SI{-33}{\celcius}` or `\num{-3}`. This fixes the regression.
2020-11-16Added a sentence about `pagetitle` for HTML (#6843)Alex Toldaiev1-1/+2
changed: MANUAL.txt
2020-11-16CONTRIBUTING: describe hlint and how it's used (#6840)Albert Krewinkel1-0/+27
2020-11-15Markdown reader: fix detection of locators following in-text citations.John MacFarlane2-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-15Text.Pandoc.PDF: Fix `changePathSeparators` for Windows.John MacFarlane1-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-15Bump to 2.11.2 for next release (minor API change in Logging).John MacFarlane1-1/+1
2020-11-15Remove redundant bracket in App.OptAlbert Krewinkel1-1/+1
2020-11-14Fix small typo in manual for `--markdown-headings`.John MacFarlane1-3/+3
2020-11-14MANUAL: wrap some overly long lines.John MacFarlane1-102/+130
2020-11-14Revise deprecation warning for --atx-headers.John MacFarlane1-1/+1
2020-11-14Markdown writer: default to using ATX headings.Aner Lucero36-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-14Markdown reader: don't increment stateNoteNumber for example refs.John MacFarlane3-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-13Improve period suppression algorithm for citations in notes...John MacFarlane2-3/+24
in note citation styles. See #6835.
2020-11-13Fix error when extension output is doc (#6834)gison931-1/+1
2020-11-11Manual: correct `link-citation` -> `link-citations`.John MacFarlane1-1/+1
2020-11-10Remove redundant bracket.John MacFarlane1-1/+1
2020-11-10Fix corner case in YAML metadata parsing.John MacFarlane1-1/+4
Previously YAML metadata would sometimes not get recognized if a field ended with a newline followed by spaces. Closes #6823.
2020-11-07Bump to 2.11.1.1 and update changelog.John MacFarlane4-3/+35
2020-11-07Hlint suggestions.John MacFarlane1-2/+3
2020-11-07Lint code in PRs and when committing to master (#6790)Albert Krewinkel23-95/+138
* Remove unused LANGUAGE pragmata * Apply HLint suggestions * Configure HLint to ignore some warnings * Lint code when committing to master
2020-11-06doc/filters.md: describe technical details of filter invocations (#6815)Albert Krewinkel2-0/+81
2020-11-06Comment out source-repository-package from cabal.project.John MacFarlane1-4/+4
2020-11-06Support nocase spansn for csljson outputJohn MacFarlane1-0/+1
2020-11-05Use citeproc 0.1.1.1.John MacFarlane2-3/+2
Closes #6813.
2020-11-05Require latest commonmark, commonmark-extensions.John MacFarlane2-4/+4
Fixes a bug with `autolink_bare_uris` and commonmark.
2020-11-05LaTeX reader: better handling of `\\` inside math in table cells.John MacFarlane1-0/+2
Previously this confused the table parser. Closes #6811.
2020-11-05Use latest commonmark, commonmark-extensions.John MacFarlane2-4/+4
2020-11-05Citeproc: improve punctuation in in-text note citations.John MacFarlane1-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-04DokuWiki writer: translate language names for code elements...John MacFarlane3-14/+36
...and improve whitespace. Closes #6807.
2020-11-04MediaWiki writer: use syntaxhighlight tag...John MacFarlane1-2/+9
instead of deprecated source, for highlighted code. Also support `startFrom` attribute and `numberLines`. Closes #6810.
2020-11-04Use citeproc 0.1.1.John MacFarlane3-4/+3
2020-11-04Simplified idpred in citeproc.John MacFarlane1-2/+1
2020-11-03Update AUTHORS.mdJohn MacFarlane1-0/+1
2020-11-03Update man page and changelog.John MacFarlane2-1/+4
2020-11-03man template: change tbl comment to `'\" t`.John MacFarlane1-1/+1
This is what is specified in groff_man(7). Closes #6803.
2020-11-03Update changelogJohn MacFarlane1-0/+3