[LyX/master] DocBook: support for Labeling

2020-10-03 Thread Thibaut Cuvelier
commit 4b63a9715d8a595eb6c8445051f047f788cdf2e9 Author: Thibaut Cuvelier Date: Sat Oct 3 16:17:22 2020 +0200 DocBook: support for Labeling --- lib/layouts/stdlyxlist.inc |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/lib/layouts/stdlyxlist.inc b/lib/layouts

[PATCH] random32: Restore __latent_entropy attribute on net_rand_state

2020-10-02 Thread Thibaut Sautereau
From: Thibaut Sautereau Commit f227e3ec3b5c ("random32: update the net random state on interrupt and activity") broke compilation and was temporarily fixed by Linus in 83bdc7275e62 ("random32: remove net_rand_state from the latent entropy gcc plugin") by entirely movin

Re: [petsc-users] reset release branch

2020-10-01 Thread Appel, Thibaut
Is ‘master’ still considered stable? Thibaut > -- > > Message: 1 > Date: Wed, 30 Sep 2020 09:14:41 -0500 (CDT) > From: Satish Balay > To: petsc-...@mcs.anl.gov > Cc: petsc-users@mcs.anl.gov > Subj

Re: Display created docbook

2020-09-28 Thread Thibaut Cuvelier
On Mon, 28 Sep 2020 at 16:42, Pavel Sanda wrote: > On Mon, Sep 28, 2020 at 02:20:21PM +0200, Kornel Benko wrote: > > Hi, > > I have a patch ready to > > 1.) new format (pdf9) + conversion 'docbook5->pdf9' > > This is using pandoc, so that one can display the docbook data > > 2.) A

Re: [PATCH] generic: platform/mikrotik: implement multi caldata

2020-09-25 Thread Thibaut
Ping? > Le 24 août 2020 à 12:38, Thibaut VARÈNE a écrit : > > MikroTik recently changed again the way they store wlan calibration data > on devices. Prior to this change, ERD calibration data for all available > radios was stored within a single identifier node ("tag"

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

[LyX/master] Revert "XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1, and not XHTML5."

2020-09-19 Thread Thibaut Cuvelier
commit da67bde61af6dfecef7a237b72b878fe30638a81 Author: Thibaut Cuvelier Date: Sun Sep 20 01:35:14 2020 +0200 Revert "XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1, and not XHTML5." This reverts commit c8e2c17a: this makes some brows

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

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. > > &g

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 : > >

[LyX/master] DocBook: work for more subfigure cases.

2020-09-19 Thread Thibaut Cuvelier
commit 1b818c448d3a4e7f6fd4ea2685d775761de95767 Author: Thibaut Cuvelier Date: Sat Sep 12 00:39:23 2020 +0200 DocBook: work for more subfigure cases. EmbeddedObjects hid quite a few gems :). --- .../export/docbook/subfigures_EmbeddedObjects.lyx | 444

[LyX/master] XHTML sections: saner code to close the section.

2020-09-19 Thread Thibaut Cuvelier
commit c83fd0eb069564710943ba308e484f937ac5bd4c Author: Thibaut Cuvelier Date: Sat Sep 19 04:26:06 2020 +0200 XHTML sections: saner code to close the section. It only caused troubles in corner cases... --- autotests/export/xhtml/A0_Poster_Simple.lyx | 192

[LyX/master] DocBook: fix handling of new lines and fonts.

2020-09-19 Thread Thibaut Cuvelier
commit 9a48c8d22b0dd2ae1d0a78af3c2c0f4e3a65c26d Author: Thibaut Cuvelier Date: Fri Sep 11 01:28:59 2020 +0200 DocBook: fix handling of new lines and fonts. Only the font variable was restored to the right state, not fs. --- autotests/export/docbook/fonts_EmbeddedObjects.lyx

[LyX/master] DocBook: implement InsetBox titles.

2020-09-19 Thread Thibaut Cuvelier
commit 50f011e062646fbc7354ee4be938dd376769900d Author: Thibaut Cuvelier Date: Sat Sep 12 01:52:58 2020 +0200 DocBook: implement InsetBox titles. --- autotests/export/docbook/A0_Poster_Simple.lyx | 192 + autotests/export/docbook/A0_Poster_Simple.xml | 16

[LyX/master] DocBook: bug fixing in AASTeX layout.

2020-09-19 Thread Thibaut Cuvelier
commit 7ec0307b13b002e5914882ece6c76f864ef61746 Author: Thibaut Cuvelier Date: Sun Aug 30 03:08:55 2020 +0200 DocBook: bug fixing in AASTeX layout. That's mostly generating DocBook tags at an inappropriate place with some metadata, rather than outputting whatever you have at your

[LyX/master] Revert "XHTML: remove support."

2020-09-19 Thread Thibaut Cuvelier
commit 15dbc2b9ab0765b950ebe57300178fa4ec59f3cd Author: Thibaut Cuvelier Date: Wed Sep 16 03:37:46 2020 +0200 Revert "XHTML: remove support." This reverts commit 52216b73 --- src/output_xhtml.cpp | 37 + 1 files changed, 37 insert

[LyX/master] DocBook: add a layout tag to tell whether an item is the abstract or not.

