Unassigned buffer_ in InsetMathRef::write

Richard Kimberly Heck rikiheck at gmail.com
Fri Oct 27 18:03:30 UTC 2023


On 10/26/23 10:50, Scott Kostyshak wrote:
> In the attached file, if I highlight the reference from within the math
> inset, and the do control-c to copy, I get the following in the
> terminal:
>
>    mathed/InsetMathRef.cpp (291): Unassigned buffer_ in InsetMathRef::write!
>    mathed/InsetMathRef.cpp (292): LaTeX output may be wrong!
>   
> Alternatively, after highlighting I can reproduce by typing \textbf<space>.
>
> Should I open a trac ticket for this? I still don't understand the
> underlying issue. If I remember correctly, in some cases there's nothing
> we can do about it (I guess that's why we don't assert) so I wanted to
> check in here first.

There are weird cases, yes, where we don't know what to do. But this 
might not be one of those, and maybe it'll solve some other problem. So 
create a ticket and attach the file. I'll have a look.

Riki




More information about the lyx-devel mailing list