X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_latex.h;h=fdbc38febb327ab4ea28ac822de3b2f3fd6c3930;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=71af3221c97e130598826039b8b6dbd2f5c955d0;hpb=8c14d9e0413978aa11f581e9c6f2d0587bb0b189;p=lyx.git diff --git a/src/output_latex.h b/src/output_latex.h index 71af3221c9..fdbc38febb 100644 --- a/src/output_latex.h +++ b/src/output_latex.h @@ -30,8 +30,9 @@ 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); +void pushPolyglossiaLang(std::string const & lang, bool localswitch = false); /** Unregister the last language switch when using polyglossia. */