text-crossrefs: Avoid errors in Typst

This commit is contained in:
Bastien Dumont
2025-12-22 09:41:53 +01:00
parent 5cf18bd551
commit a5c484e3df
12 changed files with 21 additions and 14 deletions

View File

@ -388,10 +388,11 @@
(Format "context")
"\\crossrefenum[page]{my-evaluation, format}"
]
, Str ""
, Span ( "toc-notes-end" , [] , [] ) []
]
]
]
, Para [ Str "" , Span ( "toc-notes-end" , [] , [] ) [] ]
, Para
[ Str ""
, Span

View File

@ -382,10 +382,11 @@
(Format "context")
"\\crossrefenum{my-evaluation, format}"
]
, Str ""
, Span ( "toc-notes-end" , [] , [] ) []
]
]
]
, Para [ Str "" , Span ( "toc-notes-end" , [] , [] ) [] ]
, Para
[ Str ""
, Span

View File

@ -385,10 +385,11 @@
(Format "latex")
"\\crossrefenum[page]{my-evaluation, format}"
]
, Str ""
, Span ( "toc-notes-end" , [] , [] ) []
]
]
]
, Para [ Str "" , Span ( "toc-notes-end" , [] , [] ) [] ]
, Para
[ Str ""
, Span

View File

@ -379,10 +379,11 @@
(Format "latex")
"\\crossrefenum{my-evaluation, format}"
]
, Str ""
, Span ( "toc-notes-end" , [] , [] ) []
]
]
]
, Para [ Str "" , Span ( "toc-notes-end" , [] , [] ) [] ]
, Para
[ Str ""
, Span

View File

@ -390,10 +390,11 @@
(Format "opendocument")
"pages\160<text:bookmark-ref text:reference-format=\"page\" text:ref-name=\"my-evaluation\">000</text:bookmark-ref>; and <text:bookmark-ref text:reference-format=\"page\" text:ref-name=\"format\">000</text:bookmark-ref>"
]
, Str ""
, Span ( "toc-notes-end" , [] , [] ) []
]
]
]
, Para [ Str "" , Span ( "toc-notes-end" , [] , [] ) [] ]
, Para
[ Str ""
, Span

View File

@ -390,10 +390,11 @@
(Format "opendocument")
"pp.\160<text:bookmark-ref text:reference-format=\"page\" text:ref-name=\"my-evaluation\">000</text:bookmark-ref> and <text:bookmark-ref text:reference-format=\"page\" text:ref-name=\"format\">000</text:bookmark-ref>"
]
, Str ""
, Span ( "toc-notes-end" , [] , [] ) []
]
]
]
, Para [ Str "" , Span ( "toc-notes-end" , [] , [] ) [] ]
, Para
[ Str ""
, Span

View File

@ -390,10 +390,11 @@
(Format "typst")
"pages\160#ref(form: \"page\", <my-evaluation>); and #ref(form: \"page\", <format>)"
]
, Str ""
, Span ( "toc-notes-end" , [] , [] ) []
]
]
]
, Para [ Str "" , Span ( "toc-notes-end" , [] , [] ) [] ]
, Para
[ Str ""
, Span

View File

@ -389,10 +389,11 @@
(Format "typst")
"pp.\160#ref(form: \"page\", <my-evaluation>) and #ref(form: \"page\", <format>)"
]
, Str ""
, Span ( "toc-notes-end" , [] , [] ) []
]
]
]
, Para [ Str "" , Span ( "toc-notes-end" , [] , [] ) [] ]
, Para
[ Str ""
, Span