X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_latex.h;h=fdbc38febb327ab4ea28ac822de3b2f3fd6c3930;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=1f3afff17f17aecf952ef8fe2e07dbb448efde64;hpb=586124c6a7bbad3d28bb756622613334da4a9a23;p=lyx.git diff --git a/src/output_latex.h b/src/output_latex.h index 1f3afff17f..fdbc38febb 100644 --- a/src/output_latex.h +++ b/src/output_latex.h @@ -27,9 +27,17 @@ class Encoding; class Layout; class Paragraph; class OutputParams; -class TexRow; class Text; +/** Register a language switch when using polyglossia. + Set \p localswitch to true if the \text command is used. + */ +void pushPolyglossiaLang(std::string const & lang, bool localswitch = false); + +/** Unregister the last language switch when using polyglossia. + */ +void popPolyglossiaLang(); + /** Export optional and required arguments of the paragraph \p par. Non-existing required arguments are output empty: {}. */