bug-texinfo
[Top][All Lists]
Advanced

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

Re: document -- and @code @findex and `` and ---


From: Karl Berry
Subject: Re: document -- and @code @findex and `` and ---
Date: Fri, 3 Oct 2003 20:35:19 -0400

    -- is changed to - in normal text info files

This is one of the items in the Overview:

  Use three hyphens in a row, @samp{---}, to produce a long dash---like
  this (called an @dfn{em dash}), used for punctuation in sentences.
  Use two hyphens, @samp{--}, to produce a medium dash--like this
  (called an @dfn{en dash}), used to separate numeric ranges.  Use a
  single hyphen, @samp{-}, to produce a standard hyphen used in compound
  words.  For display on the screen, Info reduces three hyphens to two
  and two hyphens to one (not transitively!).

I will add something about this "translation" not being done in contexts
like @code, but I don't really want to spell out every single place.
(Probably we should define that separately since it is needed in a
number of places, but anyway ...)

thanks,
k




reply via email to

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