[Top][All Lists]

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

Re: kbd and similar command within code

From: Karl Berry
Subject: Re: kbd and similar command within code
Date: Sun, 22 Jul 2012 23:28:23 GMT

    @code{code @kbd{kbd}} -> `code kbd'
    @address@hidden my_file} -> ``ls' my_file'

Hmm.  I suppose it is true that @command markup makes as much as sense
as @kbd inside code environments.  So making texi2any and tex do the
same thing also makes sense.

The behavior of @kbd got written about because of the different font
stuff, even though that's logically independent of the quotes.  (As I
recall, rms/chassell really did not want the quotes in the Info output
for Emacs.)

Looking at texinfo.tex, right now it seems that @file and @option are
always typeset with 'quotes', while @url, @samp, @indicateurl, @env, and
@command are not.  I don't think there was any particular reason for all
that.  It seems to me that @samp and @indicateurl should get quotes and
the rest should not.  Wdyt?


reply via email to

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