Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

E Pluribus Unix


devel / comp.infosystems.www.authoring.stylesheets / Re: Conversion to HTML

SubjectAuthor
o Re: Conversion to HTMLRobert Prins

1
Re: Conversion to HTML

<t5ue5k$46e$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=248&group=comp.infosystems.www.authoring.stylesheets#248

  copy link   Newsgroups: comp.infosystems.www.authoring.html comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: rob...@prino.org (Robert Prins)
Newsgroups: comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets
Subject: Re: Conversion to HTML
Date: Tue, 17 May 2022 00:02:21 +0000
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <t5ue5k$46e$1@dont-email.me>
References: <t29tku$rbe$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 16 May 2022 21:02:44 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a452138e0796957c12a66e7eaa19e816";
logging-data="4302"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19w7YWnUkoNmxqTE0jT1ahf"
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Cancel-Lock: sha1:89jRgecWtnXzu0g58J/6w1M/dSM=
In-Reply-To: <t29tku$rbe$1@dont-email.me>
Content-Language: en-US
 by: Robert Prins - Tue, 17 May 2022 00:02 UTC

On 2022-04-02 18:29, Robert Prins wrote:
> I'm about to start the conversion of a 1980'ies book from book to html. One
> of the quirky things was its lay-out, 635 pages of text, 40 characters wide
> pages, fixed pitch font (Courier?) and justified,

OK, I've finished the initial conversion!

The result, minus the covers (front/back) can be found @
<https://prino.neocities.org/temp/hey_now_hitchhikers!.html>, and it's exactly
the same as the old book, except for the removal of a few typos (and yes, I'm
sure I've introduced additional typos, need to proofread again, and again, and
again...) and swapping some pages that were swapped in the original paper
version, or at least the scan I have, grandson will only come back from the US
with the real paper copy in two or so weeks.

And yes, it's ugly as, well you know, fluck...

However, during the conversion I've already added some CSS to make things more
bearable. Obviously I will have to do a lot more, but I would like to allow the
user to optionally select the original format, or maybe optionally change the
original format into something more AD 2022-ish, and there seems to be plenty of
JavaScript available to do so, now using something very simple from
<https://www.geeksforgeeks.org/how-to-switch-between-multiple-css-stylesheets-using-javascript/>.

Right now I have some questions, but I guess more will follow:

1) How do I keep, at least for now, the "Switch" button visible?
2) How do I hide the page-numbers, and with them the space around them when in
"Modern" mode? CSS? Or do I need JS? Examples would be useful...
3) What would be a good (web) font to replace the "Courier New"/monospace?

Obviously any other hints would also be appreciated.

I've only started on the actual "modernisation", so please bear with me!

Thanks,

Robert
--
Robert AH Prins
robert(a)prino(d)org
The hitchhiking grandfather - https://prino.neocities.org/
Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor