On Thu, Dec 18, 2025 at 12:12:46PM +0100, Jean-Marc Lasgouttes wrote:
> Le 18/12/2025 à 09:09, Scott Kostyshak a écrit :
> > On Mon, Nov 10, 2025 at 09:44:54AM +0100, Scott Kostyshak wrote:
> > > After quitting LyX, I see the following in the terminal:
> > > 
> > >    mathed/MathStream.cpp (1202): Unable to find `\langle' in the 
> > > mathWordList.
> > >    mathed/MathStream.cpp (1202): Unable to find `\rangle' in the 
> > > mathWordList.
> > > 
> > > Should I use a local patch to turn these into an assert and figure out 
> > > how to reproduce?
> > 
> > Any takers? I now have a way to reliably reproduce and would be happy to
> > make a minimal example if anyone is interested in taking a look.
> > 
> > notes to myself for how to start making an MWE: I can reproduce using
> > the following on 433a97d6 of my private repository:
> > 
> >    cd 19-dots-and-lines/ && mylyx master-master -e xhtml dots-and-lines.lyx
> 
> I do notunderstand how our lib/*symbols files work, but this is suspicious:
> 
> fantomas (master): grep -i 27e8 lib/*symbols
> lib/symbols:langle             cmsy        104 225 mathopen   ⟨
> lib/unicodesymbols:0x27e8 "\\textlangle"             "textcomp" "force"
> "\\langle" "" # MATHEMATICAL LEFT ANGLE BRACKET
> 
> U+27e8 is a mathematical left angle, why is it related to \textlangle?
> 
> This was introduced at 4ebb415773e. Günther, are you reading this, by chance
> ?
> 
> Scott, I do not know if the above is useful. I tried to reproduce your
> error, but cannot. Could you try to get a backtrace?

Thanks for taking a look, JMarc!

I attach a minimal example and a backtrace. To reproduce, open the
minimal example and do File > Export > LyXHTML.

Scott
#0  lyx::convertDelimToXMLEscape (name=L"\\langle") at 
/home/scott/lyxbuilds/master-master/repo/src/mathed/MathStream.cpp:1203
#1  0x0000555555bc7c60 in lyx::InsetMathBig::mathmlize (this=0x7fffb802dbe0, 
ms=...) at 
/home/scott/lyxbuilds/master-master/repo/src/mathed/InsetMathBig.cpp:141
#2  0x0000555555b8b8ef in lyx::mathmlize (dat=..., ms=...) at 
/home/scott/lyxbuilds/master-master/repo/src/mathed/MathExtern.cpp:1769
#3  0x0000555555bb90c5 in lyx::operator<< (ms=..., md=...) at 
/home/scott/lyxbuilds/master-master/repo/src/mathed/MathStream.cpp:659
#4  0x0000555555b2a4bf in lyx::InsetMathHull::mathmlize (this=0x555557b68ea0, 
ms=...) at 
/home/scott/lyxbuilds/master-master/repo/src/mathed/InsetMathHull.cpp:2643
#5  0x0000555555b2c267 in lyx::InsetMathHull::xhtml[abi:cxx11](lyx::XMLStream&, 
lyx::OutputParams const&) const (this=0x555557b68ea0, xs=..., op=...)
    at 
/home/scott/lyxbuilds/master-master/repo/src/mathed/InsetMathHull.cpp:2764
#6  0x0000555555989ba3 in 
lyx::Paragraph::simpleLyXHTMLOnePar[abi:cxx11](lyx::Buffer const&, 
lyx::XMLStream&, lyx::OutputParams const&, lyx::Font const&, bool, bool, long) 
const
    (this=0x555557c46f00, buf=..., xs=..., runparams=..., outerfont=..., 
start_paragraph=true, close_paragraph=true, initial=0)
    at /home/scott/lyxbuilds/master-master/repo/src/Paragraph.cpp:4238
#7  0x0000555555ae7055 in lyx::(anonymous namespace)::makeParagraphs (buf=..., 
xs=..., runparams=..., text=..., pbegin=..., pend=...)
    at /home/scott/lyxbuilds/master-master/repo/src/output_xhtml.cpp:368
#8  0x0000555555ae91df in lyx::xhtmlParagraphs (text=..., buf=..., xs=..., 
runparams=...) at 
/home/scott/lyxbuilds/master-master/repo/src/output_xhtml.cpp:728
#9  0x0000555555728f2c in lyx::Buffer::writeLyXHTMLSource (this=0x555557bfad90, 
os=..., runparams=..., output=lyx::Buffer::FullSource)
    at /home/scott/lyxbuilds/master-master/repo/src/Buffer.cpp:2388
#10 0x000055555572838c in lyx::Buffer::makeLyXHTMLFile (this=0x555557bfad90, 
fname=..., runparams=...) at 
/home/scott/lyxbuilds/master-master/repo/src/Buffer.cpp:2272
#11 0x00005555557373cd in lyx::Buffer::doExport (this=0x555557bfad90, 
target="xhtml", put_in_tempdir=false, includeall=false, result_file="")
    at /home/scott/lyxbuilds/master-master/repo/src/Buffer.cpp:4645

Attachment: mathWordList-issue.23.lyx
Description: application/lyx

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to