[EMAIL PROTECTED] writes: > @@ -177,7 +177,11 @@ > else > os << "\\lstinline[" << from_ascii(param_string) << "]" > << *delimiter; > } else { > - docstring const caption = getCaption(buf, runparams); > + OutputParams rp = runparams; > + rp.local_font = &text_.real_current_font; > + rp.moving_arg = true; > + docstring const caption = getCaption(buf, rp); > + runparams.encoding = rp.encoding; > if (param_string.empty() && caption.empty())
Juergen, could you tell me when setting local_font is necessary? I did not see the problem when creating a new listing inset with caption. JMarc