Skip to content

How to force a page-break when convert markdown to pdf? #32

Answered by Omikhleia
no-vici asked this question in Q&A
Discussion options

You must be logged in to vote

Greetings,
Thanks for the kind feedback, it is appreciated!

To invoke SILE commands from within Markdown: as in Pandoc, you can use a fenced code block (or an inline code literal) with a raw attribute -- which, in our case would be {=sile}. For a page-break, typically I would suggest using the former, that is:

```{=sile}
\supereject
```

I would prefer \supereject, rather than \pagebreak, as it avoids an "underfull frame" warning (amongst other things).

(By the way, I think SILE already has a known issue with (images or other) content sometimes overlapping over the footer, but If you can share a minimal working example showing the issue, perhaps we could try to check and investigate the e…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@Omikhleia
Comment options

@no-vici
Comment options

@Omikhleia
Comment options

@no-vici
Comment options

@no-vici
Comment options

Answer selected by no-vici
Comment options

You must be logged in to vote
1 reply
@no-vici
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants