+void InsetText::getArgs(otexstream & os, OutputParams const & runparams_in,
+ bool const post) const
+{
+ OutputParams runparams = runparams_in;
+ runparams.local_font =
+ ¶graphs()[0].getFirstFontSettings(buffer().masterBuffer()->params());
+ if (isPassThru())
+ runparams.pass_thru = true;
+ if (post)
+ latexArgInsets(paragraphs(), paragraphs().begin(), os, runparams, getLayout().postcommandargs(), "post:");
+ else
+ latexArgInsets(paragraphs(), paragraphs().begin(), os, runparams, getLayout().latexargs());
+}
+