Your message dated Sun, 27 Feb 2005 08:39:36 +1100
with message-id <[EMAIL PROTECTED]>
and subject line The correct way to do it is...
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Aug 2002 19:51:48 +0000
>From [EMAIL PROTECTED] Sun Aug 11 14:51:48 2002
Return-path: <[EMAIL PROTECTED]>
Received: from chiark.greenend.org.uk [212.135.138.206] (mail)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 17dyke-0001hr-00; Sun, 11 Aug 2002 14:51:48 -0500
Received: from (davenant.greenend.org.uk) [172.18.45.6] (mail)
        by chiark.greenend.org.uk with esmtp (Exim 3.12 #1)
        id 17dykc-000405-00 (Debian); Sun, 11 Aug 2002 20:51:46 +0100
Received: from ian by davenant.greenend.org.uk with local (Exim 3.12 #1)
        id 17dykc-0005uv-00 (Debian); Sun, 11 Aug 2002 20:51:46 +0100
From: Ian Jackson <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>
Date: Sun, 11 Aug 2002 20:51:46 +0100
To: [EMAIL PROTECTED]
Subject: html2ps footer $T et al do not work
X-Mailer: VM 6.97 under Emacs 19.34.1
Delivered-To: [EMAIL PROTECTED]

Package: html2ps
Version: 1.0b3-1

I found that doing things like
  -S 'header { center: "$T" }'
didn't work; it produced literally
  $t
in the header.

So I experimentally made the change below and now if you say
  -S 'header { center: "$t" }'
it works.

But, I don't really understand how this code is supposed to work and
this is NOT A CORRECT FIX.  It is intended as a hint to where the
problem lies.

--- /usr/bin/html2ps    Fri Sep 15 05:56:54 2000
+++ html2ps     Sun Aug 11 20:46:20 2002
@@ -3742,7 +3742,7 @@
   for (@_) {
     s/\\\\/\000/g;
     s/\([^)]+\)/()$&join /g;
-    s/(^|[^\\])\$(T|N|U|H|A)/$1)join $vars{$2} join(/g;
+    s/(^|[^\\])\$(t|n|u|h|a)/$1)join $vars{uc $2} join(/g;
     s/(^|[^\\])\$D\{"(.*?)"\}/"$1".POSIX::strftime($+,@now)/eg if($posix);
     s/(^|[^\\])\$D/"$1".POSIX::strftime($datefmt,@now)/eg if($posix);
 #    while(/(?=[^\\])\${([^}]+)}/) {

Let me say again: DO NOT APPLY THIS PATCH, IT IS WRONG !

Thanks,
Ian.

---------------------------------------
Received: (at 156331-done) by bugs.debian.org; 26 Feb 2005 21:39:39 +0000
>From [EMAIL PROTECTED] Sat Feb 26 13:39:39 2005
Return-path: <[EMAIL PROTECTED]>
Received: from daedalus.andrew.net.au [210.18.204.2] (root)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D59f1-0001sz-00; Sat, 26 Feb 2005 13:39:39 -0800
Received: from daedalus.andrew.net.au (localhost.andrew.net.au [127.0.0.1])
        by daedalus.andrew.net.au (8.13.2/8.13.2/Debian-1) with ESMTP id 
j1QLdaVZ026839
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
        for <[EMAIL PROTECTED]>; Sun, 27 Feb 2005 08:39:36 +1100
Received: (from [EMAIL PROTECTED])
        by daedalus.andrew.net.au (8.13.2/8.13.2/Submit) id j1QLdaBh026838
        for [EMAIL PROTECTED]; Sun, 27 Feb 2005 08:39:36 +1100
Date: Sun, 27 Feb 2005 08:39:36 +1100
From: Andrew Pollock <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: The correct way to do it is...
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="3607uds81ZQvwCD0"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--3607uds81ZQvwCD0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I recently brought to all the open bugs in html2ps to the attention of the
upstream author. With respect to this bug, he said:

The correct call should be:  -S '@html2ps { header { center: "$T" } }'
Everything specific to html2ps must be enclosed in an @html2ps block.
Outside that block goes normal CSS specifications. But please note
that only a very small subset of CSS is supported. When I wrote the
code I believe the CSS spec was only a draft, and I haven't touched
that part of the code since.

I am closing this bug. If you still believe it is a bug, please reopen it.

regards

Andrew

--=20
linux.conf.au 2005   -  http://linux.conf.au/  -  Birthplace of Tux
April 18th to 23rd   -  http://linux.conf.au/  -       LINUX
Canberra, Australia  -  http://linux.conf.au/  -    Get bitten!

--3607uds81ZQvwCD0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCIOyYIblXXKfZFgIRAomJAKCLC9xqpe5v0SiL+UI59pVz/sQFGgCfVie8
rmJe19R7gAE0PjSWEBj/1aI=
=yh6k
-----END PGP SIGNATURE-----

--3607uds81ZQvwCD0--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to