text-crossrefs: Suppress “page” prefix in Typst
This commit is contained in:
@ -131,9 +131,14 @@ The `#crossrefenum` command has the following parameters:
|
||||
|
||||
See the [Typst-specific options](#typst-options) to know how to switch to `#crossrefenum`.
|
||||
If you keep the defaults (outputting `#ref` commands),
|
||||
you may wish to set some [formatting options](#docx-odt-options)
|
||||
and to add a show rule for `#ref` to prevent it from typesetting prefixes (e.g. “p. ”)
|
||||
in addition to those that _text-crossrefs_ already inserts.
|
||||
you may wish to set some [formatting options](#docx-odt-options).
|
||||
_text-crossrefs_ will automatically add the following rule at the end of the preamble
|
||||
to prevent Typst from typesetting the prefix “page ”
|
||||
in addition to those that the filter already inserts:
|
||||
|
||||
```{typst}
|
||||
#set page(supplement: [])
|
||||
```
|
||||
|
||||
In the default mode, you can also (ab)use the `note` reference type to refer to
|
||||
a heading, figure or equation by its number, for the `note` reference type
|
||||
|
||||
@ -702,6 +702,7 @@ end
|
||||
return {
|
||||
{ Meta = configure },
|
||||
{ Meta = support_footnote_label_ConTeXt },
|
||||
{ Meta = remove_prefixes_typst },
|
||||
{ Note = set_notelabels },
|
||||
{ Note = map_spans_to_notelabels },
|
||||
{ Span = control_label_placement },
|
||||
|
||||
Reference in New Issue
Block a user