| Age | Commit message (Collapse) | Author |
|
Plain or RawBlock elements should not automatically be followed
by blank lines.
See #7111
|
|
an author-in-text citation with a locator. E.g. `@foo [test]{.bar}`.
See https://github.com/jgm/pandoc/issues/9080#issuecomment-3221689892.
|
|
rather than creating a directory called `-`.
Closes #11068.
|
|
Closes #11046.
|
|
due to automatic wrapping.
Also simplify existing code that was meant to do this.
Closes #10047.
|
|
This is needed to prevent PDFs from interpreting this as a
sequence of titles.
See #10501.
|
|
The previous implementation didn't include all possible JPEG file
signatures. All signatures in the range of ff d8 ff e0 and ff d8 ff ef
should be valid, in addition to ff d8 ff db (no application segment).
See <https://gist.github.com/leommoore/f9e57ba2aa4bf197ebc5?permalink_comment_id=3863054#gistcomment-3863054>
and p. 32 of <https://www.w3.org/Graphics/JPEG/itu-t81.pdf>.
|
|
Closes #11049.
|
|
Closes: #4287
|
|
Fixes: #8869
|
|
Closes #11044.
|
|
Closes #11040.
|
|
Any leading section separator is removed from the result.
Closes: #10578
|
|
Certain environments in LaTeX will trigger math mode and can't
occur within math mode: e.g., `align` or `equation`. Previously
we "downshifted" these, parsing an `align` environment as a
Math element with `aligned`, and an `equation` environment as a
regular display math element. With this shift, we put these in
Math inlines but retain the original environments.
This works because:
1) texmath handles these environments just fine,
2) and so does MathJax;
3) when writing LaTeX we detect these environments in Math elements
and emit them verbatim instead of putting them in `$..$` or
`$$..$$`.
Closes #9711. Closes #9296.
|
|
Closes: #10635
|
|
Add notes to the Haddock docs that certain meta values lead to empty
return values.
Closes: #10634
|
|
|
|
This fixes the `webtex` option when used without parameter in a defaults file.
|
|
The default template now adds `#+options` lines if non-default settings
are used for the `smart_quotes` and `special_strings` extensions.
|
|
|
|
Org mode makes a distinction between smart parsing of quotes, and smart
parsing of special strings like `...`. The finer grained control over
these features is necessary to truthfully reproduce Emacs Org mode
behavior. Special strings are enabled by default, while smart quotes are
disabled.
The behavior of `special_string` is brought closer to the reference
implementation in that `\-` is now treated as a soft hyphen.
|
|
The `SOURCE_DATE_EPOCH` environment variable is used to trigger
reproducible PDF compilation, i.e., PDFs that are identical down to the
byte level for repeated runs.
Closes: #6539
|
|
The `\-` command is parsed as a soft hyphen character; likewise, the
character is written as that command when outputting LaTeX.
|
|
...and look inside for MediaBox information. Closes #10902.
|
|
With the previous behavior it was impossible to have an image
file containing `#` or `?`. For the motivation for the previous
behavior, see commit 1d137fb.
Closes #11021.
|
|
Translating entities by name ultimately relies on
Commonmark.Entity.lookupEntity, which de facto requires the entity name
to be followed by a semicolon. Paste a semicolon onto the end of the
entity name read from POD to look it up.
Fixes #11015
|
|
Typst allows things like `smallcaps` to be applied to block-level
content like headings. This produces a type mismatch in pandoc,
so before processing the output of typst-hs, we transform it,
pulling the block-level elements outside of the inline-level
elements.
Closes #11017.
|
|
Some of the readers (e.g. djot) add "wrapper" divs to hold attributes
for elements that have no slot for attributes in the pandoc AST. With
this change, the HTML reader "unwraps" these wrappers so that the
attributes go on the intended elements.
Closes #11014.
|
|
Sometimes they are not all UTF-8, even in a UTF-8 locale.
Closes #10954.
|
|
The function runs an action in the PandocMonad, but returns all log
messages reported by that action instead of adding them to the main log.
|
|
Text.Pandoc.Class now exports CommonState as an opaque object,
without its fields. [API change]
The internal module Text.Pandoc.Class.CommonState still exports
the fields.
Text.Pandoc.Class now exports the following new functions:
`getRequestHeaders`, `setRequestHeaders`, `getSourceURL`,
`getTrace`. [API change]
|
|
Handle global prefix and suffix properly.
Use all and only the styles mentioned in oc-basic.el.
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
|