LaTeX3 Error: Backend request inconsistent with engine: using 'pdfmode'

Scott Kostyshak skostysh at lyx.org
Sat Oct 31 01:31:28 UTC 2020


On Sat, Oct 24, 2020 at 12:38:23AM -0400, Scott Kostyshak wrote:
> On Sun, Feb 23, 2020 at 05:49:22PM +0100, Kornel Benko wrote:
> > Am Sun, 23 Feb 2020 16:28:19 -0000 (UTC)
> > schrieb Guenter Milde <milde at users.sf.net>:
> > 
> > > On 2020-02-22, Kornel Benko wrote:
> > > 
> > > > [-- Type: text/plain, Encoding: quoted-printable --]  
> > > 
> > > > Am Sat, 22 Feb 2020 19:04:48 -0000 (UTC)
> > > > schrieb Guenter Milde <milde at users.sf.net>:  
> > > >> On 2020-02-22, Kornel Benko wrote:  
> > > >> > Am Sat, 22 Feb 2020 09:44:21 -0000 (UTC)
> > > >> > schrieb Guenter Milde <milde at users.sf.net>:    
> > > >> >> On 2020-02-20, Scott Kostyshak wrote:    
> > > >> >> > On Mon, Feb 03, 2020 at 04:44:07PM +0100, Kornel Benko wrote:      
> > > >> >> >> Am Mon, 3 Feb 2020 10:42:06 -0500
> > > >> >> >> schrieb Scott Kostyshak <skostysh at lyx.org>:      
> > > >> >> >> > On Mon, Feb 03, 2020 at 04:29:34PM +0100, Kornel Benko wrote:      
> > > 
> > > >> >> ...    
> > > 
> > > >> >> > I tested on an updated TL. Removing the custom class option dvips fixes
> > > >> >> > it. However, I'm not sure this is the right thing to do. In the inverted
> > > >> >> > tests, we have the following:      
> > > 
> > > >> >> >   # Comment by Jürgen Spitzmüller
> > > >> >> >   # The document requests the dvips graphics driver,
> > > >> >> >   # and of course this fails with any other backend.
> > > >> >> >   #
> > > >> >> >   # The document compiles if one sets the graphics driver to "Automatic"
> > > >> >> >   # and remove the dvips class option. But then, the output is not correct
> > > >> >> >   # (rotation of foils does not work).
> > > >> >> >   export/examples/(|fr/)Presentations/Foils_pdf[45]_systemF      
> > > 
> > > >> >> > The output does not seem to change with or without the option for pdf2
> > > >> >> > format, but the above comment suggests it does for other formats.      
> > > 
> > > >> >> Could you please test export to Postscript or PDF (ps2pdf) and check the
> > > >> >> orientation of rotated pages in the output?    
> > > 
> > > 
> > > >> > No visible differences.
> > > >> > 'diffpdf' finds some, but only some glyphs are there, see attached.    
> > > 
> > > >> If it is/looks right with "auto" now, then it should be save to change from
> > > >> "dvips" to "auto" and remove the clause and comment from "invertedTests".  
> > > 
> > > >> Günter  
> > > 
> > > 
> > > > Looks OK for examples/Presentations/Foils.lyx
> > > > but not for  examples/fr/Presentations/Foils.lyx
> > > > PDF (xetex) (system fonts) OK
> > > > PDF (luatex) (system fonts) OK
> > > > PDF (luatex) (tex fonts) gives following error
> > > > 	...
> > > > 	LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 43.
> > > > 	LaTeX Font Info:    ... okay on input line 43.
> > > > 	LaTeX Info: Redefining \dots on input line 43.
> > > > 	LaTeX Info: Redefining \up on input line 43.
> > > > 	LaTeX Font Info:    Font shape `T1/fcmss/b/n' in size <29.86> not available
> > > > 	(Font)              Font shape `T1/fcmss/bx/n' tried instead on input line 49.
> > > > 	! error:  (linebreak): invalid list tail, probably missing glue
> > > > 	!  ==> Fatal error occurred, no output PDF file produced!  
> > > 
> > > This looks to me like a different problem. We should invert or ignore the
> > > "LuaTeX with tex fonts" export (Foils is a rather old package and LuaTeX
> > > with 8-bit fonts is not supported by many packages and also seldom used.)
> > > 
> > > How about PDF (pdflatex)?
> > > 
> > > Günter
> > > 
> > This works.
> > BTW, changing the document language from French to English makes the doc compilable too.
> > I tried to create an mwe. The error comes as soon as
> > 1.) Doc-class FoilTeX
> > 2.) Doc-param empty (no dvips, (with dvips has other errors))
> > 3.) Doc-lang French
> > 4.) tex-fonts
> > 5.) output pdf (luatex)
> > 6.) ANY text in Title
> > 
> > 	Kornel
> 
> What did we decide to do on this? I think we found an improvement
> (remove "auto") for the English doc, but then we started trying to
> figure out the French issue, which is different, and we did not make any
> change in the end.
> 
> Should we remove "dvips" from the custom class option? What exactly
> should the "Graphics driver" combo box be set to? I do not see "auto".
> Should it be set to "Default"?

For now I have specified the default output format to be PDF (ps2pdf). If we remove the dvips from the custom class option, we should change the default output format. In that case we should also add a note that with XeLaTeX and LuaTeX pages which should be rotated are not rotated. I just checked that this still happens on updated TL20 (at least with XeLaTeX).

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201030/0177c533/attachment.asc>


More information about the lyx-devel mailing list