Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 20 Nov 1998.
Re: Converting Ansi art to Html pages?

Re: Converting Ansi art to Html pages?

In article <733mne$hv...@sun0.urz.uni-heidelberg.de>, Andreas Bohne
<_NO...@dkfz-heidelberg.de> writes
>In article <731glh$395$1...@tron.sci.fi>, ilt...@sci.fi says...
>>On Wed, 18 Nov 1998 12:43:29 -0500, Timothy N Riordan 
>(tri...@acsu.buffalo.edu) wrote:
>>: I think 
>>: <tt>
>>: picture
>>: </tt> should do it, its been a while though..
>>
>>That doesn't work. The right way is:
>>
>><PRE>
>>picture
>></PRE>
>>
>>Don't forget to replace all "&" -characters in the picture with "&amp;"
>>and all "<" -characters with "&lt;".
>
>why so complicated? instead of using the <pre>-tag use the <xmp>-tag, because 
>than you do not have to replace any characters.
>
[][ PRE -> GOOD;  XMP -> BAD;   from the HTML3.2 spec. ...

       +
      /^\
     /   \
    / /^\ \
    | |#| |__________+
    | --- |          \
    |     |___________\
    | /^\ | # # # # #  |
  __|_| |_|____________|cjr____
a kirk


[][ tech. garbage follows ...

<QUOTE - HTML3.3 SPEC>----------------------------

PRE preformatted text 
  Requires start and end tags. These elements are rendered with a
  monospaced font and preserve layout defined by whitespace and line
  break characters. 


Preformatted Text

<!ELEMENT PRE - - (%text)* -(%pre.exclusion)>
<!ATTLIST PRE
        width NUMBER #implied
        >

The PRE element can be used to include preformatted text. User agents
render this in a fixed pitch font, preserving spacing associated with white
space characters such as space and newline characters. Automatic word-wrap
should be disabled within PRE elements. 

Note that the SGML standard requires that the parser remove a newline
immediately following the start tag or immediately preceding the end tag. 

PRE has the same content model as paragraphs, excluding images and elements
that produce changes in font size, e.g. IMG, BIG, SMALL, SUB, SUP and
FONT. 

A few user agents support the WIDTH attribute. It provides a hint to the
user agent of the required width in characters. The user agent can use this
to select an appropriate font size or to indent the content appropriately. 

The horizontal tab character (encoded in Unicode, US ASCII and ISO 8859-1
as decimal 9) should be interpreted as the smallest non-zero number of
spaces which will leave the number of characters so far on the line as a
multiple of 8. Its use is strongly discouraged since it is common practice
when editing to set the tab-spacing to other values, leading to misaligned
documents. 


XMP, LISTING and PLAINTEXT

<![ %HTML.Deprecated [

<!ENTITY % literal "CDATA"
        -- historical, non-conforming parsing mode where
           the only markup signal is the end tag
           in full
        -->

<!ELEMENT (XMP|LISTING) - -  %literal>
<!ELEMENT PLAINTEXT - O %literal>

]]>

These are obsolete tags for preformatted text that predate the introduction
of PRE. User agents may support these for backwards compatibility. Authors
should avoid using them in new documents! 

</QUOTE>-----------------------------------

[][ see yuz
[][ colin
-- 
. /\_/\  ( () /_ / /\)   _/   /? .\ /\) /) .\ /_ /_
:( a a(  CJRandall http://www.shieldwolf.demon.co.uk
' \___")  >>--->         --=oOo=--           <---<<

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,ed3cbd92d0bbdc0e
X-Google-Attributes: gidf996b,public
From: CJRandall <col...@shieldwolf.demon.co.uk>
Subject: Re: Converting Ansi art to Html pages?
Date: 1998/11/20
Message-ID: <+agq...@shieldwolf.demon.co.uk>#1/1
X-Deja-AN: 414058840
Distribution: world
X-NNTP-Posting-Host: shieldwolf.demon.co.uk:193.237.26.148
References: <58L...@INFINITY.OB.RHEIN-RUHR.DE> <Pin...@xena.acsu.buffalo.edu> <731glh$395$1...@tron.sci.fi> <733mne$hv...@sun0.urz.uni-heidelberg.de>
X-Complaints-To: abu...@demon.net
X-Trace: news.demon.co.uk 911610400 nnrp-09:1448 NO-IDENT shieldwolf.demon.co.uk:193.237.26.148
Organization: me? organised?
MIME-Version: 1.0
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1998 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post