[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Marking lisp expressions
From: |
Jean-Christophe Helary |
Subject: |
Re: Marking lisp expressions |
Date: |
Mon, 27 Jan 2020 15:53:29 +0900 |
> On Jan 27, 2020, at 0:15, Gavin Smith <address@hidden> wrote:
>
> On Sun, Jan 26, 2020 at 10:58:45PM +0900, Jean-Christophe Helary wrote:
>> I have no idea what I am talking about, mind you, but maybe having makeinfo
>> call the appropriate mode, export the code block region to html based on
>> that mode and insert that html into the "general" makeinfo HTML output would
>> be the way to go ? Maybe not all the styles, etc., but just the HTML
>> structure (anything within <body> </body>) so that texinfo specific styles
>> can later be applied.
>>
>> That would require to be aware of what structure each mode gives to such
>> output so that proper CSS selectors are used (which is inconvenient). There
>> are probably more elegant ways to achieve that, though.
>
> This is not possible as makeinfo is not part of emacs.
makinfo is only able to output a few formats on its own.
To create the dvi/ps/pdf output it requires a TeX installation, which is an
order of magnitude bigger than Emacs.
Why not have a dependency on Emacs to produce the html syntax highlighting ?
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune