bug-texinfo
[Top][All Lists]
Advanced

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

(fwd) Bug#388396: texinfo: CSS @import bug in makeinfo


From: Norbert Preining
Subject: (fwd) Bug#388396: texinfo: CSS @import bug in makeinfo
Date: Wed, 27 Sep 2006 01:54:25 +0200
User-agent: Mutt/1.3.28i

Hi Karl, hi all!

I got a bug report on Debian which seems to be present also in current
cvs:

----- Forwarded message from Werner Koch <address@hidden> -----

> From: Werner Koch <address@hidden>
> Subject: Bug#388396: texinfo: CSS @import bug in makeinfo
> To: Debian Bug Tracking System <address@hidden>
> Content-Type: text/plain; charset="us-ascii"
> X-Mailer: reportbug 3.20
> Date: Wed, 20 Sep 2006 11:11:07 +0200
> 
> Package: texinfo
> Version: 4.8.dfsg.1-2
> Severity: normal
> Tags: patch
> 
> 
> The code to read a css file has an obvious bug:  A css file:
> ==============
> @import url(foo);
> ==============
> 
> will end up as
> ==============
> @mport url(foo);
> ==============
> 
> The fix is easy:
> 
> 
> 2006-09-20  Werner Koch  <address@hidden>
> 
>       * makeinfo/html.c (process_css_file): Fixed copying of @import
> 
> 
> --- texinfo-4.8.dfsg.1/makeinfo/html.c~ 2006-09-20 10:58:05.000000000 +0200
> +++ texinfo-4.8.dfsg.1/makeinfo/html.c  2006-09-20 10:44:20.000000000 +0200
> @@ -108,6 +108,7 @@ process_css_file (char *filename)
>                if (nextchar == 'i' || nextchar == 'c')
>                  {
>                    append_char (import_text, c);
> +                  append_char (import_text, nextchar);
>                    state = import_state;
>                  }
>                else
> 
> 
> Seems it has never been tested ;-)
> 
> 
> 
> Shalom-Salam,
> 
>    Werner
> 

----- End forwarded message -----


Can you comment on this!

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <address@hidden>                    Università di Siena
Debian Developer <address@hidden>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
FRAMLINGHAM (n.)
A kind of burglar alarm usage. It is cunningly designed so that it can
ring at full volume in the street without apparently disturbing
anyone. Other types of framlingams are burglar alarms fitted to
business premises in residential areas, which go off as a matter of
regular routine at 5.31 p.m. on a Friday evening and do not get turned
off til 9.20 a.m. on Monday morning.
                        --- Douglas Adams, The Meaning of Liff




reply via email to

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