From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel,gmane.comp.tex.texinfo.bugs Subject: makeinfo swallows page breaks Date: Thu, 21 Mar 2013 00:14:39 +0100 Message-ID: <8738vpirz4.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1363821299 31110 80.91.229.3 (20 Mar 2013 23:14:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Mar 2013 23:14:59 +0000 (UTC) Cc: guile-devel@gnu.org To: bug-texinfo@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Mar 21 00:15:25 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UISE8-0004BK-SI for guile-devel@m.gmane.org; Thu, 21 Mar 2013 00:15:24 +0100 Original-Received: from localhost ([::1]:39942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UISDl-00017X-Bc for guile-devel@m.gmane.org; Wed, 20 Mar 2013 19:15:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UISDh-000178-Vd for guile-devel@gnu.org; Wed, 20 Mar 2013 19:14:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UISDg-0000zv-Lz for guile-devel@gnu.org; Wed, 20 Mar 2013 19:14:57 -0400 Original-Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=51941 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UISDa-0000wR-Vm; Wed, 20 Mar 2013 19:14:51 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id 189C3106C; Thu, 21 Mar 2013 00:14:41 +0100 (CET) Original-Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ii6wqjlkzefG; Thu, 21 Mar 2013 00:14:40 +0100 (CET) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 6CAEBF2F; Thu, 21 Mar 2013 00:14:40 +0100 (CET) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Germinal an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:e0b:1:123:ca0a:a9ff:fe03:271e X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15938 gmane.comp.tex.texinfo.bugs:6248 Archived-At: Hello, Guile (ab)uses =E2=80=98makeinfo=E2=80=99 to generate a file, guile-procedu= res.txt, from Texinfo. That file is then read at run-time to get docstrings for Guile=E2=80=99s primitives. The input looks like this (note the page breaks, aka. ^L): --8<---------------cut here---------------start------------->8--- acons @c snarfed from alist.c:40 @deffn {Scheme Procedure} acons key value alist Add a new key-value pair to @var{alist}. A new pair is created whose car is @var{key} and whose cdr is @var{value}, and the pair is consed onto @var{alist}, and the new list is returned. This function is @emph{not} destructive; @var{alist} is not modified. @end deffn sloppy-assq @c snarfed from alist.c:54 @deffn {Scheme Procedure} sloppy-assq key alist Behaves like @code{assq} but does not do any error checking. Recommended only for use in Guile internals. @end deffn --8<---------------cut here---------------end--------------->8--- With Texinfo 4.3, page breaks are preserved: --8<---------------cut here---------------start------------->8--- This is guile-procedures.txt, produced by makeinfo version 4.13 from guile-procedures.texi. acons -- Scheme Procedure: acons key value alist Add a new key-value pair to ALIST. A new pair is created whose car is KEY and whose cdr is VALUE, and the pair is consed onto ALIST, and the new list is returned. This function is _not_ destructive; ALIST is not modified. sloppy-assq -- Scheme Procedure: sloppy-assq key alist Behaves like `assq' but does not do any error checking. Recommended only for use in Guile internals. --8<---------------cut here---------------end--------------->8--- With Texinfo 5.[01], page breaks vanish: --8<---------------cut here---------------start------------->8--- This is guile-procedures.txt, produced by makeinfo version 5.1 from guile-procedures.texi. acons -- Scheme Procedure: acons key value alist Add a new key-value pair to ALIST. A new pair is created whose car is KEY and whose cdr is VALUE, and the pair is consed onto ALIST, and the new list is returned. This function is _not_ destructive; ALIST is not modified. sloppy-assq -- Scheme Procedure: sloppy-assq key alist Behaves like 'assq' but does not do any error checking. Recommended only for use in Guile internals. --8<---------------cut here---------------end--------------->8--- Unfortunately, those page breaks are used by Guile=E2=80=99s docstring pars= er to determine procedure boundaries. Would it be possible to reinstate previous behavior=E2=80=93i.e., to preser= ve page breaks? Alternately, would you suggest using a different approach? Thanks, Ludo=E2=80=99.