bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

@afourpapper, and @afourlatex problems


From: Nick Patavalis
Subject: @afourpapper, and @afourlatex problems
Date: Wed, 21 Nov 2001 23:08:48 +0200
User-agent: Mutt/1.2.5i

I'm using texinfo.tex verison "2001-07-25.07", and I noticed the
following problems:

1. When I include the command "@afourlatex" in the header of a texinfo
   file, TeX seems to get confused, and refuses to process it.  For
   example:

$ head -6 libc.texinfo
\input texinfo                  @c -*- Texinfo -*-
@comment %**start of header (This is for running Texinfo on a region.)
@setfilename libc.info
@settitle The GNU C Library
@afourlatex
@setchapternewpage odd


$ texi2dvi libc.texinfo 
This is TeX, Version 3.14159 (Web2C 7.3.1)
(/mnt/disk1/home/npat/rpm/build/BUILD/glibc-2.2.3/manual/libc.texinfo
(texinfo.tex Loading texinfo [version 2001-07-25.07]: Basics, pdf, 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.))
*

   And stops there waiting for... I don't know what! If I select other
   paper types (i.e. @afourpaper, or @afourwide) this behavior does not
   appear!

   More or less 'blindly' hacking "texinfo.tex", I made the following
   change:

------ start of diff output -------

--- texinfo.tex.orig    Wed Nov 21 22:55:03 2001
+++ texinfo.tex Wed Nov 21 22:55:53 2001
@@ -6082,12 +6082,9 @@
 
 % A specific text layout, 24x15cm overall, intended for A4 paper.  Top margin
 % 29mm, hence bottom margin 28mm, nominal side margin 3cm.
-\def\afourlatex{{\globaldefs = 1
-  \textleading = 13.6pt
-  %
-  \afourpaper
+\def\afourlatex{
+  \afourpaper
   \internalpagesizes{237mm}{150mm}{3.6mm}{3.6mm}{3mm}{7mm}%
-}}
+}
 
 % Use @afourwide to print on European A4 paper in wide format.
 \def\afourwide{%

------ end of diff output -------

   And the problem appears to have disappeared!

2. The bottom margin, when I select "@afourpaper" is *very* small;
   certainly much smaller than the top margin! The following change
   seems to fix things:

------ start of diff output -------

--- texinfo.tex.orig    Wed Nov 21 22:55:03 2001
+++ texinfo.tex         Wed Nov 21 23:03:35 2001
@@ -6054,7 +6054,7 @@
   \parskip = 3pt plus 2pt minus 1pt
   \textleading = 12pt
   %
-  
\internalpagesizes{53\baselineskip}{160mm}{\voffset}{4mm}{\bindingoffset}{44pt}%
+  
\internalpagesizes{49\baselineskip}{160mm}{\voffset}{4mm}{\bindingoffset}{44pt}%
   %
   \tolerance = 700
   \hfuzz = 1pt

------ end of diff output -------

   50\baselineskip, looks also reasonable.

Any comments would be greatly appreciated.

Thanks in advance
npat.

-- 
A commune is where people join together to share their lack of wealth.
  -- Richard M. Stallman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]