[Top][All Lists]

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

RE: [External] : Re: Indentation conventions for Info manuals; recognizi

From: Drew Adams
Subject: RE: [External] : Re: Indentation conventions for Info manuals; recognizing code
Date: Mon, 8 Mar 2021 15:33:34 +0000

> > So if some kind of "code" marker would be retained
> > in the Info output, it would need to be implemented in the 2 or 3
> > other Info readers out there, not just in Emacs.
> makeinfo could have a new option to add separators for the generated
> code examples, something like:
> --- example begin
> ....
> --- example end
> This is just text, so others info readers could display it as is,
> while emacs could use the separators to recognize code sections.

Yes, just the kind of thing I was suggesting
(hoping for).

Emacs handling of that can hide that "markup" and
DTRT wrt the font type.

There are likely several kinds of text "elements"
that might be candidates for this.  Eli mentioned
Texinfo @example, @smallexample, @lisp, and

Given that (different purposes/semantics) ideally
we would have more than just one resulting kind of
"markup" as well, i.e., not only -- example begin/end.

reply via email to

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