On 14/12/2012 7:13 a.m., Alex Vergara Gil wrote:
Hello,
I would like to make a suggestion for a new feature.
When I try to compile a file using LyX and there is a syntax error,
the LaTeX protocol tells me in which line the error occurred. If there
were line numbers displayed in the sources window, it would give me a
clue where in my LyX document the cause for this error is located.
What is your opinion on this, and what is the 'official' way to make a
feature request?
+1 with this. Definitively there must be an enhacement on the LyX
debugger. This can save a lot of time of erasing_the_half common procedure.
Alex
One way of doing this is to view your LyX document in a text editor. In
my view, the simplest way to do that is to go to Tools > Preferences >
File Handling > File Formats, in the Format box, scroll down to LyX, and
under Viewers choose Custom and in the adjacent slot enter your favoured
text editor. I've entered notepad++. Then click Apply. In the Windows
world you may have to let LyX know where to find it by adding the path
to your text editor under Tools > Preferences > Paths and in the PATH
prefix slot adding a semicolon and the path to your editor.
Now when you click on the View-other-formats button, View LyX should be
available. Clicking on it should launch your text editor with the
document displayed in native LyX format and, at least in notepad++, with
line numbers down the side.
Andrew