Re: [Dev-luatex] \mathchar feature request

2019-03-21 Thread Ulrike Fischer
Am Thu, 21 Mar 2019 16:54:39 +0200 schrieb Linas Stonys: > First one is missing char. > \documentclass{article} > \usepackage{amsfonts} > > \begin{document} > \Gamma $\Gamma$ > \Gamma $\Gamma$ > \end{document} You get a missing char here as math hasn't been setup yet. Something like \begin{docu

Re: [Dev-luatex] \mathchar feature request

2019-03-21 Thread Frank Mittelbach
the reason that \mathchar and \mathchardef does not produce an error message when processed outside mathmode is that Don decided that this is a good way to store numbers and to be used in programming. If that would suddnely raise error this would kill a lot of lowlevel code this is similar to

Re: [Dev-luatex] \mathchar feature request

2019-03-21 Thread Linas Stonys
Produces three Γ with lualatex TL2018. First one is missing char. And I can't reproduce bad example with the wrong symbol because it was a huge file and I can't find it now. \documentclass{article} \usepackage{amsfonts} \begin{document} \Gamma $\Gamma$ \Gamma $\Gamma$ \end{document} On 3/21

Re: [Dev-luatex] \mathchar feature request

2019-03-21 Thread Marcel Krüger
On Thu, 21 Mar 2019 14:51:25 +0100 Linas Stonys wrote > the problem is that this command appears not in math mode. > Then it takes \textfont for character to output. > For example one forgot \Gamma to write as $\Gamma$ and he/she > used some packages where \Gamma appeared in pdf. B

Re: [Dev-luatex] \mathchar feature request

2019-03-21 Thread Linas Stonys
the problem is that this command appears not in math mode. Then it takes \textfont for character to output. For example one forgot \Gamma to write as $\Gamma$ and he/she used some packages where \Gamma appeared in pdf. But such a file comes to publishing system where different packages and differ

Re: [Dev-luatex] \mathchar feature request

2019-03-21 Thread Hans Hagen
On 3/21/2019 1:03 PM, Linas Stonys wrote: Hi, I was tracing \mathchar created nodes in text mode and they are just a simple glyph nodes with subtype 256. The problem is that there is no how to control the output changing the text font. It's ok if engine throws messages about missing characters

Re: [Dev-luatex] \mathchar feature request

2019-03-21 Thread Marcel Krüger
On Thu, 21 Mar 2019 13:03:10 +0100 Linas Stonys wrote > Hi, > I was tracing \mathchar created nodes in text mode and they are just a > simple glyph nodes with subtype 256. > The problem is that there is no how to control the output changing the > text font. It's ok if engine thr

[Dev-luatex] \mathchar feature request

2019-03-21 Thread Linas Stonys
Hi, I was tracing \mathchar created nodes in text mode and they are just a simple glyph nodes with subtype 256. The problem is that there is no how to control the output changing the text font. It's ok if engine throws messages about missing characters in font. But if current font has a differe