lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lout Backends


From: Ludovic Courtès
Subject: Lout Backends
Date: Sun, 28 Oct 2001 21:54:13 -0500
User-agent: Mutt/1.2.5i

Hi,

I am currently trying to write an HTML backend for Lout. Of course, this backend
would be there just for convenience, since HTML is already a high-level
language. Therefore, I am just aiming at having an output which would at least
be coherent in terms of fonts (face, size and color) and paragraphs.

The problem is that Lout Basser assume that the backends will be at a low-level
(which is quite normal :) ) and provides the PrintWord routines with the
position of the object to be printed. Thus, if I want to print a <br> each time
a new paragraph is to be printed, I would have to somehow `guess' from the hpos
and vpos whether this describe a new paragraph; but as a matter of fact, I have
no idea of how those coordinates are calculated. Any tip or any idea?

I have also no idea of the way Lout Basser's COLOUR_NUM works, so I cannot map
them to HTML colors.

Last, is there somewhere a file describing each function in "struct BACK_END"
and the way it should behave?

Thanks,
Ludovic.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]