2020-09-19 Thread Thibaut Cuvelier
commit dab71087cf2954b77d3d2c0e67b868f9be82fba9 Author: Thibaut Cuvelier Date: Mon Aug 3 16:04:26 2020 +0200 DocBook: add a layout tag to tell whether an item is the abstract or not. --- .../docbook/bibliography_precooked_aastex.xml | 221 - lib/layouts/aastex.layout

[LyX/master] DocBook: simplify precooked bibliography code.

2020-09-19 Thread Thibaut Cuvelier
commit ac46456b288c35a05f716a9e3bbf022f60b2cd9f Author: Thibaut Cuvelier Date: Tue Aug 18 05:46:40 2020 +0200 DocBook: simplify precooked bibliography code. --- src/output_docbook.cpp | 86 --- 1 files changed, 37 insertions(+), 49 deletions

[LyX/master] More functions in anonymous namespace.

2020-09-19 Thread Thibaut Cuvelier
commit d8651cc60b0e95b262baa189196817f4de26d360 Author: Thibaut Cuvelier Date: Tue Aug 18 05:39:46 2020 +0200 More functions in anonymous namespace. --- src/output_docbook.cpp |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/output_docbook.cpp b/src

[LyX/master] DocBook: ensure xml:id is not output too many times.

2020-09-19 Thread Thibaut Cuvelier
commit 8758000641e9014cd40581d309ded0e1cea44acf Author: Thibaut Cuvelier Date: Fri Sep 11 23:38:11 2020 +0200 DocBook: ensure xml:id is not output too many times. This is mostly important for subfigures, but debugging this issue showed that InsetCaption could be slightly

[LyX/master] DocBook: remove useless functions.

2020-09-19 Thread Thibaut Cuvelier
commit a632a9ae3cc6e8be411b84d8bc25b54b4ae2f140 Author: Scott Kostyshak Date: Wed Sep 2 22:48:23 2020 -0400 DocBook: remove useless functions. --- src/output_docbook.cpp | 32 1 files changed, 4 insertions(+), 28 deletions(-) diff --git

[LyX/master] Converters: always set version to something.

2020-09-19 Thread Thibaut Cuvelier
commit 1991d0ed24780cbb0064b7be7a733bc1ee9e241e Author: Thibaut Cuvelier Date: Wed Sep 16 04:12:26 2020 +0200 Converters: always set version to something. Otherwise, it's common to compare "None >= (6,2,6)", which makes no sense. Set it to (0,0,0) so that any com

[LyX/master] DocBook: improve comments.

2020-09-19 Thread Thibaut Cuvelier
commit bdea21a87e7b54747ced9f913659e0e2fe6590c6 Author: Thibaut Cuvelier Date: Tue Aug 18 04:56:25 2020 +0200 DocBook: improve comments. --- src/xml.h |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/xml.h b/src/xml.h index 0948143..69d582d 100644

[LyX/master] DocBook: several missing features for Additional.lyx.

