Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [doc/gdbint] Mention some formatting guidelines for casts and unary operators
Date: Fri, 04 Feb 2011 17:01:00 -0000	[thread overview]
Message-ID: <201102041701.40260.pedro@codesourcery.com> (raw)
In-Reply-To: <83zkqfeghr.fsf@gnu.org>

On Friday 04 February 2011 18:50:40, Eli Zaretskii wrote:
> > From: Pedro Alves <pedro@codesourcery.com>
> > Date: Tue, 1 Feb 2011 16:28:32 +0000
> > 
> > Okay?
> 
> Yes, but please use ``@minus{}'' instead of ``-'' to produce the minus
> sign.  ``-'' produces a dash character, which is typeset slightly
> differently in the printed version of the manual.

Hmm, I'm confused.  You mean @minus within @code{}?

-item @code{-x}
-@tab @code{- x}
+@item @code{@minus{}x}
+@tab @code{@minus{} x}

From info "(Texinfo)minus":
"You should not use `@minus{}' inside `@code'
or `@example' because the width distinction is
not made in the fixed-width font they use."

But it does indeed typeset a bit differently on html
at least.  Did I get that "@code{@minus{}x}" right?

Thanks,
-- 
Pedro Alves


  reply	other threads:[~2011-02-04 17:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01 16:28 Pedro Alves
2011-02-01 18:48 ` Michael Snyder
2011-02-01 18:50 ` Eli Zaretskii
2011-02-04 17:01   ` Pedro Alves [this message]
2011-02-04 18:29     ` Eli Zaretskii
2011-02-04 19:12       ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201102041701.40260.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox