From ggrothendieck at gmail.com  Sun Nov  9 18:55:02 2008
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Sun, 9 Nov 2008 12:55:02 -0500
Subject: [Rd] Locating MiKTeX
In-Reply-To: <491712A3.6040201@pdf.com>
References: <971536df0811090811p78ef5883haf68eb2492baf622@mail.gmail.com>
	<491712A3.6040201@pdf.com>
Message-ID: <971536df0811090955n72d49a91j2d4adc0962489bc2@mail.gmail.com>

MiKTeX automatically downloads additional required packages
that your *.tex files use.  Something is wrong with your installation
if it did not try to do that automatically for you.

Although the following should not be necessary, if you do
want to download and install additional MiKTeX packages
yourself without a massive download just invoke the
MiKTeX package manager by entering at the Windows
command line:

mpm

or, if you don't have MiKTeX on your path you can run

rtools.bat
mpm

where rtools.bat, which is from http://batchfiles.googlecode.com ,
will temporarily add MiKTeX to your path so that you can run mpm
and other MiKTeX tools.


On Sun, Nov 9, 2008 at 11:41 AM, Spencer Graves <spencer.graves at pdf.com> wrote:
> Hi, Gabor, et al.:
>     Could you also please ensure 'plflatex wrapper.tex' work with whatever
> MikTeX installation you include, for 'wrapper.tex' mentioned in the
> "Submissions" instructions for R News?
>     This bombed for me when I tried it recently, because I was missing
> multiple LaTeX packages:  When I found one, it asked for another that I
> couldn't easily find.  So I did a maximal install of the latest version of
> MiKTeX.  That involved downloading more that a gigabyte of stuff, then
> cleaning space on my hard drive so I could actually install it.  The whole
> process took several days, in between my other work.  It would help if it
> were all part of the standard install.
>     Thanks,
>     Spencer
> Gabor Grothendieck wrote:
>>
>> I came across this program to locate MiKTeX file:
>>
>> http://docs.miktex.org/2.7/sdk/findfile_8cpp-example.html
>>
>> If the exe of this were included with R then it seems it might
>> provide a reliable way to locate MiKTeX which we don't currently have
>> since AFAIK there is no adequate registry key for MiKTeX.
>> Since its a tiny program it would not substantially affect the
>> R download.
>>
>> (There is also a perl version of the same program there although
>> it relies on certain perl packages which would also have to be
>> present complicating things.)
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>



[Rd] Locating MiKTeX
Gabor Grothendieck