Bastien <[email protected]> writes:
> Hi Florian,
>
> Florian Beck <[email protected]> writes:
>
>>> If so, I'll fix ly-process-basic so that it depends on
>>> ly-gen-png/pdf/html/svg.
>>>
>>> Thanks for confirming,
>>
>> Thanks for fixing.
>
> Done -- please have a try and let me know.
Minor hitch: the variable is called `ly-use-eps' not `ly-gen-eps'.
However, as far as I understand these variables are intended for tangled
files. The original bug was that exporting or evaluating a code
block doesn't respect the extension of the :file directive.
I can live with setting `ly-gen-pdf', but maybe something like
(pcase (file-name-extension out-file)
("pdf" "--pdf ")
("ps" "--ps ")
("png" "--png ")
(t "--png "))
would be even better?
--
Florian Beck