Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Conversion to HTML

0 views
Skip to first unread message

Robert Prins

unread,
May 16, 2022, 5:02:46 PM5/16/22
to
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
0 new messages