Re: Types of quotes in xref linkend references
"Bruce Dubbs" ([email protected] via blfs-dev Mailing List) <[email protected]> Sun, 1 Mar 2026 12:18:50 -0600
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
On 3/1/26 1:44 AM, Pierre Labastie ([email protected] via blfs-dev Mailing List) wrote: > On Sun, 2026-03-01 at 05:59 +0000, lfs wrote: >> On Sunday, March 1st, 2026 at 04:59, Xi Ruoyao >> <[email protected]> wrote: >>> >>> I tend to use single quotes as they are more friendly to >>> translators. >> >> >> That might be worth putting into an LFS style guide. >> >> Might even be "fun" to track how long it takes for the single-quote >> count to overtake the doubles, although the singles are clearly >> coming >> from a long way back! >> > > Well, thanks for this thread, because I did not know about this > translation problem with double quotes. Even recently I've been using > double quotes, so single quotes cropping in has been delayed. Will try > to stick to single quotes now... > > For grepping, I suppose linkend=['"]... is enough as a regexp... Of course there are times when double quotes are needed. For instance in gedit we have: echo "Building $packagedir" Single quotes do not work there, but that situation is not common. -- Bruce -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page