Qt::ApplicationInactive breaks compilation

2021-02-07 Thread Pavel Sanda
Hi Stephan, I can't compilet any longer on older Qt: CXX GuiApplication.o GuiApplication.cpp:1015:6: error: 'ApplicationState' in namespace 'Qt' does not name a type Qt::ApplicationState last_state_; ^ GuiApplication.cpp: In constructor 'lyx::fronten

Re: DocBook to ePub

2021-02-07 Thread Pavel Sanda
On Sun, Feb 07, 2021 at 11:21:28PM +0100, Thibaut Cuvelier wrote: > > 2. There was mention of using system xslt and saxon, but I did not see > > any configure options. Am I correct? BTW: I use autotools. > > > > I have added the possibility in the script to use non-built-in Saxon or > XSLT. Howeve

Re: DocBook to ePub

2021-02-07 Thread Cor Blom
Op 07-02-2021 om 23:21 schreef Thibaut Cuvelier: BibTeX doesn't play a role to generate ePub: to generate the relevant DocBook tags, I rely on LyX' understanding of the .bib file (which typically works very well); the DocBook to ePub conversion seems to support references too. For which doc

Re: [LyX/master] ePub: copy images into the ePub archive.

2021-02-07 Thread Stephan Witt
Am 08.02.2021 um 06:42 schrieb Thibaut Cuvelier : > > On Mon, 8 Feb 2021 at 00:56, Stephan Witt wrote: > Hi Thibaut, > > sorry for having python 2.7 on Mac… > > It's not like you have a choice there :)! … > > I had to add > > "from io import open" > > to docbook2epub.py (patch attached). >

Re: ePub Export Docs

2021-02-07 Thread Richard Kimberly Heck
On 2/7/21 2:09 PM, Thibaut Cuvelier wrote: > On Sun, 7 Feb 2021 at 17:01, Richard Kimberly Heck > wrote: > > It would be well worth advertising ePub export here: > > https://wiki.lyx.org/LyX/NewInLyX24 > > > > I just added

Re: [LyX/master] Assure correct spacing of colored items in mathed

2021-02-07 Thread Scott Kostyshak
On Sun, Feb 07, 2021 at 09:37:57AM +0100, Enrico Forestieri wrote: > On Sat, Feb 06, 2021 at 11:06:41PM -0500, Scott Kostyshak wrote: > > I see an assertion on master that I think started happening with this > > commit. > > > > Here's the assertion: > > ASSERTION false VIOLATED IN > > /home/scot

Re: [LyX/master] ePub: copy images into the ePub archive.

2021-02-07 Thread Thibaut Cuvelier
On Mon, 8 Feb 2021 at 00:56, Stephan Witt wrote: > Hi Thibaut, > > sorry for having python 2.7 on Mac… > It's not like you have a choice there :)! > to overcome this: > > 00:39:31.061: Command to execute: > 00:39:31.062: "xsltproc" -stringparam base.dir > "/var/folders/y8/l_k5f2ms4rngwbwvt9jp5

Re: [LyX/master] ePub: copy images into the ePub archive.

2021-02-07 Thread Stephan Witt
Hi Thibaut, sorry for having python 2.7 on Mac… to overcome this: 00:39:31.061: Command to execute: 00:39:31.062: "xsltproc" -stringparam base.dir "/var/folders/y8/l_k5f2ms4rngwbwvt9jp53hwgt/T/tmpmUoLhY" "/Users/stephan/git/lyx-build/LyX-2.4.0dev.app/Contents/Resources/scripts/../docbook/e

Re: DocBook to ePub

2021-02-07 Thread Thibaut Cuvelier
On Sun, 7 Feb 2021 at 21:56, Pavel Sanda wrote: > On Sun, Feb 07, 2021 at 08:14:29PM +0100, Thibaut Cuvelier wrote: > > Tables should be supported (unless they contain many strange features). > > Maybe the ePub viewer doesn't support the full norm? Which documents have > > this problem? (If it oc

Re: DocBook to ePub

2021-02-07 Thread Thibaut Cuvelier
On Sun, 7 Feb 2021 at 14:09, Cor Blom wrote: > Op 29-01-2021 om 18:38 schreef Thibaut Cuvelier: > > As promised, I started working on ePub output, building upon the new > > DocBook output. > > I have build the latest git master on openSUSE and epub export is > working fine. > > I have two questio

Re: [LyX/master] Math.lyx: merged changes from Phil Netro.

2021-02-07 Thread Pavel Sanda
On Sun, Feb 07, 2021 at 09:41:06PM +0100, Pavel Sanda wrote: > commit 22a0ea85d0de39f80a94929768c11d31fc296590 > Author: Pavel Sanda > Date: Sun Feb 7 21:40:29 2021 +0100 > > Math.lyx: merged changes from Phil Netro. > > Most changes accepted, some remain visible in CT, because the

Re: DocBook to ePub

