delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/23/03:10:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Rolf Dieterich <rolf DOT dieterich AT gmx DOT de>
Subject: Re: Using texi2pdf
Date: Sun, 23 Oct 2011 09:05:06 +0200
Lines: 97
Message-ID: <j80eaf$lv$1@dough.gmane.org>
References: <201110212154120500 DOT 000CF89E AT 127 DOT 0 DOT 0 DOT 1>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
In-Reply-To: <201110212154120500.000CF89E@127.0.0.1>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Andreas Falkenhahn <andreas AT falkenhahn DOT com> hat am 21.10.2011 um 21:54
Uhr geschrieben:
> 
> Hi,
> 
> I just tried to use texi2pdf on Cygwin but it doesn't seem to work right. There's a certain
> amount of program activity but no PDF is generated. Here's the verbose log:
> 
> $ texi2pdf --verbose testfile.texi
> /usr/bin/texi2dvi: Processing testfile.texi ...
> /usr/bin/texi2dvi: BIBINPUTS='.:/home/Andreas:/home/Andreas/.::'
> /usr/bin/texi2dvi: BSTINPUTS='.:/home/Andreas:/home/Andreas/.::'
> /usr/bin/texi2dvi: DVIPSHEADERS='.:/home/Andreas:/home/Andreas/.::'
> /usr/bin/texi2dvi: INDEXSTYLE='.:/home/Andreas:/home/Andreas/.::'
> /usr/bin/texi2dvi: MFINPUTS='.:/home/Andreas:/home/Andreas/.::'
> /usr/bin/texi2dvi: MPINPUTS='.:/home/Andreas:/home/Andreas/.::'
> /usr/bin/texi2dvi: TEXINPUTS='.:/home/Andreas:/home/Andreas/.::'
> /usr/bin/texi2dvi: TFMFONTS='.:/home/Andreas:/home/Andreas/.::'
> /usr/bin/texi2dvi: Removing /home/Andreas/testfile.t2d
> 
> Does anybody know why this doesn't work as it should?
> 
> Tks,
> 
> Andreas

Hi Andreas,

I happened to generate some texinfo manuals in pdf format lately. For me
it is working:

$ texi2pdf --verbose gccintro.texi
/usr/bin/texi2dvi: Processing gccintro.texi ...
/usr/bin/texi2dvi:
BIBINPUTS='.:/home/Rolf/info/gccintro-1.0:/home/Rolf/info/gccintro-1.0/.::'
/usr/bin/texi2dvi:
BSTINPUTS='.:/home/Rolf/info/gccintro-1.0:/home/Rolf/info/gccintro-1.0/.::'
/usr/bin/texi2dvi:
DVIPSHEADERS='.:/home/Rolf/info/gccintro-1.0:/home/Rolf/info/gccintro-1.0/.::'
/usr/bin/texi2dvi:
INDEXSTYLE='.:/home/Rolf/info/gccintro-1.0:/home/Rolf/info/gccintro-1.0/.::'
/usr/bin/texi2dvi:
MFINPUTS='.:/home/Rolf/info/gccintro-1.0:/home/Rolf/info/gccintro-1.0/.::'
/usr/bin/texi2dvi:
MPINPUTS='.:/home/Rolf/info/gccintro-1.0:/home/Rolf/info/gccintro-1.0/.::'
/usr/bin/texi2dvi:
TEXINPUTS='.:/home/Rolf/info/gccintro-1.0:/home/Rolf/info/gccintro-1.0/.::'
/usr/bin/texi2dvi:
TFMFONTS='.:/home/Rolf/info/gccintro-1.0:/home/Rolf/info/gccintro-1.0/.::'
/usr/bin/texi2dvi: texinfo.tex preloaded as `', version is `20110923' ...
/usr/bin/texi2dvi: Cycle 1 for ./gccintro.texi
/usr/bin/texi2dvi: Backing up xref files: gccintro.aux
gccintro.cp
gccintro.cps
gccintro.toc
/usr/bin/texi2dvi: Running texindex gccintro.cp
/usr/bin/texi2dvi: /usr/bin/texi2dvi: Running pdfetex --file-line-error
'./gccintro.texi' ...
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
 restricted \write18 enabled.
entering extended mode
[...]

But I have Tex Live 2011 installed. So I don't use tetex 3.0 from the
official Cygwin distribution:

$ kpsewhich texinfo.tex
/usr/local/texlive/2011/texmf-dist/tex/texinfo/texinfo.tex

First check if you have the texinfo format installed:

$ cygcheck -f /usr/share/texmf/tex/texinfo/texinfo.tex
tetex-base-3.0.0-3
texinfo-4.13-3

Then check if you have the tex engines installed, e.g. pdftex:

$ cygcheck -f /usr/bin/pdftex
tetex-bin-3.0.0-3

My tetex installation seems to be incomplete:

$ cygcheck -c tetex-bin
Cygwin Package Information
Package              Version        Status
tetex-bin            3.0.0-3        Incomplete

But as I mentioned I don't use tetex anyway.

Summary:
texi2pdf and texi2dvi are bash scripts which need texinfo.tex (a TeX
format) an underlying tex engine.
I don't know if the rather ancient tetex distribution in Cygwin is
sufficient to do the job.

-- Rolf


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

- Raw text -


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