Inline math: one ERT compiles, the other doesn't (fwd)

Rich Shepard rshepard at appl-ecosys.com
Fri Mar 15 17:00:40 UTC 2024


On Fri, 15 Mar 2024, Paul Rubin wrote:

> There's nothing inherent in the content causing this. I opened your mwe.lyx 
> file in LyX and, after confirming the error, deleted the second ERT box and 
> trailing comma, confirmed what was left compiled without error, then typed 
> the ERT box and content (and trailing comma) back in. The document compiled 
> without problem.

Paul,

Thanks for confirming.

> So the question is, how did you create the second part of the example file? 
> Most likely something you did inadvertently inserted the problem character.

In the actual document I had originally entered the inline equation using
Insert -> Math -> Inline. This morning I deleted that yellow box and used
ERT to enter the string. Error committed.

Now, in the actual document I had to re-enter the ERT several times to get
it to compile. It may be that when entering the ERT content I tended to type
], backspace to delete, then type \. Perhaps correcting the typo was the
cause.

I'll see with the display version if it's my fingers mis-typing a backslash
that creates the unprintable character.

Carpe weekend,

Rich



More information about the lyx-users mailing list