Hi, How about this?
.. |newpage| raw:: latex \newpage Thanks, 2017-04-06 0:22 GMT+09:00 vibebusiness3 <[email protected]>: > Hello, I am trying to make a shortcut command to make pagebreaks in latex > output. I am doing this: > > .. |newpage| replace:: > > .. raw:: latex > > \newpage > > but when I put |newpage| into my rst document, I get this error: > > include.rst:12: ERROR: Error in "replace" directive: may contain a single > paragraph only. > include.rst:12: WARNING: Substitution definition "newpage" empty or invalid. > > .. |newpage| replace:: > > .. raw:: latex > > \newpage > > Can someone advise on how to fix this? > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
