[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] U+0027, U+002D, and U+0060 in code examples?
From: |
Ivan Shmakov |
Subject: |
[Groff] U+0027, U+002D, and U+0060 in code examples? |
Date: |
Sun, 06 May 2012 11:38:06 +0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
>>>>> Bruno Haible <address@hidden> writes:
[…]
> But a hyphens looks nicer when it is thin; \[u2012] achieves this.
> What you really want to do is to change your groff input so that it
> uses
> * - for hyphens,
> * \- for minus signs.
> Example:
> \fBiconv \-f ISO\-8859\-1 \-t UTF\-8\fP
> converts input from the old West-European encoding ISO\-8859\-1 to
> Unicode.
Do I understand it correctly that this will produce U+2212
(MINUS SIGN) in the example command line? Wouldn't it prevent
this example from working should one copy it (from either $ man,
or a PDF) to the command-line interpreter?
Arguably, all the /code/ fragments (including Shell code
fragments) should produce ASCII APOSTROPHE's, HYPHEN-MINUS'es
and GRAVE ACCEPT's on the output (unless, of course, the
programming language in question demands the similar Unicode
characters by itself.)
[…]
--
FSF associate member #7257
- [Groff] Apostrophe mapped onto single closing quotation mark on utf8 device, Anton Shepelev, 2012/05/02
- Re: [Groff] Apostrophe mapped onto single closing quotation mark on utf8 device, Tadziu Hoffmann, 2012/05/02
- Re: [Groff] Apostrophe mapped onto single closing quotation mark on utf8 device, Anton Shepelev, 2012/05/02
- Re: [Groff] Apostrophe mapped onto single closing quotation mark on utf8 device, Anton Shepelev, 2012/05/02
- Re: [Groff] Apostrophe mapped onto single closing quotation mark on utf8 device, Bruno Haible, 2012/05/02
- Re: [Groff] Apostrophe mapped onto single closing quotation mark on utf8 device, Anton Shepelev, 2012/05/03
- [Groff] U+0027, U+002D, and U+0060 in code examples?,
Ivan Shmakov <=
- Re: [Groff] U+0027, U+002D, and U+0060 in code examples?, Bruno Haible, 2012/05/06
- Re: [Groff] U+0027, U+002D, and U+0060 in code examples?, Werner LEMBERG, 2012/05/06
- Re: [Groff] U+0027, U+002D, and U+0060 in code examples?, Deri James, 2012/05/06
- Re: [Groff] U+0027, U+002D, and U+0060 in code examples?, Werner LEMBERG, 2012/05/07
- Message not available
- Re: [Groff] gropdf updates, Werner LEMBERG, 2012/05/20
- Re: [Groff] U+0027, U+002D, and U+0060 in code examples?, Tadziu Hoffmann, 2012/05/08
- Re: [Groff] U+0027, U+002D, and U+0060 in code examples?, Werner LEMBERG, 2012/05/10
Re: [Groff] Apostrophe mapped onto single closing quotation mark on utf8 device, Bruno Haible, 2012/05/02