I use TeX Live 2011, WinEdt 6.0 and SumatraPDF, the inverse and forward PDF search can only mark and navigate to the paragraph, how to make them point to the line ?
|
|
In a text file, lines are separated by a newline character, which you get by hitting enter. Even if a single line is broken by the editor (word wrap), as far as SyncTeX is concerned, it is still just a single line. Take the following screenshot from WinEdt. You'll see that even though the first part is divided over several lines in the editor, everything is on line number four of the file.
The above predictably gives this output:
If I in Sumatra double click anywhere in the "All of this text is written on the same line"-part, WinEdt highlights line four:
If I double click "This is on a new line", I get
and double clicking the last sentence gives
Many prefer either creating a new line for every 65-80 characters, or having one sentence per line, which is beneficial both for synchronization and version control. |
|||
|
|




