Re: LyX 1.0
Am 05.06.23 um 22:49 schrieb Pavel Sanda: On Mon, Jun 05, 2023 at 04:52:19PM +0200, Herbert Voss wrote: there are some packages which read and write on PS level. Are some of them important enought to put some note about them + -dNoSafer parameter into our release notes? no, not really ... Herbert This is the reason why I _always_ use both optional arguments. However, in general -dALLOWPSTRANSPARENCY should be enough. Ok, this is now committed and will be part of 2.4. Thanks, Pavel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
On Mon, Jun 05, 2023 at 04:52:19PM +0200, Herbert Voss wrote: > there are some packages which read and write on PS level. Are some of them important enought to put some note about them + -dNoSafer parameter into our release notes? > This is the reason why I _always_ use both optional arguments. However, in > general -dALLOWPSTRANSPARENCY should be enough. Ok, this is now committed and will be part of 2.4. Thanks, Pavel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
Am 05.06.23 um 14:27 schrieb Pavel Sanda: ps2pdf -dNoSafer -dALLOWPSTRANSPARENCY $$i $$o I plan to add -dALLOWPSTRANSPARENCY as a default for ps2pdf in LyX 2.4. Is the option -dNoSafer really needed now? My shallow understanding is that it was needed only initially for pre 9.53.3 versions of ghostscript and since then -dALLOWPSTRANSPARENCY should work. https://forums.fedoraforum.org/showthread.php?324453-Ghostscript-9-52-breaks-transparency-in-LaTeX-packages Pavel, there are some packages which read and write on PS level. This is the reason why I _always_ use both optional arguments. However, in general -dALLOWPSTRANSPARENCY should be enough. Herbert -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
On Wed, Jan 11, 2023 at 11:20:48AM +0100, Herbert Voss wrote: > Am 11.01.23 um 10:36 schrieb Patrick Dupre: > >Thank > > > >The problem with lualatex is that I get > >! Undefined control sequence. > >\c@lor@to@ps ->\PSTricks > > _Not_Configured_For_This_Format > >l.26 \psline[linecolor=blue,linewidth=10.5pt]( > > 3,1)(2,2) > > sure, your TeXLive is too old for lualatex, which should be preferred by the > way. > > > > > >and an error if I add > >\usepackage{auto-pst-pdf}% > > > > > > > >For the preferences > >File Handling->Converters > >ps2pdf -dALLOWPSTRANSPARENCY $$i $$o > > > >Is it correct? > > > ps2pdf -dNoSafer -dALLOWPSTRANSPARENCY $$i $$o Herbert, I plan to add -dALLOWPSTRANSPARENCY as a default for ps2pdf in LyX 2.4. Is the option -dNoSafer really needed now? My shallow understanding is that it was needed only initially for pre 9.53.3 versions of ghostscript and since then -dALLOWPSTRANSPARENCY should work. https://forums.fedoraforum.org/showthread.php?324453-Ghostscript-9-52-breaks-transparency-in-LaTeX-packages Pavel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
Am 11.01.23 um 10:36 schrieb Patrick Dupre: Thank The problem with lualatex is that I get ! Undefined control sequence. \c@lor@to@ps ->\PSTricks _Not_Configured_For_This_Format l.26 \psline[linecolor=blue,linewidth=10.5pt]( 3,1)(2,2) sure, your TeXLive is too old for lualatex, which should be preferred by the way. and an error if I add \usepackage{auto-pst-pdf}% For the preferences File Handling->Converters ps2pdf -dALLOWPSTRANSPARENCY $$i $$o Is it correct? ps2pdf -dNoSafer -dALLOWPSTRANSPARENCY $$i $$o Herbert -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
Thank The problem with lualatex is that I get ! Undefined control sequence. \c@lor@to@ps ->\PSTricks _Not_Configured_For_This_Format l.26 \psline[linecolor=blue,linewidth=10.5pt]( 3,1)(2,2) and an error if I add \usepackage{auto-pst-pdf}% For the preferences File Handling->Converters ps2pdf -dALLOWPSTRANSPARENCY $$i $$o Is it correct? Thank again. === Patrick DUPRÉ | | email: pdu...@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 10:20 AM > From: "Herbert Voss" > To: "Patrick Dupre" > Cc: lyx-users@lists.lyx.org > Subject: Re: LyX 1.0 > > > > Am 11.01.23 um 10:04 schrieb Patrick Dupre: > > > > Do we have similar options with pdflatex? > > > no, but PSTricks code needs lualatex (directly a pdf) or latex with > dvips and ps2df > > Herbert > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
Am 11.01.23 um 10:04 schrieb Patrick Dupre: Do we have similar options with pdflatex? no, but PSTricks code needs lualatex (directly a pdf) or latex with dvips and ps2df Herbert -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
Thank Herbert, Do we have similar options with pdflatex? === Patrick DUPRÉ | | email: pdu...@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" > To: "Patrick Dupre" > Cc: lyx-users@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 > > > 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: pdu...@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" > >>> To: lyx-users@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@lists.lyx.org > >>> http://lists.lyx.org/mailman/listinfo/lyx-users > >>> > >> -- > >> lyx-users mailing list > >> lyx-users@lists.lyx.org > >> http://lists.lyx.org/mailman/listinfo/lyx-users > >> > > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
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 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: pdu...@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" To: lyx-users@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@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
> > 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 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: pdu...@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" > > To: lyx-users@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@lists.lyx.org > > http://lists.lyx.org/mailman/listinfo/lyx-users > > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
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" === Patrick DUPRÉ | | email: pdu...@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" > To: lyx-users@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@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
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 2.3 created this file. For more info see http://www.lyx.org/ \lyxformat 544 \begin_document \begin_header \save_transient_properties true \origin unavailable \textclass article \begin_preamble %\usepackage{a4_fr} \usepackage{times} %\usepackage[T1]{fontenc} %\usepackage[latin1]{inputenc} %\usepackage[body={20cm,28.5cm}]{geometry} %\usepackage[body={20cm,26.5cm}]{geometry} %\usepackage{geometry} %\geometry{verbose,a4paper} %\geometry{verbose} \pagestyle{empty} \usepackage{babel} %\usepackage{doublespace} \usepackage{color} %\usepackage{crayola} %\usepackage{pifont} %\usepackage{graphicx} \usepackage{pstricks} %\usepackage{pstcol,pst-char,pst-plot,pst-grad} \usepackage{pst-coil,pst-text} %\usepackage[curve,arrow,frame]{xy} %\usepackage{mfpic} %\usepackage{semcolor} %\usepackage{amsmath,amssymb} \usepackage{palatino,mathpple} %\usepackage{lucida,lucmaths} %\usepackage{fancyheadings} %\usepackage{fancybox} %\usepackage{mathptmx} %\setlength\parskip{\medskipamount} %\setlength\parskip{0pt} %\setlength\parindent{0pt} %\setlength\textwidth{19.5cm} %\setlength\textheight{26cm} %\setlength{\topmargin}{0cm}%{-2cm} \end_preamble \options american,portrait,dvips \use_default_options false \maintain_unincluded_children false \language english \language_package default \inputencoding auto \fontencoding global \font_roman "default" "default" \font_sans "default" "default" \font_typewriter "default" "default" \font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 100 \font_tt_scale 100 100 \use_microtype false \use_dash_ligatures true \graphics default \default_output_format pdf \output_sync 0 \bibtex_command default \index_command default \paperfontsize default \spacing single \use_hyperref false \papersize a4paper \use_geometry false \use_package amsmath 1 \use_package amssymb 1 \use_package cancel 1 \use_package esint 1 \use_package mathdots 1 \use_package mathtools 1 \use_package mhchem 1 \use_package stackrel 1 \use_package stmaryrd 1 \use_package undertilde 1 \cite_engine basic \cite_engine_type default \biblio_style plain \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \justification true \use_refstyle 0 \use_minted 0 \index Index \shortcut idx \color #008000 \end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \is_math_indent 0 \math_numbering_side default \quotes_style english \dynamic_quotes 0 \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash begin{pspicture}(0,0)(18,9) \end_layout \begin_layout Plain Layout \backslash psline[linewidth=0.25mm]{-}(5.0,2.0)(5.0,7.0) \end_layout \begin_layout Plain Layout \backslash psline[linewidth=0.25mm]{-}(6.0,2.0)(6.0,7.0) \end_layout \begin_layout Plain Layout \backslash psset{arrowlength=2,arrowsize=4pt,arrowscale=2 1} \end_layout \begin_layout Plain Layout \backslash pszigzag[coilwidth=3mm,linearc=1.5pt,coilarmA=1pt,coilarmB=10pt]{->}(3.5,3.0)(5.0,5.0 ) \end_layout \begin_layout Plain Layout \backslash psset{linestyle=none} \end_layout \begin_layout Plain Layout \backslash rput(5.5,1){ \backslash huge$ \backslash left| a \backslash right \backslash rangle \backslash left \backslash langle a \backslash right|$} \end_layout \begin_layout Plain Layout \backslash rput(5.5,8){ \backslash huge$ \backslash left| b \backslash right \backslash rangle \backslash left \backslash langle b \backslash right|$} \end_layout \begin_layout Plain Layout \backslash rput[r](4,4.5){ \backslash huge$ \backslash widetilde{V}_{ab} \backslash left( \backslash omega, \backslash , \backslash overrightarrow{r} \backslash right)$} \end_layout \begin_layout Plain Layout \backslash end{pspicture} \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash protect \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash centering{} \end_layout
Re: LyX 1.0
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 Regards, -- José Abílio d2.lyx Description: application/lyx -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
On 1/10/23 05:23, Patrick Dupre wrote: Yes, I can share it. Not sure about the exact result ! That got attached inline, so it's hard to deal with. It seems like the file is truncated. In any event, I'm guessing what you really want is the pspicture code, which is about all there is there. I just copied that and replaced '\backslash ' with an actual backslash: \begin{pspicture}(0,0)(18,9) \psline[linewidth=0.25mm]{-}(5.0,2.0)(5.0,7.0) \newline \psline[linewidth=0.25mm]{-}(6.0,2.0)(6.0,7.0) \newline \psset{arrowlength=2,arrowsize=4pt,arrowscale=2 1} \newline \pszigzag[coilwidth=3mm,linearc=1.5pt,coilarmA=1pt,coilarmB=10pt]{->}(3.5,3.0)(5.0,5.0) \newline \psset{linestyle=none} \newline \pstextpath[c]{ \psline(4.5,1.0)(5.5,1.0)}{ \huge \( \left| a \right \rangle \)} \newline \pstextpath[c]{ \psline(5.5,1.0)(6.5,1.0)}{ \huge \( \left \langle a \right| \)} \newline \pstextpath[c]{ \psline(4.5,8.0)(5.5,8.0)}{ \huge \( \left| b \right \rangle \)} \newline \pstextpath[c]{ \psline(5.5,8.0)(6.5,8.0)}{ \huge \( \left \langle a \right| \)} \newline \pstextpath[c]{ \psline(0.5,4.5)(4.5,4.5)}{ \huge \( \widetilde{V}_{ab} \left( \omega, \, \overrightarrow{r} \right) \)} \newline \end{pspicture} Probablty the \newline stuff can be removed, too. The formulas are just LaTeX: \begin_inset Formula \( \widetilde{V}_{ab}\left(\omega,\, \protect\overrightarrow{r}\right)=-\protect\overrightarrow{\mu}_{ab}\cdot \widehat{\varepsilon}\,\widetilde{\mathcal{E}}\left(\omega,\,\protect\overrightarrow{r}\right)\) \end_inset \begin_inset Formula \( \widetilde{\rho}_{ab}^{(1)}(\omega,\,\protect\overrightarrow{r},\,\protect\overrightarrow{v})=\frac{\widetilde{\Omega}_{ab}\left(\omega,\,\protect\overrightarrow{r}\right)}{\omega_{ba}^{\star}-\omega+i\gamma_{ba}}\left[\rho^{(0)}_{aa}-\rho^{(0)}_{bb}\right]\) \end_inset Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
Does not look like a LyX file to me. /Applications/LyX.app//Contents/Resources/lyx2lyx/lyx2lyx -n t.lyx -o new.lyx shows : Warning: Version does not match file format, discarding it. (Version None, format 215) Warning: Malformed LyX document: Missing '\use_amsmath'. Warning: Truncated document. Warning: Malformed lyx document: Missing '\use_numerical_citations'. Warning: Malformed lyx document: Missing '\use_jurabib'. Warning: Malformed lyx document: Missing '\use_natbib'. Warning: Malformed LyX document: Missing `\fontscheme'. Warning: Malformed LyX document: Missing `\cite_engine'. Warning: Malformed LyX document: Missing \use_indices. Warning: Malformed LyX document: Could not find amsmath os esint setting. Warning: Malformed LyX document: Can't find \use_mhchem. Warning: Malformed LyX document: Can't find \use_mathdots. Warning: Malformed LyX document: Missing \suppress_date. Warning: Malformed LyX document: Can't find \use_package. Warning: Malformed LyX document: Can't find \use_package amsmath. Warning: Malformed LyX document: Can't find \use_package. Warning: Malformed LyX document: Can't find \use_package. Warning: Malformed LyX document: Can't find \use_package. Warning: Malformed LyX document: No \font_roman! Warning: Malformed LyX document: No \font_sans! Warning: Malformed LyX document: No \font_typewriter! Warning: Malformed LyX document: No \font_sf_scale! Warning: Malformed LyX document: No \font_tt_scale! Warning: Malformed LyX document! Can't find \quotes_language! I would perhaps try and reconstruct the LaTeX manually and then see if you can import that into lyx. el On 10/01/2023 12:23, Patrick Dupre wrote: > Yes, I can share it. > Not sure about the exact result ! > > Thank > > --- > #This file was created by Wed Aug 22 20:08:36 2001 > #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team > \lyxformat 2.15 > \textclass article > \papersize a4paper > \options american,portrait,dvips > \begin_preamble > %\usepackage{a4_fr} > \usepackage{times} > %\usepackage[T1]{fontenc} > %\usepackage[latin1]{inputenc} > %\usepackage[body={20cm,28.5cm}]{geometry} > %\usepackage[body={20cm,26.5cm}]{geometry} > %\usepackage{geometry} > %\geometry{verbose,a4paper} > %\geometry{verbose} > \pagestyle{empty} > \usepackage{babel} > %\usepackage{doublespace} > \usepackage{color} > %\usepackage{crayola} > %\usepackage{pifont} > %\usepackage{graphicx} > \usepackage{pstricks} > %\usepackage{pstcol,pst-char,pst-plot,pst-grad} > \usepackage{pst-coil,pst-text} > %\usepackage[curve,arrow,frame]{xy} > %\usepackage{mfpic} > %\usepackage{semcolor} > %\usepackage{amsmath,amssymb} > \usepackage{palatino,mathpple} > %\usepackage{lucida,lucmaths} > %\usepackage{fancyheadings} > %\usepackage{fancybox} > %\usepackage{mathptmx} > %\setlength\parskip{\medskipamount} > %\setlength\parskip{0pt} > %\setlength\parindent{0pt} > %\setlength\textwidth{19.5cm} > %\setlength\textheight{26cm} > %\setlength{\topmargin}{0cm}%{-2cm} > > \end_preamble > > \layout Standard > > > \begin_float fig > > \latex latex > > \backslash begin{pspicture}(0,0)(18,9) > \backslash psline[linewidth=0.25mm]{-}(5.0,2.0)(5.0,7.0) > \newline > > \backslash psline[linewidth=0.25mm]{-}(6.0,2.0)(6.0,7.0) > \newline > > \backslash psset{arrowlength=2,arrowsize=4pt,arrowscale=2 1} > \newline > > \backslash > pszigzag[coilwidth=3mm,linearc=1.5pt,coilarmA=1pt,coilarmB=10pt]{->}(3.5,3.0)(5.0,5.0) > \newline > > \backslash psset{linestyle=none} > \newline > > \backslash pstextpath[c]{ > \backslash psline(4.5,1.0)(5.5,1.0)}{ > \backslash huge > \backslash ( > \backslash left| a > \backslash right > \backslash rangle > \backslash )} > \newline > > \backslash pstextpath[c]{ > \backslash psline(5.5,1.0)(6.5,1.0)}{ > \backslash huge > \backslash ( > \backslash left > \backslash langle a > \backslash right| > \backslash )} > \newline > > \backslash pstextpath[c]{ > \backslash psline(4.5,8.0)(5.5,8.0)}{ > \backslash huge > \backslash ( > \backslash left| b > \backslash right > \backslash rangle > \backslash )} > \newline > > \backslash pstextpath[c]{ > \backslash psline(5.5,8.0)(6.5,8.0)}{ > \backslash huge > \backslash ( > \backslash left > \backslash langle a > \backslash right| > \backslash )} > \newline > > \backslash pstextpath[c]{ > \backslash psline(0.5,4.5)(4.5,4.5)}{ > \backslash huge > \backslash ( > \backslash wid
Re: LyX 1.0
Yes, I can share it. Not sure about the exact result ! Thank --- #This file was created by Wed Aug 22 20:08:36 2001 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass article \papersize a4paper \options american,portrait,dvips \begin_preamble %\usepackage{a4_fr} \usepackage{times} %\usepackage[T1]{fontenc} %\usepackage[latin1]{inputenc} %\usepackage[body={20cm,28.5cm}]{geometry} %\usepackage[body={20cm,26.5cm}]{geometry} %\usepackage{geometry} %\geometry{verbose,a4paper} %\geometry{verbose} \pagestyle{empty} \usepackage{babel} %\usepackage{doublespace} \usepackage{color} %\usepackage{crayola} %\usepackage{pifont} %\usepackage{graphicx} \usepackage{pstricks} %\usepackage{pstcol,pst-char,pst-plot,pst-grad} \usepackage{pst-coil,pst-text} %\usepackage[curve,arrow,frame]{xy} %\usepackage{mfpic} %\usepackage{semcolor} %\usepackage{amsmath,amssymb} \usepackage{palatino,mathpple} %\usepackage{lucida,lucmaths} %\usepackage{fancyheadings} %\usepackage{fancybox} %\usepackage{mathptmx} %\setlength\parskip{\medskipamount} %\setlength\parskip{0pt} %\setlength\parindent{0pt} %\setlength\textwidth{19.5cm} %\setlength\textheight{26cm} %\setlength{\topmargin}{0cm}%{-2cm} \end_preamble \layout Standard \begin_float fig \latex latex \backslash begin{pspicture}(0,0)(18,9) \backslash psline[linewidth=0.25mm]{-}(5.0,2.0)(5.0,7.0) \newline \backslash psline[linewidth=0.25mm]{-}(6.0,2.0)(6.0,7.0) \newline \backslash psset{arrowlength=2,arrowsize=4pt,arrowscale=2 1} \newline \backslash pszigzag[coilwidth=3mm,linearc=1.5pt,coilarmA=1pt,coilarmB=10pt]{->}(3.5,3.0)(5.0,5.0) \newline \backslash psset{linestyle=none} \newline \backslash pstextpath[c]{ \backslash psline(4.5,1.0)(5.5,1.0)}{ \backslash huge \backslash ( \backslash left| a \backslash right \backslash rangle \backslash )} \newline \backslash pstextpath[c]{ \backslash psline(5.5,1.0)(6.5,1.0)}{ \backslash huge \backslash ( \backslash left \backslash langle a \backslash right| \backslash )} \newline \backslash pstextpath[c]{ \backslash psline(4.5,8.0)(5.5,8.0)}{ \backslash huge \backslash ( \backslash left| b \backslash right \backslash rangle \backslash )} \newline \backslash pstextpath[c]{ \backslash psline(5.5,8.0)(6.5,8.0)}{ \backslash huge \backslash ( \backslash left \backslash langle a \backslash right| \backslash )} \newline \backslash pstextpath[c]{ \backslash psline(0.5,4.5)(4.5,4.5)}{ \backslash huge \backslash ( \backslash widetilde{V}_{ab} \backslash left( \backslash omega, \backslash , \backslash overrightarrow{r} \backslash right) \backslash )} \newline \backslash end{pspicture} \latex default \layout Caption \latex latex \backslash protect \latex default \latex latex \backslash centering{} \latex default Two-level Vertex for a molecule with a velocity \begin_inset Formula \( \protect\overrightarrow{v}\) \end_inset : \begin_inset Formula \( \widetilde{V}_{ab}\left(\omega,\, \protect\overrightarrow{r}\right)=-\protect\overrightarrow{\mu}_{ab}\cdot \widehat{\varepsilon}\,\widetilde{\mathcal{E}}\left(\omega,\,\protect\overrightarrow{r}\right)\) \end_inset , \begin_inset Formula \( \widetilde{\rho}_{ab}^{(1)}(\omega,\,\protect\overrightarrow{r},\,\protect\overrightarrow{v})=\frac{\widetilde{\Omega}_{ab}\left(\omega,\,\protect\overrightarrow{r}\right)}{\omega_{ba}^{\star}-\omega+i\gamma_{ba}}\left[\rho^{(0)}_{aa}-\rho^{(0)}_{bb}\right]\) \end_inset \begin_inset LatexCommand \label{fig-dia} \end_inset \end_float -- === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988| | Room# D114A === > Sent: Tuesday, January 10, 2023 at 11:03 AM > From: "Jean-Marc Lasgouttes" > To: lyx-users@lists.lyx.org > Subject: Re: LyX 1.0 > > Le 10/01/2023 à 10:36, Patrick Dupre a écrit : > > Hello, > > > > I have an old lyx file (LyX 1.0) that I cannot open with lyx. > > Is there an option to read or convert it? > > Hello, > > In theory, it should be readable. This is probably a bug with lyx2lyx, > our version converter. Is that a file that you can share ? I am not very > good at lyx2lyx myself, but I am sure that one developer will be able to > understand what is wrong. > > JMarc > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
Le 10/01/2023 à 10:36, Patrick Dupre a écrit : Hello, I have an old lyx file (LyX 1.0) that I cannot open with lyx. Is there an option to read or convert it? Hello, In theory, it should be readable. This is probably a bug with lyx2lyx, our version converter. Is that a file that you can share ? I am not very good at lyx2lyx myself, but I am sure that one developer will be able to understand what is wrong. JMarc -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX 1.0
Hello, I have an old lyx file (LyX 1.0) that I cannot open with lyx. Is there an option to read or convert it? Thank. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988| | Room# D114A === -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Why are view/update dvi/postscript menuitems dimmed? (Lyx 1.0 Solaris)
Hi -- I'm a relatively new user to LyX (and TeX novice), and would like to evaluate it for writing some papers. I've installed the precompiled binary for Solaris 2.6. LyX works fine except I cannot print or (pre)view my files -- the dvi and postscript menuitems in the File menu are disabled. I have gs, ghostview and teTeX installed, but not gv. Any suggestions? Thanks! Ramon +--- --- Ramon M. Felciano |Ingenuity Systems [EMAIL PROTECTED] | http://www.ingsys.com/ +--- ---
Why are view/update dvi/postscript menuitems dimmed? (Lyx 1.0 Solaris)
Hi -- I'm a relatively new user to LyX (and TeX novice), and would like to evaluate it for writing some papers. I've installed the precompiled binary for Solaris 2.6. LyX works fine except I cannot print or (pre)view my files -- the dvi and postscript menuitems in the File menu are disabled. I have gs, ghostview and teTeX installed, but not gv. Any suggestions? Thanks! Ramon +--- --- Ramon M. Felciano |Ingenuity Systems [EMAIL PROTECTED] | http://www.ingsys.com/ +--- ---
Why are view/update dvi/postscript menuitems dimmed? (Lyx 1.0 Solaris)
Hi -- I'm a relatively new user to LyX (and TeX novice), and would like to evaluate it for writing some papers. I've installed the precompiled binary for Solaris 2.6. LyX works fine except I cannot print or (pre)view my files -- the dvi and postscript menuitems in the File menu are disabled. I have gs, ghostview and teTeX installed, but not gv. Any suggestions? Thanks! Ramon +--- --- Ramon M. Felciano |Ingenuity Systems [EMAIL PROTECTED] | http://www.ingsys.com/ +--- ---