]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.h
Check for fontspec an configure the GUI accordingly.
[lyx.git] / src / output_latex.h
index 9a7de7ed69d12714ac07b5c5f162b0c97408fca7..ebb299a83543f005cb2b9e0511a51c83da1de970 100644 (file)
@@ -36,7 +36,7 @@ class Text;
 /// ones are given, we'll output: {}. The optional ones
 /// must all come first.
 int latexArgInsets(Paragraph const & par,
-               odocstream & os, OutputParams const & runparams,
+               otexstream & os, OutputParams const & runparams,
                unsigned int reqargs, unsigned int optargs);
 
 /** Export \p paragraphs of buffer \p buf to LaTeX.
@@ -46,7 +46,7 @@ int latexArgInsets(Paragraph const & par,
  */
 void latexParagraphs(Buffer const & buf,
                     Text const & text,
-                    odocstream & ofs,
+                    otexstream & ofs,
                     TexRow & texrow,
                     OutputParams const &,
                     std::string const & everypar = std::string());
@@ -61,13 +61,13 @@ std::pair<bool, int> switchEncoding(odocstream & os,
                     bool force = false);
 
 /// FIXME: this should not be visible.
-ParagraphList::const_iterator TeXOnePar(Buffer const & buf,
-                     Text const & text,
-                     ParagraphList::const_iterator pit,
-                     odocstream & os, TexRow & texrow,
-                     OutputParams const & runparams,
-                     std::string const & everypar = std::string(),
-                     int start_pos = -1, int end_pos = -1);
+void TeXOnePar(Buffer const & buf,
+                  Text const & text,
+                  pit_type pit,
+                  otexstream & os, TexRow & texrow,
+                  OutputParams const & runparams,
+                  std::string const & everypar = std::string(),
+                  int start_pos = -1, int end_pos = -1);
 
 } // namespace lyx