X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_latex.h;h=fdbc38febb327ab4ea28ac822de3b2f3fd6c3930;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=8bfeb6aafc587cb294bca176160d8c032ac66590;hpb=afed7d06fa6c932a1a1578b76371189a7e17825e;p=lyx.git diff --git a/src/output_latex.h b/src/output_latex.h index 8bfeb6aafc..fdbc38febb 100644 --- a/src/output_latex.h +++ b/src/output_latex.h @@ -29,6 +29,15 @@ class Paragraph; class OutputParams; 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: {}. */