Re: lyx2lyx fails to convert
Excellent. Thanks Stephan and Paul. /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx -v Contrast\ paper.lyx > Test.lyx produced a document Test.lyx that could be read by LyX 2.3.6.2. This converted document was fairly recent (2016) so fingers crossed it works too on older documents as well. Tim On 21 Aug 2022, at 4:31, Stephan Witt wrote: Am 21.08.2022 um 10:33 schrieb Stephan Witt : Hi Tim, you have to change your command - lyx2lyx is a folder in Resources: Sorry, this one sends the standard output to trash… this is useful in case of lyx2lyx is logging errors separately (I’m not sure it works that way). $ /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx -v Contrast\ paper.lyx > /dev/null To verify the output in terminal you should use it w/o redirect to trash $ /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx -v Contrast\ paper.lyx or $ /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx -v Contrast\ paper.lyx | less to view the result page by page. Another option is to use the message pane in LyX: 1. Start LyX 2. Activate Message Pane (menu item of the View menu) 3. Switch to the Settings tab 4. Choose „Selected“ at left and „info“ at right. 5. Open the file „Contrast paper.lyx“ 6. Check the Output contents of the Message Pane Stephan … In case it’s a python problem the following command and it’s output is of interest: $ /usr/bin/env python --version Python 3.8.13 Stephan Am 21.08.2022 um 06:06 schrieb Tim Garrett : Sorry, probably being dense here but this is what I get after finding the function /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx -v Contrast\ paper.lyx zsh: permission denied: /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx Thanks for helping out here. Been a LyX user since 2001 when it was KLyX and this is the first time I’ve seen this. Tim On 20 Aug 2022, at 3:57, Stephan Witt wrote: Am 18.08.2022 um 18:07 schrieb Paul A. Rubin : On 8/18/22 11:15, Tim J Garrett wrote: Running MacOS Monterrey and getting this error message trying to open old lyx files as recent as 2016: “file.lyx is from an older version of LyX and the lyx2lyx script failed to convert it.” Unclear what to do from online forums. Any advice? I’m not a developer, so step-by-step would be appreciated. I have tried installing old versions of lyx but without success. Below is the lyx preamble Thanks Tim #LyX 2.1 created this file. For more info see http://www.lyx.org/ \lyxformat 474 \begin_document \begin_header \textclass article \begin_preamble \usepackage[left,modulo]{lineno} \end_preamble \options agums \use_default_options false \maintain_unincluded_children false \language english \language_package default \inputencoding auto \fontencoding global \font_roman times \font_sans default \font_typewriter default \font_math auto \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \float_placement h \paperfontsize 12 \spacing double \use_hyperref false \papersize letterpaper \use_geometry true \use_package amsmath 1 \use_package amssymb 1 \use_package cancel 1 \use_package esint 0 \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 natbib \cite_engine_type authoryear \biblio_style plainnat \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \justification true \use_refstyle 0 \index Index \shortcut idx \color #008000 \end_index \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language english \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 There does not seem to be any problem with the header. I created an empty LyX document with it, and the lyx2lyx script had no issues processing it. So the problem must be in the document body. You can try the following. Find the lyx2lyx executable on your system. On Debian based Linux systems, it defaults to /usr/share/lyx/lyx2lyx/lyx2lyx. I have no idea where it is on a Mac, so I'll just refer to the equivalent string as "". In a terminal window, run -v which should print the converted document line by line in the terminal window. If it gorks, hopefully you will be able to see what it choked on and possibly an error message, which you can bring back to the list. Paul Hi Tim, do you have any progress with your issue? Did you update Monterey recently? Do you have a working Python installation?
Re: lyx2lyx fails to convert
Am 21.08.2022 um 10:33 schrieb Stephan Witt : > > Hi Tim, > > you have to change your command - lyx2lyx is a folder in Resources: Sorry, this one sends the standard output to trash… this is useful in case of lyx2lyx is logging errors separately (I’m not sure it works that way). > $ > /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx > -v Contrast\ paper.lyx > /dev/null To verify the output in terminal you should use it w/o redirect to trash $ /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx -v Contrast\ paper.lyx or $ /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx -v Contrast\ paper.lyx | less to view the result page by page. Another option is to use the message pane in LyX: 1. Start LyX 2. Activate Message Pane (menu item of the View menu) 3. Switch to the Settings tab 4. Choose „Selected“ at left and „info“ at right. 5. Open the file „Contrast paper.lyx“ 6. Check the Output contents of the Message Pane Stephan > … > > In case it’s a python problem the following command and it’s output is of > interest: > > $ /usr/bin/env python --version > Python 3.8.13 > > Stephan > >> Am 21.08.2022 um 06:06 schrieb Tim Garrett : >> >> Sorry, probably being dense here but this is what I get after finding the >> function >> >> /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx -v >> Contrast\ paper.lyx >> zsh: permission denied: >> /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx >> >> Thanks for helping out here. Been a LyX user since 2001 when it was KLyX and >> this is the first time I’ve seen this. >> >> Tim >> >> On 20 Aug 2022, at 3:57, Stephan Witt wrote: >> >> Am 18.08.2022 um 18:07 schrieb Paul A. Rubin : >> >> On 8/18/22 11:15, Tim J Garrett wrote: >> >> Running MacOS Monterrey and getting this error message trying to open old >> lyx files as recent as 2016: >> >> “file.lyx is from an older version of LyX and the lyx2lyx script failed to >> convert it.” >> >> Unclear what to do from online forums. Any advice? I’m not a developer, so >> step-by-step would be appreciated. I have tried installing old versions of >> lyx but without success. Below is the lyx preamble >> >> Thanks >> >> Tim >> >> #LyX 2.1 created this file. For more info see http://www.lyx.org/ >> \lyxformat 474 >> \begin_document >> \begin_header >> \textclass article >> \begin_preamble >> >> \usepackage[left,modulo]{lineno} >> \end_preamble >> \options agums >> \use_default_options false >> \maintain_unincluded_children false >> \language english >> \language_package default >> \inputencoding auto >> \fontencoding global >> \font_roman times >> \font_sans default >> \font_typewriter default >> \font_math auto >> \font_default_family default >> \use_non_tex_fonts false >> \font_sc false >> \font_osf false >> \font_sf_scale 100 >> \font_tt_scale 100 >> \graphics default >> \default_output_format default >> \output_sync 0 >> \bibtex_command default >> \index_command default >> \float_placement h >> \paperfontsize 12 >> \spacing double >> \use_hyperref false >> \papersize letterpaper >> \use_geometry true >> \use_package amsmath 1 >> \use_package amssymb 1 >> \use_package cancel 1 >> \use_package esint 0 >> \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 natbib >> \cite_engine_type authoryear >> \biblio_style plainnat >> \use_bibtopic false >> \use_indices false >> \paperorientation portrait >> \suppress_date false >> \justification true >> \use_refstyle 0 >> \index Index >> \shortcut idx >> \color #008000 >> \end_index >> \leftmargin 1in >> \topmargin 1in >> \rightmargin 1in >> \bottommargin 1in >> \secnumdepth 3 >> \tocdepth 3 >> \paragraph_separation indent >> \paragraph_indentation default >> \quotes_language english >> \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 >> >> There does not seem to be any problem with the header. I created an empty >> LyX document with it, and the lyx2lyx script had no issues processing it. So >> the problem must be in the document body. >> >> You can try the following. Find the lyx2lyx executable on your system. On >> Debian based Linux systems, it defaults to /usr/share/lyx/lyx2lyx/lyx2lyx. I >> have no idea where it is on a Mac, so I'll just refer to the equivalent >> string as "". In a terminal window, run >> >> -v >> >> which should print the converted document line by line in the terminal >> window. If it gorks, hopefully you will be able to see what it choked on and >> possibly an error message, which you can bring back to the list. >> >> Paul >> >> Hi Tim, >> >> do you have any progr
Re: lyx2lyx fails to convert
Hi Tim, you have to change your command - lyx2lyx is a folder in Resources: $ /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx -v Contrast\ paper.lyx > /dev/null … In case it’s a python problem the following command and it’s output is of interest: $ /usr/bin/env python --version Python 3.8.13 Stephan > Am 21.08.2022 um 06:06 schrieb Tim Garrett : > > Sorry, probably being dense here but this is what I get after finding the > function > > /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx -v > Contrast\ paper.lyx > zsh: permission denied: > /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx > > Thanks for helping out here. Been a LyX user since 2001 when it was KLyX and > this is the first time I’ve seen this. > > Tim > > On 20 Aug 2022, at 3:57, Stephan Witt wrote: > > Am 18.08.2022 um 18:07 schrieb Paul A. Rubin : > > On 8/18/22 11:15, Tim J Garrett wrote: > > Running MacOS Monterrey and getting this error message trying to open old lyx > files as recent as 2016: > > “file.lyx is from an older version of LyX and the lyx2lyx script failed to > convert it.” > > Unclear what to do from online forums. Any advice? I’m not a developer, so > step-by-step would be appreciated. I have tried installing old versions of > lyx but without success. Below is the lyx preamble > > Thanks > > Tim > > #LyX 2.1 created this file. For more info see http://www.lyx.org/ > \lyxformat 474 > \begin_document > \begin_header > \textclass article > \begin_preamble > > \usepackage[left,modulo]{lineno} > \end_preamble > \options agums > \use_default_options false > \maintain_unincluded_children false > \language english > \language_package default > \inputencoding auto > \fontencoding global > \font_roman times > \font_sans default > \font_typewriter default > \font_math auto > \font_default_family default > \use_non_tex_fonts false > \font_sc false > \font_osf false > \font_sf_scale 100 > \font_tt_scale 100 > \graphics default > \default_output_format default > \output_sync 0 > \bibtex_command default > \index_command default > \float_placement h > \paperfontsize 12 > \spacing double > \use_hyperref false > \papersize letterpaper > \use_geometry true > \use_package amsmath 1 > \use_package amssymb 1 > \use_package cancel 1 > \use_package esint 0 > \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 natbib > \cite_engine_type authoryear > \biblio_style plainnat > \use_bibtopic false > \use_indices false > \paperorientation portrait > \suppress_date false > \justification true > \use_refstyle 0 > \index Index > \shortcut idx > \color #008000 > \end_index > \leftmargin 1in > \topmargin 1in > \rightmargin 1in > \bottommargin 1in > \secnumdepth 3 > \tocdepth 3 > \paragraph_separation indent > \paragraph_indentation default > \quotes_language english > \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 > > There does not seem to be any problem with the header. I created an empty LyX > document with it, and the lyx2lyx script had no issues processing it. So the > problem must be in the document body. > > You can try the following. Find the lyx2lyx executable on your system. On > Debian based Linux systems, it defaults to /usr/share/lyx/lyx2lyx/lyx2lyx. I > have no idea where it is on a Mac, so I'll just refer to the equivalent > string as "". In a terminal window, run > > -v > > which should print the converted document line by line in the terminal > window. If it gorks, hopefully you will be able to see what it choked on and > possibly an error message, which you can bring back to the list. > > Paul > > Hi Tim, > > do you have any progress with your issue? > > Did you update Monterey recently? Do you have a working Python installation? > > > Stephan > > -- > 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: lyx2lyx fails to convert
Sorry, probably being dense here but this is what I get after finding the function /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx -v Contrast\ paper.lyx zsh: permission denied: /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx Thanks for helping out here. Been a LyX user since 2001 when it was KLyX and this is the first time I’ve seen this. Tim On 20 Aug 2022, at 3:57, Stephan Witt wrote: Am 18.08.2022 um 18:07 schrieb Paul A. Rubin : On 8/18/22 11:15, Tim J Garrett wrote: Running MacOS Monterrey and getting this error message trying to open old lyx files as recent as 2016: “file.lyx is from an older version of LyX and the lyx2lyx script failed to convert it.” Unclear what to do from online forums. Any advice? I’m not a developer, so step-by-step would be appreciated. I have tried installing old versions of lyx but without success. Below is the lyx preamble Thanks Tim #LyX 2.1 created this file. For more info see http://www.lyx.org/ \lyxformat 474 \begin_document \begin_header \textclass article \begin_preamble \usepackage[left,modulo]{lineno} \end_preamble \options agums \use_default_options false \maintain_unincluded_children false \language english \language_package default \inputencoding auto \fontencoding global \font_roman times \font_sans default \font_typewriter default \font_math auto \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \float_placement h \paperfontsize 12 \spacing double \use_hyperref false \papersize letterpaper \use_geometry true \use_package amsmath 1 \use_package amssymb 1 \use_package cancel 1 \use_package esint 0 \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 natbib \cite_engine_type authoryear \biblio_style plainnat \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \justification true \use_refstyle 0 \index Index \shortcut idx \color #008000 \end_index \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language english \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 There does not seem to be any problem with the header. I created an empty LyX document with it, and the lyx2lyx script had no issues processing it. So the problem must be in the document body. You can try the following. Find the lyx2lyx executable on your system. On Debian based Linux systems, it defaults to /usr/share/lyx/lyx2lyx/lyx2lyx. I have no idea where it is on a Mac, so I'll just refer to the equivalent string as "". In a terminal window, run -v which should print the converted document line by line in the terminal window. If it gorks, hopefully you will be able to see what it choked on and possibly an error message, which you can bring back to the list. Paul Hi Tim, do you have any progress with your issue? Did you update Monterey recently? Do you have a working Python installation? Stephan-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: lyx2lyx fails to convert
Am 18.08.2022 um 18:07 schrieb Paul A. Rubin : > > On 8/18/22 11:15, Tim J Garrett wrote: >> Running MacOS Monterrey and getting this error message trying to open old >> lyx files as recent as 2016: >> >> “file.lyx is from an older version of LyX and the lyx2lyx script failed to >> convert it.” >> >> Unclear what to do from online forums. Any advice? I’m not a developer, so >> step-by-step would be appreciated. I have tried installing old versions of >> lyx but without success. Below is the lyx preamble >> >> Thanks >> >> Tim >> >> #LyX 2.1 created this file. For more info see http://www.lyx.org/ >> \lyxformat 474 >> \begin_document >> \begin_header >> \textclass article >> \begin_preamble >> >> \usepackage[left,modulo]{lineno} >> \end_preamble >> \options agums >> \use_default_options false >> \maintain_unincluded_children false >> \language english >> \language_package default >> \inputencoding auto >> \fontencoding global >> \font_roman times >> \font_sans default >> \font_typewriter default >> \font_math auto >> \font_default_family default >> \use_non_tex_fonts false >> \font_sc false >> \font_osf false >> \font_sf_scale 100 >> \font_tt_scale 100 >> \graphics default >> \default_output_format default >> \output_sync 0 >> \bibtex_command default >> \index_command default >> \float_placement h >> \paperfontsize 12 >> \spacing double >> \use_hyperref false >> \papersize letterpaper >> \use_geometry true >> \use_package amsmath 1 >> \use_package amssymb 1 >> \use_package cancel 1 >> \use_package esint 0 >> \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 natbib >> \cite_engine_type authoryear >> \biblio_style plainnat >> \use_bibtopic false >> \use_indices false >> \paperorientation portrait >> \suppress_date false >> \justification true >> \use_refstyle 0 >> \index Index >> \shortcut idx >> \color #008000 >> \end_index >> \leftmargin 1in >> \topmargin 1in >> \rightmargin 1in >> \bottommargin 1in >> \secnumdepth 3 >> \tocdepth 3 >> \paragraph_separation indent >> \paragraph_indentation default >> \quotes_language english >> \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 >> >> > > There does not seem to be any problem with the header. I created an empty LyX > document with it, and the lyx2lyx script had no issues processing it. So the > problem must be in the document body. > > You can try the following. Find the lyx2lyx executable on your system. On > Debian based Linux systems, it defaults to /usr/share/lyx/lyx2lyx/lyx2lyx. I > have no idea where it is on a Mac, so I'll just refer to the equivalent > string as "". In a terminal window, run > > -v > > which should print the converted document line by line in the terminal > window. If it gorks, hopefully you will be able to see what it choked on and > possibly an error message, which you can bring back to the list. > > Paul Hi Tim, do you have any progress with your issue? Did you update Monterey recently? Do you have a working Python installation? Stephan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: lyx2lyx fails to convert
On 8/18/22 11:15, Tim J Garrett wrote: Running MacOS Monterrey and getting this error message trying to open old lyx files as recent as 2016: “file.lyx is from an older version of LyX and the lyx2lyx script failed to convert it.” Unclear what to do from online forums. Any advice? I’m not a developer, so step-by-step would be appreciated. I have tried installing old versions of lyx but without success. Below is the lyx preamble Thanks Tim #LyX 2.1 created this file. For more info see http://www.lyx.org/ \lyxformat 474 \begin_document \begin_header \textclass article \begin_preamble \usepackage[left,modulo]{lineno} \end_preamble \options agums \use_default_options false \maintain_unincluded_children false \language english \language_package default \inputencoding auto \fontencoding global \font_roman times \font_sans default \font_typewriter default \font_math auto \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \float_placement h \paperfontsize 12 \spacing double \use_hyperref false \papersize letterpaper \use_geometry true \use_package amsmath 1 \use_package amssymb 1 \use_package cancel 1 \use_package esint 0 \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 natbib \cite_engine_type authoryear \biblio_style plainnat \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \justification true \use_refstyle 0 \index Index \shortcut idx \color #008000 \end_index \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language english \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 There does not seem to be any problem with the header. I created an empty LyX document with it, and the lyx2lyx script had no issues processing it. So the problem must be in the document body. You can try the following. Find the lyx2lyx executable on your system. On Debian based Linux systems, it defaults to /usr/share/lyx/lyx2lyx/lyx2lyx. I have no idea where it is on a Mac, so I'll just refer to the equivalent string as "". In a terminal window, run -v which should print the converted document line by line in the terminal window. If it gorks, hopefully you will be able to see what it choked on and possibly an error message, which you can bring back to the list. Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
lyx2lyx fails to convert
Running MacOS Monterrey and getting this error message trying to open old lyx files as recent as 2016: “file.lyx is from an older version of LyX and the lyx2lyx script failed to convert it.” Unclear what to do from online forums. Any advice? I’m not a developer, so step-by-step would be appreciated. I have tried installing old versions of lyx but without success. Below is the lyx preamble Thanks Tim #LyX 2.1 created this file. For more info see http://www.lyx.org/ \lyxformat 474 \begin_document \begin_header \textclass article \begin_preamble \usepackage[left,modulo]{lineno} \end_preamble \options agums \use_default_options false \maintain_unincluded_children false \language english \language_package default \inputencoding auto \fontencoding global \font_roman times \font_sans default \font_typewriter default \font_math auto \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \float_placement h \paperfontsize 12 \spacing double \use_hyperref false \papersize letterpaper \use_geometry true \use_package amsmath 1 \use_package amssymb 1 \use_package cancel 1 \use_package esint 0 \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 natbib \cite_engine_type authoryear \biblio_style plainnat \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \justification true \use_refstyle 0 \index Index \shortcut idx \color #008000 \end_index \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language english \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 -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: lyx2lyx fails to convert from a Latex file
On Monday 18 May 2009 06:18:42 pm Uwe Stöhr wrote: > Stefano Franchi schrieb: > > 3. I opened the .lyx file in an editor and the preamble says: > > > > LyX file created by tex2lyx 1.6.2 > > \lyxformat 247 > > So tex2lyx run successfully, but lyx2lyx failed to convert it further from > format 247 to 345. Can you provide a small TeX file to be able to reproduce > the problem? > > regards Uwe Oh well, I can't reproduce it any longer. I tried several times yesterday and failed, eventually resorting to the hack I described. Today, of course, the direct conversion from within Lyx worked liked a charm. I suppose it'll go down in my book as another Lyx mystery. I have more files to convert in the next few days. I'll post a short example is something goes wrong again. Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A&M University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: lyx2lyx fails to convert from a Latex file
Stefano Franchi schrieb: 3. I opened the .lyx file in an editor and the preamble says: LyX file created by tex2lyx 1.6.2 \lyxformat 247 So tex2lyx run successfully, but lyx2lyx failed to convert it further from format 247 to 345. Can you provide a small TeX file to be able to reproduce the problem? regards Uwe
lyx2lyx fails to convert from a Latex file
I am encountering a strange problem: I am trying to import a LaTex file but I cannot get lyx to properly import it, because lyx2lyx (which I didn't know was used in this process) fails to convert the .lyx file produced by latex2lyx Here is what I did: File>Import>Latex(plain) Error message is: [my file] is from a different version of LyX, but the lyx2lyx script failed to convert it. I thought the problem may be with the .tex file so: 1. I tried compiling from the command line--> everything is fine 2. I tried running tex2lyx from the command line --> ran flawlessly with no errors 3. I opened the .lyx file in an editor and the preamble says: LyX file created by tex2lyx 1.6.2 \lyxformat 247 \begin_document \begin_header \textclass book \begin_preamble %&LaTeX Is that where the problem is? I am running Lyx 1.6.2, and the file it produces have \lyxformat 345 4. So I took a brute force approach: I changed the \lyxformat line to read \lyxformat 345. Now the file opens in lyx, but I am a bit uncomfortable with this solution, as I may have messed up other things. So I am stumped. Can anyone help out? Thanks in advance. Stefano __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A&M University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237