| Age | Commit message (Collapse) | Author |
|
`wrap` is a standard HTML5 attribute.
|
|
Closes #9454.
|
|
Currently only boldface and italics are supported.
The `monochrome` style might be of use for those generating
man pages.
Closes #9446.
|
|
Associate with `\cref` and `\Cref` the reference-type `ref+label` and
`ref+Label`. So far we don't do anything fancy with these.
Also, associate with `\vref` `ref` instead of `ref+page`.
See #7463.
|
|
This attribute is added to LaTeX `\cref`, for example.
See #7463.
|
|
Closes #9443.
|
|
See #7463.
|
|
Emit `form: "prose"` or `form: "year"` qualifiers if the citation
is author-in-text or suppress-author.
Strip initial comma from suffix, since typst will add an extra
one.
Closes #9452.
|
|
The first (and often only) `<aside id=footnotes>` block remains
unchanged, however any additional blocks from `--reference-location` are
distinguished as `#footnotes-2`, `#footnotes-3`, and so on. No other
existing writer seems to implement per-section IDs, including HTML4.
|
|
Outer divs have longer fences. This aids clarity for the reader,
making it easier to see where the div ends. It also makes the
output compatible with some other implementations, e.g.
micromark, which require different-width fences for nesting.
Closes #9450.
|
|
This is needed to avoid problems in conversion to Markdown
and some other formats. Closes #9445.
|
|
Closes #9442.
|
|
This fixes `--embed-resources` when SVGs have `clip-path`
attributes.
Closes #9420.
|
|
Closes #9439.
|
|
in image links. See #9425.
(Not a complete fix for this issue, because `:file:` and the like
are still not handled properly.)
|
|
Closes #9424.
|
|
|
|
Closes #9413.
|
|
See jgm/typst-hs#38.
|
|
See jgm/typst-hs#38.
|
|
The fix to #5947 caused all tables to be left indented.
This was necessary to avoid extra indentation in table cells
when a table appeared in a list item. This change makes
the changes conditional, so that they only affect tables
in list items.
Closes #9393.
|
|
+ When the optional base level parameter is provided, we no
longer ensure that the sequence of heading levels is gapless
[behavior change]. Instead, we set the lowest heading level to
the specified base level, and adjust the others accordingly. If
an author wants to skip a level, e.g. from level 1 to level 3,
they can do that. In general, the heading levels specified
in the source document are preserved; `makeSections` only
puts them into a hierarchical structure. Closes #9398.
+ Section numbers are now assigned so that the top level
gets `1`, no matter what heading level is used. So, even
if the top heading level is 2, numbers will be `1`, `2`, etc.
rather than `0.1`, `0.2`, as in the past. Closes #5071.
+ We revert to the old behavior when the `--number-offset` option
is used. So, for example, if a document begins with a level-3
heading, and `--number-offset=1,2` is used, the top-level section
numbers will be `1.2.1`, `1.2.2`, etc. This is mainly for
backwards-compatibility.
|
|
|
|
The table writer used to only divide all available width evenly
for all columns. In this update the code uses the incoming widths
if they are available. If they are not set the earlier even
distribution is used. Some of the golden templates are adjusted
slightly because of different rounding when using the new
calculation model.
Closes #5706
|
|
AccessModeSufficient and AccessibilitySummary are added.
These metadata are optional according to the EPUB Accessibility 1.1
standard, but ACE Daisy checker flags ebooks for missing them
(cf daisy/ace#389 and daisy/ace#400).
With this commit:
AccessModeSufficient is defaulted to "textual".
AccessibilitySummary can be included via the metadata block.
|
|
Closes #9389.
|
|
This is needed for TOC generation to work properly. We can't
create TOC links if there are no ids.
This fixes some EPUB validation issues we've been getting since
switching over to Chunks for chunking.
Closes #9383.
|
|
We weren't adding ids for section headings that don't head a
chunk, but these headings are needed for a TOC.
|
|
and other special characters. In these cases, we produce an
explicit `label()` rather than using `<>` or `@`.
Cloess #9387.
|
|
Closes #9387.
|
|
Closes #9388.
|
|
We no longer escape `(`. The reason we did this before (#9137)
has been addressed in another way (#9252).
We only escape `=`, `+`, `-` at the beginning of a line.
We now also escape `/` at the beginning of a line.
This should reduce unnecessary escapes.
Closes #9386.
|
|
This commit adds roles to some html element within epub in order to comply with accessibility best practices. Footnote references are given role "doc-noteref",footnote text gets "doc-footnote", and nav gets "doc-toc".
|
|
Don't include ARIA and MathML in general; they won't apply for
epub2 or documents without math.
|
|
|
|
accessModes, accessibilityFeatures, accessibilityHazards.
Reasonable default values are used to ensure that pandoc's
EPUBs conform to the EU Accessibilty Act requirements.
Closes #9372.
|
|
See #9372.
|
|
Closes #9371.
|
|
|
|
Previously we were using `#cite` and trying to put the supplement
in brackets; but a bracketed supplement only works with the
reference form.
|
|
Fixes: #9218
|
|
This seems to be required by iBooks; even an empty alt attribute
will satisfy it. Closes #9354.
|
|
Closes #9350.
|
|
...with a huge number of columns. Previously we got invalid pipe
tables when the number of table columns exceeded the setting of
`--columns`.
Closes #9346.
|
|
`<procedure>` now gets parsed as an ordered list, and
`<substeps>` as a sublist. Closes #9341.
|
|
|
|
Sometimes the TOC changes but there are no warnings: this happens
when no labels are present. In this case we must rerun LaTeX.
So we now take the sha1 hash of the TOC file and rerun LaTeX if it
changes between runs.
Closes #9295.
|
|
Due to a typo, it was being incorrectly rendered as an `\underset`.
Closes #9294.
|
|
On some documents, 4 runs are needed (e.g. when a LastPage
reference is used). Closes #9299.
|
|
|