2021-02-07 Thread Pavel Sanda
On Sun, Feb 07, 2021 at 08:14:29PM +0100, Thibaut Cuvelier wrote: > Tables should be supported (unless they contain many strange features). > Maybe the ePub viewer doesn't support the full norm? Which documents have > this problem? (If it occurs between DocBook and ePub, we can do a bug > report.)

Re: DocBook to ePub

2021-02-07 Thread Thibaut Cuvelier
On Sun, 7 Feb 2021 at 12:47, Stephan Witt wrote: > Am 07.02.2021 um 06:36 schrieb Thibaut Cuvelier : > > > > On Sat, 6 Feb 2021 at 15:10, Pavel Sanda wrote: > > On Sat, Feb 06, 2021 at 02:49:04PM +0100, Pavel Sanda wrote: > > > Command to execute: > > > "java" -jar > "/home/lyx/lyx/devel/lib/scr

Re: DocBook to ePub

2021-02-07 Thread Thibaut Cuvelier
On Sun, 7 Feb 2021 at 10:17, Pavel Sanda wrote: > On Sun, Feb 07, 2021 at 06:36:17AM +0100, Thibaut Cuvelier wrote: > > I've just pushed patches for these problems. Quotes are required in some > > edge cases on Windows, so I added a switch based on the OS (a cleaner > > solution would be to use t

Re: ePub Export Docs

2021-02-07 Thread Thibaut Cuvelier
On Sun, 7 Feb 2021 at 17:01, Richard Kimberly Heck wrote: > It would be well worth advertising ePub export here: > > https://wiki.lyx.org/LyX/NewInLyX24 > I just added a section for that. It's quite rough for now, most notably because dependencies have not been sorted out properly for all platfo

Re: [LyX/master] Assure correct spacing of colored items in mathed

2021-02-07 Thread Enrico Forestieri
On Sun, Feb 07, 2021 at 01:06:15PM +0100, Jean-Marc Lasgouttes wrote: > Le 07/02/2021 à 09:37, Enrico Forestieri a écrit : > > On Sat, Feb 06, 2021 at 11:06:41PM -0500, Scott Kostyshak wrote: > > > I see an assertion on master that I think started happening with this > > > commit. > > > > > > Her

ePub Export Docs

2021-02-07 Thread Richard Kimberly Heck
It would be well worth advertising ePub export here: https://wiki.lyx.org/LyX/NewInLyX24 Should it also be documented in Additional.lyx? Thibaut: Excellent work here! This has been a long-standing request. I think, though, that we'll have to wait for Beta 1 to advertise its inclusion, since a lo

Re: DocBook to ePub

2021-02-07 Thread Stephan Witt
Am 30.01.2021 um 04:56 schrieb Thibaut Cuvelier : > > On Sat, 30 Jan 2021 at 01:30, Stephan Witt wrote: > Am 29.01.2021 um 18:38 schrieb Thibaut Cuvelier : > > > > Dear list, > > > > As promised, I started working on ePub output, building upon the new > > DocBook output. > > > > Here is a s

Re: [LyX/master] Cmake + epub: Install needed docbook files

2021-02-07 Thread Kornel Benko
Am Sun, 7 Feb 2021 16:01:36 +0100 schrieb Pavel Sanda : > On Sun, Feb 07, 2021 at 03:24:03PM +0100, Kornel Benko wrote: > > > License is missing, we are not aloowed to distribute it without it. > > > > In that case it should not be part of lyx-sources too, I suppose. > > The license is next

Re: DocBook to ePub

2021-02-07 Thread Cor Blom
Op 07-02-2021 om 14:35 schreef Pavel Sanda: On Sun, Feb 07, 2021 at 02:09:03PM +0100, Cor Blom wrote: 2. There was mention of using system xslt and saxon, but I did not see any configure options. Am I correct? BTW: I use autotools. Not provided yet. What package versions of saxon and docbook x

Re: [LyX/master] Cmake + epub: Install needed docbook files

2021-02-07 Thread Pavel Sanda
On Sun, Feb 07, 2021 at 03:24:03PM +0100, Kornel Benko wrote: > > License is missing, we are not aloowed to distribute it without it. > > In that case it should not be part of lyx-sources too, I suppose. The license is next to the saxon jar file, just include it when installing. Pavel -- lyx-dev

Re: [LyX/master] Cmake + epub: Install needed docbook files

2021-02-07 Thread Kornel Benko
Am Sun, 7 Feb 2021 15:10:51 +0100 schrieb Pavel Sanda : > On Sun, Feb 07, 2021 at 12:35:43PM +0100, Kornel Benko wrote: > > commit f7ed7f53c478b0538a3b04bad69ed161c1cf9b16 > > Author: Kornel Benko > > Date: Sun Feb 7 12:37:58 2021 +0100 > > > > Cmake + epub: Install needed docbook files >

Re: [LyX/master] Cmake + epub: Install needed docbook files