2020-09-19 Thread Thibaut Cuvelier
commit e3da8b65f644df5d7de79c233187144825b9e7f1 Author: Thibaut Cuvelier Date: Mon Aug 31 01:41:09 2020 +0200 DocBook: several missing features for Additional.lyx. Includes: semantic markup (sorry about noun: Additional.lyx uses it to mark menus; there is something better

[LyX/master] DocBook: fix issue with fonts.

2020-09-19 Thread Thibaut Cuvelier
commit 7a1b82a16ae5594e7354c507ecb47082abada9f4 Author: Thibaut Cuvelier Date: Sun Aug 30 23:29:02 2020 +0200 DocBook: fix issue with fonts. --- .../docbook/issue1732_charstyles-docbook.xml |1 - src/xml.cpp|3 --- 2 files changed, 0

[LyX/master] DocBook: remove now useless function in configure.py.

2020-09-19 Thread Thibaut Cuvelier
commit f28c193569a8b88cbebb318c1f40c9e8d8dfe7b5 Author: Thibaut Cuvelier Date: Fri Sep 11 01:50:26 2020 +0200 DocBook: remove now useless function in configure.py. --- lib/configure.py | 20 1 files changed, 0 insertions(+), 20 deletions(-) diff --git a/lib

[LyX/master] DocBook: fix a crash in bibliography paragraphs.

2020-09-19 Thread Thibaut Cuvelier
commit 3711a38b9c2c1d777ead142460f69284efa82597 Author: Thibaut Cuvelier Date: Sat Sep 12 01:43:57 2020 +0200 DocBook: fix a crash in bibliography paragraphs. --- autotests/export/docbook/SciPoster.lyx | 867 autotests/export/docbook/SciPoster.xml | 65

[LyX/master] DocBook: fine tuning of new lines.

2020-09-19 Thread Thibaut Cuvelier
commit 25f72d392c60e93f5adb2412d5885a758fa2511a Author: Thibaut Cuvelier Date: Tue Aug 18 05:37:46 2020 +0200 DocBook: fine tuning of new lines. --- src/Buffer.cpp | 11 +-- src/output_docbook.cpp |3 ++- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git

[LyX/master] DocBook: new lines around formulae.

2020-09-19 Thread Thibaut Cuvelier
commit 91982ee105c84395cebb637444e52342938edc39 Author: Thibaut Cuvelier Date: Mon Aug 31 00:21:12 2020 +0200 DocBook: new lines around formulae. --- autotests/export/docbook/mathml_ns_entities.xml | 29 -- src/mathed/InsetMathHull.cpp| 12

[LyX/master] DocBook: fix indentation for section titles (including stars).

2020-09-19 Thread Thibaut Cuvelier
commit 97cfabb8831ea5ab58b46f470dcecd317b26df04 Author: Thibaut Cuvelier Date: Sat Aug 29 18:40:31 2020 +0200 DocBook: fix indentation for section titles (including stars). --- autotests/export/docbook/basic.lyx | 31 ++--- autotests/export/docbook/basic.xml | 62

[LyX/master] DocBook: new logic to handle the new lines, only used in output_docbook for now.

2020-09-19 Thread Thibaut Cuvelier
commit 9393ca74ba93b70c2aa610e6c3c2b6aff651eb42 Author: Thibaut Cuvelier Date: Tue Aug 18 00:37:34 2020 +0200 DocBook: new logic to handle the new lines, only used in output_docbook for now. --- lib/layouts/stdlayouts.inc |2 +- lib/layouts/stdlists.inc|2 +- lib/layouts

[LyX/master] XHTML: fix generation of many useless .

2020-09-19 Thread Thibaut Cuvelier
commit 5f0720e9475daa2ce865fc641a4e97d94b4b36a1 Author: Thibaut Cuvelier Date: Fri Sep 11 00:44:49 2020 +0200 XHTML: fix generation of many useless . --- src/output_xhtml.cpp | 28 ++-- 1 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src

[LyX/master] Merge branch 'feature/docbook' into master

2020-09-19 Thread Thibaut Cuvelier
commit 968f7e8cacac366fe86466c1ed74a3cd5fe3387c Merge: 7470305 b5adcec Author: Thibaut Cuvelier Date: Sat Sep 19 20:44:16 2020 +0200 Merge branch 'feature/docbook' into master CMakeLists.txt |5 + autotests/export/docbook/A0_Poster_Simple.lyx

[LyX/master] XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1, and not XHTML5.

2020-09-19 Thread Thibaut Cuvelier
commit c8e2c17a5835f5c656fd6c26a84d793058dc4440 Author: Thibaut Cuvelier Date: Wed Sep 16 03:22:38 2020 +0200 XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1, and not XHTML5. --- src/Buffer.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[LyX/master] DocBook: fix output in Layout::write.

2020-09-19 Thread Thibaut Cuvelier
commit 6c51cabd35b48eb2245330cda49b2be5c9a2c223 Author: Thibaut Cuvelier Date: Sat Sep 12 03:21:08 2020 +0200 DocBook: fix output in Layout::write. --- lib/layouts/aastex.layout |2 +- lib/layouts/shapepar.module | 32 lib/layouts

[LyX/master] DocBook: partially remove use of bpit/epit in docbookParagraphs and docbookSimpleAllParagraphs.

2020-09-19 Thread Thibaut Cuvelier
commit fc0999a4220afb1646a5ae75ea8192b6d304ec56 Author: Thibaut Cuvelier Date: Sat Aug 29 02:55:47 2020 +0200 DocBook: partially remove use of bpit/epit in docbookParagraphs and docbookSimpleAllParagraphs. This will help with the next refactoring to be much cleaner (only work

[LyX/master] DocBook: add new layout parameter DocBookWrapperMergeWithPrevious.

2020-09-19 Thread Thibaut Cuvelier
commit ad18c194920fe8ed8f339ee5fc755e8f3473db51 Author: Thibaut Cuvelier Date: Sun Aug 2 17:07:38 2020 +0200 DocBook: add new layout parameter DocBookWrapperMergeWithPrevious. --- lib/scripts/layout2layout.py |5 - src/Layout.cpp |8 src/Layout.h

[LyX/master] DocBook: generate when required.

2020-09-19 Thread Thibaut Cuvelier
commit 642b18aad0b2add87ef746f78f77f3eb8467f693 Author: Thibaut Cuvelier Date: Sun Aug 30 01:14:44 2020 +0200 DocBook: generate when required. --- autotests/export/docbook/basic.xml |2 + autotests/export/docbook/basic_book.xml |4 +++ src/output_docbook.cpp

[LyX/master] DocBook: new-line behaviour in bibliographies.

2020-09-19 Thread Thibaut Cuvelier
commit 8f3d0fd88fa69d2b8b3f523a02fed88d55cdc22a Author: Thibaut Cuvelier Date: Mon Aug 31 00:45:19 2020 +0200 DocBook: new-line behaviour in bibliographies. --- autotests/export/docbook/Tufte_Book.xml |7 +-- src/BiblioInfo.cpp |2 ++ src/insets

[LyX/master] DocBook: do a little something for shapepar.

2020-09-19 Thread Thibaut Cuvelier
commit 632bad62c9eb7939ed2d6eadf2f3bb5fdf4d31fe Author: Thibaut Cuvelier Date: Mon Aug 31 03:09:16 2020 +0200 DocBook: do a little something for shapepar. --- lib/layouts/shapepar.module | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/lib/layouts

[LyX/master] DocBook: support Full Width from Tufte Book.

2020-09-19 Thread Thibaut Cuvelier
commit ff2e4ec7e65f43bf09b92f4b6b4be9ce135223d3 Author: Thibaut Cuvelier Date: Mon Aug 31 00:43:02 2020 +0200 DocBook: support Full Width from Tufte Book. --- autotests/export/docbook/Tufte_Book.xml | 28 +--- lib/layouts/tufte-book.layout |2 ++ 2

[LyX/master] DocBook: slight code simplification.

2020-09-19 Thread Thibaut Cuvelier
commit bfeb3b66b104f6262de8169e32c49413bfe1a79d Author: Thibaut Cuvelier Date: Sun Sep 13 01:50:11 2020 +0200 DocBook: slight code simplification. --- src/output_docbook.cpp |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/output_docbook.cpp b/src

[LyX/master] Simplify code to generate only one paragraph at a time.

2020-09-19 Thread Thibaut Cuvelier
commit 87dae26e4a8146c7e9b450dfff4d8711deeed933 Author: Thibaut Cuvelier Date: Sun Aug 16 00:59:43 2020 +0200 Simplify code to generate only one paragraph at a time. autotests/export/docbook/basic.xml | 355 +++- autotests/export/docbook/easy.lyx | 253

[LyX/master] DocBook: streamline code to handle abstracts.

2020-09-19 Thread Thibaut Cuvelier
commit f219fe1cd7aaa68ab35ec8b3e7fef25926b77cdd Author: Thibaut Cuvelier Date: Sun Aug 30 00:35:47 2020 +0200 DocBook: streamline code to handle abstracts. --- autotests/export/docbook/basic_book.xml | 23 ++-- src/output_docbook.cpp | 191

[LyX/master] DocBook: fixes in bibliography (missing new line at the end).

2020-09-19 Thread Thibaut Cuvelier
commit c3aa843da8ad1d56b54ac287a585022946422661 Author: Thibaut Cuvelier Date: Sun Aug 30 22:08:01 2020 +0200 DocBook: fixes in bibliography (missing new line at the end). --- autotests/export/docbook/easy.xml|5 +++-- autotests/export/docbook/issue_infinite_loop.xml

[LyX/master] DocBook: bug fixing with wrapper merging.

2020-09-19 Thread Thibaut Cuvelier
commit 976bd91fc2bfea65f22babcc7a9f4762a46f7795 Author: Thibaut Cuvelier Date: Sun Aug 30 03:30:56 2020 +0200 DocBook: bug fixing with wrapper merging. --- .../docbook/bibliography_precooked_aastex.xml | 22 --- src/output_docbook.cpp

[LyX/master] DocBook: make Paragraph::simpleDocBookOnePar return a list of paragraphs.

2020-09-19 Thread Thibaut Cuvelier
commit 52b2d3f683250f7405f0efe14c4f1ff9c064bcf5 Author: Thibaut Cuvelier Date: Wed Aug 26 21:19:38 2020 +0200 DocBook: make Paragraph::simpleDocBookOnePar return a list of paragraphs. Before, it directly wrote to the XMLStream, but it made implementation of new lines tricky. Now

[LyX/master] DocBook: simplify code to handle abstracts.

2020-09-19 Thread Thibaut Cuvelier
commit 7b0f9d95248820bc70b820dd6b558de4a6713bae Author: Thibaut Cuvelier Date: Sun Aug 2 20:43:39 2020 +0200 DocBook: simplify code to handle abstracts. --- .../docbook/bibliography_precooked_aastex.xml |4 +- lib/layouts/aastex.layout |6 + src

[LyX/master] DocBook: adapt SimpleCV for tag types (new-line behaviour).

2020-09-19 Thread Thibaut Cuvelier
commit 1f2c51d56b4a136fd5832041c070b80d9adcc8a2 Author: Thibaut Cuvelier Date: Sun Aug 30 02:30:24 2020 +0200 DocBook: adapt SimpleCV for tag types (new-line behaviour). --- lib/layouts/simplecv.layout |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/layouts

[LyX/master] DocBook: is not valid per se, rather use .

2020-09-19 Thread Thibaut Cuvelier
commit bc9d3ec262c0002827c2b1970350c7dec5ec860d Author: Thibaut Cuvelier Date: Mon Aug 31 00:50:37 2020 +0200 DocBook: is not valid per se, rather use . The cleanest solution would still be , but this ought to be enough. Otherwise, that would imply having two tags for some fonts

[LyX/master] DocBook: fix font issues when a paragraph has an InsetNewline.

2020-09-19 Thread Thibaut Cuvelier
commit 9d3a717ef1eda27ab2b58ae84b483d044364e156 Author: Thibaut Cuvelier Date: Sun Aug 30 23:38:40 2020 +0200 DocBook: fix font issues when a paragraph has an InsetNewline. --- autotests/export/docbook/issue5165.xml|5 +++-- autotests/export/docbook

[LyX/master] layout2layout: use name instead of pseudonym.

2020-09-19 Thread Thibaut Cuvelier
commit dd8660c07e2864d7abfd8708504d06b032c3ed48 Author: Thibaut Cuvelier Date: Sat Sep 12 01:04:43 2020 +0200 layout2layout: use name instead of pseudonym. --- lib/scripts/layout2layout.py |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/scripts

[LyX/master] DocBook: documentation for the new tags.

2020-09-19 Thread Thibaut Cuvelier
commit 360139a0911415a9ce31137aedef760714f6e189 Author: Thibaut Cuvelier Date: Mon Aug 17 23:35:40 2020 +0200 DocBook: documentation for the new tags. --- lib/doc/Customization.lyx | 649 - lib/generate_contributions.py |2 +- 2 files

[LyX/master] DocBook: fix line issues around programlisting.

2020-09-19 Thread Thibaut Cuvelier
commit 654559feb8b4ed357647554b4043b6c631482b4e Author: Thibaut Cuvelier Date: Sun Aug 30 23:56:16 2020 +0200 DocBook: fix line issues around programlisting. --- autotests/export/docbook/listings.xml |3 +-- src/Paragraph.cpp |7 +-- src/Paragraph.h

[LyX/master] DocBook: implement LyX-Code.

2020-09-19 Thread Thibaut Cuvelier
commit 19734ea4543be66a186d6bf0592386d735c3a8cb Author: Thibaut Cuvelier Date: Mon Aug 31 01:24:28 2020 +0200 DocBook: implement LyX-Code. This is quite ugly. --- lib/layouts/beamer.layout |3 ++ lib/layouts/egs.layout|3 ++ lib/layouts/lyxmacros.inc |3 ++ src

[LyX/master] DocBook: fix for ordering.

2020-09-19 Thread Thibaut Cuvelier
commit c92e0bc5e7b275e599caa50b40a3038ca27bff87 Author: Thibaut Cuvelier Date: Sun Aug 2 18:07:07 2020 +0200 DocBook: fix for ordering. --- src/Layout.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Layout.cpp b/src/Layout.cpp index a7e80ea..eeb58d0

[LyX/master] Converters: slightly more pythonic code.

2020-09-19 Thread Thibaut Cuvelier
commit e4065cc1b1394c61108735611e0ebf02b12e6bbe Author: Thibaut Cuvelier Date: Wed Sep 16 04:02:51 2020 +0200 Converters: slightly more pythonic code. --- lib/scripts/convertDefault.py | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/scripts

[LyX/master] DocBook: introduce Floating::docbookFloatType.

2020-09-19 Thread Thibaut Cuvelier
commit 2cd7a94f8b31f1b59d002c4861585c32059c4269 Author: Thibaut Cuvelier Date: Thu Sep 3 00:48:55 2020 +0200 DocBook: introduce Floating::docbookFloatType. This ensures that all comparisons for DocBook are made on the same normalised version of the float type. This cased

[LyX/master] DocBook: adapt AASTeX for tag types (new-line behaviour).

2020-09-19 Thread Thibaut Cuvelier
commit fb8c07a2c76e082593152086d495b5a3f278fd31 Author: Thibaut Cuvelier Date: Sun Aug 30 02:34:49 2020 +0200 DocBook: adapt AASTeX for tag types (new-line behaviour). --- .../docbook/bibliography_precooked_aastex.xml | 366 lib/layouts/aastex.layout

[LyX/master] DocBook: fix handling of index end-of-range.

2020-09-19 Thread Thibaut Cuvelier
commit a8da31e5e0549a2b328d532c6406ea4a3bba26f2 Author: Thibaut Cuvelier Date: Sat Aug 29 23:41:28 2020 +0200 DocBook: fix handling of index end-of-range. --- autotests/export/docbook/basic.xml |6 +- src/insets/InsetIndex.cpp | 79 +++ src

[LyX/master] DocBook: better output with the Linguistics module.

2020-09-19 Thread Thibaut Cuvelier
commit 08a58242c157868efc5b3d52577e09f898725198 Author: Thibaut Cuvelier Date: Wed Sep 2 00:46:08 2020 +0200 DocBook: better output with the Linguistics module. One issue left: output within an , that does not make sense... I'm debugging it. autotests/export/docbook

[LyX/master] A few more constants to avoid copies

2020-09-19 Thread Thibaut Cuvelier
commit 9184ae14f0e1925cc6c63b046a65157c08d65159 Author: Thibaut Cuvelier Date: Sun Aug 16 19:07:14 2020 +0200 A few more constants to avoid copies --- src/insets/InsetBibtex.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/insets/InsetBibtex.cpp b/src

[LyX/master] DocBook: fix crash with Linguistics example.

2020-09-19 Thread Thibaut Cuvelier
commit abed1f3e6e3654e60f5f4db877fc7f3c3180bbb2 Author: Thibaut Cuvelier Date: Wed Sep 2 00:36:46 2020 +0200 DocBook: fix crash with Linguistics example. This was due to Floating::docbookTag not returning anything with the floattype_ tableau. Another issue that happened

[LyX/master] DocBook: floats can no more override DocBookTag.

2020-09-19 Thread Thibaut Cuvelier
commit 40f4da3c9f2ea863d3fe979000bfa095a75e88de Author: Thibaut Cuvelier Date: Thu Sep 3 00:23:31 2020 +0200 DocBook: floats can no more override DocBookTag. This lead to a quite subtle bug. The major problem is that float tags depend on whether the LyX float has a title

[LyX/master] DocBook: Coverity potential problem for precooked bibliographies.

2020-09-19 Thread Thibaut Cuvelier
commit 3d348818e083ceb531d916be01ef2db99392f9c3 Author: Thibaut Cuvelier Date: Tue Aug 25 02:11:08 2020 +0200 DocBook: Coverity potential problem for precooked bibliographies. --- src/output_docbook.cpp |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src

[LyX/master] XHTML sections: only filter out things that are not Sectioning, not based on the level.

2020-09-19 Thread Thibaut Cuvelier
commit a85b4b88ed4e8e35ee8f6d976cc1a702a106c00f Author: Thibaut Cuvelier Date: Sat Sep 19 03:23:00 2020 +0200 XHTML sections: only filter out things that are not Sectioning, not based on the level. autotests/export/xhtml/zh_CN_Tutorial.lyx | 974 +++ autotests

[LyX/master] DocBook: avoid generating fonts for "special cases" like equations.

2020-09-19 Thread Thibaut Cuvelier
commit e995414917937e1fd8bdf108c8269777cf215719 Author: Thibaut Cuvelier Date: Mon Aug 31 00:18:35 2020 +0200 DocBook: avoid generating fonts for "special cases" like equations. --- autotests/export/docbook/lists.xml|2 +- autotests/export/docbook/math_in_font.

[LyX/master] DocBook: remove useless includes.

2020-09-19 Thread Thibaut Cuvelier
commit 6a4d3dbef779c0be9a7e69f1801b2bfb4dcb86c8 Author: Thibaut Cuvelier Date: Tue Aug 18 05:40:34 2020 +0200 DocBook: remove useless includes. --- src/output_docbook.cpp |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/src/output_docbook.cpp b/src

[LyX/master] Fix two warnings in BufferView.

2020-09-19 Thread Thibaut Cuvelier
commit 8ed8d36595617e20d7994346ad54aa0e50b36ec3 Author: Thibaut Cuvelier Date: Thu Sep 3 00:37:52 2020 +0200 Fix two warnings in BufferView. --- src/BufferView.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index

[LyX/master] DocBook: allow empty paragraphs before the section.

2020-09-19 Thread Thibaut Cuvelier
commit a852706bf07d9ee265754c639560a4346de623d8 Author: Thibaut Cuvelier Date: Sun Aug 2 16:52:33 2020 +0200 DocBook: allow empty paragraphs before the section. --- .../docbook/bibliography_precooked_aastex.xml | 17 ++ src/output_docbook.cpp

[LyX/master] XML: memorise if the last thing that is getting output is a line feed.

2020-09-19 Thread Thibaut Cuvelier
commit 27a44f8e4854807448e827fc473995477ac037e6 Author: Thibaut Cuvelier Date: Mon Aug 17 23:44:02 2020 +0200 XML: memorise if the last thing that is getting output is a line feed. --- src/xml.cpp | 13 + src/xml.h |6 +- 2 files changed, 18 insertions(+), 1

[LyX/master] DocBook: improve equation formatting (new lines for block equations).

2020-09-19 Thread Thibaut Cuvelier
commit 39ad6e84f076cea65f140593e5b6647905219af3 Author: Thibaut Cuvelier Date: Sat Aug 29 19:05:59 2020 +0200 DocBook: improve equation formatting (new lines for block equations). --- autotests/export/docbook/basic.lyx |2 +- autotests/export/docbook/basic.xml |9 + src

[LyX/master] DocBook: streamline code to handle sections.

2020-09-19 Thread Thibaut Cuvelier
commit 17b06f5336241236191d7ec9eb7643669ccfbab9 Author: Thibaut Cuvelier Date: Sun Aug 30 00:58:50 2020 +0200 DocBook: streamline code to handle sections. --- src/output_docbook.cpp | 21 ++--- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src

[LyX/master] DocBook: rewrite makeListEnvironment.

2020-09-19 Thread Thibaut Cuvelier
commit fc2c36289b5c0cd15f453c4905bb56a2b20aef25 Author: Thibaut Cuvelier Date: Thu Aug 27 00:52:06 2020 +0200 DocBook: rewrite makeListEnvironment. --- autotests/export/docbook/lists.lyx | 129 -- autotests/export/docbook/lists.xml | 136

[LyX/master] Slight code-consistency improvements.

2020-09-19 Thread Thibaut Cuvelier
commit 4d78fe59577ab1f0aee03b4fe38bb76cdfec41be Author: Thibaut Cuvelier Date: Sun Aug 2 17:17:25 2020 +0200 Slight code-consistency improvements. --- src/output_docbook.cpp | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/output_docbook.cpp b/src

[LyX/master] DocBook: start splitting environment handling in two, to have proper things for lists.

2020-09-19 Thread Thibaut Cuvelier
commit 8656fbd520030a2879f60a55edf0dfc706a2a60b Author: Thibaut Cuvelier Date: Sat Aug 29 03:03:16 2020 +0200 DocBook: start splitting environment handling in two, to have proper things for lists. --- src/output_docbook.cpp | 24 ++-- 1 files changed, 14 insertions

[LyX/master] DocBook: make all make* functions have the same argument order.

2020-09-19 Thread Thibaut Cuvelier
commit 1bd49f9c39b103b2d8bbe079bc603cfa47509ae5 Author: Thibaut Cuvelier Date: Sat Aug 29 03:46:30 2020 +0200 DocBook: make all make* functions have the same argument order. --- src/output_docbook.cpp | 33 - 1 files changed, 16 insertions(+), 17

[LyX/master] XML: bad fix for a crash that only happened in XHTML.

2020-09-19 Thread Thibaut Cuvelier
commit faec7838222e5314ade3d89a3fadce731b93d759 Author: Thibaut Cuvelier Date: Fri Sep 11 00:39:41 2020 +0200 XML: bad fix for a crash that only happened in XHTML. As an error is output, I suppose that this behaviour is OK. --- src/xml.cpp |3 ++- 1 files changed, 2

[LyX/master] DocBook: define new arguments in layouts to configure new-line behaviour.

2020-09-19 Thread Thibaut Cuvelier
commit 6998e76495d4dedbc5dc11db8e0cf39b590fd674 Author: Thibaut Cuvelier Date: Mon Aug 17 23:06:26 2020 +0200 DocBook: define new arguments in layouts to configure new-line behaviour. --- lib/scripts/layout2layout.py |7 ++- src/Floating.cpp | 35 +++ src

[LyX/master] DocBook: implement theorems.

2020-09-19 Thread Thibaut Cuvelier
commit ca1ca4326b027d7781c6ff31c1dfb1b5e4e53d8c Author: Thibaut Cuvelier Date: Mon Aug 31 02:39:37 2020 +0200 DocBook: implement theorems. This is a minimal implementation, as DocBook lacks a serious way of encoding all of this. Maybe a could do the trick, but I'd need to find

[LyX/master] DocBook: use DocBookItemTag within paragraphs.

2020-09-19 Thread Thibaut Cuvelier
commit c417253d0b07ba8d908a88351301fd6748977aee Author: Thibaut Cuvelier Date: Sun Aug 2 17:28:50 2020 +0200 DocBook: use DocBookItemTag within paragraphs. This is at least helpful for AAS, even though it slightly resembles a repurposition of that parameter. --- .../docbook

[LyX/master] XML: use the new mechanisms for CR detection with errors.

2020-09-19 Thread Thibaut Cuvelier
commit bfc67c59b44415f2dea7ad068a8ac86e2b19f488 Author: Thibaut Cuvelier Date: Sat Aug 29 02:43:30 2020 +0200 XML: use the new mechanisms for CR detection with errors. This helps tracking down line problems even in the presence of errors. --- src/xml.cpp | 12 src

[LyX/master] DocBook: avoid using isspace in StartTag::writeTag.

2020-09-19 Thread Thibaut Cuvelier
commit 1a76fb9658cd26db9c224c0560905e6150b10efb Author: Thibaut Cuvelier Date: Thu Sep 3 01:23:20 2020 +0200 DocBook: avoid using isspace in StartTag::writeTag. This is the cause of crashes (on both Windows and Linux). --- src/output_docbook.cpp | 12 +--- src/xml.cpp

[LyX/master] DocBook: fix float tags (was unduly overridden).

2020-09-19 Thread Thibaut Cuvelier
commit 78a361778f2ca7cc18e9a5fa6deb20694a9150e5 Author: Thibaut Cuvelier Date: Sat Aug 29 22:58:23 2020 +0200 DocBook: fix float tags (was unduly overridden). The output was not valid for floats without title. --- CMakeLists.txt |5 + autotests/export

[LyX/master] DocBook: handle other cases of subfigures.

2020-09-19 Thread Thibaut Cuvelier
commit d0a5ba4859702c78fb70ae30fe1f39818c98b102 Author: Thibaut Cuvelier Date: Fri Sep 11 03:14:41 2020 +0200 DocBook: handle other cases of subfigures. --- src/insets/InsetFloat.cpp | 42 +++--- 1 files changed, 27 insertions(+), 15 deletions

[LyX/master] DocBook: fix compilation issues.

2020-09-19 Thread Thibaut Cuvelier
commit faaf780bed0e48eff34390c7c0bdb98e0f41b244 Author: Thibaut Cuvelier Date: Tue Aug 25 02:41:07 2020 +0200 DocBook: fix compilation issues. --- src/output_docbook.cpp | 40 +++- 1 files changed, 19 insertions(+), 21 deletions(-) diff --git a/src

[LyX/master] XHTML: remove support.

2020-09-19 Thread Thibaut Cuvelier
commit 92ad86daccfcdf9ae2ebfa084c38b2712d0cc8c3 Author: Thibaut Cuvelier Date: Wed Sep 16 03:18:32 2020 +0200 XHTML: remove support. --- src/output_xhtml.cpp | 37 - 1 files changed, 0 insertions(+), 37 deletions(-) diff --git a/src/output_xhtml.cpp

[LyX/master] DocBook: fix margin notes.

2020-09-19 Thread Thibaut Cuvelier
commit 6d246bba695bdfd414c0359891fbbb4e9a061f99 Author: Thibaut Cuvelier Date: Mon Aug 31 00:42:32 2020 +0200 DocBook: fix margin notes. They were nested twice in . Also fixes a new line issue. --- lib/layouts/stdinsets.inc|3 +-- src/insets/InsetMarginal.cpp |1 + 2

[LyX/master] DocBook: make openParTag/closeTag use paragraphs instead of layouts.

2020-09-19 Thread Thibaut Cuvelier
commit 72c304a6297311086d8fe1a17622f7b79623d3bd Author: Thibaut Cuvelier Date: Sun Aug 2 17:35:16 2020 +0200 DocBook: make openParTag/closeTag use paragraphs instead of layouts. Not useful per se, but will be next with checking whether the wrapper tags should be opened/closed

[LyX/master] DocBook: fix titles in KOMA Script.

2020-09-19 Thread Thibaut Cuvelier
commit 5b01c80635f9d33d405c4d9cac05aaf9f75c6aa2 Author: Thibaut Cuvelier Date: Sun Aug 30 21:51:40 2020 +0200 DocBook: fix titles in KOMA Script. --- .../export/docbook/description_list_nested.xml | 13 - autotests/export/docbook/deutsches_ert.xml | 17

[LyX/master] Merge findLastParagraph and findLastBibliographyParagraph to lower code duplication.

2020-09-19 Thread Thibaut Cuvelier
commit 1a09086ec2a1e83e29437f8ba7d4115ce60eac10 Author: Thibaut Cuvelier Date: Sun Aug 2 17:23:37 2020 +0200 Merge findLastParagraph and findLastBibliographyParagraph to lower code duplication. Maybe these functions should move to ParagraphList.h/cpp? --- src/output_docbook.cpp

[LyX/master] XHTML: restore sections.

2020-09-19 Thread Thibaut Cuvelier
commit 0dfa24020919a436a5ee8937bb0bbc7c0863406d Author: Thibaut Cuvelier Date: Wed Sep 16 04:13:42 2020 +0200 XHTML: restore sections. --- src/output_xhtml.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index

[LyX/master] Fix a few warnings.

2020-09-19 Thread Thibaut Cuvelier
commit 594a4763b784edeaa96f875673dd3b5b4742ffc7 Author: Thibaut Cuvelier Date: Wed Sep 2 00:00:54 2020 +0200 Fix a few warnings. --- src/Paragraph.cpp |4 ++-- src/insets/InsetNewline.cpp |2 +- src/output_docbook.cpp |2 +- 3 files changed, 4 insertions(+), 4

[LyX/master] DocBook: in configure.py, DeclareDocBookClass doesn't need to be checked anymore.

2020-09-19 Thread Thibaut Cuvelier
commit 41a15f7b6d7844842d3670e564403133e85f26fb Author: Thibaut Cuvelier Date: Fri Sep 11 03:05:04 2020 +0200 DocBook: in configure.py, DeclareDocBookClass doesn't need to be checked anymore. --- lib/configure.py | 38 ++ 1 files changed, 18

[LyX/master] DocBook: fix bibliographies (end of and sections).

2020-09-19 Thread Thibaut Cuvelier
commit ec0f4885a7fd9afb007c3a4604a4e75c10ac0452 Author: Thibaut Cuvelier Date: Sun Aug 30 02:30:04 2020 +0200 DocBook: fix bibliographies (end of and sections). --- .../export/docbook/bibliography_precooked.xml |3 +-- src/output_docbook.cpp | 11

[LyX/master] DocBook: use DocBookWrapperMergeWithPrevious in the code.

2020-09-19 Thread Thibaut Cuvelier
commit 0f145c3ef0828dc7e06ff839a3ececf66edf5be6 Author: Thibaut Cuvelier Date: Sun Aug 2 18:58:36 2020 +0200 DocBook: use DocBookWrapperMergeWithPrevious in the code. --- .../docbook/bibliography_precooked_aastex.xml | 42 + lib/layouts/aastex.layout

[LyX/master] DocBook: subfigures example is fixed.

2020-09-19 Thread Thibaut Cuvelier
commit b5312cf51f7371044539aa492144cc6992374847 Author: Thibaut Cuvelier Date: Mon Aug 31 00:46:49 2020 +0200 DocBook: subfigures example is fixed. Probably thanks to the magic of the previous commits. --- autotests/export/docbook/subfigures.xml | 35

[LyX/master] XHTML: fix for encodings in attributes (patch by Kornel)

2020-09-19 Thread Thibaut Cuvelier
commit b5adcec28aac69e722e8b2bbf28ad2974010f853 Author: Thibaut Cuvelier Date: Sat Sep 19 17:26:17 2020 +0200 XHTML: fix for encodings in attributes (patch by Kornel) --- src/xml.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/xml.h b/src/xml.h index

[LyX/master] DocBook: fixes in lists.

2020-09-19 Thread Thibaut Cuvelier
commit 6688b076cc6994b57564ba575d8276bd68f4bd2d Author: Thibaut Cuvelier Date: Sun Aug 30 22:05:40 2020 +0200 DocBook: fixes in lists. Actually output something when list item is empty. XMLStream discarded the sequence StartTag/EndTag (nothing in between). New-line

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

<    5   6   7   8   9   10   11   12   13   14   >