}
+void InsetIPA::doDispatch(Cursor & cur, FuncRequest & cmd)
+{
+ switch (cmd.action()) {
+ case LFUN_QUOTE_INSERT: {
+ FuncRequest fr(LFUN_SELF_INSERT, "\"");
+ InsetText::doDispatch(cur, fr);
+ break;
+ }
+ default:
+ InsetText::doDispatch(cur, cmd);
+ break;
+ }
+
+}
+
+
bool InsetIPA::getStatus(Cursor & cur, FuncRequest const & cmd,
FuncStatus & flag) const
{
}
-void InsetIPA::latex(otexstream & os, OutputParams const & runparams) const
+void InsetIPA::latex(otexstream & os, OutputParams const & runparams_in) const
{
+ OutputParams runparams(runparams_in);
+ runparams.inIPA = true;
bool const multipar = (text().paragraphs().size() > 1);
// fontspec knows \textipa, but not the IPA environment
bool const nontexfonts = buffer_->params().useNonTeXFonts;