2021-02-07 Thread Pavel Sanda
On Sun, Feb 07, 2021 at 12:35:43PM +0100, Kornel Benko wrote: > commit f7ed7f53c478b0538a3b04bad69ed161c1cf9b16 > Author: Kornel Benko > Date: Sun Feb 7 12:37:58 2021 +0100 > > Cmake + epub: Install needed docbook files > --- > development/cmake/Install.cmake |2 ++ > 1 files changed,

Re: DocBook to ePub

2021-02-07 Thread Pavel Sanda
On Sun, Feb 07, 2021 at 02:09:03PM +0100, Cor Blom wrote: > 2. There was mention of using system xslt and saxon, but I did not see any > configure options. Am I correct? BTW: I use autotools. Not provided yet. What package versions of saxon and docbook xslt stylesheets are now in suse repositories

Re: DocBook to ePub

2021-02-07 Thread Cor Blom
Op 29-01-2021 om 18:38 schreef Thibaut Cuvelier: As promised, I started working on ePub output, building upon the new DocBook output. I have build the latest git master on openSUSE and epub export is working fine. I have two questions: 1. Bib(la)text references are ignored. Is that not poss

Re: LyX 2.4 Alpha 2

2021-02-07 Thread Stephan Witt
Am 06.02.2021 um 08:36 schrieb Jürgen Spitzmüller : > > Am Freitag, dem 05.02.2021 um 17:24 -0500 schrieb Richard Kimberly > Heck: >> Hi, all, >> >> I've put tarballs for Alpha 2, built from f4003593, here: >> >> http://ftp.lyx.org/ftp/pub/lyx/devel/lyx-2.4/ >> >> This includes the latest epub

Re: [LyX/master] Assure correct spacing of colored items in mathed

2021-02-07 Thread Jean-Marc Lasgouttes
Le 07/02/2021 à 09:37, Enrico Forestieri a écrit : On Sat, Feb 06, 2021 at 11:06:41PM -0500, Scott Kostyshak wrote: I see an assertion on master that I think started happening with this commit. Here's the assertion: ASSERTION false VIOLATED IN /home/scott/lyxbuilds/master/repo/src/mathed/MathC

Re: DocBook to ePub

2021-02-07 Thread Stephan Witt
Am 07.02.2021 um 06:36 schrieb Thibaut Cuvelier : > > On Sat, 6 Feb 2021 at 15:10, Pavel Sanda wrote: > On Sat, Feb 06, 2021 at 02:49:04PM +0100, Pavel Sanda wrote: > > Command to execute: > > "java" -jar "/home/lyx/lyx/devel/lib/scripts/../scripts/saxon6.5.5.jar" > > Intro.xml /home/lyx/lyx/dev

Re: DocBook to ePub

2021-02-07 Thread Kornel Benko
Am Sun, 7 Feb 2021 11:45:33 +0100 schrieb Kornel Benko : > Am Sun, 7 Feb 2021 11:28:04 +0100 > schrieb Kornel Benko : > > > Am Sun, 7 Feb 2021 10:16:41 +0100 > > schrieb Pavel Sanda : > > > > > On Sun, Feb 07, 2021 at 06:36:17AM +0100, Thibaut Cuvelier wrote: > > > > I've just pushed patch

Re: DocBook to ePub

2021-02-07 Thread Kornel Benko
Am Sun, 7 Feb 2021 11:28:04 +0100 schrieb Kornel Benko : > Am Sun, 7 Feb 2021 10:16:41 +0100 > schrieb Pavel Sanda : > > > On Sun, Feb 07, 2021 at 06:36:17AM +0100, Thibaut Cuvelier wrote: > > > I've just pushed patches for these problems. Quotes are required in some > > > edge cases on Windows

Re: DocBook to ePub

2021-02-07 Thread Kornel Benko
Am Sun, 7 Feb 2021 10:16:41 +0100 schrieb Pavel Sanda : > On Sun, Feb 07, 2021 at 06:36:17AM +0100, Thibaut Cuvelier wrote: > > I've just pushed patches for these problems. Quotes are required in some > > edge cases on Windows, so I added a switch based on the OS (a cleaner > > solution would be t

Re: DocBook to ePub

2021-02-07 Thread Pavel Sanda
On Sun, Feb 07, 2021 at 06:36:17AM +0100, Thibaut Cuvelier wrote: > I've just pushed patches for these problems. Quotes are required in some > edge cases on Windows, so I added a switch based on the OS (a cleaner > solution would be to use the subprocess module, but its current API was > added in P

Re: [LyX/master] Assure correct spacing of colored items in mathed

2021-02-07 Thread Enrico Forestieri
On Sat, Feb 06, 2021 at 11:06:41PM -0500, Scott Kostyshak wrote: > I see an assertion on master that I think started happening with this commit. > > Here's the assertion: > ASSERTION false VIOLATED IN > /home/scott/lyxbuilds/master/repo/src/mathed/MathClass.cpp:59 > > The assertion happens when