| Age | Commit message (Collapse) | Author |
|
* Typst writer: support Typst 0.11 table features.
- colspans
- rowspans
- cell alignment overrides
- relative column widths
- header and footer
- multiple table bodies with intermediate headers
Row heads are not yet supported.
The default typst template has been modified so that tables
don't have lines by default. As is standard with pandoc, we only
add a line under a header or over a footer. However, a different
default stroke pattern can easily be added in a template.
Closes #9588.
|
|
The rest of the time the autodetection should work fine.
|
|
|
|
See #9236.
|
|
Previously we computed width/heigth for images that didn't have
size information, because otherwise typst would expand the image
to fit page width. This typst behavior has changed in 0.11.
This change fixes a bug in which images would sometimes overflow
page margins, depending on their intrinsic size.
Closes #9236.
|
|
|
|
This helps to distinguish tables from other figures for
purposes of labeling and numbering.
Closes #9574.
|
|
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.
|
|
unless followed by space. Otherwise there's the potential
that the typst code will swallow up a following character.
Closes #9252.
|
|
This gives us less verbose typst math output.
|
|
|
|
Remove custom definitiion of blockquote in default template.
|
|
|
|
An `#image` by itself in typst is a block-level element.
To force images to be inline (as they are in pandoc), we need
to add a box with an explicit width. When a width is not given
in image attributes, we compute one from the image itself, when
possible.
Closes #9104, supersedes #9105.
|
|
If it occurs in certain contexts, it can be parsed as function
application. Simplest thing to do is to escape it always.
Closes #9137.
|
|
And escape literal `~`.
Closes #9010.
|
|
Closes #8991.
Previously we were putting the label at the beginning of
the Div's contents, but according to the documentation such a
label gets attached to the *preceding* element. We now use an
explicit `#block` and add the label at the end.
|
|
Closes #8931.
|
|
Closes #8893.
|
|
Internal links to labels are now supported.
|
|
It's an aesthetic issue only; the first line had an
extra space indent after the list marker.
|
|
|
|
+ Update manual with variables for Typst.
+ Split `lang` metadata into separate `lang` and `region` for Typst.
+ Fix label positioning in Divs.
+ Fix text customizations (lang, region, font, size) so they actually
work.
+ Update tests and man page.
|
|
+ Fix non-decimal enumerated lists.
+ Fix endnotes ending with code blocks.
+ Improve default template to use a typst template.
+ Factor out definitions and typst template into partials.
+ Properly escape backslash and quote inside double quotes.
+ Update tests.
|
|
See #8713.
|