Re: can environment variables be used in miktexstartup.ini

Rick Pember <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
> CommonInstall=${MIKTEX}
>
> or
>
> CommonInstall=$(MIKTEX)
>
> or
>
> CommonInstall=$MIKTEX

Unfortunately, none of these worked either. In all case, pdflatex is 
failing to find article.cls. If the full path name is used, e.g.,

CommonInstall=c:\miktex

there's no problem.


On 04/26/2013 01:30 PM, Christian Schenk wrote:
> On 4/26/2013 8:48 PM, Rick Pember wrote:
>> Is it possible to use Windows environment variables in
>> miktexstartup.ini, for example, to say something like
>>
>> CommonInstall=%MIKTEX%
>>
>> where MIKTEX=c:\miktex
>>
>> instead of
>>
>> CommonInstall=c:\miktex
>>
>> The syntax
>>
>> CommonInstall=%MIKTEX%
>>
>> didn't work. I also tried
>>
>> CommonInstall="%MIKTEX%"
>> CommonInstall=<MIKTEX>
>> CommonInstall="<MIKTEX>"
> Haven't tried it yet. But this should work:
>
> CommonInstall=${MIKTEX}
>
> or
>
> CommonInstall=$(MIKTEX)
>
> or
>
> CommonInstall=$MIKTEX
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> _______________________________________________
> MiKTeX-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/miktex-users
>


-- 
Richard Pember, Ph.D.
Director of CFD Development
Altair Engineering, Inc.
2685 Marine Way, Suite 1421
Mountain View, CA 94043
(650) 988-9700 x715 (Office)
(650) 988-9770 (Fax)
[email protected]
http://www.altair.com


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
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.