Replies: 1 comment 2 replies
-
you can use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
If you put
#set document(...)
inside an if body, documents metadata will not be set in PDF. Is this correct behavior?I am trying to fix my documents which unintentionally used bug #3676.
Lets say you have 3 documents
story1.typ
,story2.typ
andtheme.typ
. I want to compilestory1
andstory2
as seperate PDF files, so I put#set document(...)
on a first line. I also want to usetheme.typ
to compilestory1
andstory2
into one PDF, so i put#include "story1.typ" and #include "story2.typ"
. This will result in errordocument set rules must appear before any content
.In previous version this would result in success compilation where first
#set document(...)
was used as PDF metadata and others where ignored.Reproduction URL
https://typst.app/project/rGxTg3ny8ljV9Cd822tQY3
Operating system
Linux
Typst version
Beta Was this translation helpful? Give feedback.
All reactions