* Security
- Fixed a vulnerability where image files at known paths could be
embedded into the PDF even if they were outside of the project directory
* Bibliography
- Fixed et-al handling in subsequent citations
- Fixed suppression of title for citations and bibliography references
with no author
- Fixed handling of initials in citation styles without a delimiter
- Fixed bug with citations in footnotes
* Text and Layout
- Fixed interaction of first-line-indent and outline
- Fixed compression of CJK punctuation marks at line start and end
- Fixed handling of rectangles with negative dimensions
- Fixed layout of path in explicitly sized container
- Fixed broken raw text in right-to-left paragraphs
- Fixed tab rendering in raw text with language typ or typc
- Fixed highlighting of multi-line raw text enclosed by single backticks
- Fixed indentation of overflowing lines in raw blocks
- Fixed extra space when raw text ends with a backtick
* Math
- Fixed broken equations in right-to-left paragraphs
- Fixed missing blackboard bold letters
- Fixed error on empty arguments in 2D math argument list
- Fixed stretching via mid for various characters
- Fixed that alignment points in equations were affected by set align(..)
* Export
- Fixed smart quotes in PDF outline
- Fixed patterns with spacing in PDF
- Fixed wrong PDF page labels when page numbering was disabled
OBS-URL: https://build.opensuse.org/package/show/Publishing/typst?expand=0&rev=28
- Update to version 0.3.0
* Breaking changes:
- Renamed a few symbols: What was previous dot.op is now just dot and the basic dot is dot.basic. The same applies to ast and tilde.
- Renamed mod to rem to more accurately reflect the behaviour. It will remain available as mod until the next update as a grace period.
- A lone underscore is not a valid identifier anymore, it can now only be used in patterns
- Removed before and after arguments from query. This is now handled through flexible selectors combinator methods
- Added support for attachments (sub-, superscripts) that precede the base symbol. The top and bottom arguments have been renamed to t and b.
* New features
- Added support for more complex strokes (configurable caps, joins, and dash patterns)
- Added cancel function for equations
- Added support for destructuring in argument lists and assignments
- Added alt text argument to image function
- Added toml function for loading data from a TOML file
- Added zip, sum, and product methods for arrays
- Added fact, perm, binom, gcd, lcm, atan2, quo, trunc, and fract calculation
* Improvements
- Text in SVGs now displays properly
- Typst now generates a PDF heading outline
- References now provides the referenced element as a field in show rules
- Refined linebreak algorithm for better Chinese justification
- Locations are now a valid kind of selector
- Added a few symbols for algebra
- Added Spanish smart quote support
- Added selector function to turn a selector-like value into a selector on which combinator methods can be called
- Improved some error messages
- The outline and bibliography headings can now be styled with show-set rules
- Operations on numbers now produce an error instead of overflowing
* Bug fixes
- Fixed wrong linebreak before punctuation that follows inline equations, citations, and other elements
- Fixed a bug with argument sinks
OBS-URL: https://build.opensuse.org/request/show/1083521
OBS-URL: https://build.opensuse.org/package/show/Publishing/typst?expand=0&rev=8
- Update to version 0.2.0
* Breaking changes:
- Removed support for iterating over index and value in for loops. This is now handled via unpacking and enumerating. Same goes for the map() method.
- Dictionaries now iterate in insertion order instead of alphabetical order.
* New features
- Added unpacking syntax for let bindings, which allows things like let (1, 2) = array
- Added enumerate() method
- Added path function for drawing Bézier paths
- Added layout function to access the size of the surrounding page or container
- Added key parameter to sorted() method
* Command line interface
- Fixed --open flag blocking the program
- New Computer Modern font is now embedded into the binary
- Shell completions and man pages can now be generated by setting the GEN_ARTIFACTS environment variable to a target directory and then building Typst
* Miscellaneous improvements
- Fixed page numbering in outline
- Added basic i18n for a few more languages (AR, NB, CS, NN, PL, SL, ES, UA, VI)
- Added a few numbering patterns (Ihora, Chinese)
- Added sinc operator
- Fixed bug where math could not be hidden with hide
- Fixed sizing issues with box, block, and shapes
- Fixed some translations
- Fixed inversion of "R" in cal and frak styles
- Fixed some styling issues in math
- Fixed supplements of references to headings
- Fixed syntax highlighting of identifiers in certain scenarios
- Ratios can now be multiplied with more types and be converted to floats with the float function
OBS-URL: https://build.opensuse.org/request/show/1080077
OBS-URL: https://build.opensuse.org/package/show/Publishing/typst?expand=0&rev=6
- Update to version 0.1.0
* Breaking changes:
- When using the CLI, you now have to use subcommands:
typst compile file.typ or typst c file.typ to create a PDF
typst watch file.typ or typst w file.typ to compile and watch
typst fonts to list all fonts
- Manual counters now start at zero. Read the "How to step" section in the counter documentation for more details
- The bibliography styles "author-date" and "author-title" were renamed to "chicago-author-date" and "chicago-author-title"
* Figure improvements
- Figures now automatically detect their content and adapt their behaviour. Figures containing tables, for instance, are automatically prefixed with "Table X" and have a separate counter
- The figure's supplement (e.g. "Figure" or "Table") can now be customized
- In addition, figures can now be completely customized because the show rule gives access to the automatically resolved kind, supplement, and counter
* Bibliography improvements
- The bibliography function now also accepts multiple bibliography paths (as an array)
- Parsing of BibLaTeX files is now more permissive (accepts non-numeric edition, pages, volumes, dates, and Jabref-style comments; fixed abbreviation parsing)
- Labels and references can now include : and . except at the end
- Fixed APA bibliography ordering
* Drawing additions
- Added polygon function for drawing polygons
- Added support for clipping in boxes and blocks
* Command line interface
- Now returns with non-zero status code if there is an error
- Now watches the root directory instead of the current one
- Now puts the PDF file next to input file by default
- Now accepts more kinds of input files (e.g. /dev/stdin)
- Added --open flag to directly open the PDF
* Miscellaneous improvements
- Added yaml function to load data from YAML files
- Added basic i18n for a few more languages (IT, RU, ZH, FR, PT)
- Added numbering support for Hebrew
OBS-URL: https://build.opensuse.org/request/show/1077688
OBS-URL: https://build.opensuse.org/package/show/Publishing/typst?expand=0&rev=4