[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Groff] Re: Readability of troff documents
From: |
Ted Harding |
Subject: |
RE: [Groff] Re: Readability of troff documents |
Date: |
Fri, 23 May 2003 10:33:54 +0100 (BST) |
On 23-May-03 Werner LEMBERG wrote:
>> Is there a way (other than preprocessing through some sed
>> filter) of inserting these the way they're inserted in
>> LaTeX? Ie:
>>
>> em dash is ---
>> en dash is --
>
> Unfortunately no. The ligatures possible are fi, fl, ff, ffi, and
> ffl. It needs a non-trivial extension to handle more. Sigh. Time,
> time, time.
Agreed!! This was a question I remember discussing with Werner a long time
ago! There are several useful candidates for an extended "ligature" set,
such as
`` '' for opening and closing quotes
-- --- for en and em dashes (as in the current thread)
and different users can think of ones they would specially like. So
ideally "ligatures" should not be hard-wired as they are now, but
user-definable/selectable; and this is definitely not trivial!
(Of course, this sort of usage is strictly speaking not a "ligature"
in the printer's sense but concerns recognition of two or more successive
input characters as representing a single glyph -- French writers, for
instance, might find it useful to type "te^te" instead of "t\(e^te",
and e-circumflex is not a ligature).
A compromise, which does somewhat improve readibility, is to use the
\[..] syntax instead of \(.. -- to my eyes at least it is much easier
to see what is happening (see below). As so often, the ".char" command is
most useful here, as in
.char \[--] \(em
And, as suggested, there is always the possibility of preprocessing
with 'sed' or 'awk'\[--]I do this when using troff to print emails,
for instance.[*]
Ted.
[*] As compared with
And, as suggested, there is always the possibility of preprocessing
with 'sed' or 'awk'\(--I do this when using troff to print emails,
for instance.
which I think is less readable, though still much more readable than
And, as suggested, there is always the possibility of preprocessing
with 'sed' or 'awk'\(emI do this when using troff to print emails,
for instance.
Even in this last case, the use of "\[...]" still helps readability:
And, as suggested, there is always the possibility of preprocessing
with 'sed' or 'awk'\[em]I do this when using troff to print emails,
for instance.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 167 1972
Date: 23-May-03 Time: 10:33:54
------------------------------ XFMail ------------------------------
- Re: Readability of troff documents (Was: [Groff] Bug in gxditview), (continued)
- Re: Readability of troff documents (Was: [Groff] Bug in gxditview), Giorgos Magos, 2003/05/23
- Re: Readability of troff documents (Was: [Groff] Bug in gxditview), Alejandro Lopez-Valencia, 2003/05/23
- Re: Readability of troff documents (Was: [Groff] Bug in gxditview), Peter Schaffter, 2003/05/23
- Re: Readability of troff documents (Was: [Groff] Bug in gxditview), Larry Kollar, 2003/05/23
- Re: Readability of troff documents (Was: [Groff] Bug in gxditview), Ralph Corderoy, 2003/05/24
- Re: Readability of troff documents (Was: [Groff] Bug in gxditview), Greg 'groggy' Lehey, 2003/05/24
[Groff] Re: Readability of troff documents, Werner LEMBERG, 2003/05/23
- Re: [Groff] Re: Readability of troff documents, Andreas Kähäri, 2003/05/23
- RE: [Groff] Re: Readability of troff documents,
Ted Harding <=
- Re: [Groff] Re: Readability of troff documents, Giorgos Magos, 2003/05/23
- Re: [Groff] Re: Readability of troff documents, Greg 'groggy' Lehey, 2003/05/24
- Re: [Groff] Re: Readability of troff documents, Werner LEMBERG, 2003/05/25
- Re: [Groff] Re: Readability of troff documents, Ted Harding, 2003/05/25
Re: Readability of troff documents (Was: [Groff] Bug in gxditview), Alejandro Lopez-Valencia, 2003/05/23
Re: Readability of troff documents (Was: [Groff] Bug in gxditview), Robert D. Goulding, 2003/05/23
Re: Readability of troff documents (Was: [Groff] Bug in gxditview), Jorgen Grahn, 2003/05/23