| 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.
|
|
|
|
This reverts commit f000fa168bd122fee6e67f5a67bdd6d42d173261.
|
|
rather than creating a directory called `-`.
Closes #11068.
|
|
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Commit 2c857d3 closed #11047 but was mislabeled as closing #10047.
|
|
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.
|
|
Close #11055.
|
|
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>.
|
|
Fixes: #11052
|
|
Closes #11049.
|
|
Closes: #4287
|
|
Fixes: #8869
|
|
Closes #11044.
|
|
The function generates element identifiers based on inlines content.
It's primary use case is the programmatic generation of ID, similar to
what the `auto_identifiers` extension provides for many formats.
|
|
The functions convert numbers and parentheses to superscript and
subscript, respectively.
|
|
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 provides List methods to the value returned by
`pandoc.system.list_directory`.
Closes: #11032
|
|
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.
|
|
See #11019. Previously, centering tables in `reference.docx` would leave
the header row left-aligned. Why the OOXML 'standard' would allow table
elements to be aligned differently from the rest of the table in the
first place is anyone's guess.
|
|
Original test had a poor/misleading title.
|
|
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.
|
|
Add test for #11013. Closes #11013.
|
|
Sometimes they are not all UTF-8, even in a UTF-8 locale.
Closes #10954.
|
|
|
|
- The `PANDOC_STATE` is no longer a userdata object, but a table that
behaves like the old object.
- Log messages in `PANDOC_STATE.log` are now in temporal order.
|
|
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.
|