Re: Test entering an endless loop in latex processing

2020-08-23 Thread Scott Kostyshak
On Mon, Aug 24, 2020 at 01:44:33AM +0200, Kornel Benko wrote: > Am Sun, 23 Aug 2020 14:36:52 -0400 > schrieb Scott Kostyshak : > > > On Sun, Aug 23, 2020 at 01:35:54PM +0200, Kornel Benko wrote: > > > Am Sun, 23 Aug 2020 11:53:25 +0200 > > > schrieb Kornel Benko : > > > > > > > Am Sun, 23 Aug

Re: Test entering an endless loop in latex processing

2020-08-23 Thread Kornel Benko
Am Sun, 23 Aug 2020 14:36:52 -0400 schrieb Scott Kostyshak : > On Sun, Aug 23, 2020 at 01:35:54PM +0200, Kornel Benko wrote: > > Am Sun, 23 Aug 2020 11:53:25 +0200 > > schrieb Kornel Benko : > > > > > Am Sun, 23 Aug 2020 10:09:24 +0200 > > > schrieb Jürgen Spitzmüller : > > > > > > > Am

Re: Test entering an endless loop in latex processing

2020-08-23 Thread Scott Kostyshak
On Sun, Aug 23, 2020 at 01:35:54PM +0200, Kornel Benko wrote: > Am Sun, 23 Aug 2020 11:53:25 +0200 > schrieb Kornel Benko : > > > Am Sun, 23 Aug 2020 10:09:24 +0200 > > schrieb Jürgen Spitzmüller : > > > > > Am Samstag, den 22.08.2020, 14:34 +0200 schrieb Kornel Benko: > > > > OK. In the mean

Re: Test entering an endless loop in latex processing

