Discussion:
Show line numbers in the sources
Gerhard Holzinger
2012-12-13 17:11:44 UTC
Permalink
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?



Kind regards,

Gerhard
Alex Vergara Gil
2012-12-13 18:13:58 UTC
Permalink
Post by Gerhard Holzinger
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
Andrew Parsloe
2012-12-13 21:32:31 UTC
Permalink
Post by Alex Vergara Gil
Post by Gerhard Holzinger
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
Uwe Stöhr
2012-12-13 23:49:19 UTC
Permalink
Post by Gerhard Holzinger
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 from me. To assure your suggestion is not lost, can you please open a new enhacement bug in our
bug tracker:
http://www.lyx.org/trac/wiki/BugTrackerHome

thanks and regards
Uwe

Loading...