1 Oct 2004 17:28
Re: Creating styles
David Goodger <goodger <at> python.org>
2004-10-01 15:28:04 GMT
2004-10-01 15:28:04 GMT
[David Goodger] >> I think there may be a need for a separate mapping of classes to >> concrete rendering functions; a stylesheet of sorts. Aahz did some >> initial work on class stylesheets; see docs/dev/todo.txt [Adam Chodorowski] > I'm not quite sure what the point would be. The point is that the author can define their own set of descriptive classes (also applies to custom interpreted text roles), and a mapping between those classes and a standard set of "concrete" classes. In this case, a document says "subproject", and the renderer understands that to mean "page-break". Given a standard set of styles that Writers generate, such a mapping could allow easy creation of custom descriptive markup. [Aahz] > I'm not sure what David thinks I was working on; what I was working > on was a workaround for Frame's lack of hierarchical styles. > Essentially, it was an add-on for reST, defining a class system > framework for creating styles that would then need a writer for > generating styles in specific output formats. But I never got far > with it. Yes, that's what I thought you were working on. We're on the same wavelength. I saw your simple implementation and thought that it might be more generally useful. I haven't worked out any details yet though; it's all just hand-waving. -- --(Continue reading)
RSS Feed