Re: WinEdt Latex2e help
I found that I do have latex2e.chm
C:/Program Files/WinEdt Team/WinEdt/Doc/LaTeX/latex2e.chm
installed, but the environment variable "TeX-Help" does not have a value.
So I wanted to try if I can access this help file.
Therefore I added
SetEnvVar("TeX-Help","C:/Program Files/WinEdt Team/WinEdt/Doc/LaTeX//");
To the startup macro.
But even after closing and restarting WinEdt the LaTeX2e menu item on
the help menu is greyed out. Do I need another value for the environment
variable?
Erich Neuwirth
Kuznetsov A.N. wrote:
> Hello, Erich Neuwirth!
> 02.09.2008 21:48 you wrote:
>> Possibly a very dumb question.
>> The LaTeX2e item on my Help menu is greyed out.
>> The files are installed, but I think Winedt is configure to
>> use CHM help and I do not have a CHM help file in
>> C:\Program Files\MiKTeX 2.7\doc\latex\help
>> I would rather use HTML help anyhow, but I cannot find where I can
>> change this.
>> Can anybody help me?
> You can try to redefine associated macro.
>
> Let's assume, that your HTML file is "C:\MiKTeX\help\index.html".
>
> 1. Open "Options->Menu Setup..."
>
> 2. On the "Main menu" tab page double click the "&Help" item in the list.
>
> 3. In opened dialog, click on "&LaTeX2e" item. Now in the "Macro" field should
> be something like "HTMLHelp("%$('TeX-Help');\latex2e.chm",1,1);" and in
> "Requires File Filter" field "%$('TeX-Help');\latex2e.chm".
>
> 4. Replace text in the "Macro" field with
>
> ShellExecute("open","C:\MiKTeX\help\index.html","", "C:\MiKTeX\help",1);
>
> If your file name and/or path is different from supposed, change 2nd and 4th
> parameters with full file path and file dir.
>
> 5. Clear "Requires File Filter" field. (Or set it to
> "C:\MiKTeX\help\index.html", if you want to gray it out, when file doesn't exist)
>
> You can find more information about menu options in WinEdt's help. Description
> of ShellExecute macro is located in WinEdt's Macro manual.
--
--
Erich Neuwirth, University of Vienna
Faculty of Computer Science
Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-39464 Fax: +43-1-4277-39459