Renaming math stream objects

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Dec 28 18:33:16 UTC 2020


Le 26 décembre 2020 20:07:19 GMT+01:00, Thibaut Cuvelier <tcuvelier at lyx.org> a écrit :
>Dear list,
>
>In https://www.lyx.org/trac/ticket/12055, there was some confusion about
>the name of the streams used to output math: there is OctaveStream for
>Octave, MathematicaStream for Mathematica, etc., but MathStream for MathML
>(the name is much more generic than what the class does) and WriteStream
>for standard LaTeX math (the name is unrelated to the features of the
>class).
>
>As proposed in the ticket, I attach two patches to rename these classes so
>that their name is much more descriptive. Is it OK to push these commits?
>
>Thibaut

What you propose makes sense, but LaTeXMathStream is a bit long. What about using just MathStream? Or TeXMathStream like we have otexstream.

Also, I am not sure why math streams use different capitalization rules than their text counterpart. 

JMarc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201228/c1b60ada/attachment.html>


More information about the lyx-devel mailing list