- hydra no longer considers candidates on pages after the current page (#21)
use-last
parameter onhydra
for a more LaTeX style heading look up, thanks @freundTech!hydra
now has a newuse-last
parametercontext
now has a newuse-last
field- BREAKING CHANGE
candidates
now has a newlast
field containing a suitable match for the last primary candidate on this page
Almost all changes in this release are BREAKING CHANGES.
- internal util functions and dictionaries for recreating
auto
fallbacks used within the typst compilercore.get-text-dir
- returns the text directioncore.get-binding
- returns the page bindingcore.get-top-margin
- returns the absolute top marginutil.text-direction
- returns the text direction for a given languageutil.page-binding
- returns the page binding for a given text direction
- various parameters on
hydra
have been removedpaper
has been removed in favor of get rulepage-size
has been removed in favor of get ruletop-margin
has been removed in favor of get ruleloc
has been removed in favor of user provided context
- internal util dictionary for page sizes
- hydra now requires a minimum Typst compiler version of
0.11.0
hydra
is now contextual- most internal functions are now contextual
- the internal context dictionary now holds a
anchor-loc
instead of aloc
get-anchor-pos
has been renamed tolocate-last-anchor
- the internal
page-sizes
dictionary was changed to function - various parameters on
hydra
are now auto by defaultprev-filter
next-filter
display
dir
binding