> On Jan 25, 2020, at 10:51, Jean-Christophe Helary <[email protected]>
> wrote:
>
>
>
>> On Jan 24, 2020, at 19:43, Gavin Smith <[email protected]> wrote:
>>
>> On Thu, Jan 23, 2020 at 07:15:42PM +0900, Jean-Christophe Helary wrote:
>>> Is there a way to have lisp blocks properly indent without copy-pasting
>>> from a lisp buffer ?
>>
>> Sorry, I don't know what you mean. This sounds like an Emacs question
>> (if you are using Emacs).
>
> Yes, but.
>
> @lisp
>
> (lispy stuff)
>
> @end lisp
>
> The *output* is not indented at all. I'd have expected that telling the
> texinfo processor that the block is a lisp block (and not some arbitrary code
> block) would have automatically generated properly indented output.
And since that was not the case, what I did was generate the indentation in a
lisp buffer and paste the result within the @lisp block. Since the texinfo
processor does not seem to change the indentation that was all I needed to have
a properly indented output.
But then, what's the point having a @lisp block ?
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune