aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-07-27Remove duplicate 'seriespage'. (#6568)Blake Eryx1-1/+0
2020-07-25doc/lua-filters.md: document `body` fieldAlbert Krewinkel1-3/+6
2020-07-25Lua filters: make attr argument optional in Table constructorAlbert Krewinkel3-10/+19
This changes the Lua API. It is highly unlikely for this change to affect existing filters, since the documentation for the new Table constructor (and type) was incomplete and partly wrong before. The Lua API is now more consistent, as all constructors for elements with attributes now take attributes as the last parameter.
2020-07-25doc/lua-filters.md: fix documentation for tablesAlbert Krewinkel1-20/+123
2020-07-24Make sure proper set of extensions is recognized for commonmark_x.John MacFarlane1-0/+1
2020-07-24Use commonmark-extensions 0.2.0.1.John MacFarlane1-1/+1
2020-07-23Restore testing with ghc 8.0.2.John MacFarlane1-0/+2
2020-07-23release-candidate: pin upload-artifact to specific version.John MacFarlane1-3/+3
2020-07-23Update changelog.John MacFarlane1-0/+3
2020-07-23Markdown writer: use numerical labels for refs...John MacFarlane1-5/+9
...that are longer than 999 characters or contain square brackets. For conformity with commonmark. Closes #6560
2020-07-23update date, man page, README.John MacFarlane4-137/+183
2020-07-23Update changelog.John MacFarlane1-1/+10
2020-07-23Add `raw_markdown` extension affecting `ipynb` reader.John MacFarlane4-4/+18
Specifying `-f ipynb+raw_markdown` will cause Markdown cells to be represented as raw Markdown blocks, instead of being parsed. This is not what you want when going from `ipynb` to other formats, but it may be useful when going from `ipynb` to Markdown or to `ipynb`, to avoid semantically insignificant changes in the contents of the Markdown cells that might otherwise be introduced. Closes #5408.
2020-07-23Update changelog and bump to 2.10.1.John MacFarlane3-1/+162
2020-07-23Minimal support for SIRange in LaTeX reader (#6418)Emerson Harkin2-0/+83
Add support for `\SIRange{firstnumber}{secondnumber}{unit}` provided by siunitx. An en-dash is used instead of localized "to".
2020-07-23Use commonmark-0.1.0.1.John MacFarlane2-2/+2
Partially addresses #6556.
2020-07-23Col-span and row-span in LaTeX reader (#6470)Laurent P. René de Cotret2-22/+112
Add multirow and multicolumn support in LaTex reader. Partially addresses #6311.
2020-07-23Further improvements to ams theorem support, and a test.John MacFarlane2-2/+44
See #1608.
2020-07-23LaTeX reader: Add identifier in divs for ams theorem environments.John MacFarlane1-1/+1
2020-07-22LaTeX reader: SUpport ams `\theoremstyle`.John MacFarlane2-8/+38
2020-07-22Implement first optional argument for `\newtheorem`.John MacFarlane1-23/+30
This allows groups of theorem environments to be put in the same numbering sequence.
2020-07-22LaTeX reader: Don't boldface alt title in theorems.John MacFarlane1-2/+2
2020-07-22LaTeX reader: support theorem environments and `\newtheorem`.John MacFarlane2-3/+65
Includes numbering and labels and refs. Note that numbering support is not complete; we don't reset numbers with sections for example.
2020-07-22LaTeX reader: support ams proof environment.John MacFarlane2-0/+37
2020-07-22Moved more from LaTeX reader to LaTeX.Parsing.John MacFarlane2-63/+67
2020-07-22Docx writer: support --number-sections.John MacFarlane31-5/+23
Closes #1413.
2020-07-22Merge pull request #6552 from favonia/patch-1John MacFarlane1-1/+2
Update using-the-pandoc-api.md
2020-07-21Update using-the-pandoc-api.mdfavonia1-1/+2
2020-07-21RST reader: fix csv tables with multiline cells.John MacFarlane4-1/+37
Closes #6549.
2020-07-20Move some code from T.P.R.LaTeX. to T.P.R.LaTeX.Parsing.John MacFarlane2-70/+78
We need to reduce the size of the LaTeX reader to ease compilation on resource-limited systems. More can be done in this vein.
2020-07-19Use commonmark-extensions, commonmark-pandoc 0.2.John MacFarlane2-10/+5
2020-07-19Markdown writer: move asciify out of escapeString.John MacFarlane1-9/+9
Otherwise unsmartify doesn't catch quotes that have already been turned to entities.
2020-07-19Remove use of cmark-gfm for commonmark/gfm rendering.John MacFarlane11-440/+118
Instead rely on the markdown writer with appropriate extensions. Export writeCommonMark variant from Markdown writer. This changes a few small things in rendering markdown, e.g. w/r/t requiring backslashes before spaces inside super/subscripts.
2020-07-19Markdown writer: use unicode super/subscript characters...John MacFarlane1-18/+44
when possible if the superscript or subscript extension or raw_html aren't available.
2020-07-19Markdown writer: render caption as following paragraph...John MacFarlane1-2/+5
when `Ext_table_caption` not enabled.
2020-07-19Use released versions of commonmark libraries.John MacFarlane2-6/+4
2020-07-19Add commonmark_x output format...John MacFarlane5-3/+36
commonmark with a number of useful extensions (more than gfm).
2020-07-19Trim down githubMarkdownExtensions.John MacFarlane2-10/+12
Previously it included all of the following, which make sense for the legacy markdown_github but not for gfm, since they are part of base commonmark and thus can't be turned off in gfm: - `Ext_all_symbols_escapable` - `Ext_backtick_code_blocks` - `Ext_fenced_code_blocks` - `Ext_space_in_atx_header` - `Ext_intraword_underscores` - `Ext_lists_without_preceding_blankline` - `Ext_shortcut_reference_links` ` These have been removed from `githubMarkdownExtensions`, though they're still turned on for legacy `markdown_github`.
2020-07-19Add generic `attributes` extension.John MacFarlane3-8/+34
This allows attributes to be added to any block or inline element, in principle. (Though in many cases this will be done by adding a Div or Span container, since pandoc's AST doesn't have a slot for attributes for most elements.) Currently this is only possible with the commonmark and gfm readers. Add `Ext_attributes` constructor for `Extension` [API change].
2020-07-19Use commonmark-hs to parse commonmark/gfm...John MacFarlane4-199/+67
...instead of cmark-gfm (a wrapper around a C library). We can now support many more pandoc extensions for commonmark and gfm. Add fenced_code_attributes to gfm/commonmark extensions.
2020-07-19CI: Drop testing on ghc 8.0.2.John MacFarlane2-3/+1
2020-07-19MANUAL.txt: rewrite Raw HTML/TeX section...John MacFarlane1-47/+37
...to avoid duplicate headings for the extensions.
2020-07-19Merge pull request #6495 from tarleb/html5-figure-accessiblityJohn MacFarlane6-9/+17
HTML writer: improve alt-text/caption handling for HTML5
2020-07-19Merge pull request #6547 from Blake-Eryx/masterJohn MacFarlane1-1/+0
Remove duplicate 'titlepage' in docs
2020-07-19Remove duplicate 'titlepage' in docsBlake Eryx1-1/+0
2020-07-18DocBook reader: parse releaseinfo as metadata.John MacFarlane1-0/+1
Closes #6542. Note that you'll need to put releaseinfo somewhere in your template if you want this to be part of the converted output.
2020-07-17Jira writer: keep image caption as alt attributeAlbert Krewinkel2-12/+14
Fixes #6529
2020-07-15Use selnolig to selectively suppress ligatures with lualatex.John MacFarlane5-0/+15
Closes #6534
2020-07-14Docbook reader: remove misleading comment...John MacFarlane1-1/+1
suggesting that releaseinfo is handled. It isn't.
2020-07-13Merge pull request #6527 from lierdakil/fix-6514John MacFarlane3-55/+59
[Docx Reader] Only use bCs/iCs on runs with rtl or cs property