obsidian-typst icon indicating copy to clipboard operation
obsidian-typst copied to clipboard

Plugin only renders first page on PDF export

Open shemraz opened this issue 1 year ago • 7 comments

The plugin doesn't seem to be able to render multi-page documents. I'm rendering as SVG in the example, but it's the same with images!

Preamble

// typography
#set page(paper: "a4", fill: rgb("f7f9ff"), margin: 2.5cm, numbering: "1")
#set text(
	font: "Halant",
	size: 10pt,
	fill: rgb("5c6166")
)
#set par(justify: true, leading: 15pt)
#show heading: set text(
	font: "Montserrat",
	weight: "semibold"
	)
#show heading: set block(
	spacing: 15pt
	) 

// citations
#set cite(style: "chicago-notes", brackets: false)
#set bibliography(style: "chicago-author-date")
#show "“": "‘"
#show "”": "’"

Codeblock

= h1
== h2
#lorem(100)

== h2
#lorem(200)

== h2
#lorem(300)

= h1 
#lorem(100)

Intended result Test.pdf

Actual Result image

shemraz avatar Oct 10 '23 13:10 shemraz