Re: environment variable configuration and documentation

Vincent Belaïche <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Dear Christian,


Thank you for your quick answer. The only TeX distro installed on my machine is MikTeX. On my machine TEXINPUTS is empty at system level.


When I compile some Texinfo dummy.texi document with the bash script texi2pdf launched from an Msys bash console it works fine (please note that I am using the bash script, not the wrapper installed with MikTeX, this is because we are trying to solve a Texinfo bug (https://savannah.gnu.org/bugs/?43122, http://lists.gnu.org/archive/html/bug-texinfo/2015-09/threads.html), so I need to use the latest texi2dvi version). 


During this experiment, I set the verbose option to texi2pdf, so I can see that the TEXINPUTS envvar is set by texi2dvi to the following value:


/c/Programmes/installation/texinfo-install/trunk/util/dummy.t2d/pdf/bak:/c/Programmes/installation/texinfo-install/trunk/util:/c/Programmes/installation/texinfo-install/trunk/util/.:


Also  the command line is the following:


pdfetex -recorder '\catcode126=12 \def\normaltilde{~}\catcode126=13 \let~\normaltilde ' '\input' './dummy.texi'


Please note that dummy.texi is in directory /c/Programmes/installation/texinfo-install/trunk/util/


If I do the same experiment with additionally the --tidy option to texi2pdf, the TEXINPUTS is set to :


/c/Programmes/installation/texinfo-install/trunk/util/dummy.t2d/pdf/bak:/c/Programmes/installation/texinfo-install/trunk/util:/c/Programmes/installation/texinfo-install/trunk/util/.:


ie same as before, and the command run is the following:


pdfetex -recorder '\catcode126=12 \def\normaltilde{~}\catcode126=13 \let~\normaltilde ' '\input' '/c/Programmes/installation/texinfo-install/trunk/util/./dummy.texi'


In this second case the input document file path is clearly an MSYS path, not an MSW path. And the compilation works fine all the same.


So, I don't know how MikTeX achieves that internally, but for sure somewhere you are calling some MSYS Library (msys-1.0.dll ?) to do that conversion. I noticed that it works even with MSYS paths that are mounted in my ~/etc/fstab



   Vincent.



----------------------------------------
> To: [email protected]
> From: [email protected]
> Date: Sun, 20 Sep 2015 17:55:46 +0200
> Subject: Re: [MiKTeX] environment variable configuration and documentation
>
> On 9/20/2015 5:35 PM, Vincent Belaïche wrote:
>
>> The documentation of envvars is quite light, see http://docs.miktex.org/manual/envvars.html
>
> Yes, this section is in need of improvement.
>
>> I realized by experimenting that MikTeX TeX engines are an MSYS application, ...
>
> Since MiKTeX is not based on MSYS, I am a bit skeptical regarding the
> rest of the post.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Q: How can I leave the mailing list?
> A: See http://docs.miktex.org/faq/support.html#leavingml 		 	   		  
------------------------------------------------------------------------------
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.