Propose pdflatex as default for preview
Dr Eberhard Lisse
nospam at lisse.NA
Wed Oct 12 11:41:20 UTC 2022
Why not LuaLaTeX?
Which seems to be where the world is going now?
PDFLaTeX is of course faster.
el
On 11/10/2022 22:35, Kornel Benko wrote:
> Am Tue, 11 Oct 2022 21:17:28 +0200 schrieb Enrico Forestieri <forenr at lyx.org>:
>> On Tue, Oct 11, 2022 at 03:08:20PM +0200, Kornel Benko wrote:
>>>
>>>
>>> As it is now, we have 'latex' as default for our previews. But at least
>>> opening UserGuide.lyx fails because
>>> 1.) call to dvipdf coredumpts
>>> 2.) calls to epstopdf fail (because underlined 'gs' coredumpts)
>>>
>>> The reason is probably that the created lyxpreviewXXXXXX.dvi-file seems to contain
>>> invalid entries, so the (from dvips) created eps files are not readable with gs.
>>>
>>> The simple change in src/graphics/PreviewLoader.cpp cures the preview.
>>> (Not changed the comments yet though)
>>
>> I am against for the reasons explained in bug 9371. Sometimes external
>> software introduces regressions and those should be corrected. We don't
>> need changing our code to solve problems introduced by external
>> software, otherwise we always have to continuosly change the code to
>> track others' bugs.
>>
>
> Since newest dvipdf, gs (from debian), dvipng (from ctan) show the same reaction,
> the error is presumably in latex (TL2022) output. Maybe the dvi-output of latex has not
> too much attention anymore.
>
> Apropos, in ticket 9371, the default is first proposed to pdflatex too.
> Anyway, we suffer now for months from this behaviour.
>
> Kornel
>
>
--
To email me replace 'nospam' with 'el'
More information about the lyx-devel
mailing list