Re: [LyX/master] \cprotect some content in captions

2020-09-19 Thread Jürgen Spitzmüller
Am Samstag, den 19.09.2020, 20:14 -0400 schrieb Scott Kostyshak: > Starting with this commit, the attached document loads the cprotect > package but cprotect command is never used. Seems this test can be removed without side-effect. Done. Jürgen signature.asc Description: This is a digitally si

Re: [Request/idea] Preamble generalization

2020-09-19 Thread Richard Kimberly Heck
On 9/19/20 6:36 PM, Lorenzo Bertini wrote: > Sorry for the old bump, but I managed to make a tabbed menu with > "LaTeX" and "HTML" as tabs for the "Preamble" section: > > What I managed to do: > 1) Buffer params received a new variable that can be > written to and read from a LyX file just as old

Re: [LyX/master] \cprotect some content in captions

2020-09-19 Thread Scott Kostyshak
On Sun, Apr 21, 2019 at 04:38:20PM +0200, Juergen Spitzmueller wrote: > commit c9432ccbbc2ec0029d9ac59ed8da126f4a02a910 > Author: Juergen Spitzmueller > Date: Sun Apr 21 16:44:29 2019 +0200 > > \cprotect some content in captions > > Fixes: #6243 > --- > src/Paragraph.cpp|

Re: Export to lyxhtml broken

2020-09-19 Thread Kornel Benko
Am Sun, 20 Sep 2020 01:36:12 +0200 schrieb Thibaut Cuvelier : > On Sun, 20 Sep 2020 at 01:25, Kornel Benko wrote: > > > Am Sat, 19 Sep 2020 19:12:12 -0400 > > schrieb Scott Kostyshak : > > > > > On Sat, Sep 19, 2020 at 07:09:55PM -0400, Scott Kostyshak wrote: > > > > On Sun, Sep 20, 2020 at 12:0

Re: Export to lyxhtml broken

2020-09-19 Thread Thibaut Cuvelier
On Sun, 20 Sep 2020 at 01:25, Kornel Benko wrote: > Am Sat, 19 Sep 2020 19:12:12 -0400 > schrieb Scott Kostyshak : > > > On Sat, Sep 19, 2020 at 07:09:55PM -0400, Scott Kostyshak wrote: > > > On Sun, Sep 20, 2020 at 12:08:55AM +0200, Kornel Benko wrote: > > > > > > > > Unfortunately the tests do

Re: Export to lyxhtml broken

2020-09-19 Thread Kornel Benko
Am Sat, 19 Sep 2020 19:12:12 -0400 schrieb Scott Kostyshak : > On Sat, Sep 19, 2020 at 07:09:55PM -0400, Scott Kostyshak wrote: > > On Sun, Sep 20, 2020 at 12:08:55AM +0200, Kornel Benko wrote: > > > > > > Unfortunately the tests do not try to display the resulting > > > xhtml code, they only c

Re: Export to lyxhtml broken

2020-09-19 Thread Kornel Benko
Am Sun, 20 Sep 2020 01:13:39 +0200 schrieb Thibaut Cuvelier : > On Sun, 20 Sep 2020 at 01:10, Scott Kostyshak wrote: > > > On Sun, Sep 20, 2020 at 12:08:55AM +0200, Kornel Benko wrote: > > > > > > Unfortunately the tests do not try to display the resulting > > > xhtml code, they only check with

Re: Export to lyxhtml broken

2020-09-19 Thread Thibaut Cuvelier
On Sun, 20 Sep 2020 at 01:10, Scott Kostyshak wrote: > On Sun, Sep 20, 2020 at 12:08:55AM +0200, Kornel Benko wrote: > > > > Unfortunately the tests do not try to display the resulting > > xhtml code, they only check with xmllint. > > > > ATM, most (if not all) xhtml exports create invalid output

Re: Export to lyxhtml broken

2020-09-19 Thread Scott Kostyshak
On Sat, Sep 19, 2020 at 07:09:55PM -0400, Scott Kostyshak wrote: > On Sun, Sep 20, 2020 at 12:08:55AM +0200, Kornel Benko wrote: > > > > Unfortunately the tests do not try to display the resulting > > xhtml code, they only check with xmllint. > > > > ATM, most (if not all) xhtml exports create in

Re: Export to lyxhtml broken

2020-09-19 Thread Scott Kostyshak
On Sun, Sep 20, 2020 at 12:08:55AM +0200, Kornel Benko wrote: > > Unfortunately the tests do not try to display the resulting > xhtml code, they only check with xmllint. > > ATM, most (if not all) xhtml exports create invalid output in the sense > that the output is not displayable with firefox.

