[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suppressing indentation in a texinfo file
From: |
Davin Pearson |
Subject: |
Re: Suppressing indentation in a texinfo file |
Date: |
Tue, 5 Jul 2016 20:02:58 +1200 |
Yes it was comments I wanted fontified differently.
The @example environment works well with me.
On 19 June 2016 at 18:39, Yuri Khan <yuri.v.khan@gmail.com> wrote:
> 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.
>
--
Sincerely and kindest regards, Davin.
Davin Pearson http://davin.50webs.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Suppressing indentation in a texinfo file,
Davin Pearson <=