Re: preview-latex 0.9.1 and AUCTeX 11.whatever

Reiner Steib <[email protected]> Mon, 21 Mar 2005 15:08:37 +0100
Newsgroups gmane.emacs.auc-tex
Organization Dept. of Theoretical Physics, University of Ulm
Message-ID <[email protected]>
--=-=-=

On Sat, Mar 19 2005, David Kastrup wrote:

> d) Given that we provide RPM files for AUCTeX/SuSE, it would appear
> reasonable to attempt the same for preview-latex/SuSE.  There should
> not be too much to cater for in addition to what is there already.

If you give me build and upload instructions, I will try to provide
SuSE RPMs.

$ rpmbuild --rebuild preview-latex-0.9-1.fedora.src.rpm
fails for me, because I cannot built preview-latex.pdf:

auctex/preview/doc$ texi2dvi --pdf preview-latex.texi
This is pdfeTeXk, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
 file:line:error style messages enabled.
entering extended mode
(/home/dept/ste/src/links/auctex/auctex/preview/doc/preview-latex.texi{/var/lib
/texmf/pdftex/config/pdftex.cfg} (/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2003-02-03.16]: Basics, pdf,
(/usr/share/texmf/pdftex/plain/misc/pdfcolor.tex) fonts, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, (/usr/share/texmf/tex/plain/dvips/epsf.tex) localization,
and turning on texinfo input format.) (./preview-latex.aux) (./macros.texi)
[1{/var/lib/texmf/dvips/config/pdftex.map}] [2] (./preview-latex.toc [-1])
[-2] (./preview-latex.toc) (./preview-latex.toc
./preview-latex.toc:23: TeX capacity exceeded, sorry [input stack size=1500]
./preview-latex.toc:23:  ==> Fatal error occurred, the output PDF file is not f
inished!
Transcript written on preview-latex.log.
/usr/local/tmp/texinfo-4.8/bin/texi2dvi: pdfetex exited with bad status, quitting.
/usr/local/tmp/texinfo-4.8/bin/texi2dvi: see preview-latex.log for errors.

$texi2dvi --version
texi2dvi (GNU Texinfo 4.8) 1.34

$ grep -w 1500 /etc/texmf/texmf.cnf
stack_size = 1500       % simultaneous input sources

After increasing this value to 150000, I get:

./preview-latex.toc:23: TeX capacity exceeded, sorry [input stack size=30000]
./preview-latex.toc:23:  ==> Fatal error occurred, the output PDF file is not f
inished!

I don't know which limit is reached here, because I can only find this
number as a comment in texmf.cnf:

$ grep -w 30000 /etc/texmf/texmf.cnf
% US English, German, and Portuguese: 30000.

A workaround is to remove macros (@AUCTeX, @previewlatex) from the
@subsections:

--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=pdftex-problem.patch

--- faq.texi	13 Feb 2005 04:12:41 -0000	1.10
+++ faq.texi	21 Mar 2005 13:40:28 -0000
@@ -38,7 +38,7 @@
 superior performance and wider platform support.  XEmacs versions before
 21.4.9 should not be used to avoid display problems.
 
-@subsection Which versions of GhostScript and @AUCTeX{} are needed?
+@subsection Which versions of GhostScript and AUCTeX are needed?
 
 We recommend to use GNU or AFPL GhostScript with a version of at least
 6.51.  Versions above 7.xx have better antialiasing.
@@ -164,7 +164,7 @@
 either in @file{~/.xemacs} (for XEmacs version below 21.4.x) or in 
 @file{~/.xemacs/xemacs-packages} (for versions starting with 21.4).
 
-@subsection After installation of the XEmacs @acronym{RPM} package, @AUCTeX{} does not work
+@subsection After installation of the XEmacs @acronym{RPM} package, AUCTeX does not work
 
 Most likely you installed the @acronym{RPM} files and you have an XEmacs
 version which uses a different architecture of directories, (SuSE is
@@ -323,7 +323,7 @@
 No problem here.  If you configure your @AUCTeX{} to use @samp{elatex},
 or simply have @samp{latex} point to @samp{elatex}, this will work fine.
 
-@subsection Does @previewlatex{} work with @ConTeXt{}?
+@subsection Does @previewlatex{} work with ConTeXt?
 
 In short, no.  The @samp{preview} package is
 @LaTeX{}-dependent.  Adding support for other formats requires
--- problems.texi	18 Feb 2005 19:07:49 -0000	1.46
+++ problems.texi	21 Mar 2005 13:40:28 -0000
@@ -165,7 +165,7 @@
 @end itemize
 
 @node AUCTeX prior to 11.0, Too small bounding boxes, Emacs problems, Known problems
-@section @AUCTeX{} prior to 11.0
+@section AUCTeX prior to 11.0
 
 @AUCTeX{} versions up to and including 10.0g have a bug in the
 calculation of the offsets for the start of a region.  This affects

--=-=-=


Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

--=-=-=--