Re: [LyX/master] tex2lyx: support biblatex

2018-03-04 Thread Jürgen Spitzmüller
Am Sonntag, den 04.03.2018, 21:02 +0100 schrieb Jean-Marc Lasgouttes:
> > Why not 2.3.1?
> > 
> > Jürgen
> > 
> 
> It is supposed to be for urgent matters.

But 2.3.1-staging contains many non-urgent matters already. I think it
tex2lyx support for the most anticipated new feature of 2.3.x is
important enough.

But of course I'll go with whatever Richard decides.

Jürgen

> 
> JMarc

signature.asc
Description: This is a digitally signed message part


Re: Tar balls and binaries have been uploaded

2018-03-04 Thread Scott Kostyshak
On Sun, Mar 04, 2018 at 10:07:07PM +, Jean-Pierre Chrétien wrote:

> Compilation runs fine (no warnings).

Thanks for testing.

> I guess these come from inkscape, not from LyX, right?

I would guess so also.

Scott


signature.asc
Description: PGP signature


Re: Solution: Summary for the Win installer problem

2018-03-04 Thread Scott Kostyshak
On Sun, Mar 04, 2018 at 06:36:54PM +, Uwe Stöhr wrote:
> Am 04.03.2018 um 16:19 schrieb Uwe Stöhr:
> 
> > Good news: There will be a new MiKTeX installer soon and the MiKTeX
> > maintainer proposed a workaround for the main bug. I cannot promise that
> > I will find time today to check if this will work for all cases.
> 
> OK, I could check it and it works. The new installer can be found here:
> http://ftp.lyx.de/LyXWinInstaller/LyX2.3.0/
> 
> Now the users is not bothered at all. Everything that needs to be done is
> done by the installer silently.
> 
> I would nevertheless wait with the announcement because the MiKTeX developer
> promised to make a release just for us soon. If it will be available by
> Tuesday, I will create a new installer, if not, let's release LyX 2.3.0 with
> the installer version 3 I linked above.

OK, I deleted the old installer and will put the installer version 3 on
the FTP. This will give the mirrors time to update. I'll plan to go
ahead with the announcement on Wednesday, unless you suggest otherwise.

Scott


signature.asc
Description: PGP signature


Re: Tar balls and binaries have been uploaded

2018-03-04 Thread Jean-Pierre Chrétien

Le 26/02/2018 à 17:51, Scott Kostyshak a écrit :

Dear all,

The tar balls and binaries for the upcoming 2.3.0 release have been
uploaded. You can get them here:

   ftp://ftp.lyx.org/pub/lyx/bin/2.3.0/

Can you please compile from the tar ball, and do a basic test of
functionality? Let us know how it goes.


Back to my desktop computer after a trip, here is the status on a Debian stable, 
with TeXLive up-to-date as og 2018-01-04:


Configuration
  Host type:   x86_64-pc-linux-gnu
  Special build flags:  build=release std-regex use-hunspell
  Bundled libraries:boost mythes
  C++ Compiler:g++ (6.3.0)
  C++ Compiler flags:   -fPIC -O2 -std=c++14
  C++ Compiler user flags:
  Linker flags:
  Linker user flags:
  Qt Frontend:
  Qt version:  5.7.1
  Packaging:   posix
  LyX binary dir:  /usr/local/bin
  LyX files dir:   /usr/local/share/lyx-2.3.0

Compilation runs fine (no warnings).

UserGuide.pdf compiles fine.

I still get this kind of warning in the command window when a conversion from 
svgz takes place:


** (inkscape:7474): WARNING **: No cc:license metadata found, derived license 
URI from cc:License: http://creativecommons.org/publicdomain/zero/1.0/

Bitmap saved as: /tmp/lyx_tmpdir.sNFRagSw6769/gconvertCI6769.png
Background RRGGBBAA: ff00
Area 0:0:128:128 exported to 128 x 128 pixels (96 dpi)
Bitmap saved as: /tmp/lyx_tmpdir.sNFRagSw6769/gconvertlg6769.png

I guess these come from inkscape, not from LyX, right?

--
Jean-Pierre




Re: Solution: Summary for the Win installer problem

2018-03-04 Thread Uwe Stöhr

Am 04.03.2018 um 18:59 schrieb Jean-Marc Lasgouttes:


So I install texlive with the medium size install


Sure, but to do this you need Internet access.

Having to wait 
until I actually use LyX to decide what packages to install would be a 
recipe for failure.


Again, the problem I had is not about updating LaTeX packages but about 
the package handling system. MiKTeX is just a distribution as TeXLive. 
Under Linux you also have different package handling systems for 
different distributions. I don't like to judge what system is better or not.


I do not understand why LyX absolutely has to have a say on whether my 
installation is good enough.


