aboutsummaryrefslogtreecommitdiff
path: root/test/writer.context
AgeCommit message (Collapse)AuthorFilesLines
2021-09-21Use pretty-simple to format native output.John MacFarlane1-6/+6
Previously we used our own homespun formatting. But this produces over-long lines that aren't ideal for diffs in tests. Easier to use something off-the-shelf and standard. Closes #7580. Performance is slower by about a factor of 10, but this isn't really a problem because native isn't suitable as a serialization format. (For serialization you should use json, because the reader is so much faster than native.)
2021-05-20ConTeXt reader: improve ordered lists (#7304)Denis Maier1-38/+42
Closes #5016 - change ordered list from itemize to enumerate - adds new itemgroup for ordered lists - add fontfeature for table figures - remove width from itemize in context writer
2021-01-06Remove `\setupthinrules` from default context template.John MacFarlane1-2/+0
The width parameter this used is not actually supported, and the command didn't do anything.
2020-10-22ConTeXt template: adds \setupinterlinespace to fonts larger than normal (#6763)Denis Maier1-3/+3
2019-12-11ConTeXt template: Adjustments to title formatting (#5949)Denis Maier1-3/+3
Added `\setupinterlinespace` to `title`, `subtitle`, `date` and `author` elements. Otherwise longer titles that run over multiple lines will look squashed as `\tfd` etc. won't adapt the line spacing to the font size.
2019-11-16ConTeXt template: add a saner default for page numbers.John MacFarlane1-0/+1
Previously they appeared centered at the top of the page; now we put them centered at the bottom, unless the `pagenumbering` variable is set (this gives users full control over page number format and position, https://wiki.contextgarden.net/Command/setuppagenumbering)
2019-07-15Customizable type of PDF/A for the ConTeXt writer (issue #5608) (#5610)Karl Pettersson1-1/+2
* Let the user choose type of PDF/A generated with ConTeXt (closes #5608) * Updated ConTeXt test documents for changes in tagging * Updated color profile settings in accordance with ConTeXt wiki * Made ICC profile and output intent for PDF/A customizable * Read pdfa variable from meta (and updated manual)
2018-08-15Markdown reader: Use "tex" instead of "latex" for raw tex-ish content.John MacFarlane1-0/+6
We can't always tell if it's LaTeX, ConTeXt, or plain TeX. Better just to use "tex" always. Also changed: ConTeXt writer: now outputs raw "tex" blocks as well as "context". (Closes #969). RST writer: uses ".. raw:: latex" for "tex" content. (RST doesn't support raw context anyway.) Note that if "context" or "latex" specifically is desired, you can still force that in a markdown document by using the raw attribute (see MANUAL.txt): ```{=latex} \foo ``` Note that this change may affect some filters, if they assume that raw tex parsed by the Markdown reader will be RawBlock (Format "latex"). In most cases it should be trivial to modify the filters to accept "tex" as well.
2018-05-01Update tests for #4605.John MacFarlane1-1/+1
2018-01-25ConTeXt writer: new section syntax and --section-divs (#4295)Henri Menke1-32/+35
Fixes #2609. This PR introduces the new-style section headings: `\section[my-header]{My Header}` -> `\section[title={My Header},reference={my-header}]`. On top of this, the ConTeXt writer now supports the `--section-divs` option to write sections in the fenced style, with `\startsection` and `\stopsection`.
2018-01-15ConTeXt writer: Use xtables instead of Tables (#4223)Henri Menke1-0/+5
- Default to xtables for context output. - Added `ntb` extension (affecting context writer only) to use Natural Tables instead. - Added `Ext_ntb` constructor to `Extension` (API change).
2017-05-25Added `spaced_reference_links` extension.John MacFarlane1-22/+18
This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602.
2017-05-06ConTeXt template: improved font handling.John MacFarlane1-2/+11
simplefonts is now obsolete in ConTeXt. This patch comes from Pablo Rodríguez via jgm/pandoc-templates#247.
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+888