]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.h
* do not lookup the same macro all the time
[lyx.git] / src / output_latex.h
index 5544a6335617462bde0ddc82cccaf8976e7ebb6a..70045d304f77ce3df0128d2f436b7da5958cfc16 100644 (file)
@@ -12,8 +12,6 @@
 #ifndef OUTPUT_LATEX_H
 #define OUTPUT_LATEX_H
 
-#include "ParagraphList_fwd.h"
-
 #include "support/docstream.h"
 
 
@@ -22,9 +20,16 @@ namespace lyx {
 class Buffer;
 class BufferParams;
 class Encoding;
+class Paragraph;
+class ParagraphList;
 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