all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Davin Pearson <davin.pearson@gmail.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Suppressing indentation in a texinfo file
Date: Sun, 19 Jun 2016 12:39:08 +0600	[thread overview]
Message-ID: <CAP_d_8V5MaUPgzoD1p=iQR+2rG6uLdF2w6tfaMddOz7YHmxqfQ@mail.gmail.com> (raw)
In-Reply-To: <CAG9ihEu2vnFXsAfaUmtWdMy6GkGRwSDhsjrcz=F8aPvZNoYoWQ@mail.gmail.com>

On Sun, Jun 19, 2016 at 5:19 AM, Davin Pearson <davin.pearson@gmail.com> wrote:
> The @example environment doesn't fontify italics text in a proper italics
> font.
>
> Instead it fontifies italics text in courier + italics.
>
> This is not as pretty as my code without using the @example environment.

Prettiness is in the eye of the beholder. Markup should capture the
semantics, not presentation.

The fragment you gave does not contain anything I might imagine
italicized in a code listing, so I have to guess. Is it comments?

The Texinfo manual gives this example:

    @lisp
    (+ 2 2)    ; @r{Add two plus two.}
    @end lisp

By adding @i to the @r, you might be able to achieve your personal
definition of prettiness.



  reply	other threads:[~2016-06-19  6:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-16  1:39 Suppressing indentation in a texinfo file Davin Pearson
2016-06-16 11:45 ` Stephen Berman
2016-06-17 23:33   ` Davin Pearson
2016-06-18  7:18 ` Yuri Khan
2016-06-18 23:19   ` Davin Pearson
2016-06-19  6:39     ` Yuri Khan [this message]
2016-07-05  8:02       ` Davin Pearson

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='CAP_d_8V5MaUPgzoD1p=iQR+2rG6uLdF2w6tfaMddOz7YHmxqfQ@mail.gmail.com' \
    --to=yuri.v.khan@gmail.com \
    --cc=davin.pearson@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.