X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flatexrunparams.h;h=35485fcfb7ab420ceece715b69108520fd7bfd8b;hb=f268743f8c014ef2dadd260fd1a3873cb1d2038b;hp=7ca181f4b683d9252064d9a8a1d0edecd7aa72ea;hpb=e1940902fe50ec523fe540f6e11f2ee4045cdfac;p=lyx.git diff --git a/src/latexrunparams.h b/src/latexrunparams.h index 7ca181f4b6..35485fcfb7 100644 --- a/src/latexrunparams.h +++ b/src/latexrunparams.h @@ -6,7 +6,7 @@ * * \author Angus Leeming * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ #ifndef LatexRunParams_H @@ -19,7 +19,8 @@ struct LatexRunParams { }; LatexRunParams() : flavor(LATEX), nice(false), - fragile(false), use_babel(false) {} + moving_arg(false), free_spacing(false), + use_babel(false) {} /** The latex that we export depends occasionally on what is to compile the file. @@ -33,11 +34,17 @@ struct LatexRunParams { */ bool nice; - /** fragile == true means that the inset should take care about + /** moving_arg == true means that the environment in which the inset + is typeset is a moving argument. The inset should take care about fragile commands by preceding the latex with \protect. */ - bool fragile; + bool moving_arg; + /** free_spacing == true means that the inset is in a free-spacing + paragraph. + */ + bool free_spacing; + /** This var is set by the return value from BufferParams::writeLaTeX */ bool use_babel;