]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.h
Fix loop when opening TOC widget in an empty document, basically by Richard Heck.
[lyx.git] / src / output_latex.h
index 5544a6335617462bde0ddc82cccaf8976e7ebb6a..ef18a081f370ff21ca32bfd7b43b99ea85785314 100644 (file)
@@ -25,6 +25,11 @@ class Encoding;
 class OutputParams;
 class TexRow;
 
+/// Export up to \p number optarg insets
+int latexOptArgInsets(Buffer const & buf, Paragraph const & par,
+                      odocstream & os, OutputParams const & runparams,
+                      int number);
+
 /** Export \p paragraphs of buffer \p buf to LaTeX.
     Don't use a temporary stringstream for \p os if the final output is
     supposed to go to a file.
@@ -40,7 +45,8 @@ void latexParagraphs(Buffer const & buf,
 /// Switch the encoding of \p os from \p oldEnc to \p newEnc if needed.
 /// \return the number of characters written to \p os.
 int switchEncoding(odocstream & os, BufferParams const & bparams,
-                   Encoding const & oldEnc, Encoding const & newEnc);
+                   bool moving_arg, Encoding const & oldEnc,
+                   Encoding const & newEnc);
 
 } // namespace lyx