Re: [patch] char styles: simple definition

2006-10-17 Thread Martin Vermeer
On Tue, 2006-10-17 at 13:24 +0200, Helge Hafting wrote: > Martin Vermeer wrote: > > On Mon, Oct 16, 2006 at 06:04:35PM +0200, Juergen Spitzmueller wrote: > > > >> This is what my patch does. Also I think that *all* charstyles should > >> travel > >> with the document (because people might add

Re: [patch] char styles: simple definition

2006-10-17 Thread Juergen Spitzmueller
Helge Hafting wrote: > What is the problem if the user changes a style that came > with the document class?  I.e. "in this particular report I want > "emph" to be red text instead of the usual italic." This should be possible. In this case, however, the user saves this style as a new charstyle of

Re: [patch] char styles: simple definition

2006-10-17 Thread Helge Hafting
Martin Vermeer wrote: On Mon, Oct 16, 2006 at 06:04:35PM +0200, Juergen Spitzmueller wrote: This is what my patch does. Also I think that *all* charstyles should travel with the document (because people might add their own charstyles to some document classes). So there will be no more "Undef

Re: [patch] char styles: simple definition

2006-10-16 Thread Juergen Spitzmueller
Martin Vermeer wrote: > Be careful. I don't think it is wise to store everything and the kitchen > sink in the document. And users shouldn't be able to modify a document > class / layout... that stuff belongs more properly in template files. I have to ponder that for the layout charstyles. But cer

Re: [patch] char styles: simple definition

2006-10-16 Thread Martin Vermeer
On Mon, Oct 16, 2006 at 06:04:35PM +0200, Juergen Spitzmueller wrote: > Martin Vermeer wrote: > > I did some work on this ages ago, and attach a diff saved from then. > > Feel free to cannibalize... I have no free time right now to work on it. > > Many thanks, Martin. This will help indeed. > > >

Re: [patch] char styles: simple definition

2006-10-16 Thread Juergen Spitzmueller
Martin Vermeer wrote: > I did some work on this ages ago, and attach a diff saved from then. > Feel free to cannibalize... I have no free time right now to work on it. Many thanks, Martin. This will help indeed. > I don't precisely remember how it was supposed to work, but I do > remember that th

Re: [patch] char styles: simple definition

2006-10-16 Thread Martin Vermeer
On Mon, 2006-10-16 at 15:49 +0200, Juergen Spitzmueller wrote: > On the way towards a charstyles gui, several things still need to be done. > One is that currently char style definitions are only really possible by > means > of manual preamble definitions. > > I.e., if I want to have a char styl

[patch] char styles: simple definition

2006-10-16 Thread Juergen Spitzmueller
On the way towards a charstyles gui, several things still need to be done. One is that currently char style definitions are only really possible by means of manual preamble definitions. I.e., if I want to have a char style "keyword" that is roman, red and bold in the output, I'll need to define: