typst icon indicating copy to clipboard operation
typst copied to clipboard

Easily create beautiful preprints in Typst

Results 6 typst issues
Sort by recently updated
recently updated
newest added

This commit aims to fix https://github.com/LaPreprint/typst/issues/3#issue-2229222084 by adding a check to catch a string abstract and by ensuring an array is returned when a single abstract is provided.

When providing only a single string as an abstract, e.g.: ```typst #show: template.with( abstract: lorem(50), ) ``` or ```typst #show: template.with( abstract: "This is an abstract", ) ``` the compile...

The example at contains ```typst #import "lapreprint.typ": template #show: template.with( title: "A beautiful preprint template" ) ``` and fails with "Type none has no method map (line 278)" This is...

Typst V0.12 causes a bunch of warnings with lapreprint now, e.g.: ``` warning: `locate` with callback function is deprecated ┌─ lapreprint.typ:89:10 │ 89 │ header: locate(loc => { │ ╭─────────────^...

When I use betterbibtex output from template gives me first letter of first name when using prose mode `#cite(, form: "prose")` `J. Samaha and M. X Cohen [1]` with this...

Closes #7. This PR - replaces the deprecated show-set rule for paragraph spacing with the new `par.spacing` property; - replaces outdated `locate` calls with context expressions.