We need to install packages (hyphenation, language support, tipa, math, 
etc.) because we cannot know what features will be used by the user. 
This can only be done if the user has a working package handling system. 
As user I expect a working software and not that certain features don't 
work for reasons I don't understand. We cannot bother users with the 
system behind LyX. They want to click on View PDF and get a PDF. If not, 
they will look for alternatives and not invest some hours to learn how a 
LaTeX distribution works and how it is maintained.
Not bothering users with internal details but to create a fully 
functional LyX is since its creation the intention of the LyX Windows 
installer.


regards Uwe


tex2lyx no longer compilable because of too many nested ifs

2018-03-04 Thread Uwe Stöhr
tex2lyx in master is no longer compilable with MSVC. The reason is that 
we have now too many else if clauses in text.cpp:


  D:\LyXGit\Master\src\tex2lyx\text.cpp(5269): fatal error C1061: 
compiler limit: blocks nested too deeply 
[D:\LyXGit\Master\compile-2015\src\tex2lyx\tex2lyx.vcxproj]


This is a known limitation:
https://msdn.microsoft.com/en-us//library/dcda4f64.aspx
and Georg spent in the past some time to reduce the ifs.

My knowledge in this respect is low, I only googled and found this 
workaround:


https://support.microsoft.com/en-us/help/315481/bug-too-many-unnested-loops-incorrectly-causes-a-c1061-compiler-error

regards Uwe


Re: [LyX/master] tex2lyx: support biblatex

2018-03-04 Thread Jean-Marc Lasgouttes
Le 4 mars 2018 19:44:23 GMT+01:00, "Jürgen Spitzmüller"  a écrit 
:
>Am Sonntag, den 04.03.2018, 18:52 +0100 schrieb Jean-Marc Lasgouttes:
>> > Candidate for 2.3.1.
>> 
>> Why not 2.3.2?
>
>Why not 2.3.1?
>
>Jürgen

It is supposed to be for urgent matters.

JMarc

Re: [LyX/master] tex2lyx: support qualified citation lists (biblatex)

2018-03-04 Thread Jürgen Spitzmüller
Am Sonntag, den 04.03.2018, 20:12 +0100 schrieb Juergen Spitzmueller:
> commit 0915e814814ab26732b6dd13fc1740cfbf64b5b4
> Author: Juergen Spitzmueller
> Date:   Sun Mar 4 20:12:27 2018 +0100
> 
> tex2lyx: support qualified citation lists (biblatex)

This one's rather 2.3.2 stuff.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: [LyX/master] tex2lyx: support biblatex

2018-03-04 Thread Jürgen Spitzmüller
Am Sonntag, den 04.03.2018, 18:52 +0100 schrieb Jean-Marc Lasgouttes:
> > Candidate for 2.3.1.
> 
> Why not 2.3.2?

Why not 2.3.1?

Jürgen



signature.asc
Description: This is a digitally signed message part


Re: Solution: Summary for the Win installer problem

2018-03-04 Thread Uwe Stöhr

Am 04.03.2018 um 16:19 schrieb Uwe Stöhr:

Good news: There will be a new MiKTeX installer soon and the MiKTeX 
maintainer proposed a workaround for the main bug. I cannot promise that 
I will find time today to check if this will work for all cases. 


OK, I could check it and it works. The new installer can be found here:
http://ftp.lyx.de/LyXWinInstaller/LyX2.3.0/

Now the users is not bothered at all. Everything that needs to be done 
is done by the installer silently.


I would nevertheless wait with the announcement because the MiKTeX 
developer promised to make a release just for us soon. If it will be 
available by Tuesday, I will create a new installer, if not, let's 
release LyX 2.3.0 with the installer version 3 I linked above.


regards Uwe


Re: Solution: Summary for the Win installer problem

2018-03-04 Thread Jean-Marc Lasgouttes

Le 04/03/2018 à 17:22, Uwe Stöhr a écrit :
A fully functional LyX is impossible without Internet connection because 
missing LaTeX packages must be installed via Internet. There is no 
difference between TeXLive and MiKTeX in this respect.

(polemic:
  Let's look around, even in poor countries like Tajikistan Internet is 
no problem. I only know 2 countries where Internet access is still 
extremely difficult: Cuba and North Korea. TeXLive offers a DVD for 
those without Internet but how can you order this DVD without Internet? 
Also, will it really be delivered to you?)


That's not the point. I want to install my texlive and be sure that most 
documents will just work. Mind you, I can be in the train, plane, and 
getting install DVD in these places is surprisingly difficult.


So I install texlive with the medium size install and I trust that most 
documents will work unless I write in weird languages. Having to wait 
until I actually use LyX to decide what packages to install would be a 
recipe for failure.


I do not understand why LyX absolutely has to have a say on whether my 
installation is good enough. Taking care of users is nice. Assuming that 
they are stupid and we know better is not.


