aboutsummaryrefslogtreecommitdiff
path: root/data/templates/template.typst
AgeCommit message (Collapse)Author
2026-01-03Typst template: disable hyphenation for title, subtitle.John MacFarlane
Closes #11375.
2025-10-30Re-add `columns` to typst template.John MacFarlane
This is a regression since 3.8. Closes #11259.
2025-10-26Typst template: fix font for compatibility with typst 0.14.John MacFarlane
Typst 0.14 doesn't permit an empty array for `font`. Closes #11238.
2025-10-18Typst template: ensure that title block is properly centered.John MacFarlane
Closes #11221.
2025-10-04Typst template: fix 3.8 regression in which links disappear.John MacFarlane
A template change in 3.8 added a show rule for links which causes them to disappear except in special cases. This change fixes the problem. Closes #11194.
2025-09-02Add features to typst base template (take 2).Christopher T. Kenny
New template variables supported: `thanks`, `abstract-title`, `linestretch`, `mathfont`, `codefont`, `linkcolor`, `filecolor`, `citecolor`. Closes #9956, #11076. (This is a new version of f000fa168bd122fee6e67f5a67bdd6d42d173261 which was reverted.)
2025-08-24Revert "Add features to typst base template."John MacFarlane
This reverts commit f000fa168bd122fee6e67f5a67bdd6d42d173261.
2025-07-24Add features to typst base template.Christopher Kenny
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.
2025-07-21Typst: add support for custom and/or translated "Abstract" titlesAlbert Krewinkel
Closes: #9724
2024-11-09Typst writer: make template sensitive to a `page-numbering` variable.John MacFarlane
This can be set to an empty string (or, in metadata, to false) for no page numbers. Addresses #10370.
2024-10-29Adjust test suite for typst template changes.John MacFarlane
Note: the new templates presuppose typst 0.12; if you try to use an earlier version of typst, an error will be raised.
2024-10-29Issue10294 new code for two column layout on typst 0.12.x (#10324)Luis Rivera
Update typst template to be compatible with two-column layout with typst 0.12. Layout instructions for two column layout has changed: see https://github.com/typst/typst/issues/5215. Closes #10294.
2024-05-30Fix typo in fix to template.typst.John MacFarlane
2024-05-30Typst template: use content rather than string...John MacFarlane
...for title, author, date, email. Fixes #9823 (escaped `\@` in rendered email). Allows formatting in title, author, date, and email fields. Since the PDF metadata requires a string, and typst only converts the title to a string (not the authors), we use a small function content-to-string to do this conversion. Background: https://github.com/typst/typst/issues/2196
2024-05-12Add subtitle to Typst template (#9747)Mickaël Canouil
2023-12-11Typst template fixes.John MacFarlane
2023-03-26More Typst writer improvements.John MacFarlane
+ 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.
2023-03-26Typst writer improvements.John MacFarlane
+ 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.