bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a sentence ending in uppercase suppresses double space


From: Benno Schulenberg
Subject: Re: a sentence ending in uppercase suppresses double space
Date: Thu, 06 Aug 2015 20:43:25 +0200

On Thu, Aug 6, 2015, at 16:39, Eli Zaretskii wrote:
> > Date: Thu, 6 Aug 2015 11:20:55 +0100
> > From: Gavin Smith <address@hidden>
> > 
> > On 6 August 2015 at 11:18, Benno Schulenberg <address@hidden> wrote:
> > > I have a string, including the double quotes, that I wish to have set
> > > in a fixed-wdith font in the HTML document, but I don't want single
> > > quotes added around the string when such type setting is not available.
> > >
> > > Currently I have @code{"string"}, which results in '"string"' in the
> > > Info document, which is undesirable.
> > 
> > Use @t instead of @code. (Info node (texinfo)Fonts.)
> 
> My recommendation would be to use @samp{string} (yes, without the
> quotes: they are redundant in this case).

@samp{} produces 'single quotes' in Info and ‘pretty single quotes’ in
HTML output. But for my case the double quotes are part of the code
and must be shown exactly so. 

> I think @t and other direct
> references to typefaces should be avoided.

I agree with that.  But texinfo does not provide something
like @code-but-only-use-typeface-never-quotes.  I wish to
indicate that something is code (when the output method
alllows it) only through typefaces (like fixed-width or bold)
never by using any kind of quotes.

Benno

-- 
http://www.fastmail.com - Does exactly what it says on the tin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]