At 09:35 04.01.2003, Cornelius C. Noack wrote:
>Although MikTeX is great for keeping one's TeX database up to date, I
>can't get used to its builtin text editor
As far as I know, MiKTeX doesn't come with any built-in editor. But Yap,=20
its DVI-Viewer, uses Windows' Notepad by default.
> (i) how can I tell MikTex to use my own favorite text editor?
In Yap, travel to "View/Options: Inverse Search". You can choose there=20
from one or more programmes in a pop-up menu or input the editor of your=20
choice as you'd call it from a command line.
> (ii) how does MikTeX handle the source line numbers in which TeX
> finds an error? In other words, how can I tell my editor to
> come up at that line number?
With Emacs and AucTeX, just press C-c ` to be sent to the next error. This=
works fabulously. This is not a TeX, and even less a MikTeX problem. All=
depends on your editor and its ability to scan the log-file produced by=20
In Yap's command line mentioned above, you can also use "%f " as file name=
of the source file, and "%l" as line number. Yap will then hand over both=
parameters to the editor. Most editors (including Notepad) take a file=20
name, but you should check if and, if so, how your favourite editor can=20
take a line number. I personally use GNU Emacs 21.2 with a gnuclient=20
installed, and my command line is:
C:\Programme\emacs-21.2\bin\gnuclient.exe -q -F +"%l" "%f"
If you're interested in using Emacs, my article in Die TeXnische Kom=F6die=
or 3/2002, I think) about using Emacs/AuCTeX with MikTeX/Yap may be=20
helpful. I should be ready to share it with you if you're interested and=20
not a Dante member.
Priv.-Doz. Dr. Rainer Thiel
FB 10, Klass. Phil. - D-35032 Marburg, Germany (EU)