On Tue, Feb 20, 2007 at 06:19:32PM -, [EMAIL PROTECTED] wrote:
> +int InsetMath::plaintext(Buffer const &, odocstream & os,
> + OutputParams const &) const
> +{
> + docstring str = _("math");
> + os << "[" << str << "]";
> + return 2 + str.size();
> }
docs
Georg Baum schrieb:
If I am right then we should probably add a
BOOST_ASSERT(false);
in InsetMath::plaintext and explain why we do that.
OK this looks better than simply returning 0.
Michael
Am Dienstag, 20. Februar 2007 20:13 schrieb Michael Gerz:
> Georg Baum schrieb:
> > This does not look right. All math plaintext output is done in
> > InsetMathHull::plaintext(), the other plaintext methods are empty on
> > purpose (they are not used because of the shortcut in
> > InsetMathHull:
Georg Baum schrieb:
Am Dienstag, 20. Februar 2007 19:19 schrieb [EMAIL PROTECTED]:
* src/mathed/InsetMath.[Ch]: implement plaintext() in a smarter way by
outputting "[math]" rather than nothing
This does not look right. All math plaintext output is done in
InsetMathHull::pla
Am Dienstag, 20. Februar 2007 19:19 schrieb [EMAIL PROTECTED]:
> Author: schmitt
> Date: Tue Feb 20 19:19:31 2007
> New Revision: 17278
>
> URL: http://www.lyx.org/trac/changeset/17278
> Log:
> * src/mathed/InsetMath.[Ch]: implement plaintext() in a smarter way by
> outputting "[math]"