I'm trying to write a novel using bookdown: HTML, EPUB, as well as PDF (pdfLaTeX). I'm using the indent mode, so paragraphs begin with an indent. I have the following custom LaTeX command, called \scenebreak, which:
- Leaves an empty line between paragraphs when the scene changes within a chapter.
- Introduces a ding, if the scene break is at the end of a page, or the beginning of a page.
- Resets indent for the paragraph that follows the break (the paragraph that follows the break starts flush left).
Here's the LaTeX:
% scene breaks
\renewcommand{\pfbreakdisplay}{%
\scriptsize\ding{86}}
\newcommand{\scenebreak}{\pfbreak*\noindent}
\newcommand{\forceindent}{\leavevmode{\indent}}
When introducing the scenebreak in LaTeX, I call it so
Text here
\scenebreak
New scene begins here.
In HTML, this is how I've done it:
<div style='text-align:center;'>•</div>
I'm aware that a block in bookdown is like a LaTeX environment.
Is a similar setup possible with commands/macros?