9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: hugo rivera <uair00@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] line numbers in troff
Date: Wed,  8 Jun 2011 04:13:43 +0200	[thread overview]
Message-ID: <BANLkTi=EK1Sx4aAeDeG88R-X_9sydOU_jw@mail.gmail.com> (raw)
In-Reply-To: <ad05fdf857a753ae8d598b396a678ed0@terzarima.net>

Thanks a lot.

2011/5/19 Charles Forsyth <forsyth@terzarima.net>:
> .nm 1 turns on line number mode
> .nm 0 turns it off
> .nn N turns it off for the next N lines
> .nm 1 M   numbers every M lines following
>
> there are other options
>
> ---------- Mensaje reenviado ----------
> From: hugo rivera <uair00@gmail.com>
> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
> Date: Thu, 19 May 2011 15:09:23 +0200
> Subject: [9fans] line numbers in troff
> Hello,
> usually, when writting drafts for somebody else to review, its useful
> to have line numbers printed at the beginning of each line.
> How would you implement that in troff? I never written a macro in
> troff, so some basic pointers would be enough for me (e.g. some good
> troff book).
> Thanks,
>
> --
> Hugo
>



-- 
Hugo



      reply	other threads:[~2011-06-08  2:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-19 13:09 hugo rivera
2011-05-19 13:44 ` Steve Simon
2011-05-19 14:38   ` Bruce Ellis
2011-05-19 14:43     ` Sape Mullender
2011-05-19 14:51       ` Bruce Ellis
2011-05-19 17:15 ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-05-19 20:48 ` Charles Forsyth
2011-06-08  2:13   ` hugo rivera [this message]

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='BANLkTi=EK1Sx4aAeDeG88R-X_9sydOU_jw@mail.gmail.com' \
    --to=uair00@gmail.com \
    --cc=9fans@9fans.net \
    /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).