This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with building PDFs


Ok, let's go back a few steps.

I am able to build the pdf and info targets fine.

I am using Fedora 17 with the following packages:

texinfo-4.13a-16.fc17.x86_64
texinfo-tex-4.13a-16.fc17.x86_64
texlive-2007-70.fc17.x86_64

Can you please post to the texinfo mailing list to see if they have made any recent changes they think would cause the issue you are seeing?

If there is something we are doing wrong, we can certainly look at altering the newlib/doc/doc.str file (e.g. removing the @* at the end of a bodytext:).

-- Jeff J.

On 04/30/2013 02:29 AM, Freddie Chopin wrote:
W dniu 29.04.2013 23:40, Jeff Johnston pisze:
Looking briefly at swscanf.c, can the o+ and o- not be changed to O+ and
O- respectively as is done further on in the RETURNS section?  I imagine
you didn't see an error there or would have changed them as well.

Unfortunately it changes nothing in regard to my problem - whether all
"o+/-" or only some of them (I tried changing only "outer" pair or only
"inner" pairs) are capital "O+/-" the error remains:

./stdio/sscanf.def:275: You can't use `@unskip' in vertical mode.
@*->@unskip
            @hfil @break @hbox {}@ignorespaces
l.275 @*

The problematic .def file:

where objects inclosed in square brackets are optional, and @code{ddd}
represents decimal, octal, or hexadecimal digits.
@end table


@*
@strong{Returns}@*
@code{scanf} returns the number of input fields successfully

Line 275 is the one right before {Returns} - with only "@*".

Changing "o+/-" to "O+/-" changes table to itemize, but nothing more...

The "solution" I've found - to put "." in between them (or actually any
character, but dot is converted to "smallexample", thus not visible)
changes NOTHING in the whole file - just adds something between "@end
whatever" and the following commands. Here I've placed an 'a' right
after "o-" and compared to "normal" output:

$ diff sscanf.def sscanf.def.2 -u
--- sscanf.def  2013-04-30 08:08:35.692064322 +0200
+++ sscanf.def.2        2013-04-30 08:08:08.000000000 +0200
@@ -270,7 +270,7 @@
 where objects inclosed in square brackets are optional, and @code{ddd}
 represents decimal, octal, or hexadecimal digits.
 @end table
-a
+

 @*
 @strong{Returns}@*
$

I know that the reason for error seems stupid - that there must be
"something" after "@end table" or "@end itemize", before "@*", but I'm
pretty certain that's the real reason - for example if I take sprintf.c
- that does NOT cause any problems - and remove all text after last "O-"
that is before RETURNS the exact same problem happens again...

4\/3!!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]