+/** Register a language switch when using polyglossia.
+ Set \p localswitch to true if the \text<lang> 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: {}.
+ */
+void latexArgInsets(Paragraph const & par,
+ otexstream & os, OutputParams const & runparams,
+ Layout::LaTeXArgMap const & latexargs,
+ std::string const & prefix = std::string());
+/// Same for multi-par sequences (e.g. merged environments or InsetLayouts)
+void latexArgInsets(ParagraphList const & pars, ParagraphList::const_iterator pit,
+ otexstream & os, OutputParams const & runparams,
+ Layout::LaTeXArgMap const & latexargs,
+ std::string const & prefix = std::string());