>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> Andre Poenitz <[EMAIL PROTECTED]> writes: 
| CharacterStyle FirstName
|       Format LaTeX
|               Header "\firstname{"
|               Footer "}"
|               Font
|                       Series  xxx
|                       Size    yyy
|               EndFont
|       End
|       Format DocBook
|               Header "<firstname>"
|               Footer "</firstname>"
|               Font
|                       Series  xxx
|                       Size    yyy
|               EndFont
|       End
|       # on-screen stuff
|       Font 
|               Series  xxx
|               Size    yyy
|       EndFont
| EndStyle


Lars> This I like.

If I may object, I'd rather see a version nearer to what .layout files
do, so that one can do proper parsing of the resulting latex (for the
sake of tex2lyx). Something like

CharacterStyle FirstName
        Format LaTeX
                Type command
                Name firstname
                Font
                        Series  xxx
                        Size    yyy
                EndFont
        End
        Format DocBook
                Type entity # (how is this called??)
                Name firstname
                Font
                        Series  xxx
                        Size    yyy
                EndFont
        End
        # on-screen stuff
        Font 
                Series  xxx
                Size    yyy
        EndFont
EndStyle


[Actually, I do not really understand what the two levels of Font
entries do.]

JMarc

Reply via email to