environment variable configuration and documentation
Vincent Belaïche <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <[email protected]> |
Hello Christian,
The documentation of envvars is quite light, see http://docs.miktex.org/manual/envvars.html
I realized by experimenting that MikTeX TeX engines are an MSYS application, so there are the following things to note
* either you configure the TEXINPUTS and suchlikes in the MSYS format:
/c/Some/path:/c/Some/other/path
* or you configure them in the Dosc format
c:\Some\path;c:\Some\other\path
In the case that DOS format is used, MikTeX, the bash script wrappers (like texi2pdf.exe) will need to call some conversion script before calling the script itself). Here is a script that can do the job:
https://savannah.gnu.org/bugs/download.php?file_id=34935
(In the script the user can tell which format he/she used with some MIKTEX_ENVTYPE envvar.
There are other problems and/or info missing:
* I think that MikTeX always places the current directory first, even though TEXINPUTS specifie otherwise, I think that this is a MikTeX bug, please feedback,
* Documentation does not give the following information (which I infer, please confirm it)
** Empty dir means: insert here the defaults (ie the root dir configuation)
** tailing \\ (in DOS format, or // in MSYS format) means "search dir recursively"
** you can also used / instead of / in Dos format, this is OK.
** If one has MSYS installed on his/her machine, and this standalone MSYS has some mounting done in the fstab file, e.g. /local pointing at c:\msys\local, then MikTeX will understand that provided that the standalone MSYS is earlier in the system PATH, and therefore the msys.dll that is loaded is that of standalone MSYS.
VBR,
Vincent.
------------------------------------------------------------------------------
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml