emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] New LaTeX code export option: engraved


From: Timothy
Subject: Re: [PATCH] New LaTeX code export option: engraved
Date: Fri, 06 May 2022 19:23:30 +0800
User-agent: mu4e 1.6.10; emacs 28.0.92

Hi Ihor,

>> Sure. If it’s any help, here’s a comparison example I whipped up:
>> <https://0x0.st/oAdn.png>
>
> Timothy, could you please not use 0x0 to share not-so-large images? 0x0
> deletes uploaded files within ~1year time and this link will no longer
> be valid if someone tries to read this discussion years later.

I forget if org-msg handles image links well (I recall some issue in the past).
Let’s do a little test:
<file:/tmp/ox-latex-src-fontification-comparison.png>

> Also, this illustration makes me wonder if engrave-faces can provide a
> color scheme that is mimicking minted.

One could certainly create `engrave-faces-preset-styles' presets which mimic
certain minted colour schemes.

> Generally, easy customisation of highlight schemes could be useful.

I agree. Is this not already the case though? Manually modifying
`engrave-faces-preset-styles' or calling `engrave-faces-generate-preset' seems
pretty easy to me, the only thing missing is the ability to generate a preset
from a theme not loaded, which I suspect won’t be easy to do.

> On per-src-block basis or even on per-language basis if document contains
> course blocks with different programming languages.

I can’t say I really see the point in this myself. It would certainly be
non-trivial to add, but could be added latter if there’s demand for it.

All the best,
Timothy

Attachment: ox-latex-src-fontification-comparison.png
Description: PNG image


reply via email to

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