X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_latex.h;h=311b2e61b09a0aa18812b88fe93fb22478f4d23a;hb=fa6256d3251188662d4cbfffb64b040ef3e47275;hp=a25499bd558edf5e12a07b5895add39e538d584a;hpb=2009469219dd81ec932f686eb9985829c426732a;p=lyx.git diff --git a/src/output_latex.h b/src/output_latex.h index a25499bd55..311b2e61b0 100644 --- a/src/output_latex.h +++ b/src/output_latex.h @@ -14,7 +14,6 @@ #include -#include "support/docstream.h" #include "Layout.h" #include "ParagraphList.h" @@ -24,7 +23,6 @@ namespace lyx { class Buffer; class BufferParams; class Encoding; -class Layout; class Paragraph; class OutputParams; class Text; @@ -39,6 +37,9 @@ void pushLanguageName(std::string const & lang, bool localswitch = false); */ void popLanguageName(); +// Check if we have an empty language stack +bool languageStackEmpty(); + /** Return a reference to the last active language opened with polyglossia or when using begin/end commands. If none or when using babel with only a begin command, return a reference to