JMarc


Re: [LyX/master] tex2lyx: support biblatex

2018-03-04 Thread Jean-Marc Lasgouttes

Le 04/03/2018 à 16:51, Jürgen Spitzmüller a écrit :

Am Sonntag, den 04.03.2018, 16:48 +0100 schrieb Juergen Spitzmueller:

commit f22213a04fe53dd128f11db9b228623b3fc3dda7
Author: Juergen Spitzmueller
Date:   Sun Mar 4 16:46:31 2018 +0100

 tex2lyx: support biblatex
 
 (qualified citation lists and multibib not yet supported)


Candidate for 2.3.1.


Why not 2.3.2?

JMarc


Re: [LyX/master] tex2lyx: refsection and bibbysection support (biblatex)

2018-03-04 Thread Jürgen Spitzmüller
Am Sonntag, den 04.03.2018, 17:30 +0100 schrieb Juergen Spitzmueller:
> commit 1a3dbbf07ad837a685af93bf3d1d1a784e0d27ae
> Author: Juergen Spitzmueller 
> Date:   Sun Mar 4 17:29:59 2018 +0100
> 
> tex2lyx: refsection and bibbysection support (biblatex)

Candidate for 2.3.1.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: Solution: Summary for the Win installer problem

2018-03-04 Thread Scott Kostyshak
On Sun, Mar 04, 2018 at 03:19:40PM +, Uwe Stöhr wrote:
> Am 04.03.2018 um 00:32 schrieb Uwe Stöhr:
> 
> > As soon there is a new MiKTeX installer available I will release another
> > installer
> 
> Good news: There will be a new MiKTeX installer soon and the MiKTeX
> maintainer proposed a workaround for the main bug. I cannot promise that I
> will find time today to check if this will work for all cases. Therefore
> please give me some more time before you announce.

Nice! Do you have an estimate of about how much time?

Thanks,

Scott


signature.asc
Description: PGP signature


Re: Solution: Summary for the Win installer problem

2018-03-04 Thread Uwe Stöhr

Am 04.03.2018 um 16:59 schrieb Scott Kostyshak:


I don't want to write pages to describe the problematic in detail.
Summarized, the problem is that MiKTeX uses a new package handling system
and in order to use LyX with MiKTeX this new system must be used.


LyX works on Windows with a TeX Live installation, right? So why would
LyX work with TeX Live and not with an older MiKTeX installation?


Sorry, but doubting everything is a bit annoying. I already answered 
your question in the sentences you cited. I thought my example with the 
lock and the key made clear what happened and why it is not easy to find 
a solution. Yes, TeXLive users are not affected.


I explained the problematic as best as I can. Now please let me get a 
proper solution ready together with the MiKTeX maintainer.



What happens in both the case of the installer and the bundle if a user
installs LyX without being connected to the internet?


What do you want do say? That people should disconnect while installing 
LyX? And what happens afterwards?
Users with certain MiKTeX versions installed gets problems as soon he 
tries to install packages (because e.g. a document use a missing 
package), unless MiKTeX is updated. This is the bug I am talking about 
all the time.


A fully functional LyX is impossible without Internet connection because 
missing LaTeX packages must be installed via Internet. There is no 
difference between TeXLive and MiKTeX in this respect.

(polemic:
 Let's look around, even in poor countries like Tajikistan Internet is 
no problem. I only know 2 countries where Internet access is still 
extremely difficult: Cuba and North Korea. TeXLive offers a DVD for 
those without Internet but how can you order this DVD without Internet? 
Also, will it really be delivered to you?)


regards Uwe


Re: Solution: Summary for the Win installer problem

2018-03-04 Thread Scott Kostyshak
On Sat, Mar 03, 2018 at 11:32:23PM +, Uwe Stöhr wrote:
> Am 02.03.2018 um 20:16 schrieb Uwe Stöhr:
> 
> > - Conclusion: I cannot do more right now to wait until MiKTeX releases
> > the fixes  for the 2 bugs.
> 
> Here is the solution in form of a new installer:
> http://ftp.lyx.de/LyXWinInstaller/LyX2.3.0/
> 
> I don't want to write pages to describe the problematic in detail.
> Summarized, the problem is that MiKTeX uses a new package handling system
> and in order to use LyX with MiKTeX this new system must be used.

LyX works on Windows with a TeX Live installation, right? So why would
LyX work with TeX Live and not with an older MiKTeX installation? We
have special handling specific to MiKTeX?

> The only solution is to force 2 graphical update runs on MiKTeX where the
> users just have to click in summary 4 times "Next". Not nice but there is
> definitely no other way.
> I expect some users not to click on Next but maybe on Cancel or Close. Those
> will get in some cases as result a unusable MiKTeX installation.

What happens in both the case of the installer and the bundle if a user
installs LyX without being connected to the internet?

