- /// returns the number of rows (\n's) of generated tex code.
- virtual int latex(Buffer const &, std::ostream &,
+ /** Export the inset to LaTeX.
+ * Don't use a temporary stringstream if the final output is
+ * supposed to go to a file.
+ * \sa Buffer::writeLaTeXSource for the reason.
+ * \return the number of rows (\n's) of generated LaTeX code.
+ */
+ virtual int latex(Buffer const &, odocstream &,