2020-08-23 Thread Kornel Benko
Am Sun, 23 Aug 2020 11:53:25 +0200 schrieb Kornel Benko : > Am Sun, 23 Aug 2020 10:09:24 +0200 > schrieb Jürgen Spitzmüller : > > > Am Samstag, den 22.08.2020, 14:34 +0200 schrieb Kornel Benko: > > > OK. In the mean time, (I don't expect a solution in the near future) > > > we should use your

Re: Test entering an endless loop in latex processing

2020-08-23 Thread Kornel Benko
Am Sun, 23 Aug 2020 10:09:24 +0200 schrieb Jürgen Spitzmüller : > Am Samstag, den 22.08.2020, 14:34 +0200 schrieb Kornel Benko: > > OK. In the mean time, (I don't expect a solution in the near future) > > we should use your patch. Just my 2c. > > I went for alphabetic ordering now. > > Jürgen

Re: Test entering an endless loop in latex processing

2020-08-23 Thread Jürgen Spitzmüller
Am Samstag, den 22.08.2020, 14:34 +0200 schrieb Kornel Benko: > OK. In the mean time, (I don't expect a solution in the near future) > we should use your patch. Just my 2c. I went for alphabetic ordering now. Jürgen signature.asc Description: This is a digitally signed message part --

Re: Test entering an endless loop in latex processing

2020-08-22 Thread Kornel Benko
Am Sat, 22 Aug 2020 14:25:53 +0200 schrieb Jürgen Spitzmüller : > Am Samstag, den 22.08.2020, 14:04 +0200 schrieb Kornel Benko: > > The other thing is the unspecified sequence of documentclass options. > > We have to expect different outcome depending on the phase of moon. > > The order really

Re: Test entering an endless loop in latex processing

2020-08-22 Thread Jürgen Spitzmüller
Am Samstag, den 22.08.2020, 14:04 +0200 schrieb Kornel Benko: > The other thing is the unspecified sequence of documentclass options. > We have to expect different outcome depending on the phase of moon. The order really should not matter. And as you demonstrated, the sequence also differs for

Re: Test entering an endless loop in latex processing

2020-08-22 Thread Kornel Benko
Am Sat, 22 Aug 2020 13:39:28 +0200 schrieb Jürgen Spitzmüller : > Am Samstag, den 22.08.2020, 11:39 +0200 schrieb Kornel Benko: > > Looks good. The endless loop is gone :) > > Thanks. I first try to get it fixed upstream. If this doesn't work, we > can still commit this ugly workaround. > >

Re: Test entering an endless loop in latex processing

2020-08-22 Thread Jürgen Spitzmüller
Am Samstag, den 22.08.2020, 11:39 +0200 schrieb Kornel Benko: > Looks good. The endless loop is gone :) Thanks. I first try to get it fixed upstream. If this doesn't work, we can still commit this ugly workaround. Jürgen signature.asc Description: This is a digitally signed message part --

Re: Test entering an endless loop in latex processing

2020-08-22 Thread Kornel Benko
Am Sat, 22 Aug 2020 11:18:58 +0200 schrieb Jürgen Spitzmüller : > Am Samstag, den 22.08.2020, 10:28 +0200 schrieb Jürgen Spitzmüller: > > What we can do is to assure that hebrew is always output after arabic > > and farsi. But this of course only works if Arabic or Farsi are not > > the main

Re: Test entering an endless loop in latex processing

2020-08-22 Thread Jürgen Spitzmüller
Am Samstag, den 22.08.2020, 10:28 +0200 schrieb Jürgen Spitzmüller: > What we can do is to assure that hebrew is always output after arabic > and farsi. But this of course only works if Arabic or Farsi are not > the main language. This would be something like the attached. Kornel, Scott, does

Re: Test entering an endless loop in latex processing

2020-08-22 Thread Jürgen Spitzmüller
Am Samstag, den 22.08.2020, 10:28 +0200 schrieb Jürgen Spitzmüller: > My guess is that arabicore.sty (use by Farsi and Arabic) and > lhbabel.def (used by Hebrew) redefine \everypar in incompatible ways. > > What we can do is to assure that hebrew is always output after arabic > and farsi. But

Re: Test entering an endless loop in latex processing

2020-08-22 Thread Jürgen Spitzmüller
Am Freitag, den 21.08.2020, 19:06 +0200 schrieb Kornel Benko: > This version does hang. Switch the commented documentclass, and now > the compilation does not hang. It boils down to the order of hebrew and farsi (or arabic): \documentclass[ hebrew,% breaks farsi,% or:

Re: Test entering an endless loop in latex processing

2020-08-22 Thread Jürgen Spitzmüller
Am Freitag, den 21.08.2020, 13:33 -0400 schrieb Scott Kostyshak: > Thanks to you two for looking into this annoying problem. I don't > have > much time to contribute or test. > > The following ML thread is relevant. I'm not sure it contains any > additional information but I put it nonetheless at

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Scott Kostyshak
On Fri, Aug 21, 2020 at 07:51:43PM +0200, Kornel Benko wrote: > Am Fri, 21 Aug 2020 13:33:58 -0400 > schrieb Scott Kostyshak : > > > > > Thanks. Could you send also the other file, for comparison? > > > > > > It is too edited (the documentclass line) > > > > Thanks to you two for looking

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Kornel Benko
Am Fri, 21 Aug 2020 13:33:58 -0400 schrieb Scott Kostyshak : > > > Thanks. Could you send also the other file, for comparison? > > > > It is too edited (the documentclass line) > > Thanks to you two for looking into this annoying problem. I don't have > much time to contribute or test. > >

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Scott Kostyshak
On Fri, Aug 21, 2020 at 07:21:13PM +0200, Kornel Benko wrote: > Am Fri, 21 Aug 2020 19:13:32 +0200 > schrieb Jürgen Spitzmüller : > > > Am Freitag, den 21.08.2020, 19:06 +0200 schrieb Kornel Benko: > > > > Are these the only differences in the tex file? > > > > > > No, but others are only the

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Kornel Benko
Am Fri, 21 Aug 2020 19:13:32 +0200 schrieb Jürgen Spitzmüller : > Am Freitag, den 21.08.2020, 19:06 +0200 schrieb Kornel Benko: > > > Are these the only differences in the tex file? > > > > No, but others are only the sequence of defining some latex commands. > > But this should also not

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Jürgen Spitzmüller
Am Freitag, den 21.08.2020, 19:06 +0200 schrieb Kornel Benko: > > Are these the only differences in the tex file? > > No, but others are only the sequence of defining some latex commands. But this should also not differ. > > > And does the first tex file also hang if you run pdflatex directly?

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Kornel Benko
Am Fri, 21 Aug 2020 18:50:37 +0200 schrieb Jürgen Spitzmüller : > Am Freitag, den 21.08.2020, 18:18 +0200 schrieb Kornel Benko: > > $ egrep cache Testing/.lyx/preferences > > \converter_cache_maxage 15552000 > > \use_converter_cache false > > > > But I suspect now differences in

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Jürgen Spitzmüller
Am Freitag, den 21.08.2020, 18:18 +0200 schrieb Kornel Benko: > $ egrep cache Testing/.lyx/preferences > \converter_cache_maxage 15552000 > \use_converter_cache false > > But I suspect now differences in the used tex-files. > The main difference (as I see it) is the definition of

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Kornel Benko
Am Fri, 21 Aug 2020 17:48:47 +0200 schrieb Jürgen Spitzmüller : > Kornel Benko schrieb am Fr., 21. Aug. 2020, 17:13: > > > Sure? > > > > Sure. The execution time of pdflatex is constantly increasing. > > I meant: sure cache is disabled? > > > Mark, that this is only a single export (no

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Jürgen Spitzmüller
Kornel Benko schrieb am Fr., 21. Aug. 2020, 17:13: > > Sure? > > Sure. The execution time of pdflatex is constantly increasing. I meant: sure cache is disabled? > Mark, that this is only a single export (no other lyx instance is > involved) Still there might be different threats trying to

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Kornel Benko
Am Fri, 21 Aug 2020 17:00:34 +0200 schrieb Jürgen Spitzmüller : > Am Fr., 21. Aug. 2020 um 16:41 Uhr schrieb Kornel Benko : > > > There is a problem. Endless loop in pdflatex if disabled cache > > > > Sure? Sure. The execution time of pdflatex is constantly increasing. What I can do is post

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Jürgen Spitzmüller
Am Fr., 21. Aug. 2020 um 16:41 Uhr schrieb Kornel Benko : > There is a problem. Endless loop in pdflatex if disabled cache > Sure? > > Also it strongly depends on the actual environment of LYX_DEBUG_LATEX (1 > or 0) > > The test runs lyx with '-dbg latex' if LYX_DEBUG_LATEX=1 (no hang) > else

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Kornel Benko
Am Fri, 21 Aug 2020 15:56:01 +0200 schrieb Jürgen Spitzmüller : > Am Fr., 21. Aug. 2020 um 14:19 Uhr schrieb Kornel Benko : > > > Correction. If I disable the conversion cache, I can export again. > > > > Also if you manually delete the contents of the cache? > > Do you get any helpful clue if

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Jürgen Spitzmüller
Am Fr., 21. Aug. 2020 um 14:19 Uhr schrieb Kornel Benko : > Correction. If I disable the conversion cache, I can export again. > Also if you manually delete the contents of the cache? Do you get any helpful clue if you run the hanging lyx run with "-dbg any"? Jürgen > (The commands above

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Kornel Benko
Am Fri, 21 Aug 2020 13:58:46 +0200 schrieb Kornel Benko : > Am Fri, 21 Aug 2020 13:25:31 +0200 > schrieb Jürgen Spitzmüller : > > > Am Fr., 21. Aug. 2020 um 12:21 Uhr schrieb Kornel Benko : > > > > > > Does it help if you "Clear all session information" in Prefs > Look & > > > > Feel >

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Kornel Benko
Am Fri, 21 Aug 2020 13:25:31 +0200 schrieb Jürgen Spitzmüller : > Am Fr., 21. Aug. 2020 um 12:21 Uhr schrieb Kornel Benko : > > > > Does it help if you "Clear all session information" in Prefs > Look & > > > Feel > Document Handling? > > > > ATM, it helped, yes. > > > > Can you reproduce the

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Jürgen Spitzmüller
Am Fr., 21. Aug. 2020 um 12:21 Uhr schrieb Kornel Benko : > > Does it help if you "Clear all session information" in Prefs > Look & > > Feel > Document Handling? > > ATM, it helped, yes. > Can you reproduce the hanging when trying to compile the file manually from the GUI? If so, does this

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Kornel Benko
Am Fri, 21 Aug 2020 11:34:25 +0200 schrieb Jürgen Spitzmüller : > Am Samstag, den 15.08.2020, 20:04 +0200 schrieb Kornel Benko: > > > Am Samstag, den 15.08.2020, 16:02 +0200 schrieb Kornel Benko: > > > > This one is really bad, maybe not even lyx's fault. > > > > > > > > TL2020: > > > >

Re: Test entering an endless loop in latex processing

2020-08-21 Thread Jürgen Spitzmüller
Am Samstag, den 15.08.2020, 20:04 +0200 schrieb Kornel Benko: > > Am Samstag, den 15.08.2020, 16:02 +0200 schrieb Kornel Benko: > > > This one is really bad, maybe not even lyx's fault. > > > > > > TL2020: > > > export/export/latex/languages/supported-languages_babel_auto- > > > legacy_pdf2 > >

Re: Test entering an endless loop in latex processing

2020-08-15 Thread Kornel Benko
Am Sat, 15 Aug 2020 17:58:18 +0200 schrieb Jürgen Spitzmüller : > Am Samstag, den 15.08.2020, 16:02 +0200 schrieb Kornel Benko: > > This one is really bad, maybe not even lyx's fault. > > > > TL2020: > > export/export/latex/languages/supported-languages_babel_auto- > > legacy_pdf2 > > This

Re: Test entering an endless loop in latex processing

2020-08-15 Thread Jürgen Spitzmüller
Am Samstag, den 15.08.2020, 16:02 +0200 schrieb Kornel Benko: > This one is really bad, maybe not even lyx's fault. > > TL2020: > export/export/latex/languages/supported-languages_babel_auto- > legacy_pdf2 This compiles for me (at 3c5c41ddc2d4a4). Jürgen signature.asc Description: This is a