08/04/2013 11:10, Jürgen Spitzmüller:
Jean-Marc Lasgouttes wrote:
I do not like much the use of ARG_CODE here. I do not understand why
InsetArg::plaintext would output anything, since it is overloaded with a
simple
int plaintext(odocstringstream &, OutputParams const &, int) const {
return 0; }
Jean-Marc Lasgouttes wrote:
> I do not like much the use of ARG_CODE here. I do not understand why
> InsetArg::plaintext would output anything, since it is overloaded with a
> simple
> int plaintext(odocstringstream &, OutputParams const &, int) const {
> return 0; }
>
> I suspect that the fina
08/04/2013 08:26, Juergen Spitzmueller:
Do not pass thru argument of pass-thru layout literally
- if (style.pass_thru) {
+ if (style.pass_thru && inset->lyxCode() != ARG_CODE) {
odocstringstream ods;
inset->plaintext(ods, runparams);