Details Ticket 2782


Comment | Reply | Take | Resolve


Serial Number 2782
Subject use CODE not PRE to prevent horizontal scrolling
Area grass6
Queue grass
Requestors jidanni@jidanni.org
Owner none
Status open
Last User Contact Tue Sep 26 20:34:15 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Sep 26 20:34:15 2006 (2 yr ago)
Created Sun Dec 5 21:38:19 2004 (4 yr ago)

Transaction History Ticket 2782


Sun, Dec 5 2004 21:38:19    Request created by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
To grass-bugs@intevation.de
Subject use <CODE> not <PRE> to prevent horizontal scrolling
From Dan Jacobson <jidanni@jidanni.org>
Date Mon, 06 Dec 2004 02:01:57 +0800
Message-ID <87vfbgy67e.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.8 tagged_above=-999.0 required=3.0 tests=BAYES_00, HTML_MESSAGE
X-Spam-Level
v.net.iso/description.html, for example, uses <pre> where it could
have used <code>, thus causing horizontal scrolling on e.g., PDAs.


Sun, Dec 5 2004 22:00:09    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Date Sun, 5 Dec 2004 21:00:05 +0000 (GMT)
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2782] (grass) use <CODE> not <PRE> to prevent horizontal scrolling
In-Reply-To <20041205203819.1C494102C13@lists.intevation.de>
Message-ID <Pine.LNX.4.60.0412052059120.11612@agrippa.ukshells.co.uk>
References <20041205203819.1C494102C13@lists.intevation.de>
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Status No, hits=-4.8 tagged_above=-999.0 required=3.0 tests=BAYES_00, HTML_MESSAGE
X-Spam-Level
On Sun, 5 Dec 2004, Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=2782
> -------------------------------------------------------------------------
>
> v.net.iso/description.html, for example, uses <pre> where it could
> have used <code>, thus causing horizontal scrolling on e.g., PDAs.

g.html2man doesn't support the <code> tag for formatting the man pages 
from the HTML pages, but I suppose that could be changed.


Mon, Dec 6 2004 11:08:53    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 6 Dec 2004 11:10:28 +0100
From Markus Neteler <neteler@itc.it>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2782] (grass) use <CODE> not <PRE> to prevent horizontal scrolling
Message-ID <20041206101028.GF22667@thuille.itc.it>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
References <20041205203819.1C494102C13@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20041205203819.1C494102C13@lists.intevation.de>
User-Agent Mutt/1.4.1i
X-Spam-Status No, hits=-4.8 tagged_above=-999.0 required=3.0 tests=BAYES_00, HTML_MESSAGE
X-Spam-Level
On Sun, Dec 05, 2004 at 09:38:19PM +0100, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2782
> -------------------------------------------------------------------------
> 
> v.net.iso/description.html, for example, uses <pre> where it could
> have used <code>, thus causing horizontal scrolling on e.g., PDAs.

According to
 http://www.htmlhelp.com/reference/html40/phrase/code.html
it should be

<PRE><CODE>
 code1
 code2
</CODE></PRE>

right?

Markus


Wed, Dec 8 2004 00:05:25    Mail sent by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
To Markus Neteler via RT <grass-bugs@intevation.de>
Subject Re: [bug #2782] (grass) use <CODE> not <PRE> to prevent horizontal scrolling
References <20041206100853.73AE310015A@lists.intevation.de>
From Dan Jacobson <jidanni@jidanni.org>
Date Tue, 07 Dec 2004 07:48:56 +0800
Message-ID <87zn0rf0nr.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.1 tagged_above=-999.0 required=3.0 tests=BAYES_00, DATE_IN_PAST_12_24, HTML_MESSAGE
X-Spam-Level
>> v.net.iso/description.html, for example, uses <pre> where it could
>> have used <code>, thus causing horizontal scrolling on e.g., PDAs.
H>  http://www.htmlhelp.com/reference/html40/phrase/code.html
H> <PRE><CODE>
H> right?

It says "can", not must: "Since spacing is often important when
presenting computer code, the PRE element can be useful as a container
for CODE elements."

Anyway, to be sure your pages look good, narrow down your browser and
see what gets stuck. One liners needn't use <PRE> that badly.

By the way, on some PDAs, go too far and you can even forget about
horizontal scrolling. The text become unaccessible.


Sun, Nov 20 2005 12:28:13    Area changed to grass6 by msieczka  
Mon, Dec 12 2005 13:07:03    Subject changed to use CODE not PRE to prevent horizontal scrolling by msieczka  
Tue, Sep 26 2006 20:34:15    Mail sent by guest  
What's the best way to approach this? Correct the worst-offending man pages by
hand, or create some kind of script to find and replace all occurences of
<PRE> with <PRE><CODE> and </PRE> with </PRE></CODE>? 

~ Eric.
Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request