WinEdt ⇒ How to show real line numbers?
How to show real line numbers?
I'm using WinEdt with "Soft wrapping mode". And when i typing a long string it wraps on the next line and WinEdt giving that line a next number. But this is the same line, just wrapped! Thus when receiving messages from latex about line numbers, I cannot really determine its position. Are there some ways to fix this problem?
Thanks.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
kaiserkarl13
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Re: How to show real line numbers?
Try opening the file in another text editor; if you see wrapped lines and/or line numbers that correspond to the wrapped lines (not the unwrapped ones), it's actually saving the line breaks as hard line breaks. Turning off the soft wrapping mode may turn of this feature, returning your long lines to their former splendor.
If I'm interpreting your question incorrectly and what is actually happening is that WinEdt is creating fictitious line numbers for your "wrapped" lines and then writing the full line out when it saves, then you'll need to fix it by doing the opposite: tell it to save the hard line breaks, meaning LaTeX will see the lines in their broken form.