A command to automate the following process:
- export a LyX file to LaTeX,
- extract the content of the document
(i.e., between
\begin{document}
and\end{document}
), and - insert it into an arbitrary LaTeX template.
This allows to comply with publisher's requirements for submitted LaTeX files, while still using LyX for writing.