- Prepare a
diff.typsource file as shown in this Gist. - Provided you have two Typst SOURCE files named
a.typandb.typ, execute:pandiff --from typst --to typst a.typ b.typ > diff.content.typ - Compile the
diff.typfile:
typst compile diff.typ
I hereby claim:
To claim this, I am signing this object:
| [lints.rust] | |
| # Correctness | |
| let-underscore = "deny" | |
| meta_variable_misuse = "deny" | |
| missing_abi = "forbid" | |
| unsafe_attr_outside_unsafe = "forbid" | |
| unsafe_op_in_unsafe_fn = "forbid" | |
| unused_must_use = "deny" | |
| # Restriction | |
| missing_docs = "warn" |
| # DEBUG VARIABLE FUNCTION | |
| # | |
| # USAGE: $(call debug,<var_name>) | |
| # <var_name> is the identifier of the variable to debug | |
| # | |
| # EXAMPLE: | |
| # $(call debug,ARCH) print "ARCH = x86" provided the variable ARCH has the value "x86" | |
| debug = $(info $1 = $($1)) |