bugGNUstep - Bugs: bug #64983, PDF generation fails with...

Group
 
 

bug #64983: PDF generation fails with texinfo/7.1

Submitter:  Yavor Doganov <yavor>
Submitted:  Tue 05 Dec 2023 08:14:17 AM UTC
   
 
Category:  Makefiles Severity:  3 - Normal
Item Group:  Documentation Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 05 Dec 2023 03:46:20 PM UTC, comment #1: 

Thanks very much ... I applied your patch

Richard Frith-Macdonald <CaS>
Group Member
Tue 05 Dec 2023 08:14:17 AM UTC, original submission:  

With texinfo/7.1, PDF generation for two documents in the gnustep-make package (gnustep-make.texi and gnustep-filesystem.texi) fails with the following error:


$ texi2pdf gnustep-filesystem.texi
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian) (preloaded format=pdfetex)
 restricted \write18 enabled.
entering extended mode
(./gnustep-filesystem.texi (/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2023-09-19.19]: pdf, fonts, glyphs, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, microtype, and turning on texinfo input format.)
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2]
(/tmp/gnustep-make-2.9.1/Documentation/gnustep-filesystem.toc
/tmp/gnustep-make-2.9.1/Documentation/gnustep-filesystem.toc:1: Undefined contr
ol sequence.
@numsecentry ...dafter @xdef @csname @curchapname
                                                  @endcsname {@the @wd 0}@fi
l.1 ...e System Domain}{1.1}{The System Domain}{1}

?
/tmp/gnustep-make-2.9.1/Documentation/gnustep-filesystem.toc:1: Emergency stop.

@numsecentry ...dafter @xdef @csname @curchapname
                                                  @endcsname {@the @wd 0}@fi
l.1 ...e System Domain}{1.1}{The System Domain}{1}

/tmp/gnustep-make-2.9.1/Documentation/gnustep-filesystem.toc:1:  ==> Fatal erro
r occurred, no output PDF file produced!
Transcript written on gnustep-filesystem.log.
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian) (preloaded format=pdfetex)
 restricted \write18 enabled.
entering extended mode
(./gnustep-filesystem.texi (/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2023-09-19.19]: pdf, fonts, glyphs, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, microtype, and turning on texinfo input format.)
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2]
(/tmp/gnustep-make-2.9.1/Documentation/gnustep-filesystem.toc
/tmp/gnustep-make-2.9.1/Documentation/gnustep-filesystem.toc:1: Undefined contr
ol sequence.
@numsecentry ...dafter @xdef @csname @curchapname
                                                  @endcsname {@the @wd 0}@fi
l.1 ...e System Domain}{1.1}{The System Domain}{1}

?
/tmp/gnustep-make-2.9.1/Documentation/gnustep-filesystem.toc:1: Emergency stop.

@numsecentry ...dafter @xdef @csname @curchapname
                                                  @endcsname {@the @wd 0}@fi
l.1 ...e System Domain}{1.1}{The System Domain}{1}

/tmp/gnustep-make-2.9.1/Documentation/gnustep-filesystem.toc:1:  ==> Fatal erro
r occurred, no output PDF file produced!
Transcript written on gnustep-filesystem.log.
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.


I guess the culprit is that a sectioning command is used for the top node while it is not destined for printed output (that's why texinfo documentation advised to enclose it in an @ifnottex conditional but that's now done automatically behind the scenes).  Note that even with older texinfo versions, the PDF file for gnustep-filesystem is generated wrongly: it lacks the introductory text at the beginning, starting with "The System Domain" right after the contents.

Attached is a trivial patch that fixes these problems.

Yavor Doganov <yavor>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by yavor (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-05 CaS Open/ClosedOpen Closed
    2023-12-05 yavor Attached File- Added 0001-Fix-PDF-generation-with-texinfo-7.1.patch, #55405

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code