From: наб <nabijaczleweli@nabijaczleweli.xyz>
To: Jan Stary <hans@stare.cz>
Cc: discuss@mandoc.bsd.lv
Subject: Re: No-arg .Nm (also .Bx?) breaks .Bd -literal?
Date: Sun, 5 Jun 2022 20:54:21 +0200 [thread overview]
Message-ID: <20220605185421.nffa3wb2zgwa7yx7@tarta.nabijaczleweli.xyz> (raw)
In-Reply-To: <Ypz026hcl/USRzsr@www.stare.cz>
[-- Attachment #1: Type: text/plain, Size: 2068 bytes --]
On Sun, Jun 05, 2022 at 08:24:27PM +0200, Jan Stary wrote:
> Seriously, where do these horrendous examples come from?
> Are these real manual pages?
What's it to ya?
> Please provide a _minimal_ complete example.
> This calls Nm a couple of times: which oif these
> do you consider broken and why?
The ones without an argument? As opposed to the ones with one?
Is my Subject and 4+6-line reduced example /really/ too long?
> What does the
> "[:lower:]" and "[:upper:]" have to do with it?
Nothing, obviously. You can tell because I didn't mention them in either
the subject, the reiteration of the subject in the body, or the reduced
example.
> In short, don;t make it artificially harder to help you.
lol. It's difficult to be more clear than "No-arg .Nm breaks .Bd
-literal", "the first breaks on the no-arg .Nm, the second on .Bx",
"{example that very obviously killed code and pre and output the Nm text
after}". However:
This calls Nm exactly twice:
-- >8 --
$ ./mandoc -Thtml -Ofragment -mdoc
.Nm tr
.Bd -literal
.Nm
.Ed
<table class="head">
<tr>
<td class="head-ltitle">UNTITLED</td>
<td class="head-vol">LOCAL</td>
<td class="head-rtitle">UNTITLED</td>
</tr>
</table>
<div class="manual-text"><code class="Nm">tr</code>
<div class="Bd Pp Li">
<pre><code class="Nm"></code></pre>
tr</div>
</div>
<table class="foot">
<tr>
<td class="foot-date"></td>
<td class="foot-os"></td>
</tr>
</table>
-- >8 --
And Bx exactly once:
-- >8 --
$ ./mandoc -Thtml -Ofragment -mdoc
.Bd -literal
.Bx
.Ed
<table class="head">
<tr>
<td class="head-ltitle">UNTITLED</td>
<td class="head-vol">LOCAL</td>
<td class="head-rtitle">UNTITLED</td>
</tr>
</table>
<div class="manual-text">
<div class="Bd Pp Li">
<pre><span class="Ux"></span></pre>
BSD</div>
</div>
<table class="foot">
<tr>
<td class="foot-date"></td>
<td class="foot-os"></td>
</tr>
</table>
-- >8 --
Is this minimal enough for your taste?
наб
You forgot to CC the list.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2022-06-05 18:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-05 16:30 наб
[not found] ` <Ypz026hcl/USRzsr@www.stare.cz>
2022-06-05 18:54 ` наб [this message]
2022-06-06 10:44 ` Ingo Schwarze
2022-06-06 15:39 ` наб
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=20220605185421.nffa3wb2zgwa7yx7@tarta.nabijaczleweli.xyz \
--to=nabijaczleweli@nabijaczleweli.xyz \
--cc=discuss@mandoc.bsd.lv \
--cc=hans@stare.cz \
/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).