From: Humm <hummsmith42@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] [PATCH] troff: we are not htmlroff
Date: Sun, 5 Dec 2021 01:19:17 +0000 [thread overview]
Message-ID: <YawTlYH2Ny+4xQZ3@beryllium.local> (raw)
In-Reply-To: <CG6YC5ICQKAR.EPFJOMF8OT8I@eshonai>
Quoth Noam Preil:
>Hey,
>
>htmlroff(6) says to use `.if !h .if t` to check for normal troff. What's
>the issue with that approach?
It does not work. If `.if h` would work correctly, that would check
for normal troff as opposed to both htmlroff and nroff, but as it is,
it does not work. Try:
; troff -a
.if !h .if t \{\
.de M
.tm m
← output
m ← output
Not what you expect at all: Yes, this is troff, but we should be
defining a macro. The `.tm` should not get executed, and there should
not be a blank line before its output.
--
Humm
next prev parent reply other threads:[~2021-12-05 1:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-27 19:43 Humm
2021-12-04 23:23 ` Humm
2021-12-04 23:46 ` Sigrid Solveig Haflínudóttir
2021-12-05 1:24 ` Humm
2021-12-05 1:48 ` Sigrid Solveig Haflínudóttir
2021-12-05 0:46 ` Noam Preil
2021-12-05 1:19 ` Noam Preil
2021-12-05 2:36 ` Humm
2021-12-05 13:22 ` Noam Preil
2021-12-05 1:19 ` Humm [this message]
2021-12-05 0:00 ` ori
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=YawTlYH2Ny+4xQZ3@beryllium.local \
--to=hummsmith42@gmail.com \
--cc=9front@9front.org \
/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).