aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-08More.oracleJohn MacFarlane
2021-10-06More progress.John MacFarlane
2021-10-06Add Oracle structure to RST reader.John MacFarlane
So far we just have the skeleton in place.
2021-10-05Allow time 1.12.John MacFarlane
2021-10-05Improve quick-cabal targetJohn MacFarlane
2021-10-05Avoid bad wraps in markdown writer at the Doc Text level.John MacFarlane
Previously we tried to do this at the Inline list level, but it makes more sense to intervene on breaking spaces at the Doc Text level.
2021-10-04Powerpoint writer: consolidate text runs when possible.John MacFarlane
This slims down the output files by avoiding unnecessary text run elements. Updated golden tests.
2021-10-04OOXML tests: use pretty-printed form to display diffs.John MacFarlane
Otherwise everything is on one line and the diff is uninformative.
2021-10-04Revert "Powerpoint writer: consolidate text run nodes."John MacFarlane
This reverts commit 62f83aa48633af477913bde6f615fe9f8793901a. This was already being done, it seems. I misidentified the problem; it is really with `Str ""` nodes.
2021-10-04Powerpoint writer: consolidate text run nodes.John MacFarlane
This should reduce the size of the generated files.
2021-10-03Update tests for babel-related changes in latex template.John MacFarlane
2021-10-03Make babel use more idiomatichseg
* Use `babel`'s bidi implementation * Remove global `lang` option -- it broke eg hebrew * Import babel languages individually instead of as package options -- was broken for greek, hebrew * Move `header-includes` to after `babel` setup Closes #7604
2021-10-02Update cabal.projectJohn MacFarlane
2021-10-02Fix compareXML helper in Tests.Writers.OOXML.John MacFarlane
Given how it is used, we were getting "mine" and "good" flipped in the test results.
2021-10-01Depend on pandoc-types 1.23, remove Null constructor on Block.John MacFarlane
2021-09-30epub: Add EPUB3 subject metadata (authority/term)nuew
This adds the ability to specify EPUB 3 `authority` and `term` specific refinements to the `subject` tag. Specifying a plain `subject` tag in metadata will function as before.
2021-09-30Add `footnotes` to default `gfm` etxensions.John MacFarlane
Now that `gfm` supports footnotes. https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/
2021-09-30Docx reader: Add placeholder for word diagramEzwal
2021-09-29EPUB writer: treat epub:type "frontispiece" as front matter.John MacFarlane
This allows you to include a frontispiece using ``` ![](yourimage.jpg) etc. ``` Closes #7600.
2021-09-29Further test updates for switch to pretty-show.John MacFarlane
2021-09-28Switch from pretty-simple to pretty-show for native output.John MacFarlane
Update tests. Reason: it turns out that the native output generated by pretty-simple isn't always readable by the native reader. According to https://github.com/cdepillabout/pretty-simple/issues/99 it is not a design goal of the library that the rendered values be readable using 'read'. This makes it unsuitable for our purposes. pretty-show is a bit slower and it uses 4-space indents (non-configurable), but it doesn't have this serious drawback.
2021-09-27Better implementation of splitStrWhenJohn MacFarlane
2021-09-26RST writer: properly handle anchors to ids...John MacFarlane
with spaces or leading underscore. In this cases we need the quoted form, e.g. ``` .. _`foo bar`: .. _`_foo`: ``` Side note: rST will "normalize" these identifiers anyway, ignoring the underscore: https://docutils.sourceforge.io/docs/ref/rst/directives.html#identifier-normalization Closes #7593.
2021-09-26Update documentation for definition_list extension.John MacFarlane
In 2015, we relaxed indentation requirements for the first line of a definition (see commit d3544dc and issue #2087), but the documnentation wasn't updated to reflect the change. Closes #7594.
2021-09-23BibTeX parser: fix expansion of special strings in series...John MacFarlane
e.g. `newseries` or `library`. Expansion should not happen when these strings are protected in braces, or when they're capitalized. Closes #7591.
2021-09-23HTML reader: handle empty tbody element in table.John MacFarlane
Closes #7589.
2021-09-23HTML writer: render `\ref` and `\eqref` as inline math...John MacFarlane
not display. See #7589.
2021-09-22HTML writer: pass through `\ref` and `\eqref`...John MacFarlane
if MathJax is used. Closes #7587.
2021-09-22HTML writer: pass through inline math environments with KaTeX.John MacFarlane
2021-09-22Use latest citeproc.John MacFarlane
2021-09-21test/epub: an excerpt from The Wasteland is enough!John MacFarlane
Saves over 100K.
2021-09-21Revert "Remove unused epub test file features.epub."John MacFarlane
This reverts commit 83ebb85b640c9dffbc931a6aa84ecb0574c5693d.
2021-09-21Make test/epub/wasteland.epub valid.John MacFarlane
2021-09-21Remove unused epub test file features.epub.John MacFarlane
2021-09-21Use pretty-simple to format native output.John MacFarlane
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-09-21Add missing `%` on command tests.John MacFarlane
This prevented `--accept` from working properly.
2021-09-21Command tests: raise error if command doesn't begin with `%`.John MacFarlane
2021-09-20Stop doing lint in CI.John MacFarlane
The script failed for reasons I can't determine. For now, we disable it.
2021-09-19LaTeX reader: Recognize that `\vadjust` sometimes takes "pre".John MacFarlane
Closes #7531.
2021-09-19Ignore (and gobble parameters of) CSLReferences environment.John MacFarlane
Otherwise we get the parameters as numbers in the output. Closes #7531.
2021-09-19Use babel, not polyglossia, with xelatex.John MacFarlane
Previously polyglossia worked better with xelatex, but that is no longer the case, so we simplify the code so that babel is used with all latex engines. This involves a change to the default LaTeX template.
2021-09-19Fix changelog date for 2.14.2.John MacFarlane
2021-09-19Markdown writer: use `underline` class rather than `ul` for underline.John MacFarlane
This only affects output with bracketed_spans enabled. The markdown reader parses spans with either `.ul` or `.underline` as Underline elements, but we're moving towards preferring the latter.
2021-09-18Alphabetize Extension constructors.John MacFarlane
2021-09-18Use skylighting-0.12, skylighting-core-0.12.John MacFarlane
This fixes highlighting issues with typescript, scala, and other syntaxes that include keyword lists from different syntaxes.
2021-09-18pptx-footers: Replace fixed dates with yaml dateEmily Bourke
2021-09-18pptx: Support footers in the reference docEmily Bourke
In PowerPoint, it’s possible to specify footers across all slides, containing a date (optionally automatically updated to today’s date), the slide number (optionally starting from a higher number than 1), and static text. There’s also an option to hide the footer on the title slide. Before this commit, none of that footer content was pulled through from the reference doc: this commit supports all the functionality listed above. There is one behaviour which may not be immediately obvious: if the reference doc specifies a fixed date (i.e. not automatically updating), and there’s a date specified in the metadata for the document, the footer date is replaced by the metadata date. - Include date, slide number, and static footer content from reference doc - Respect “slide number starts from” option - Respect “Don’t show on title slide” option - Add tests
2021-09-17Fix linter warning.John MacFarlane
2021-09-17Org writer: don't indent contents of code blocks.John MacFarlane
We previously indented them by two spaces, following a common convention. Since the convention is fading, and the indentation is inconvenient for copy/paste, we are discontinuing this practice. Closes #5440.
2021-09-17Update list of supported source languages in org writer.John MacFarlane
See #5440.