How locate LyX errors
Daniel
xracoonx at gmx.de
Tue Aug 15 17:38:13 UTC 2023
On 2023-08-14 18:35, Herbert Voss wrote:
>
>
> Am 14.08.23 um 16:07 schrieb Edwin Burmeister:
>>
>> I am using LyX 2.3.7 on a Mac (silicon chip) running OS Ventura 13.5.
>>
>>
>> From LaTeX Errors window:
>>
>>
>> “Selecting an error ... the cursor will jump to the location in the
>> document where the error occurred.”
>>
>>
>> This does not happen for me. How can I get it to work?
>>
>>
>> I then tried to locate my errors via line number. But putting
>>
>>
>> \usepackage[left,modulo]{lineno}
>>
>> \linenumbers
>>
>>
>> in the LaTeX Preamble did not work.
>>
>
> No problem on my macOS. Export the document to LaTeX and run it.
> Then you should see an error message.
Just to be sure: This answer sounds as if the normal way to hunt down
LaTeX errors in LyX is to export to LaTeX. That is not so (and probably
not what is meant). It should work directly from the LaTeX Errors window.
However, there are some exceptions. Most notably errors in the preamble.
I don't think those can be found the way LyX suggests. And since,
unfortunately, the code preview pane does not have proper line numbers,
it is hard to track those errors down. In that case exporting to another
editor might be a better way indeed.
Daniel
More information about the lyx-users
mailing list