Re: [Request/idea] Preamble generalization

2020-09-19 Thread Lorenzo Bertini
Sorry for the old bump, but I managed to make a tabbed menu with "LaTeX" and "HTML" as tabs for the "Preamble" section: What I managed to do: 1) Buffer params received a new variable that can be written to and read from a LyX file just as old ; 2) "Preamble" section now has two tabs, each with a

Export to lyxhtml broken

2020-09-19 Thread Kornel Benko
Unfortunately the tests do not try to display the resulting xhtml code, they only check with xmllint. ATM, most (if not all) xhtml exports create invalid output in the sense that the output is not displayable with firefox. (This works with lyx2.3) Kornel pgpFOrbentKea.pgp Description:

Re: DocBook v2

2020-09-19 Thread Thibaut Cuvelier
On Sat, 19 Sep 2020 at 22:31, Pavel Sanda wrote: > On Sat, Sep 19, 2020 at 09:33:56PM +0200, Pavel Sanda wrote: > > On Sat, Sep 19, 2020 at 08:54:16PM +0200, Thibaut Cuvelier wrote: > > > I did the rebase again, as you suggested, and the results were better. > > > Therefore, I have merged it in m

Re: DocBook v2

2020-09-19 Thread Pavel Sanda
On Sat, Sep 19, 2020 at 09:33:56PM +0200, Pavel Sanda wrote: > On Sat, Sep 19, 2020 at 08:54:16PM +0200, Thibaut Cuvelier wrote: > > I did the rebase again, as you suggested, and the results were better. > > Therefore, I have merged it in master. > > > > Thank you all for your time and contributio

Re: DocBook v2

2020-09-19 Thread Kornel Benko
Am Sat, 19 Sep 2020 22:16:05 +0200 schrieb Pavel Sanda : > On Sat, Sep 19, 2020 at 10:01:19PM +0200, Kornel Benko wrote: > > Am Sat, 19 Sep 2020 21:33:56 +0200 > > schrieb Pavel Sanda : > > > > > /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/streambuf:810:7: > > > error: > > > 'std::basi

Re: DocBook v2

2020-09-19 Thread Pavel Sanda
On Sat, Sep 19, 2020 at 10:01:19PM +0200, Kornel Benko wrote: > Am Sat, 19 Sep 2020 21:33:56 +0200 > schrieb Pavel Sanda : > > > /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/streambuf:810:7: error: > > 'std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, > > _Traits>::operat

Re: DocBook v2

2020-09-19 Thread Kornel Benko
Am Sat, 19 Sep 2020 21:33:56 +0200 schrieb Pavel Sanda : > /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/streambuf:810:7: error: > 'std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, > _Traits>::operator=(const std::basic_streambuf<_CharT, _Traits>&) [with > _CharT = > wcha

Re: DocBook v2

2020-09-19 Thread Pavel Sanda
On Sat, Sep 19, 2020 at 08:54:16PM +0200, Thibaut Cuvelier wrote: > I did the rebase again, as you suggested, and the results were better. > Therefore, I have merged it in master. > > Thank you all for your time and contributions on this! This is what I see now in master: CXX Paragraph.o P

Re: DocBook v2

2020-09-19 Thread Thibaut Cuvelier
On Sat, 19 Sep 2020 at 18:29, Scott Kostyshak wrote: > On Sat, Sep 19, 2020 at 05:55:13PM +0200, Thibaut Cuvelier wrote: > > On Sat, 19 Sep 2020 at 14:48, Kornel Benko wrote: > > > > > Am Sat, 19 Sep 2020 14:44:25 +0200 > > > schrieb Kornel Benko : > > > > > > > Am Sat, 19 Sep 2020 14:28:59 +020

Re: Docbook (inverted tests)

2020-09-19 Thread Kornel Benko
Am Sat, 19 Sep 2020 12:36:00 -0400 schrieb Scott Kostyshak : > On Sat, Sep 19, 2020 at 06:00:18PM +0200, Kornel Benko wrote: > > > > ATM, all export tests for xhtml|docbook5 pass. > > I propose to merge with master. > > +1 > > > There is still work to do, because we have inverted tests, > > f

Re: Docbook (inverted tests)

2020-09-19 Thread Kornel Benko
Am Sat, 19 Sep 2020 12:36:00 -0400 schrieb Scott Kostyshak : > On Sat, Sep 19, 2020 at 06:00:18PM +0200, Kornel Benko wrote: > > > > ATM, all export tests for xhtml|docbook5 pass. > > I propose to merge with master. > > +1 > > > There is still work to do, because we have inverted tests, > > f

