Re: texi2pdf

2002-10-22 Thread Thomas Esser
 Well, I've been trying to create PDF from a .texi document where makeinfo and 
 texi2html work fine.  But, texi2pdf always fails.  I'm attaching the document 
 which is part of the emacs package ESS as an example.  Any help would be 
 appreciated.  Thanks.

That seems to be an invalid texinfo source file. texi2dvi does not run,
either.

The documentation contained in
  ftp://ftp.stat.math.ethz.ch/Software/emacs/ESS/ess-5.1.20.tar.gz
works fine with texi2pdf:
  cd ess-5.1.20/doc
  texi2pdf readme.texi
  texi2pdf ess.texi 

Thomas



texi2pdf problem (texinfo.tex)

2001-12-10 Thread Ezra Peisach


In the recent download texi2pdf complains about names being referenced
but not found in making a the indexed table of contents. I founf that
the latest texinfo.tex fixes this problem. (latest version found on
ftp.texinfo.org)

Here is the diff - it may be that the pdfmkpgn change is all that is
needed (the warnings complained about page{XXX@} not being found but I
do not know what the \imagexxx change is about.

   Ezra

*** /4/usr2/epeisach/software/share/texmf/tex/texinfo/texinfo.tex   Tue Jul 31 
07:37:00 2001
--- ./texinfo.tex   Tue Dec  4 11:52:13 2001
***
*** 3,9 
  % Load plain if necessary, i.e., if running under initex.
  \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
  %
! \def\texinfoversion{2001-07-25.07}
  %
  % Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
  %   2000, 01 Free Software Foundation, Inc.
--- 3,9 
  % Load plain if necessary, i.e., if running under initex.
  \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
  %
! \def\texinfoversion{2001-12-04.08}
  %
  % Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
  %   2000, 01 Free Software Foundation, Inc.
***
*** 31,43 
  % reports; you can get the latest version from:
  %   ftp://ftp.gnu.org/gnu/texinfo.tex
  %   (and all GNU mirrors, see http://www.gnu.org/order/ftp.html)
! %   ftp://texinfo.org/tex/texinfo.tex
! %   ftp://us.ctan.org/macros/texinfo/texinfo.tex
! %   (and all CTAN mirrors, finger [EMAIL PROTECTED] for a list).
! %   /home/gd/gnu/doc/texinfo.tex on the GNU machines.
  % The texinfo.tex in any given Texinfo distribution could well be out
  % of date, so if that's what you're using, please check.
! % Texinfo has a small home page at http://texinfo.org/.
  %
  % Send bug reports to [EMAIL PROTECTED]  Please include including a
  % complete document in each bug report with which we can reproduce the
--- 31,46 
  % reports; you can get the latest version from:
  %   ftp://ftp.gnu.org/gnu/texinfo.tex
  % (and all GNU mirrors, see http://www.gnu.org/order/ftp.html)
! %   ftp://texinfo.org/texinfo/texinfo.tex
! %   ftp://tug.org/tex/texinfo.tex
! % (and all CTAN mirrors, see http://www.ctan.org),
! %   and /home/gd/gnu/doc/texinfo.tex on the GNU machines.
! % 
  % The texinfo.tex in any given Texinfo distribution could well be out
  % of date, so if that's what you're using, please check.
! % 
! % Texinfo has a small home page at http://texinfo.org/ and also
! % http://www.gnu.org/software/texinfo.
  %
  % Send bug reports to [EMAIL PROTECTED]  Please include including a
  % complete document in each bug report with which we can reproduce the
***
*** 943,949 
\pdfrefximage \pdflastximage
  \fi}
\def\pdfmkdest#1{{\normalturnoffactive \pdfdest name{#1} xyz}}
!   \def\pdfmkpgn#1{#1@}
\let\linkcolor = \Blue  % was Cyan, but that seems light?
\def\endlink{\Black\pdfendlink}
% Adding outlines to PDF; macros for calculating structure of outlines
--- 946,952 
\pdfrefximage \pdflastximage
  \fi}
\def\pdfmkdest#1{{\normalturnoffactive \pdfdest name{#1} xyz}}
!   \def\pdfmkpgn#1{#1}
\let\linkcolor = \Blue  % was Cyan, but that seems light?
\def\endlink{\Black\pdfendlink}
% Adding outlines to PDF; macros for calculating structure of outlines
***
*** 5881,5887 
\global\warnednoepsftrue
  \fi
\else
! \imagexxx #1,,,\finish
\fi
  }
  %
--- 5884,5890 
\global\warnednoepsftrue
  \fi
\else
! \imagexxx #1,\finish
\fi
  }
  %
***
*** 6087,6092 
--- 6090,6099 
%
\afourpaper
\internalpagesizes{237mm}{150mm}{3.6mm}{3.6mm}{3mm}{7mm}%
+   %
+   % Must explicitly reset to 0 because we call \afourpaper, apparently,
+   % although this does not entirely make sense.
+   \globaldefs = 0
  }}
  
  % Use @afourwide to print on European A4 paper in wide format.