X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_latex.h;h=1dd96898511e3ea078d715a11db7460d87db3988;hb=9e072d45f2a0b273588e93949090e47e60d8d4c0;hp=0969d22c03b91baec50f6bc616bd92f7981fac14;hpb=2a5bb7ab676c4e7e24d384d461a582e44aeeceef;p=lyx.git diff --git a/src/output_latex.h b/src/output_latex.h index 0969d22c03..1dd9689851 100644 --- a/src/output_latex.h +++ b/src/output_latex.h @@ -39,6 +39,13 @@ void pushLanguageName(std::string const & lang, bool localswitch = false); */ void popLanguageName(); +/** 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 + an empty string. + */ +std::string const & openLanguageName(); + /** Export optional and required arguments of the paragraph \p par. Non-existing required arguments are output empty: {}. */