Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-09-02 | LaTeX reader: support `\si` and improve other siunitx commands. | John MacFarlane | 2 | -8/+23 | |
2020-09-02 | LaTeX reader: support `\num` from siunitx. | John MacFarlane | 2 | -6/+40 | |
2020-09-02 | LaTeX reader: Support squared, cubed, tothe in siunitx. | John MacFarlane | 1 | -12/+22 | |
Closes #6657. | |||||
2020-09-02 | LaTeX reader: Factored out siunitx stuff into separate module. | John MacFarlane | 2 | -223/+244 | |
2020-08-15 | [Latex Reader] Fixing issues with \multirow and \multicolumn table cells (#6608) | Laurent P. René de Cotret | 1 | -28/+48 | |
* Added test to replicate (#6596) * Table cell reader not consuming spaces correctly (#6596) * Prevented wrong nesting of \multicolumn and \multirow table cells (#6603) * Parse empty table cells (#6603) * Support full prototype for multirow macro (#6603) Closes #6603 | |||||
2020-08-14 | Change SIRange to SIrange (#6617) | Emerson Harkin | 1 | -4/+4 | |
2020-08-11 | DocBook reader: Update list of block level tags. | John MacFarlane | 1 | -10/+83 | |
This fixes #6610. | |||||
2020-08-07 | [Latex Reader] Table cell parser not consuming spaces correctly (#6597) | Laurent P. René de Cotret | 1 | -0/+2 | |
* Added test to replicate (#6596) * Table cell reader not consuming spaces correctly (#6596) | |||||
2020-07-23 | Add `raw_markdown` extension affecting `ipynb` reader. | John MacFarlane | 1 | -1/+5 | |
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-23 | Minimal support for SIRange in LaTeX reader (#6418) | Emerson Harkin | 1 | -0/+24 | |
Add support for `\SIRange{firstnumber}{secondnumber}{unit}` provided by siunitx. An en-dash is used instead of localized "to". | |||||
2020-07-23 | Col-span and row-span in LaTeX reader (#6470) | Laurent P. René de Cotret | 1 | -19/+57 | |
Add multirow and multicolumn support in LaTex reader. Partially addresses #6311. | |||||
2020-07-23 | Further improvements to ams theorem support, and a test. | John MacFarlane | 1 | -2/+3 | |
See #1608. | |||||
2020-07-23 | LaTeX reader: Add identifier in divs for ams theorem environments. | John MacFarlane | 1 | -1/+1 | |
2020-07-22 | LaTeX reader: SUpport ams `\theoremstyle`. | John MacFarlane | 2 | -8/+38 | |
2020-07-22 | Implement first optional argument for `\newtheorem`. | John MacFarlane | 1 | -23/+30 | |
This allows groups of theorem environments to be put in the same numbering sequence. | |||||
2020-07-22 | LaTeX reader: Don't boldface alt title in theorems. | John MacFarlane | 1 | -2/+2 | |
2020-07-22 | LaTeX reader: support theorem environments and `\newtheorem`. | John MacFarlane | 2 | -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-22 | LaTeX reader: support ams proof environment. | John MacFarlane | 2 | -0/+37 | |
2020-07-22 | Moved more from LaTeX reader to LaTeX.Parsing. | John MacFarlane | 2 | -63/+67 | |
2020-07-21 | RST reader: fix csv tables with multiline cells. | John MacFarlane | 1 | -1/+6 | |
Closes #6549. | |||||
2020-07-20 | Move some code from T.P.R.LaTeX. to T.P.R.LaTeX.Parsing. | John MacFarlane | 2 | -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-19 | Add generic `attributes` extension. | John MacFarlane | 1 | -4/+1 | |
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-19 | Use commonmark-hs to parse commonmark/gfm... | John MacFarlane | 1 | -198/+43 | |
...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-18 | DocBook reader: parse releaseinfo as metadata. | John MacFarlane | 1 | -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-14 | Docbook reader: remove misleading comment... | John MacFarlane | 1 | -1/+1 | |
suggesting that releaseinfo is handled. It isn't. | |||||
2020-07-13 | Merge pull request #6527 from lierdakil/fix-6514 | John MacFarlane | 3 | -55/+59 | |
[Docx Reader] Only use bCs/iCs on runs with rtl or cs property | |||||
2020-07-13 | [Docx Reader] Only use bCs/iCs on runs with rtl or cs property | Nikolay Yakimov | 3 | -55/+59 | |
Fixes #6514 | |||||
2020-07-12 | Merge pull request #6509 from lierdakil/docx-smush-inlines-refactor | John MacFarlane | 1 | -62/+39 | |
[Docx Reader] Refactor/update Text.Pandoc.Readers.Docx.Combine.smushInlines | |||||
2020-07-12 | RST reader: fix spurious newlines in some attributes from directives. | John MacFarlane | 1 | -1/+2 | |
2020-07-12 | RST reader: avoid extra newline in included code blocks. | John MacFarlane | 1 | -2/+2 | |
2020-07-07 | [Docx Reader] Use null instead of isEmpty in Readers.Docx.Combine | Nikolay Yakimov | 1 | -9/+5 | |
2020-07-07 | [Docx Reader] Remove unused LANGUAGE from Readers.Docx.Combine | Nikolay Yakimov | 1 | -2/+0 | |
2020-07-07 | [Docx Reader] Remove no-op stack/unstackInlines in Readers.Docx.Combine | Nikolay Yakimov | 1 | -6/+4 | |
2020-07-07 | [Docx Reader] Get rid of unused NullModifier in Readers.Docx.Combine | Nikolay Yakimov | 1 | -18/+15 | |
2020-07-07 | [Docx Reader] Refactor/update smushInlines | Nikolay Yakimov | 1 | -44/+32 | |
2020-07-02 | Revert "Ipnyb: allow lossless round-tripping of markdown cell content." | John MacFarlane | 1 | -2/+1 | |
This reverts commit efbc2050315b60c8a753dee6255465f1083019ab. | |||||
2020-07-02 | Revert "Ipynb reader: fix duplication of 'source' attribute." | John MacFarlane | 1 | -1/+1 | |
This reverts commit 2d009366cef2358ec2c99612ae2c73068841306c. | |||||
2020-07-02 | Ipynb reader: fix duplication of 'source' attribute. | John MacFarlane | 1 | -1/+1 | |
See #5408. | |||||
2020-07-01 | Org reader: respect tables-excluding export setting | Albert Krewinkel | 3 | -2/+7 | |
Tables can be removed from the final document with the `#+OPTION: |:nil` export setting. | |||||
2020-06-30 | Org reader: respect export setting disabling footnotes | Albert Krewinkel | 3 | -2/+7 | |
Footnotes can be removed from the final document with the `#+OPTION: f:nil` export setting. | |||||
2020-06-30 | Ipnyb: allow lossless round-tripping of markdown cell content. | John MacFarlane | 1 | -1/+2 | |
The reader now parses the contents of the markdown cell to a Pandoc structure, but *also* stores the raw markdown in a `source` attribute on the cell Div. When we convert back to markdown, this attribute is stripped off and the original source is used. When we convert to other formats, the attribute is usually ignored (though it will come through in HTML as a `data-source` attribute, not unhelpfully). I'll note some potential drawbacks of this approach: - It makes it impossible to use pandoc to clean up or change the contents of markdown cells, e.g. going from `+smart` to `-smart`. - There may be formats where the addition of the `source` attribute is problematic. I can't think of any, though. Closes #5408. | |||||
2020-06-30 | Org reader: respect export setting which disables entities | Albert Krewinkel | 3 | -6/+16 | |
MathML-like entities, e.g., `\alpha`, can be disabled with the `#+OPTION: e:nil` export setting. | |||||
2020-06-29 | Merge pull request #6328 from lierdakil/defaults-meta-parse | John MacFarlane | 2 | -43/+30 | |
Unify defaults metadata and markdown metadata parsers | |||||
2020-06-29 | Org reader: keep unknown keyword lines as raw org | Albert Krewinkel | 2 | -2/+13 | |
The lines of unknown keywords, like `#+SOMEWORD: value` are no longer read as metadata, but kept as raw `org` blocks. This ensures that more information is retained when round-tripping org-mode files; additionally, this change makes it possible to support non-standard org extensions via filters. | |||||
2020-06-29 | Org reader: unify keyword handling | Albert Krewinkel | 1 | -75/+67 | |
Handling of export settings and other keywords (like `#+LINK`) has been combined and unified. | |||||
2020-06-29 | Org reader: support LATEX_HEADER_EXTRA and HTML_HEAD_EXTRA settings | Albert Krewinkel | 1 | -5/+9 | |
These export settings are treated like their non-extra counterparts, i.e., the values are added to the `header-includes` metadata list. | |||||
2020-06-29 | Org reader: allow multiple #+SUBTITLE export settings | Albert Krewinkel | 1 | -0/+1 | |
The values of all lines are read as inlines and collected in the `subtitle` metadata field. | |||||
2020-06-29 | Clean up T.P.R.Metadata | Nikolay Yakimov | 2 | -41/+25 | |
2020-06-29 | Handle errors in yamlToMeta | Nikolay Yakimov | 1 | -3/+1 | |
2020-06-29 | Unify defaults and markdown metadata parsers | Nikolay Yakimov | 2 | -15/+20 | |