I suggest to include the current line number in the set of environment variables.
Such variable is needed, for instance, if you use Notepad++ for LaTeX and want to make a forward search in the output dvi-file.
I suppose the required effort for implementation is little.
Yet, it would surely make Notepad++ more attractive to users of LaTeX.
Happy TeXing, JTM.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Notepad++ already provides environment variables such as CURRENT_WORD and FULL_CURRENT_PATH.
Users of LaTeX would also like to have a variable CURRENT_LINE.
Some more details for MikTeX.
Having compiled your tex-file with latex.exe you want to view the output, i.e., the dvi-file, using yap.
The command line is
yap -s 41mydoc.tex mydoc.dvi
where 41 is the current line in the current tex-file.
The effect of this call is that yap opens the dvi-document and jumps to the area corresponding to the position of the cursor in the tex-file.
For Notepad++ the command line would be something like
yap -s $(CURRENT_LINE)mydoc.tex mydoc.dvi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello.
I suggest to include the current line number in the set of environment variables.
Such variable is needed, for instance, if you use Notepad++ for LaTeX and want to make a forward search in the output dvi-file.
I suppose the required effort for implementation is little.
Yet, it would surely make Notepad++ more attractive to users of LaTeX.
Happy TeXing, JTM.
Could you perhaps explain what you really mean? I can't figure out what kind of change or addition it is that you propose.
Notepad++ already provides environment variables such as CURRENT_WORD and FULL_CURRENT_PATH.
Users of LaTeX would also like to have a variable CURRENT_LINE.
Some more details for MikTeX.
Having compiled your tex-file with latex.exe you want to view the output, i.e., the dvi-file, using yap.
The command line is
yap -s 41mydoc.tex mydoc.dvi
where 41 is the current line in the current tex-file.
The effect of this call is that yap opens the dvi-document and jumps to the area corresponding to the position of the cursor in the tex-file.
For Notepad++ the command line would be something like
yap -s $(CURRENT_LINE)mydoc.tex mydoc.dvi