Propose pdflatex as default for preview
Kornel Benko
kornel at lyx.org
Tue Oct 11 20:35:19 UTC 2022
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221011/debfe36f/attachment.asc>
More information about the lyx-devel
mailing list