LyX 1.0

Patrick Dupre pdupre at gmx.com
Wed Jan 11 09:04:02 UTC 2023


Thank Herbert,

Do we have similar options with pdflatex?

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre at gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988                    | | Room# D114A
===========================================================================


> Sent: Wednesday, January 11, 2023 at 9:54 AM
> From: "Herbert Voss" <Herbert.Voss at fu-berlin.de>
> To: "Patrick Dupre" <pdupre at gmx.com>
> Cc: lyx-users at lists.lyx.org
> Subject: Re: LyX 1.0
>
> 
> 
> Am 11.01.23 um 09:51 schrieb Patrick Dupre:
> >> Thank.
> >> It seems fantastic except than when I try to run view (to get the pdf
> >> file). I get
> >>
> >> An error occurred while running:
> >> ps2pdf "d2_1.ps" "d2_1.pdf"
> > In addition, if I export as a Latexplain.
> > I can run latex and generate the dvi file.
> > Then
> > dvips
> > gv provides
> >
> > %%%% WARNING: Transparency operations ignored - need to use -dALLOWPSTRANSPARENCY
> 
> you have to modify the LyX preferences. ps2pdf needs nowadays optional 
> arguments:
> 
> ps2pdf -dALLOWPSTRANSPARENCY  -dNoSafer  <file.ps>
> 
> 
> Herbert
> 
> 
> >
> > Error: /undefined in .setstrokeconstantalpha
> > Operand stack:
> >     142.264   199.169   142.264   56.9055   1.0
> > Execution stack:
> >     %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1974   1   3   %oparray_pop   1973   1   3   %oparray_pop   1961   1   3   %oparray_pop   1817   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--  GPL Ghostscript 9.56.1: Unrecoverable error, exit code 1
> >   --nostringval--   2   %stopped_push   --nostringval--
> > Dictionary stack:
> >     --dict:766/1123(ro)(G)--   --dict:0/20(G)--   --dict:153/200(L)--   --dict:198/300(L)--   --dict:38/200(L)--   --dict:129/200(L)--
> > Current allocation mode is local
> > Last OS error: Resource temporarily unavailable
> >
> >
> >
> > and ps2pdf
> > %%%% WARNING: Transparency operations ignored - need to use -dALLOWPSTRANSPARENCY
> >
> > Error: /undefined in .setstrokeconstantalpha
> > Operand stack:
> >     142.264   199.169   142.264   56.9055   1.0
> > Execution stack:
> >     %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1974   1   3   %oparray_pop   1973   1   3   %oparray_pop   1961   1   3   %oparray_pop   1817   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
> > Dictionary stack:
> >     --dict:766/1123(ro)(G)--   --dict:0/20(G)--   --dict:153/200(L)--   --dict:198/300(L)--   --dict:38/200(L)--   --dict:129/200(L)--
> > Current allocation mode is local
> > Current file position is 249842
> > GPL Ghostscript 9.56.1: Unrecoverable error, exit code 1
> >
> >
> > It seems that there is an issue with my distribution (fedora)
> >
> >> ===========================================================================
> >>   Patrick DUPRÉ                                 | | email: pdupre at gmx.com
> >>   Laboratoire interdisciplinaire Carnot de Bourgogne
> >>   9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> >>   Tel: +33 (0)380395988                    | | Room# D114A
> >> ===========================================================================
> >>
> >>
> >>> Sent: Wednesday, January 11, 2023 at 8:32 AM
> >>> From: "Herbert Voss" <Herbert.Voss at fu-berlin.de>
> >>> To: lyx-users at lists.lyx.org
> >>> Subject: Re: LyX 1.0
> >>>
> >>>
> >>>
> >>> Am 11.01.23 um 01:37 schrieb José Matos:
> >>>> On Tue, 2023-01-10 at 11:23 +0100, Patrick Dupre wrote:
> >>>>> Yes, I can share it.
> >>>>> Not sure about the exact result !
> >>>>>
> >>>>> Thank
> >>>> The attached file loads correctly in 2.3 (and Fedora FWIW). :-)
> >>>>
> >>>> Technically the problem was that the first ERT inset was not enclosed
> >>>> in a (Plain) layout. I am not sure why that is not triggered here.
> >>>>
> >>>> Now that I know what the problem is it should be easy to find the
> >>>> culprit. Famous last words, I know. :-D
> >>> running it with format pdf (ps2pdf) or pdf(lualate) works well.
> >>> Attached a slightly modified version:
> >>>
> >>> Herbert
> >>> -- 
> >>> lyx-users mailing list
> >>> lyx-users at lists.lyx.org
> >>> http://lists.lyx.org/mailman/listinfo/lyx-users
> >>>
> >> -- 
> >> lyx-users mailing list
> >> lyx-users at lists.lyx.org
> >> http://lists.lyx.org/mailman/listinfo/lyx-users
> >>
> 
>


More information about the lyx-users mailing list