Thanks for all of your work on this, Uwe.

Scott


signature.asc
Description: PGP signature


Re: Summary for the Win installer problem

2018-03-04 Thread Scott Kostyshak
On Sat, Mar 03, 2018 at 11:44:43PM +, Uwe Stöhr wrote:
> Am 03.03.2018 um 19:24 schrieb Scott Kostyshak:
> 
> > > > I have a similar concern to Richard (and a similar disclaimer that I
> > > > don't know much about Windows). Even if what you put is the case, I
> > > > would prefer for the LyX installer to just give an error such as "Cannot
> > > > install LyX without the newest version of MiKTeX. Please update your
> > > > MiKTeX installation as follows: ..."
> 
> This won't work. MiKTeX must be updated in every case. If you don't want LyX
> to force this, the user has to do this. But this is beyond the knowledge of
> an average user. (2 update runs are necessary, repositories must be defined,
> if users click in the first runs on the wrong options they break MiKTeX and
> then MiKTeX must be reinstalled)

In this case, racoon's suggestion of a question might be a good idea.

Scott


signature.asc
Description: PGP signature


Re: [LyX/master] tex2lyx: support biblatex

2018-03-04 Thread Jürgen Spitzmüller
Am Sonntag, den 04.03.2018, 16:48 +0100 schrieb Juergen Spitzmueller:
> commit f22213a04fe53dd128f11db9b228623b3fc3dda7
> Author: Juergen Spitzmueller
> Date:   Sun Mar 4 16:46:31 2018 +0100
> 
> tex2lyx: support biblatex
> 
> (qualified citation lists and multibib not yet supported)

Candidate for 2.3.1.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: Update on 2.3.0 situation and Windows-specific issues

2018-03-04 Thread Scott Kostyshak
On Sat, Mar 03, 2018 at 11:46:53PM +, Uwe Stöhr wrote:
> Am 03.03.2018 um 21:26 schrieb Scott Kostyshak:
> 
> >- If you have a problem compiling the document Help > User Guide after
> >  installation, consider uninstalling LyX and MiKTeX, and then using
> >  the LyX *bundle* installer, which will automatically reinstall
> >  MiKTeX.
> 
> Please replace this point by the text I just sent in my mail with the
> solution.

OK, here is the Windows-specific part, after taking your and Joel's
suggestions into account:

  ---
  The following statements are specific to Windows users:
  - If you installed a pre-release of LyX 2.3.0, you should uninstall that
version before installing this newer release.
  - If you have a virus scanner installed and LyX cannot find "latex.exe",
as a first step just close the installer and rerun it.
  - After the installation of LyX, the MiKTeX package manager pops up. You
can just close it.
  - If you cannot get a PDF from a LyX file after installing LyX 2.3.0 under
Windows and the error message you get is that "paths must not contain 
spaces"
or similar, you must do the following:
  1. uninstall LyX 2.3.0
  2. uninstall MiKTeX
  3. reinstall LyX 2.3.0 using the bundle installer
  ---

Scott


signature.asc
Description: PGP signature


Re: [LyX/master] tex2lyx: consider options passed via \PassOptionsToPackage

2018-03-04 Thread Jürgen Spitzmüller
Am Sonntag, den 04.03.2018, 16:48 +0100 schrieb Juergen Spitzmueller:
> commit 476401a76f8bdb3dd2c2a482b2088f00dbe501d9
> Author: Juergen Spitzmueller
> Date:   Sun Mar 4 16:45:37 2018 +0100
> 
> tex2lyx: consider options passed via \PassOptionsToPackage

Candidate for 2.3.1.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Update on 2.3.0 situation and Windows-specific issues

2018-03-04 Thread Scott Kostyshak
On Sat, Mar 03, 2018 at 11:35:23PM +, Joel Kulesza wrote:

> I recommend reordering so the bullets will be presented in the order the 
> issues must be faced / may be encountered (keeping the dashes but I use 
> numbers to show new order). For example:
> 
> 2, 4, 1, 3
> 
> Note that I haven’t installed on Windows so I’m not sure of the exact order, 
> but 2 should probably come first. 
> 
> Sorry for tenseness/typoes; written on an iPhone with transpacific jet lag. 

OK I will reorder as suggested.

Thanks,

Scott


signature.asc
Description: PGP signature


Re: Solution: Summary for the Win installer problem

2018-03-04 Thread Uwe Stöhr

Am 04.03.2018 um 00:32 schrieb Uwe Stöhr:

As soon there is a new MiKTeX installer available I will release another 
installer


Good news: There will be a new MiKTeX installer soon and the MiKTeX 
maintainer proposed a workaround for the main bug. I cannot promise that 
I will find time today to check if this will work for all cases. 
Therefore please give me some more time before you announce.


thanks and regards
Uwe