-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
book-meta.authors
cannot accept sequence with single string
#66
Comments
A workaround seems to add an empty string to the sequence: |
Very brief research shows that this query's output gives only Update: This is a For #metadata((
authors: ("foo")
)) <meta>
#context {
query(<meta>).first().value
} The value we get is But if we have more than one string: #metadata((
authors: ("foo", "bar")
)) <meta>
#context {
query(<meta>).first().value
} We get We might need to use |
It could be improved and you can try |
Thanks! I want to keep this issue open for future improvement, though it is not urgent, and we may leave it as it is. |
When I pass a sequence with only one string to
book-meta.authors
, an error occurs.The error:
typst-book
version: v0.1.4The text was updated successfully, but these errors were encountered: