On Dec 15, 2012, at 1:17 AM, Daniel Lyons wrote:
> But I don't see how to get the document name into the .OH. If I use e.g.:
>
> .de email
> .ds DC \\$1
> .so \\$1
> .bp
> ..
I figured it out:
.de email
.OH ``\\$1`%`
.so \\$1
.bp
..
Seems obvious in retrospect... :)
Thanks,
—
Daniel Lyons
Hi Peter,
On 12/15/2012 04:55 AM, Peter Schaffter wrote:
This is a bug, caused by an unbalanced brace. Took me a while to
spot it. Open 'om.tmac' and replace
.MAC TS END
.if '\\n[.z]'FLOAT*DIV' \{\
.if '\\$1'BOXED' \{\
. if !\\n[.d] .nr boxed-table 1
.\}
.E
So, I have a big pile of emails in a particular format and I want to import
each one into a document and do a page break. I have a macro to do this which
looks like:
.de email
.so \\$1
.bp
..
Ideally, I would then have evenside headers like:
Title [blank]
and oddside headers like:
[bl