Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Org-Mode ignore pagebreak latex cmds in HTML export

Tags:

emacs

org-mode

I've an org mode file with explicit page breaks using the \pagebreak latex in the file. However if I export it to HTML, I get the literal \pagebreak in the exported file. Is there a way to tell HTML export to ignore such lines?

thanks SJ

like image 477
Sunit Joshi Avatar asked Oct 22 '25 04:10

Sunit Joshi


1 Answers

Might try wrapping in Begin and End Latex's like this:

* This is a heading

#+Begin_Latex
\pagebreak
#+End_Latex

* Second heading
like image 94
brittAnderson Avatar answered Oct 25 '25 02:10

brittAnderson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!