Re: Docbook (inverted tests)

2020-09-19 Thread Scott Kostyshak
On Sat, Sep 19, 2020 at 06:00:18PM +0200, Kornel Benko wrote: > > ATM, all export tests for xhtml|docbook5 pass. > I propose to merge with master. +1 > There is still work to do, because we have inverted tests, > for which it might be worth to look at. > > These are: > Test #304: INVERTED.LY

Re: DocBook v2

2020-09-19 Thread Scott Kostyshak
On Sat, Sep 19, 2020 at 05:55:13PM +0200, Thibaut Cuvelier wrote: > On Sat, 19 Sep 2020 at 14:48, Kornel Benko wrote: > > > Am Sat, 19 Sep 2020 14:44:25 +0200 > > schrieb Kornel Benko : > > > > > Am Sat, 19 Sep 2020 14:28:59 +0200 > > > schrieb Kornel Benko : > > > > > > > Am Sat, 19 Sep 2020 12:

Docbook (inverted tests)

2020-09-19 Thread Kornel Benko
ATM, all export tests for xhtml|docbook5 pass. I propose to merge with master. There is still work to do, because we have inverted tests, for which it might be worth to look at. These are: Test #304: INVERTED.LYXBUGS_export/export/WrongDfnTagHandling_xhtml Test #2380: INVERTED.LYXBUGS_expor

Re: DocBook v2

2020-09-19 Thread Thibaut Cuvelier
On Sat, 19 Sep 2020 at 14:48, Kornel Benko wrote: > Am Sat, 19 Sep 2020 14:44:25 +0200 > schrieb Kornel Benko : > > > Am Sat, 19 Sep 2020 14:28:59 +0200 > > schrieb Kornel Benko : > > > > > Am Sat, 19 Sep 2020 12:41:47 +0200 > > > schrieb Kornel Benko : > > > > > > > Also the test export/doc/de/U

Re: Complex document compiles with 2.3.x but not with master

2020-09-19 Thread Jürgen Spitzmüller
Am Samstag, den 19.09.2020, 13:10 +0100 schrieb José Abílio Matos: > So IMHO the above test is basically a no-op and it can be removed. OK, thanks. Please feel free to do that. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.l

Re: DocBook v2

2020-09-19 Thread Kornel Benko
Am Sat, 19 Sep 2020 14:44:25 +0200 schrieb Kornel Benko : > Am Sat, 19 Sep 2020 14:28:59 +0200 > schrieb Kornel Benko : > > > Am Sat, 19 Sep 2020 12:41:47 +0200 > > schrieb Kornel Benko : > > > > > Also the test export/doc/de/UserGuide_xhtml fails here. > > > Assertion triggered in void lyx::d

Re: DocBook v2

2020-09-19 Thread Kornel Benko
Am Sat, 19 Sep 2020 14:28:59 +0200 schrieb Kornel Benko : > Am Sat, 19 Sep 2020 12:41:47 +0200 > schrieb Kornel Benko : > > > Also the test export/doc/de/UserGuide_xhtml fails here. > > Assertion triggered in void lyx::doAssertWithCallstack(bool) by failing > > check "false" > > in file /usr2/sr

Re: DocBook v2

2020-09-19 Thread Kornel Benko
Am Sat, 19 Sep 2020 12:41:47 +0200 schrieb Kornel Benko : > Also the test export/doc/de/UserGuide_xhtml fails here. > Assertion triggered in void lyx::doAssertWithCallstack(bool) by failing check > "false" in > file /usr2/src/lyx/lyx-features/src/support/lassert.cpp:44 Debugger shows problem in

Re: Complex document compiles with 2.3.x but not with master

2020-09-19 Thread José Abílio Matos
On Saturday, September 19, 2020 7:43:36 AM WEST Jürgen Spitzmüller wrote: > Am Freitag, den 18.09.2020, 18:43 +0100 schrieb José Abílio Matos: > > Actually I am confused why the code is needed at all. > > > > What are the cases where we need to add a leftmost zero to a number? > > To translate La

Re: DocBook v2

2020-09-19 Thread Kornel Benko
Am Sat, 19 Sep 2020 00:16:15 -0400 schrieb Scott Kostyshak : > On Sat, Sep 19, 2020 at 04:02:00AM +0200, Thibaut Cuvelier wrote: > > > I finally managed to get everything working on my machine (the most > > complicated part was getting the right paths to CMake through my IDE…). By > > the way, th