delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/18/13:31:09

X-Spam-Check-By: sourceware.org
Message-ID: <BAY108-F52A341BE55907AEF2EB08E8E50@phx.gbl>
X-Sender: panjing_cn AT hotmail DOT com
In-Reply-To: <873bhf4t9n.fsf@blarg.net>
From: "Jing Pan" <panjing_cn AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Invoking Miktex in Cygwin
Date: Sat, 18 Mar 2006 18:30:55 +0000
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Maybe it's because of the space in the name "Program Files". I had this 
problem when I set up my JAVA_HOME, which is also subdirectory of "Program 
Files". I renamed the directory, instead of "Program files", to "Progra~1", 
i.e. /cygdrive/c/Progra~1/..., which worked fine. Somebody said .../Program\ 
Files/... also works, but it was not in my case. Good luck.

/Jing


>From: Eric Hanchrow <offby1 AT blarg DOT net>
>To: cygwin AT cygwin DOT com
>Subject: Re: Invoking Miktex in Cygwin
>Date: Sat, 18 Mar 2006 08:22:44 -0800
>
> >>>>> "Tong" == Tong Wang <wangtong AT usc DOT edu> writes:
>
>     Tong> Hi you guys, I have Miktex installed( in C:\Program Files),
>     Tong>          and am trying to invoke Latex.exe from Shell and
>     Tong>          got some trouble.  Heres what I did : 1.  make a
>     Tong>          soft link by: ln -s 'C:\Program
>     Tong>          Files\texmf\miktex\bin\latex.exe' /usr/local/bin 2.
>     Tong>          run latex: latex myfile.tex
>
>     Tong> Then I got the following error message: This is pdfeTeX,
>     Tong>      Version 3.141592-1.21a-2.2 (Web2C 7.5.4) kpathsea:
>     Tong>      Running mktexfmt latex.fmt /usr/bin/mktexfmt: line 333:
>     Tong>      /texconfig/tcfmgr: No such file or directory fmtutil:
>     Tong>      config file `fmtutil.cnf' not found.  I can't find the
>     Tong>      format file `latex.fmt'!
>
>     Tong> but I do have C:\Program
>     Tong> Files\localtexmf\miktex\fmt\latex.efmt And I am sure that
>     Tong> the Miktex works fine for other editor like WinEdt.
>
>I've never used mixtex, so I'm just making this up.  But: it's
>possible that mixtex has accidentally invoked the Cygwin version of
>pdfeTeX, instead of its own.  Try putting miktex's directory on the
>front of your PATH, like this:
>
>         $ PATH=/cygdrive/c/Program Files/texmf/miktex/bin:$PATH latex 
>myfile.tex
>
>--
>Humor can be dissected as a frog can, but the thing dies in the
>process and the innards are discouraging to any but the pure
>scientist.
>         --E.B. White
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019