groff
[Top][All Lists]
Advanced

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

Re: [Groff] grohtml patch


From: Gaius Mulley
Subject: Re: [Groff] grohtml patch
Date: 10 Jul 2003 11:04:29 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi Werner,

I'm attempting to implement the new tag mechanism that you outlined
back in April. I've implemented the state machine and can issue
`diff' tags. The problem I'm currently struggling with is how to
coordinate the updating of the state machine relative to the node
generation and final tbuf printing.

Currently I'm flushing state machine diffs when the tbuf goes from
an empty state into a non empty state. But this is wrong.

I'm now considering creating a copy of the troff state machine
(my new class based on the list of troff attributes in your email)
during env::add_char and adding this copy to a node. Later when this
node appears during tprint I am going to diff the nodes state with
the driver state and generate the html tags.

Can you see anything immediately wrong with this approach?  I'm hoping
that it will fix the synchronisation issue..

Gaius

reply via email to

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