| Age | Commit message (Collapse) | Author |
|
|
|
Update the test so it reflects the right output, and fix the
solution.
Really closes #11006.
|
|
The `nocite` metadata field can now be used to supply additional
citations that don't appear in the text, just as with citeproc and
LaTeX's bibtex and natbib.
Closes: #10680
|
|
These require an additional blank line in some cases.
Closes #11006.
|
|
|
|
See #10995. Use the `Pandoc:walk` method instead.
|
|
Closes #8819
|
|
We only use it when the URL is all ASCII, since the `\url` macro
causes problems when used with some non-ASCII characters.
Closes #8802.
|
|
[API change]
This will prevent unnecessary conversion of units.
Closes #8957.
|
|
[API change]
This allows us to cache the HTTP client manager and reuse it for
many requests, instead of creating it again (an expensive
operation) for each request. (The documentation for `newManager`
advises sharing a single manager between requests.)
This fixes a memory leak and performance issue in files with
a large number of remote images. Closes #10997.
|
|
Previously fenced divs were not used in this case, causing the writer to fall back to raw HTML.
Closes #10955.
|
|
Org doesn't reliable display these as links if they have hard breaks.
Closes #9000.
|
|
It previously converted things like `11ccc` to an integer;
now it requires that the whole string be parsable as an integer.
Closes #9184.
|
|
|
|
|
|
|
|
This adds a reader and writer for an XML format equivalent to `native`
and `json`.
XML schemas for validation can be found in `tools/pandoc-xml.*`.
The format is documented in `doc/xml.md`.
API changes:
- Add module Text.Pandoc.Readers.XML, exporting `readXML`.
- Add module Text.Pandoc.Writers.XML, exporting `writeXML`.
A new unexported module Text.Pandoc.XMLFormat is also added.
|
|
Each supported engine is now printed on a line of its own.
|
|
These are the development versions of the LaTeX binaries; installable,
e.g., with `tlmgr install latex-base-dev`.
Closes: #10991
|
|
|
|
This solves the problem of unwanted capitalization of names
at the beginning of citations in footnotes.
Closes #10983.
|
|
|
|
|
|
(#10990)
|
|
This implements the changes suggested in #9956, with the exception of
the filecolor/urlcolor one. These would require adding some regex to
guess the link types. This is theoretically possible to do, but it
wasn't clear to me that this is a good thing to put in a default
template. Happy to adjust if you have thoughts on this.
Closes #9956.
Some things to note:
I'm converting colors by passing them as content, as I was seeing pandoc
escape # if that was included.
I set the default fonts for math and code ("raw") to fonts that are
bundled with Typst. These need not be those fonts if there are more
familiar pandoc preferences.
|
|
|
|
|
|
|
|
|
|
|
|
For now I want to avoid having to put in lots of CPP.
|
|
|
|
Previously we set `--ghc-options` in Makefile and CI; but this
overrides the ghc-options set in the pandoc.cabal file.
Better to add options one-by-one using `--ghc-option`.
We no longer use GHC_OPTIONS and just put these extra options
in CABAL_OPTIONS.
|
|
Closes #10983 by allowing `nocase` spans to be used to suppress
capitalization of initial word in a footnote.
|
|
The functions allows to check the existence of file-system objects.
|
|
|
|
We were only getting the return status for the tests, apparently,
from `cabal test`. So now we run `cabal build` separately.
|
|
|
|
[API change] New Avif constructor on ImageType.
Closes #10979.
|
|
Closes #10984.
|
|
Previously, the first line of a definition details item always used a
colon and three spaces instead of respecting the tab-stop setting, which
could lead to round-tripping issues.
Likewise, the indentation of continuation paragraphs in definition lists
now matches the two-characters leader of the first line for Markua
output.
Fixes: #10890
|
|
Closes: #9724
|
|
|
|
|
|
|
|
It was meant to test subsequent author substitution, but the
new chicago-author-date doesn't do this. So we use a different CSL.
|
|
When we updated to the latest chicago-author-date.csl, this test
no longer tested what it was supposed to; so we use a different csl.
|
|
from the latest chicago-author-date.csl. (Note that this goes
from the 17th to the 18th edition.)
Update tests.
|
|
This function performs a normalization of Pandoc documents. E.g.,
multiple successive spaces are collapsed, and tables are normalized such
that all rows and columns contain the same number of cells.
Closes: #10356
|
|
Closes #10965.
|