[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposed: QS/QE macros for quotation in man(7)
From: |
onf |
Subject: |
Re: Proposed: QS/QE macros for quotation in man(7) |
Date: |
Fri, 20 Dec 2024 02:21:00 +0100 |
Hi Alejandro,
On Fri Dec 20, 2024 at 12:39 AM CET, Alejandro Colomar wrote:
> I prefer \[lq] and \[rq] over .QS and .QE. BTW, that's that '*' mean?
That's string interpolation syntax. From groff(7):
Strings
groff supports strings primarily for user convenience.
Conventionally, if one would define a macro only to interpolate
a small amount of text, without invoking requests or calling any
other macros, one defines a string instead. Only one string is
predefined by the language.
\*[.T] Contains the name of the output device (for
example, “utf8” or “pdf”).
The .ds request creates a string with a specified name and
contents.
I assume the reason for using the strings `lq` and `rq` instead of
characters of the same name is that the strings can be defined
differently based on the current locale, so that English users get
\[lq] and \[rq] while German users get \[Bq] and \[lq] etc.
~ onf
- on the need for better quotation in man(7) (was: names of ISO 8859 encodings), G. Branden Robinson, 2024/12/14
- Re: on the need for better quotation in man(7) (was: names of ISO 8859 encodings), Dave Kemper, 2024/12/16
- Re: on the need for better quotation in man(7) (was: names of ISO 8859 encodings), Alejandro Colomar, 2024/12/16
- Proposed: QS/QE macros for quotation in man(7), G. Branden Robinson, 2024/12/16
- Re: Proposed: QS/QE macros for quotation in man(7), Dave Kemper, 2024/12/18
- Re: Proposed: QS/QE macros for quotation in man(7), Alejandro Colomar, 2024/12/18
- Re: Proposed: QS/QE macros for quotation in man(7), G. Branden Robinson, 2024/12/18
- Re: Proposed: QS/QE macros for quotation in man(7), G. Branden Robinson, 2024/12/18
- Re: Proposed: QS/QE macros for quotation in man(7), Alejandro Colomar, 2024/12/19
- Re: Proposed: QS/QE macros for quotation in man(7),
onf <=
- Re: Proposed: QS/QE macros for quotation in man(7), G. Branden Robinson, 2024/12/19
- Re: Proposed: QS/QE macros for quotation in man(7), onf, 2024/12/20
- On code quality, C, and C++ (was: Proposed: QS/QE macros for quotation in man(7)), G. Branden Robinson, 2024/12/20
- Re: On code quality, C, and C++ (was: Proposed: QS/QE macros for quotation in man(7)), onf, 2024/12/20
- Re: On code quality, C, and C++ (was: Proposed: QS/QE macros for quotation in man(7)), onf, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), Alejandro Colomar, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), Tadziu Hoffmann, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), onf, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), Tadziu Hoffmann, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), onf, 2024/12/20