Op zaterdag 10 november 2001 22:53, schreef John Levon:
> a hacky thing :
>
> cat myfile.lyx | sed 's+Note+Marginal+' >myfileprint.lyx

No this won't work: notes look like 

        \begin_inset Info
        The text of the note.
        \end_inset

while text in the margin looks like 

        \begin_float margin
        \layout Standard

        The text in the margin.
        \end_float

So it's more hacky than you think. Changing all \end_inset into \end_float 
will also not work, as insets are used for more than just Info's, so only 
matching pairs of \begin_inset Info and \end_inset should be rewritten.

Egbert

Reply via email to