aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-11-20DocBook reader: Table text width support (#6791)Nils Carlson2-2/+44
Table width in relation to text width is not natively supported by docbook but is by the docbook fo stylesheets through an XML processing instruction, <?dbfo table-width="50%"?> . Implement support for this instruction in the DocBook reader.
2020-11-20Improve LaTeX option parsing...John MacFarlane2-1/+9
in cases where we run into trouble parsing inlines til the closing `]`, e.g. quotes, we return a plain string with the option contents. Previously we mistakenly included the brackets in this string. Closes #6869.
2020-11-20JATS writer: support author affiliations (#6867)Albert Krewinkel4-6/+127
Closes: #6687
2020-11-20`commonmark_x`: replace `auto_identifiers` with `gfm_auto_identifiers`.John MacFarlane2-5/+6
`commonmark_x` never actually supported `auto_identifiers` (it didn't do anything), because the underlying library implements gfm-style identifiers only. Attempts to add the `autolink_identifiers` extension to `commonmark` will now fail with an error. Closes #6863.
2020-11-19JATS writer: support advanced table featuresAlbert Krewinkel10-379/+775
2020-11-19Update README.md, man page.John MacFarlane3-29/+27
2020-11-19Update changelog.John MacFarlane1-0/+120
2020-11-19reveal.js template fixes.John MacFarlane1-8/+16
Put quotes around `controlsLayout`, `controlsBackArrows`, and `display`, since these require strings. Add `showSlideNumber`, `hashOneBasedIndex`, `pause`.
2020-11-19--self-contained: increase coverage.John MacFarlane1-4/+11
Previously we only self-contained attributes for certain tag names (`img`, `embed`, `video`, `input`, `audio`, `source`, `track`, `section`). Now we self-contain any occurrence of `src`, `data-src`, `poster`, or `data-background-image`, on any tag; and also `href` on `link` tags. Closes #6854 (which specifically asked about `asciinema-player` tags).
2020-11-19INSTALL.md: Remove references to `pandoc-citeproc`.John MacFarlane1-23/+9
Closes #6857.
2020-11-19DocBook reader: drop period in formalpara title...John MacFarlane1-2/+2
...and put it in a div with class `formalpara-title`, so that people can reformat with filters. Closes #6562. Thanks to rdmuller.
2020-11-18latex template: add a `\break` after parbox in CSLRightInline.John MacFarlane1-1/+1
This should fix spacing problems between entries with numeric styles.
2020-11-18latex template: fix number of params on CSLReferences.John MacFarlane1-1/+1
2020-11-18Man reader: improve handling of .IP.John MacFarlane2-5/+71
We now better handle `.IP` when it is used with non-bullet, non-numbered lists, creating a definition list. We also skip blank lines like groff itself. Closes #6858.
2020-11-18Remove 'static' flag.John MacFarlane2-10/+0
This isn't really necessary and can be misleading (e.g. on macOS, where a fully static build isn't possible). cabal's new option `--enable-executable-static` does the same. On stack you can add something like this to the options for your executable in package.yaml: ld-options: -static -pthread
2020-11-18Re-add -optc-Os to static linux build, because it makes binary smaller.John MacFarlane1-1/+1
2020-11-18Simplify options for building static linux binary.John MacFarlane1-1/+1
2020-11-18Use citeproc 0.2John MacFarlane2-2/+2
2020-11-18Don't allow macos builds with 'static' flag.John MacFarlane1-0/+3
Closes #6771.
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.