From: rudolf.sykora@gmail.com (Rudolf Sykora)
Subject: [9fans] troff macro II
Date: Sat, 26 Mar 2011 01:10:17 +0100 [thread overview]
Message-ID: <AANLkTikntGQqngDcQBHXQ-byKAgFQ-FcxGZycp_oDR4q@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=-LvfkqEn0Ts5hVoO4r_8CifBPwRwc0DYjRr4u@mail.gmail.com>
On 25 March 2011 22:52, pmarin <pmarin.mail at gmail.com> wrote:
> DONE!
> Try the attached code. I am not using the ms macros. You will to
> change the ms macros to get something similar.
>
> troff test.ms | tr2post | psfonts > test.ps
>
> Cheers.
> pmarin
Yes. This works. Actually, my problem has always only been: how to get
back to the top of a page; to have a correct string prepared to put
there has been easy for me. Note what I wrote in my 1st post of this
thread:
.
.\" ABOVE IS THE ORIGINAL, BELOW MY APPENDIX
.mk
\v'|0.5i'
.tl 'a'b'c'
.rt
..
and it comes in a modified .BT macro (which is somewhat equivalent to
your .NP; ms actually sets [as far as I know] 3 traps on a page, 1 at
the top [.NP] and 2 at the bottom [.FO a .BT]). If I had written just
.
.\" ABOVE IS THE ORIGINAL, BELOW MY APPENDIX
.tl '\v'-10.5i'a'b'c\v'+10.5i''
..
as you have, it would have basically done what I want. So now the
question is why
.tl '\v'-10.5i'a'b'c\v'+10.5i''
moves back and does the work, whilst
.mk
\v'|0.5i'
.tl 'a'b'c'
.rt
does not.
Nor does this, for instance:
\v'-10.5i'
.tl 'a'b'c'
\v'+10.5i'
Thanks for your help
Ruda
next prev parent reply other threads:[~2011-03-26 0:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 16:54 Rudolf Sykora
[not found] ` <AANLkTin9Kh3O6qP-tw2VEUSiQsq+K97LXEsCgGOvcwHC@mail.gmail.com>
[not found] ` <AANLkTint2rqA6PxTGxaUa49DVaPD-Ocgpy8y4UEVG84z@mail.gmail.com>
2011-03-24 17:36 ` Gregory Pavelcak
2011-03-25 18:21 ` Rudolf Sykora
2011-03-25 20:49 ` pmarin
2011-03-25 21:52 ` pmarin
2011-03-26 0:10 ` Rudolf Sykora [this message]
2011-03-26 1:02 ` pmarin
2011-03-26 1:14 ` pmarin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTikntGQqngDcQBHXQ-byKAgFQ-FcxGZycp_oDR4q@mail.gmail.com \
--to=rudolf.sykora@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).