Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Typo On 22/02/2018 13:49, Dr Eberhard Lisse wrote: [...] > find ~/ -name '*lyx' -exec {} lyx -batch --execute ... {} \; [...] should of course read find ~/ -name '*lyx' -exec lyx -batch --execute ... {} \;
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
That works well and is quite cool. But it only works for one file and I could not figure out how how to do this with -batch --execute which would evenually work well as something like find ~/ -name '*lyx' -exec {} lyx -batch --execute ... {} \; on Mac and Linux. And of course something like this perl -i.withcurly -0pe 's/\\begin_inset Separator latexpar\n\\end_inset\n//smi' file.lyx will convert file.lyx leaving the original in file.lyx.withcurly (for furture removal) and once one is satisfied one can even do something like find ~/ -name '*lyx' -exec perl -i -0pe 's/\\begin_inset Separator latexpar\n\\end_inset\n//smi' {} \; which leaves no trace :-)-O el On 21/02/2018 17:04, Jürgen Spitzmüller wrote: [...] > The following command sequence (to be inserted in the minibuffer) > removes all latexpar separators in the document and transforms the par > separator to normal separators: > > command-sequence inset-forall Separator:parbreak inset-modify > separator plain ; inset-forall Separator:latexpar char-delete-forward > > HTH > Jürgen [...]
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Mittwoch, den 21.02.2018, 16:13 +0100 schrieb Wolfgang Engelmann: > very good! Thanks a lot, Jürgen! The minibuffer goes where? Alt+x Jürgen > Wolfgang > > HTH > > Jürgen > > > > > Wolfgang > > signature.asc Description: This is a digitally signed message part
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am 21.02.2018 um 16:04 schrieb Jürgen Spitzmüller: Am Mittwoch, den 21.02.2018, 15:56 +0100 schrieb Wolfgang Engelmann: I could send a presentation with those curled arrows (tomorrow, if wanted). They can not be cut and pasted, otherwise one might be able to find out the coding and use a replacement. Note that in many cases, the separator insertion is intended to maintain the output of old documents. I have attached a lyx file which shows (only) the bend arrow. If looked at the file with an editor it shows for the body part: \begin_body \begin_layout Standard \begin_inset Separator latexpar \end_inset \end_layout \begin_layout Standard \end_layout \end_body \end_document The bend arrow in the lyx display corresponds to \begin_inset Separator latexpar as found out by the gurus. My question is, whether it is safe for a large document (e.g. books) to open the lyx file with an editor, remove begin_inset Separator, save it and run lyx again, hopefully successfully. However, the latexpar should also be removed, and this can also be something else (the bend arrows occur also in a legend, at the end of chapters, sections etc). So it should be removed in some more eleborate way (SED??). Or is there a better way? It would save a lot of time instead of removing those separator beasts by hand, if I need older lyx files for the newer lyx versions. The following command sequence (to be inserted in the minibuffer) removes all latexpar separators in the document and transforms the par separator to normal separators: command-sequence inset-forall Separator:parbreak inset-modify separator plain ; inset-forall Separator:latexpar char-delete-forward very good! Thanks a lot, Jürgen! The minibuffer goes where? Wolfgang HTH Jürgen Wolfgang
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Mittwoch, den 21.02.2018, 15:56 +0100 schrieb Wolfgang Engelmann: > > I could send a presentation with those curled arrows (tomorrow, if > > wanted). They can not be cut and pasted, otherwise one might be > > able > > to find out the coding and use a replacement. Note that in many cases, the separator insertion is intended to maintain the output of old documents. > I have attached a lyx file which shows (only) the bend arrow. If > looked > at the file with an editor it shows for the body part: > > \begin_body > \begin_layout Standard > \begin_inset Separator latexpar > \end_inset > \end_layout > \begin_layout Standard > \end_layout > \end_body > \end_document > > The bend arrow in the lyx display corresponds to > \begin_inset Separator latexpar > as found out by the gurus. > > My question is, whether it is safe for a large document (e.g. books) > to > open the lyx file with an editor, remove begin_inset Separator, save > it > and run lyx again, hopefully successfully. However, the latexpar > should > also be removed, and this can also be something else (the bend > arrows > occur also in a legend, at the end of chapters, sections etc). So it > should be removed in some more eleborate way (SED??). Or is there a > better way? > It would save a lot of time instead of removing those separator > beasts > by hand, if I need older lyx files for the newer lyx versions. The following command sequence (to be inserted in the minibuffer) removes all latexpar separators in the document and transforms the par separator to normal separators: command-sequence inset-forall Separator:parbreak inset-modify separator plain ; inset-forall Separator:latexpar char-delete-forward HTH Jürgen > > Wolfgang signature.asc Description: This is a digitally signed message part
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am 20.02.2018 um 18:37 schrieb Wolfgang Engelmann: Am 20.02.2018 um 17:57 schrieb Guenter Milde: On 2018-02-20, Dr Eberhard Lisse wrote: I found masses of these when switching to 2.2 (I think) and I resolved this with a perl script if I remember correctly :-)-O Do you still have the originals? This could help us a lot to test whether the fix is correct. Günter I could send a presentation with those curled arrows (tomorrow, if wanted). They can not be cut and pasted, otherwise one might be able to find out the coding and use a replacement. I have attached a lyx file which shows (only) the bend arrow. If looked at the file with an editor it shows for the body part: \begin_body \begin_layout Standard \begin_inset Separator latexpar \end_inset \end_layout \begin_layout Standard \end_layout \end_body \end_document The bend arrow in the lyx display corresponds to \begin_inset Separator latexpar as found out by the gurus. My question is, whether it is safe for a large document (e.g. books) to open the lyx file with an editor, remove begin_inset Separator, save it and run lyx again, hopefully successfully. However, the latexpar should also be removed, and this can also be something else (the bend arrows occur also in a legend, at the end of chapters, sections etc). So it should be removed in some more eleborate way (SED??). Or is there a better way? It would save a lot of time instead of removing those separator beasts by hand, if I need older lyx files for the newer lyx versions. Wolfgang TEST-bendArrow-A.22.lyx Description: application/lyx
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Well, I can look at my Time Machine backups tomorrow :-)-O el On 2018-02-20 18:57 , Guenter Milde wrote: > On 2018-02-20, Dr Eberhard Lisse wrote: >> I found masses of these when switching to 2.2 (I think) and I resolved >> this with a perl script if I remember correctly :-)-O > > Do you still have the originals? This could help us a lot to test whether > the fix is correct. > > Günter > >
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am 20.02.2018 um 17:57 schrieb Guenter Milde: On 2018-02-20, Dr Eberhard Lisse wrote: I found masses of these when switching to 2.2 (I think) and I resolved this with a perl script if I remember correctly :-)-O Do you still have the originals? This could help us a lot to test whether the fix is correct. Günter I could send a presentation with those curled arrows (tomorrow, if wanted). They can not be cut and pasted, otherwise one might be able to find out the coding and use a replacement.
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
On 2018-02-20, Dr Eberhard Lisse wrote: > I found masses of these when switching to 2.2 (I think) and I resolved > this with a perl script if I remember correctly :-)-O Do you still have the originals? This could help us a lot to test whether the fix is correct. Günter
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
I found masses of these when switching to 2.2 (I think) and I resolved this with a perl script if I remember correctly :-)-O el On 19/02/2018 11:35, Wolfgang Engelmann wrote: > > > Am 19.02.2018 um 09:42 schrieb Jürgen Spitzmüller: >> Am Montag, den 19.02.2018, 09:28 +0100 schrieb Kornel Benko: >>> OK, created MWE. >> But this MWE already contains the latexpar separator. And the crucial >> question is how this was added in the first place. >> >> Jürgen >> >>> Kornel > Kornel, Jürgen, I went back to an older lyx file (another book) and > found that this can not be processed by lyx2.3.0.beta1. > I could send the old lyx file (1999) which was: > #This file was created by Thu Sep 30 18:13:25 1999 > #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team > \lyxformat 2.15 > > I found the curled arrow sign behind the inserted fig e1f2.eps and in > the index > Science Citation Index > > I could send the exported lyx2.3.0.beta1 tex file to you privately > (because of its length and since it is uninteresting for the user group > members. If you need also the original lyx file too (I think that is the > important one for you), let me know. > > Wolfgang >
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
On 02/19/2018 10:40 AM, Jürgen Spitzmüller wrote: > Am Montag, den 19.02.2018, 13:01 +0100 schrieb Kornel Benko: >> OK, got it down to this: > Excellent. Here is my analysis. > > Since this is a very old document, it has "\layout Standard" in insets. > Now as of format 315 (for LyX 1.6), we switched to "\begin_layout > PlainLayout" and shortly afterwards "\begin_layout Plain Layout" inside > insets. But we do not actually convert "Standard" to "Plain Layout" > (probably since it is hard to predict where to do that and since we > rely on LyX doing that anyway), so the insets keep having > "\begin_layout Standard". > > Now the convert_separator routine (format 475) checks whether we are > inside a text inset precisely by looking for "Plain Layout". This of > course fails here, hence the separator is inserted (lyx_2_2.py:186ff.) > > I am not sure if there is an easy fix for this. The "real" fix would be > to actually change Standard to PlainLayout in 315, but I suppose there > were reasons for not doing that. The one you mentioned, basically: Whether to use PlainLayout is set by information in the layout files (ForcePlain), to which we do not have access. But you found a solution, so good! Richard
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Montag, 19. Februar 2018 16:58:51 CET schrieb Jürgen Spitzmüller : > Am Montag, den 19.02.2018, 16:40 +0100 schrieb Jürgen Spitzmüller: > > I am not sure if there is an easy fix for this. The "real" fix would > > be > > to actually change Standard to PlainLayout in 315, but I suppose > > there > > were reasons for not doing that. I am not sure if the check in > > convert_separator can be adapted to cover these old cases. > > I found a solution: Check whether there is and inset end before current > layout begin and previous layout end. See attached patch. > > Jürgen > > > Jürgen > > Yes, works for me. +1 for commit. Kornel
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Montag, den 19.02.2018, 16:40 +0100 schrieb Jürgen Spitzmüller: > I am not sure if there is an easy fix for this. The "real" fix would > be > to actually change Standard to PlainLayout in 315, but I suppose > there > were reasons for not doing that. I am not sure if the check in > convert_separator can be adapted to cover these old cases. I found a solution: Check whether there is and inset end before current layout begin and previous layout end. See attached patch. Jürgen > > Jürgen > > > > > Korneldiff --git a/lib/lyx2lyx/lyx_2_2.py b/lib/lyx2lyx/lyx_2_2.py index cb1731304e..2dd749ad78 100644 --- a/lib/lyx2lyx/lyx_2_2.py +++ b/lib/lyx2lyx/lyx_2_2.py @@ -189,6 +189,10 @@ def convert_separator(document): j = find_token_backwards(document.body, "\\end_layout", i-1) if j != -1: +n = find_token(document.body, "\\end_inset", j, lay[1]) +if n != -1: +i = i + 1 +continue lay = get_containing_layout(document.body, j-1) if lay != False and lay[0] == "Standard" \ and find_token(document.body, "\\align", lay[1], lay[2]) == -1 \ signature.asc Description: This is a digitally signed message part
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Montag, den 19.02.2018, 13:01 +0100 schrieb Kornel Benko: > OK, got it down to this: Excellent. Here is my analysis. Since this is a very old document, it has "\layout Standard" in insets. Now as of format 315 (for LyX 1.6), we switched to "\begin_layout PlainLayout" and shortly afterwards "\begin_layout Plain Layout" inside insets. But we do not actually convert "Standard" to "Plain Layout" (probably since it is hard to predict where to do that and since we rely on LyX doing that anyway), so the insets keep having "\begin_layout Standard". Now the convert_separator routine (format 475) checks whether we are inside a text inset precisely by looking for "Plain Layout". This of course fails here, hence the separator is inserted (lyx_2_2.py:186ff.) I am not sure if there is an easy fix for this. The "real" fix would be to actually change Standard to PlainLayout in 315, but I suppose there were reasons for not doing that. I am not sure if the check in convert_separator can be adapted to cover these old cases. Jürgen > > Kornel > signature.asc Description: This is a digitally signed message part
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Montag, 19. Februar 2018 10:54:25 CET schrieb Jürgen Spitzmüller : > Am Montag, den 19.02.2018, 10:35 +0100 schrieb Wolfgang Engelmann: > > Kornel, Jürgen, I went back to an older lyx file (another book) and > > found that this can not be processed by lyx2.3.0.beta1. > > I could send the old lyx file (1999) which was: > > #This file was created by Thu Sep 30 18:13:25 1999 > > #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team > > \lyxformat 2.15 > > > > I found the curled arrow sign behind the inserted fig e1f2.eps and > > in > > the index > > Science Citation Index > > > > I could send the exported lyx2.3.0.beta1 tex file to you privately > > (because of its length and since it is uninteresting for the user > > group > > members. If you need also the original lyx file too (I think that is > > the > > important one for you), let me know. > > Please send the _original_ LyX file (the old one before importing to > LYX 2.3beta) via PM. > > Jürgen > > > Wolfgang OK, got it down to this: Kornel ren99i.lyx Description: application/lyx
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Montag, den 19.02.2018, 10:35 +0100 schrieb Wolfgang Engelmann: > Kornel, Jürgen, I went back to an older lyx file (another book) and > found that this can not be processed by lyx2.3.0.beta1. > I could send the old lyx file (1999) which was: > #This file was created by Thu Sep 30 18:13:25 1999 > #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team > \lyxformat 2.15 > > I found the curled arrow sign behind the inserted fig e1f2.eps and > in > the index > Science Citation Index > > I could send the exported lyx2.3.0.beta1 tex file to you privately > (because of its length and since it is uninteresting for the user > group > members. If you need also the original lyx file too (I think that is > the > important one for you), let me know. Please send the _original_ LyX file (the old one before importing to LYX 2.3beta) via PM. Jürgen > > Wolfgang signature.asc Description: This is a digitally signed message part
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Montag, 19. Februar 2018 10:35:17 CET schrieb Wolfgang Engelmann : > Am 19.02.2018 um 09:42 schrieb Jürgen Spitzmüller: > > Am Montag, den 19.02.2018, 09:28 +0100 schrieb Kornel Benko: > >> OK, created MWE. > > > > But this MWE already contains the latexpar separator. And the crucial > > question is how this was added in the first place. > > > > Jürgen > > > >>Kornel > > Kornel, Jürgen, I went back to an older lyx file (another book) and > found that this can not be processed by lyx2.3.0.beta1. > I could send the old lyx file (1999) which was: > #This file was created by Thu Sep 30 18:13:25 1999 > #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team > \lyxformat 2.15 > > I found the curled arrow sign behind the inserted fig e1f2.eps and in > the index > Science Citation Index > > I could send the exported lyx2.3.0.beta1 tex file to you privately > (because of its length and since it is uninteresting for the user group > members. If you need also the original lyx file too (I think that is the > important one for you), let me know. > > Wolfgang I think, only the original file is important. Kornel
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am 19.02.2018 um 09:42 schrieb Jürgen Spitzmüller: Am Montag, den 19.02.2018, 09:28 +0100 schrieb Kornel Benko: OK, created MWE. But this MWE already contains the latexpar separator. And the crucial question is how this was added in the first place. Jürgen Kornel Kornel, Jürgen, I went back to an older lyx file (another book) and found that this can not be processed by lyx2.3.0.beta1. I could send the old lyx file (1999) which was: #This file was created by Thu Sep 30 18:13:25 1999 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 I found the curled arrow sign behind the inserted fig e1f2.eps and in the index Science Citation Index I could send the exported lyx2.3.0.beta1 tex file to you privately (because of its length and since it is uninteresting for the user group members. If you need also the original lyx file too (I think that is the important one for you), let me know. Wolfgang
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Montag, den 19.02.2018, 09:28 +0100 schrieb Kornel Benko: > OK, created MWE. But this MWE already contains the latexpar separator. And the crucial question is how this was added in the first place. Jürgen > > Kornel signature.asc Description: This is a digitally signed message part
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Montag, 19. Februar 2018 08:38:44 CET schrieb Wolfgang Engelmann : > Is this sufficient? OK, created MWE. Kornel test2.lyx Description: application/lyx
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Montag, den 19.02.2018, 07:46 +0100 schrieb Wolfgang Engelmann: > The ORIGINAL (old) file: > > \begin_layout Standard > If you look at White Clover > \begin_inset Index idx > status collapsed > > \begin_layout Plain Layout > White Clover > \begin_inset Separator latexpar > \end_inset So the separator (the problematic inset) is already in the original file! Are you sure you don't already get the error with LyX 2.2? Jürgen signature.asc Description: This is a digitally signed message part
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am 19.02.2018 um 08:29 schrieb Kornel Benko: Am Montag, 19. Februar 2018 07:46:11 CET schrieb Wolfgang Engelmann : Am 18.02.2018 um 23:10 schrieb Richard Heck: On 02/18/2018 01:46 PM, Wolfgang Engelmann wrote: I am including a lyx file which is part of an older lyx file (around 2009) and run by lyx2.3.0beta1. The error message (see below) after producing a pdf file was due to an arrow-type sign at the end of an index entry. If removed, it works. Since it took me quite some time to find out, I thought to report on it, to safe others time and nerves who run into it. This sign did not exist in the original and occurs after importing the file into the new lyx version. It's mainly found at the end of an index entry, but also at the end of some legends or even at the end of some sections, chapters... I tried to copy the sign here, but it gave this vertical space seen below. It might just be an empty space which has been transformed into this sign during the conversion. Would be helpful to eliminate it by adjusting the newer versions. This is definitely a bug. I'm not sure why that's being added there. Richard Sorry, I should have done this, but since I didn't have (and didn't know which one) an old enough lyx, I just copy the parts using en editor: Also the start of the original lyx file is important (e.g. the version) like ## #This file was created by Thu Apr 23 18:05:11 1998 #LyX 0.12 (C) 1995-1998 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass article \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default Kornel Is this sufficient? ## #LyX 2.2 created this file. For more info see http://www.lyx.org/ \lyxformat 508 \begin_document \begin_header \save_transient_properties true \origin unavailable \textclass scrbook \begin_preamble %\usepackage[english,ngerman]{babel} \usepackage[pdftex,pagebackref=true,hyperindex=true]{hyperref} %\usepackage{hyperref} %\usepackage{href} \usepackage{url} ## Wolfgang
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am Montag, 19. Februar 2018 07:46:11 CET schrieb Wolfgang Engelmann : > Am 18.02.2018 um 23:10 schrieb Richard Heck: > > On 02/18/2018 01:46 PM, Wolfgang Engelmann wrote: > >> I am including a lyx file which is part of an older lyx file (around > >> 2009) and run by lyx2.3.0beta1. > >> > >> The error message (see below) after producing a pdf file was due to an > >> arrow-type sign at the end of an index entry. If removed, it works. > >> > >> Since it took me quite some time to find out, I thought to report on > >> it, to safe others time and nerves who run into it. This sign did not > >> exist in the original and occurs after importing the file into the new > >> lyx version. It's mainly found at the end of an index entry, but also > >> at the end of some legends or even at the end of some sections, > >> chapters... > >> > >> I tried to copy the sign here, but it gave this vertical space seen > >> below. It might just be an empty space which has been transformed into > >> this sign during the conversion. Would be helpful to eliminate it by > >> adjusting the newer versions. > > > > This is definitely a bug. I'm not sure why that's being added there. > > > > Richard > > Sorry, I should have done this, but since I didn't have (and didn't know > which one) an old enough lyx, I just copy the parts using en editor: Also the start of the original lyx file is important (e.g. the version) like ## #This file was created by Thu Apr 23 18:05:11 1998 #LyX 0.12 (C) 1995-1998 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass article \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default Kornel
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
Am 18.02.2018 um 23:10 schrieb Richard Heck: On 02/18/2018 01:46 PM, Wolfgang Engelmann wrote: I am including a lyx file which is part of an older lyx file (around 2009) and run by lyx2.3.0beta1. The error message (see below) after producing a pdf file was due to an arrow-type sign at the end of an index entry. If removed, it works. Since it took me quite some time to find out, I thought to report on it, to safe others time and nerves who run into it. This sign did not exist in the original and occurs after importing the file into the new lyx version. It's mainly found at the end of an index entry, but also at the end of some legends or even at the end of some sections, chapters... I tried to copy the sign here, but it gave this vertical space seen below. It might just be an empty space which has been transformed into this sign during the conversion. Would be helpful to eliminate it by adjusting the newer versions. This is definitely a bug. I'm not sure why that's being added there. Richard Sorry, I should have done this, but since I didn't have (and didn't know which one) an old enough lyx, I just copy the parts using en editor: # The ORIGINAL (old) file: \begin_layout Standard If you look at White Clover \begin_inset Index idx /status collapsed/ \begin_layout Plain Layout White Clover \begin_inset Separator latexpar \end_inset \end_layout \end_inset on a meadow ## The CONVERTED (new) file: \begin_layout Standard If you look at White Clover \begin_inset Index idx /status open/ \begin_layout Plain Layout White Clover \begin_inset Separator latexpar \end_inset \end_layout \end_inset on a meadow I have italized the difference. Hope this helps, Cheers and thanks, Wolfgang
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
On Sun, Feb 18, 2018 at 10:10:15PM +, Richard Heck wrote: > On 02/18/2018 01:46 PM, Wolfgang Engelmann wrote: > > > > I am including a lyx file which is part of an older lyx file (around > > 2009) and run by lyx2.3.0beta1. > > > > The error message (see below) after producing a pdf file was due to an > > arrow-type sign at the end of an index entry. If removed, it works. > > > > Since it took me quite some time to find out, I thought to report on > > it, to safe others time and nerves who run into it. This sign did not > > exist in the original and occurs after importing the file into the new > > lyx version. It's mainly found at the end of an index entry, but also > > at the end of some legends or even at the end of some sections, > > chapters... > > > > I tried to copy the sign here, but it gave this vertical space seen > > below. It might just be an empty space which has been transformed into > > this sign during the conversion. Would be helpful to eliminate it by > > adjusting the newer versions. > > > > This is definitely a bug. +1 > I'm not sure why that's being added there. Wolfgang, do you have the same file in 2.2.x format? If so, can you send that to us? I tried to reproduce (by using 2.2.x to make all different weird index inset; and by exporting the file you sent to 2.2.x and then reimporting into 2.3.x), and I cannot. If you can send the original file in 2.2.x format it will be easier to figure out what the problem is. Thanks for this detailed bug report! Scott signature.asc Description: PGP signature
Re: older lyx file (around 2009) gives error in lyx2.3.0beta1
On 02/18/2018 01:46 PM, Wolfgang Engelmann wrote: > > I am including a lyx file which is part of an older lyx file (around > 2009) and run by lyx2.3.0beta1. > > The error message (see below) after producing a pdf file was due to an > arrow-type sign at the end of an index entry. If removed, it works. > > Since it took me quite some time to find out, I thought to report on > it, to safe others time and nerves who run into it. This sign did not > exist in the original and occurs after importing the file into the new > lyx version. It's mainly found at the end of an index entry, but also > at the end of some legends or even at the end of some sections, > chapters... > > I tried to copy the sign here, but it gave this vertical space seen > below. It might just be an empty space which has been transformed into > this sign during the conversion. Would be helpful to eliminate it by > adjusting the newer versions. > This is definitely a bug. I'm not sure why that's being added there. Richard
older lyx file (around 2009) gives error in lyx2.3.0beta1
I am including a lyx file which is part of an older lyx file (around 2009) and run by lyx2.3.0beta1. The error message (see below) after producing a pdf file was due to an arrow-type sign at the end of an index entry. If removed, it works. Since it took me quite some time to find out, I thought to report on it, to safe others time and nerves who run into it. This sign did not exist in the original and occurs after importing the file into the new lyx version. It's mainly found at the end of an index entry, but also at the end of some legends or even at the end of some sections, chapters... I tried to copy the sign here, but it gave this vertical space seen below. It might just be an empty space which has been transformed into this sign during the conversion. Would be helpful to eliminate it by adjusting the newer versions. In vase somebody is using older lyx version, it would be interesting to see, whether one of it takes it without stopping the job. Wolfgang Package lastpage Info: Please have a look at the pageslts package at (lastpage) https://www.ctan.org/pkg/pageslts (lastpage) ! on input line 153. Runaway argument? {White Clover ! Paragraph ended before \@index was complete. \par l.155 I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. ! Extra }, or forgotten \endgroup. l.156 } on a meadow I've deleted a group-closing symbol because it seems to be spurious, as in `$x}$'. But perhaps the } is legitimate and you forgot something else, as in `\hbox{$x}'. In such cases the way to recover is to insert both the forgotten and the deleted material, e.g., by typing `I$}'. ) ! Emergency stop. <*> growth16072008-N-Test.tex growth16072008-N-Test.lyx Description: application/lyx