Re: [Patch] Re: How to signal missing citation

2019-06-05 Thread Joel Kulesza
On Wed, Jun 5, 2019 at 8:47 AM Pavel Sanda wrote: > On Tue, Jun 04, 2019 at 01:51:08PM -0600, Joel Kulesza wrote: > > I also think a ???show anyway??? error on view is warranted for broken > citations, similar to when no citations are entered. > > Me too and this should be enough actually. > -

Re: Python error with master on windows

2019-06-05 Thread José Abílio Matos
On Thursday, 16 May 2019 17.37.06 WEST Jean-Marc Lasgouttes wrote: > Done. > > JMarc Thank you. This is only the first step (it controls the build time). Attached is a patch that does the same for run time. What do you think? It search first for python3 and only later for python 2. PS:

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-05 Thread Jean-Marc Lasgouttes
Le 05/06/2019 à 12:49, José Abílio Matos a écrit : On Wednesday, 5 June 2019 10.55.11 WEST Jean-Marc Lasgouttes wrote: I hope this change can be considered for inclusion in a future LyX version. Regards, Michael The problem with this approach is the same problem that we have when traversing

Re: lyx2lyx: python2 versus python3

2019-06-05 Thread José Abílio Matos
On Wednesday, 5 June 2019 10.43.05 WEST José Abílio Matos wrote: > Another difference that is quite relevant is the python3 is almost twice as > fast as python2 conversion. And that is a good thing. It is even worse (better) in the following table you have the speedup from using python3 versus

[Patch] Re: How to signal missing citation

2019-06-05 Thread Pavel Sanda
On Tue, Jun 04, 2019 at 01:51:08PM -0600, Joel Kulesza wrote: > I also think a ???show anyway??? error on view is warranted for broken > citations, similar to when no citations are entered. Me too and this should be enough actually. - Patch 1 will err when citation is broken - adding patch 2 on

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-05 Thread José Abílio Matos
On Wednesday, 5 June 2019 10.55.11 WEST Jean-Marc Lasgouttes wrote: > > --- lyxgit/lib/scripts/TeXFiles.py 2019-05-31 16:27:47.0 > > +0200 > > +++ lyxgit/lib/scripts/TeXFiles.py 2019-05-29 10:38:25.0 > > +0200 > > @@ -116,7 +116,7 @@ > > if not os.path.isdir(dir): > >

Re: convertDefault.py is broken under python 3

2019-06-05 Thread José Abílio Matos
On Wednesday, 5 June 2019 10.53.55 WEST Jean-Marc Lasgouttes wrote: > Indeed. This has been fixed by Uwe already, BTW. > > JMarc You are right. Only yesterday while reviewing I finally noticed that the restriction was not there anymore. :-) I saw that because I was looking into the output of

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-05 Thread Jean-Marc Lasgouttes
Le 31/05/2019 à 16:28, Michael Roitzsch a écrit : Hi LyX developers, Nix (https://nixos.org) is a Unix package manager, which I use to install LaTeX on macOS. A peculiarity of Nix is that all packages are installed into separate directories and the actual directory tree is then constructed

Re: convertDefault.py is broken under python 3

2019-06-05 Thread Jean-Marc Lasgouttes
Le 03/06/2019 à 18:45, José Abílio Matos a écrit : On Monday, 11 February 2019 00.25.41 WEST Uwe Stöhr wrote: Besides this I don't understand why we limit the depth for image conversions to 8 bit: sopts = "-depth 8" Unless there is a strong reason to limit the conversions to 8 bit I agree

lyx2lyx: python2 versus python3

2019-06-05 Thread José Abílio Matos
Hi, this message is essentially a recap of another message last year (and that is a good thing). :-) When converting the User Guide (since version 0.12) the difference in the converted documents are very few and harmless: @@ -5800,8 +5800,8 @@ \end_inset -\bar default \family