POV-Ray : Newsgroups : povray.beta-test : code examples coloured in docs : Re: code examples coloured in docs Server Time
29 Jul 2024 20:22:56 EDT (-0400)
  Re: code examples coloured in docs  
From: Chris Cason
Date: 23 Mar 2002 18:48:31
Message: <3c9d144f@news.povray.org>
"Gleb" <gk1### [at] sotonacuk> wrote in message news:3c98f976@news.povray.org...
> I guess that the help files were generated automatically using perl script
> ( Generated by makedocs.pl version 1.0 rev 15 Copyright (c) POV-Team

The Windows help was made by this script, yes, it takes the doc source and
converts it to HTML Help format.

It is technically possible (in theory) to do what you do using CSS, as the
markup (using SPAN tags) can safely be ignored on other platforms. This is
only true if you use SPAN for coloring, and not for formatting (that is, the
code displays perfectly correctly on non-HTML or non-CSS-enabled viewers,
losing only their coloring and perhaps some optional font selection).

However, your demo page (while an admirable effort) has code that depends
too much on HTML formatting to be useful. As an example, try highlighting
and copying the example code in the real docs to the clipboard, then pasting
it into a text editor. You will find that this works fine.

If, however, you do the same thing with your demo page, you will find that
it does not !

Copying and pasting demo code is critical, so at the very least this would
have to be rectified.

-- Chris


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.