From: Jan Stary <hans@stare.cz>
To: discuss@mandoc.bsd.lv
Subject: Re: bug: quoted punctuation behaves strangely
Date: Tue, 12 Mar 2024 14:21:01 +0100 [thread overview]
Message-ID: <ZfBWvRBAsZKQ7REL@www.stare.cz> (raw)
In-Reply-To: <ZfBC9w2396yaIGsM@fluorine>
On Mar 12 11:56:39, humm@ljabl.com wrote:
> Consider:
>
> .Pq asdf .
> .Pq asdf "."
>
> The expected output:
>
> (asdf). (asdf).
If I'm reading mdoc(7) right, this is what the
Delimiters section has to say on that:
When a macro argument consists of one single input character
considered as a delimiter, the argument gets special handling.
This does not apply when delimiters appear in arguments
containing more than one character.
Your "." (quotes included) contains more than one character,
so it is not a delimiter.
Also, why would you ever do this?
Jan
> Mandoc’s output:
>
> (asdf). (asdf.)
> --
> To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv
>
>
--
To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv
next prev parent reply other threads:[~2024-03-16 7:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-12 11:56 Lennart Jablonka
2024-03-12 13:21 ` Jan Stary [this message]
2024-03-16 13:54 ` Lennart Jablonka
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=ZfBWvRBAsZKQ7REL@www.stare.cz \
--to=hans@stare.cz \
--cc=discuss@mandoc.bsd.lv \
/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).