Re: [LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

2021-03-23 Thread Thibaut Cuvelier
On Tue, 23 Mar 2021 at 22:08, Richard Kimberly Heck wrote: > On 3/23/21 4:13 PM, Thibaut Cuvelier wrote: > > On Tue, 23 Mar 2021 at 15:48, Richard Kimberly Heck > wrote: > >> On 3/22/21 7:33 PM, Thibaut Cuvelier wrote: >> > commit 0f782b0ded08953dbcde48f22d51ba8

Re: [LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

2021-03-23 Thread Thibaut Cuvelier
On Tue, 23 Mar 2021 at 22:08, Richard Kimberly Heck wrote: > On 3/23/21 4:13 PM, Thibaut Cuvelier wrote: > > On Tue, 23 Mar 2021 at 15:48, Richard Kimberly Heck > wrote: > >> On 3/22/21 7:33 PM, Thibaut Cuvelier wrote: >> > commit 0f782b0ded08953dbcde48f22d51ba8

Re: [LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

2021-03-23 Thread Thibaut Cuvelier
On Tue, 23 Mar 2021 at 21:49, Pavel Sanda wrote: > On Tue, Mar 23, 2021 at 09:37:07PM +0100, Thibaut Cuvelier wrote: > > For now, I made a more explicit tool tip. In which part of the > > documentation would you add this? I was thinking about adding a new > section > &

[LyX/master] DocBook: add some documentation in Additional.

2021-03-23 Thread Thibaut Cuvelier
commit d0120078fd1b36076ee77972de068cd459378e5a Author: Thibaut Cuvelier Date: Tue Mar 23 22:32:03 2021 +0100 DocBook: add some documentation in Additional. --- lib/doc/Additional.lyx | 176 +++- 1 files changed, 175 insertions(+), 1 deletions

[LyX/master] Improve tool tip for the new DocBook MathML-prefix option.

2021-03-23 Thread Thibaut Cuvelier
commit 6102327d3b69c1caf1e931f98e22396cca425720 Author: Thibaut Cuvelier Date: Tue Mar 23 21:28:44 2021 +0100 Improve tool tip for the new DocBook MathML-prefix option. --- src/frontends/qt/ui/OutputUi.ui |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src

Re: [LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

2021-03-23 Thread Thibaut Cuvelier
On Tue, 23 Mar 2021 at 17:15, Pavel Sanda wrote: > On Tue, Mar 23, 2021 at 10:48:22AM -0400, Richard Kimberly Heck wrote: > > On 3/22/21 7:33 PM, Thibaut Cuvelier wrote: > > > commit 0f782b0ded08953dbcde48f22d51ba87133bc029 > > > Author: Thibaut Cuvelier > > &

Re: [LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

2021-03-23 Thread Thibaut Cuvelier
On Tue, 23 Mar 2021 at 15:48, Richard Kimberly Heck wrote: > On 3/22/21 7:33 PM, Thibaut Cuvelier wrote: > > commit 0f782b0ded08953dbcde48f22d51ba87133bc029 > > Author: Thibaut Cuvelier > > Date: Tue Mar 23 00:08:50 2021 +0100 > > > > DocBook: add a

Re: [LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

2021-03-23 Thread Thibaut Cuvelier
On Tue, 23 Mar 2021 at 15:48, Richard Kimberly Heck wrote: > On 3/22/21 7:33 PM, Thibaut Cuvelier wrote: > > commit 0f782b0ded08953dbcde48f22d51ba87133bc029 > > Author: Thibaut Cuvelier > > Date: Tue Mar 23 00:08:50 2021 +0100 > > > > DocBook: add a

[LyX/master] Amend 0f782b0d: add the required changes to lyx2lyx.

2021-03-23 Thread Thibaut Cuvelier
commit 7a1e048f448f4db587624f0e4f76ff421dd46e9e Author: Thibaut Cuvelier Date: Tue Mar 23 21:12:34 2021 +0100 Amend 0f782b0d: add the required changes to lyx2lyx. --- lib/lyx2lyx/lyx_2_4.py | 18 ++ src/version.h |4 ++-- 2 files changed, 16 insertions(+), 6

[LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

2021-03-22 Thread Thibaut Cuvelier
commit 0f782b0ded08953dbcde48f22d51ba87133bc029 Author: Thibaut Cuvelier Date: Tue Mar 23 00:08:50 2021 +0100 DocBook: add a parameter to change the namespace prefix for MathML. --- src/BufferParams.h |9 + src/mathed/InsetMathHull.cpp | 35

[LyX/master] DocBook: add the MathML-namespace prefix in the GUI.

2021-03-22 Thread Thibaut Cuvelier
commit 6a5288e31ead332a096b6137699a2cc767665e94 Author: Thibaut Cuvelier Date: Tue Mar 23 00:32:36 2021 +0100 DocBook: add the MathML-namespace prefix in the GUI. --- src/BufferParams.cpp |6 src/frontends/qt/GuiDocument.cpp | 10 +- src/frontends/qt/ui

[LyX/master] DocBook: for PDF export with Pandoc, support the current syntax for PDf engine

2021-03-18 Thread Thibaut Cuvelier
commit befeb204c99673ac945447e61548c2b351363eeb Author: Thibaut Cuvelier Date: Thu Mar 18 20:40:29 2021 +0100 DocBook: for PDF export with Pandoc, support the current syntax for PDf engine --- lib/configure.py |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git

[Bug 1918458] [NEW] [Swift SF515-51T, Realtek ALC256, Grey Speaker, Internal] Playback problem, no sound from speakers, headphones ok

2021-03-10 Thread Thibaut Soubrié
Public bug reported: Expect : sound from speaker Instead, obtain : no sound. Tried various configuration of /etc/modprobe.d/alsa-conf with : options snd-hda-intel model= and options snd-intel-dspcfg dsp_driver=3 or 1 and systematic reboot. Either I get dummy output, or I get proper output

Re: [LyX/master] DocBook: implement prepended/appended arguments for all kinds of elements.

2021-02-21 Thread Thibaut Cuvelier
Hi Pavel, Sorry, I won't be able to have a look at it before at least a week... Maybe a make_tuple might help? On Sun, 21 Feb 2021, 14:20 Pavel Sanda, wrote: > On Fri Feb 19 17:38:22 2021 +0100, Thibaut Cuvelier wrote: > > commit 358e4ace560f4a6a3a8435ac9959e38a23cb6d56 > Aut

[LyX/master] Amend 61657bd610466a0fcd8e611d5942cff328ae6169

2021-02-21 Thread Thibaut Cuvelier
commit 5b9929c9d7581daf89cec400b365f4163214fff6 Author: Thibaut Cuvelier Date: Sun Feb 21 13:14:51 2021 +0100 Amend 61657bd610466a0fcd8e611d5942cff328ae6169 Restore indentation to be more consistent. --- src/insets/InsetERT.cpp |2 +- 1 files changed, 1 insertions(+), 1

[LyX/master] DocBook: convert a first ERT.

2021-02-20 Thread Thibaut Cuvelier
commit 61657bd610466a0fcd8e611d5942cff328ae6169 Author: Thibaut Cuvelier Date: Fri Feb 19 22:38:25 2021 +0100 DocBook: convert a first ERT. --- src/insets/InsetERT.cpp | 16 +++- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/insets/InsetERT.cpp b/src

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

2021-02-19 Thread Thibaut Cuvelier
On Mon, 8 Feb 2021 at 08:25, Stephan Witt wrote: > Am 08.02.2021 um 06:42 schrieb Thibaut Cuvelier : > > > > On Mon, 8 Feb 2021 at 00:56, Stephan Witt wrote: > > Next problem is the image path of the referenced clipart „Fussnote.png“: > > > > 00:52:28.850

[LyX/master] ePub: try harder to find image files.

2021-02-19 Thread Thibaut Cuvelier
commit b9f355fdb15e5166a3962cff2b1b7d3d1b32a822 Author: Thibaut Cuvelier Date: Fri Feb 19 20:59:20 2021 +0100 ePub: try harder to find image files. --- lib/configure.py|4 ++-- lib/scripts/docbook2epub.py | 43 +-- 2 files changed

Re: [LyX/master] ctests: uninvert 2 docbook exports now succeeding

2021-02-19 Thread Thibaut Cuvelier
-440,6 +440,8 @@ export/templates/Books/Springer.*/.*_docbook5 > > !export/export/docbook/svglo_docbook5 > > export/export/docbook/sv.*_docbook5 > > # - scrbook with too many customisations. > > +!export/templates/Theses/PhD_Thesis/Acknowledgments_docbook5 > > +!export/

Re: Failing ctest: doc/Customization_docbook5

2021-02-19 Thread Thibaut Cuvelier
It should be fixed with 358e4ace560f4a6a3a8435ac9959e38a23cb6d56. Does this patch also work on your side? On Fri, 19 Feb 2021 at 15:58, Thibaut Cuvelier wrote: > Hi Scott, > > Yes, I can reproduce. I am working on a fix. > > On Thu, 18 Feb 2021 at 06:18, Scott Kostyshak wrot

[LyX/master] DocBook: implement prepended/appended arguments for all kinds of elements.

2021-02-19 Thread Thibaut Cuvelier
commit 358e4ace560f4a6a3a8435ac9959e38a23cb6d56 Author: Thibaut Cuvelier Date: Fri Feb 19 17:38:22 2021 +0100 DocBook: implement prepended/appended arguments for all kinds of elements. Previously, it was just in InsetText. --- src/Paragraph.cpp | 90

Re: Failing ctest: doc/Customization_docbook5

2021-02-19 Thread Thibaut Cuvelier
Hi Scott, Yes, I can reproduce. I am working on a fix. On Thu, 18 Feb 2021 at 06:18, Scott Kostyshak wrote: > Thibaut, can you reproduce? > > Scott > -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

[LyX/master] DocBook: force paragraphs in HTML cells to allow for nested tables.

2021-02-17 Thread Thibaut Cuvelier
commit 6df4597e0282044bcb96d4598acaade35ee6432a Author: Thibaut Cuvelier Date: Wed Feb 17 23:32:23 2021 +0100 DocBook: force paragraphs in HTML cells to allow for nested tables. CALS still invalid because it forbids nested tables. --- autotests/export/docbook/table_nested.lyx

[LyX/master] DocBook: spurious spaces in table attributes.

2021-02-17 Thread Thibaut Cuvelier
commit da92c9a950b370c1b6297e37abc497882066fba9 Author: Thibaut Cuvelier Date: Wed Feb 17 23:25:41 2021 +0100 DocBook: spurious spaces in table attributes. --- src/insets/InsetTabular.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insets

[LyX/master] DocBook: TODO is outdated, table type is checked within docbookRow.

2021-02-17 Thread Thibaut Cuvelier
commit bfa67b1f8850c26040ad252e7286ed723aeafbb1 Author: Thibaut Cuvelier Date: Wed Feb 17 22:55:37 2021 +0100 DocBook: TODO is outdated, table type is checked within docbookRow. --- src/insets/InsetTabular.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src

[LyX/master] DocBook: add support for short titles.

2021-02-17 Thread Thibaut Cuvelier
commit ba672f7f7971cd50a11f452ea075277a113c93ff Author: Thibaut Cuvelier Date: Sun Feb 14 06:35:13 2021 +0100 DocBook: add support for short titles. Currently, the DocBook output is not valid. This is solved by the next two commits. --- lib/layouts/scrclass.inc|5

Re: configure.py assumes "python" command exists

2021-02-14 Thread Thibaut Cuvelier
On Mon, 15 Feb 2021 at 01:43, Scott Kostyshak wrote: > Some things did not work when I compiled on Ubuntu 20.10 because by > default Ubuntu 20.10 does not have a "python" command and instead > realies on "python2" and "python3" commands. The fix is easy: just > needed to install the package

Re: [LyX/master] DocBook: mark dates to disallow fonts inside.

2021-02-14 Thread Thibaut Cuvelier
On Sun, 14 Feb 2021 at 17:13, Richard Kimberly Heck wrote: > On 2/14/21 5:25 AM, Enrico Forestieri wrote: > > On Sun, Feb 14, 2021 at 06:05:12AM +0100, Thibaut Cuvelier wrote: > >> commit 5297862855f89ed44e62e7667e83b5fc1fd16e16 > >> Author: Thibaut Cuvelier >

[LyX/master] DocBook: mark dates to disallow fonts inside.

2021-02-13 Thread Thibaut Cuvelier
commit 5297862855f89ed44e62e7667e83b5fc1fd16e16 Author: Thibaut Cuvelier Date: Sun Feb 14 06:08:36 2021 +0100 DocBook: mark dates to disallow fonts inside. One more test passes. --- development/autotests/invertedTests |1 - lib/layouts/AEA.layout |2 ++ lib

[LyX/master] DocBook: some tests start passing with double inlines fixed.

2021-02-13 Thread Thibaut Cuvelier
commit 7ee196adbf3338e94fb7fcd4e404cdbca5587d53 Author: Thibaut Cuvelier Date: Sun Feb 14 05:39:24 2021 +0100 DocBook: some tests start passing with double inlines fixed. --- development/autotests/invertedTests |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git

[LyX/master] Amend ac98f21f

2021-02-13 Thread Thibaut Cuvelier
commit 25d3d163609c24881949d5385388761561c190d9 Author: Thibaut Cuvelier Date: Sun Feb 14 05:36:37 2021 +0100 Amend ac98f21f --- src/output_docbook.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/output_docbook.cpp b/src/output_docbook.cpp index f3ac018

[LyX/master] DocBook: for books only, create a preface around the first few elements so that the result is valid.

2021-02-13 Thread Thibaut Cuvelier
commit ac98f21f8c442a06752758eb0fb8ecd77fc28e97 Author: Thibaut Cuvelier Date: Sun Feb 14 05:20:26 2021 +0100 DocBook: for books only, create a preface around the first few elements so that the result is valid. Books can only contain parts and chapters, not single sections

Re: LyX and markdown / pandoc

2021-02-13 Thread Thibaut Cuvelier
On Sat, 13 Feb 2021 at 22:42, Scott Kostyshak wrote: > On Sat, Feb 13, 2021 at 08:58:40PM +0100, Thibaut Cuvelier wrote: > > Hi Julien, > > > > This would be awesome! It would still be quite a lot of work, though (I > > have been through a similar pain when r

Re: LyX and markdown / pandoc

2021-02-13 Thread Thibaut Cuvelier
Hi Julien, This would be awesome! It would still be quite a lot of work, though (I have been through a similar pain when rewriting the DocBook export). As far as I can see, the Pandoc format is really poor (after all, it's very similar to Markdown) compared to LyX: conversion to that format will

Re: [LyX/master] ePub: detect and use xsltproc.

2021-02-13 Thread Thibaut Cuvelier
On Sat, 13 Feb 2021 at 00:05, Pavel Sanda wrote: > On Fri, Feb 12, 2021 at 11:18:38PM +0100, Thibaut Cuvelier wrote: > > Are your two files correctly uploaded? 7Zip tells me that the CRC check > > failed for the xsltproc file (and indeed there is at least one missing >

Re: 2.4 alpha2 failing on windows 10

2021-02-13 Thread Thibaut Cuvelier
On Sat, 13 Feb 2021 at 05:40, Enrico Forestieri wrote: > On Fri, Feb 12, 2021 at 07:31:46PM +, José Abílio Matos wrote: > > On Friday, February 12, 2021 3:01:19 PM WET Thibaut Cuvelier wrote: > > > Actually, it looks like \e is a GCC-only extension that is not > > &

[LyX/master] Stop using a GCC extension for an unprintable character in regex.

2021-02-13 Thread Thibaut Cuvelier
commit d8c6bc7c1f23ae984c016ffd3a809bde517a24ce Author: Thibaut Cuvelier Date: Sat Feb 13 18:23:01 2021 +0100 Stop using a GCC extension for an unprintable character in regex. --- src/support/filetools.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src

[LyX/master] DocBook: add the DocBookNoFontInside layout configuration.

2021-02-12 Thread Thibaut Cuvelier
commit d18dff22b5583a126d37f770616d3076a72f99c4 Author: Thibaut Cuvelier Date: Sat Feb 13 04:34:03 2021 +0100 DocBook: add the DocBookNoFontInside layout configuration. --- autotests/export/docbook/author_plus_font.lyx | 277 + autotests/export/docbook

ePub validation

2021-02-12 Thread Thibaut Cuvelier
Dear list, I can't find the exact message where this issue was raised, but it would be useful to check if the generated ePub files are valid. Most of the process relies on external dependencies, so I don't think it's really useful to test if several XSLT processors give the same output. However,

Re: [LyX/master] ePub: detect and use xsltproc.

2021-02-12 Thread Thibaut Cuvelier
On Fri, 12 Feb 2021 at 21:38, Pavel Sanda wrote: > On Mon, Feb 08, 2021 at 04:18:17PM +0100, Thibaut Cuvelier wrote: > > > I am happy to give xsltproc a try under linux. Is the output supposed > to > > > give identical result to saxon -- or is there some realist

[LyX/master] Zoom using Ctrl+something instead of Alt+something.

2021-02-12 Thread Thibaut Cuvelier
commit 17d5f6e0fcf2f0d44698fd6b4b4da645a5723715 Author: Thibaut Cuvelier Date: Fri Feb 12 23:09:21 2021 +0100 Zoom using Ctrl+something instead of Alt+something. Mailing list: [Windows] Remove the default binding between buffer-zoom and Alt+0 --- lib/bind/cua.bind | 10

Re: 2.4 alpha2 failing on windows 10

2021-02-12 Thread Thibaut Cuvelier
On Fri, 12 Feb 2021 at 15:50, Thibaut Cuvelier wrote: > On Fri, 12 Feb 2021 at 14:36, Thibaut Cuvelier wrote: > >> On Fri, 12 Feb 2021 at 06:46, Richard Kimberly Heck >> wrote: >> >>> On 2/11/21 11:19 PM, Thibaut Cuvelier wrote: >>> >>> On Thu

Re: 2.4 alpha2 failing on windows 10

2021-02-12 Thread Thibaut Cuvelier
On Fri, 12 Feb 2021 at 14:36, Thibaut Cuvelier wrote: > On Fri, 12 Feb 2021 at 06:46, Richard Kimberly Heck > wrote: > >> On 2/11/21 11:19 PM, Thibaut Cuvelier wrote: >> >> On Thu, 11 Feb 2021 at 20:52, Thibaut Cuvelier wrote: >> >>> On Thu, 11 F

Re: 2.4 alpha2 failing on windows 10

2021-02-12 Thread Thibaut Cuvelier
On Fri, 12 Feb 2021 at 06:46, Richard Kimberly Heck wrote: > On 2/11/21 11:19 PM, Thibaut Cuvelier wrote: > > On Thu, 11 Feb 2021 at 20:52, Thibaut Cuvelier wrote: > >> On Thu, 11 Feb 2021 at 20:05, José Abílio Matos wrote: >> >>> On Thursday, February 11,

[LyX/master] ePub: improve compatibility with Python 2.

2021-02-11 Thread Thibaut Cuvelier
commit b1febf112ddb7dd99aeef90d5285cba34ff92edc Author: Thibaut Cuvelier Date: Mon Feb 8 02:36:28 2021 +0100 ePub: improve compatibility with Python 2. --- lib/scripts/docbook2epub.py |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/scripts/docbook2epub.py b

Re: 2.4 alpha2 failing on windows 10

2021-02-11 Thread Thibaut Cuvelier
On Thu, 11 Feb 2021 at 20:52, Thibaut Cuvelier wrote: > On Thu, 11 Feb 2021 at 20:05, José Abílio Matos wrote: > >> On Thursday, February 11, 2021 4:02:19 PM WET Yu Jin wrote: >> > Will be pointless imo, it's not the script's fault that python is not >> found. >&

Windows installer: add version in all shortcuts

2021-02-11 Thread Thibaut Cuvelier
). Here is the patch I propose. I am by no means a NSIS expert, I don't know if this will work, but I think there is a probability that it does. What do you think of this? Thibaut Cuvelier Index: development/Win32/packaging/installer/src/main.nsh IDEA additional info: Subsystem

Re: 2.4 alpha2 failing on windows 10

2021-02-11 Thread Thibaut Cuvelier
On Thu, 11 Feb 2021 at 22:09, Richard Kimberly Heck wrote: > On 2/11/21 4:04 PM, José Abílio Matos wrote: > > On Thursday, February 11, 2021 7:53:36 PM WET Thibaut Cuvelier wrote: > >> I would guess it is os::find_python_binary. But it has not been touched > in a > >

Re: 2.4 alpha2 failing on windows 10

2021-02-11 Thread Thibaut Cuvelier
On Thu, 11 Feb 2021 at 22:03, Yu Jin wrote: > Am Do., 11. Feb. 2021 um 20:53 Uhr schrieb Thibaut Cuvelier < > tcuvel...@lyx.org>: > >> On Thu, 11 Feb 2021 at 20:05, Richard Kimberly Heck >> wrote: >> >>> On 2/11/21 11:02 AM, Yu Jin wrote: >>

Re: 2.4 alpha2 failing on windows 10

2021-02-11 Thread Thibaut Cuvelier
1 um 20:23 Uhr schrieb Richard Kimberly Heck < >> rikih...@lyx.org>: >> >>> On 2/10/21 2:14 PM, Thibaut Cuvelier wrote: >>> >>> On Wed, 10 Feb 2021 at 18:34, José Abílio Matos wrote: >>> >>>> On Wednesday, February 10, 2021 12:48:17 PM

Re: 2.4 alpha2 failing on windows 10

2021-02-11 Thread Thibaut Cuvelier
On Thu, 11 Feb 2021 at 20:05, José Abílio Matos wrote: > On Thursday, February 11, 2021 4:02:19 PM WET Yu Jin wrote: > > Will be pointless imo, it's not the script's fault that python is not > found. > > The fault is to be searched in the part of code which adds the prefix > path > > to the

Re: 2.4 alpha2 failing on windows 10

2021-02-10 Thread Thibaut Cuvelier
On Wed, 10 Feb 2021 at 18:34, José Abílio Matos wrote: > On Wednesday, February 10, 2021 12:48:17 PM WET Thibaut Cuvelier wrote: > > @José : reconfiguring LyX does not solve the problem. It really looks > like > > it cannot find Python. > > We did not change the python de

Re: 2.4 alpha2 failing on windows 10

2021-02-10 Thread Thibaut Cuvelier
n user. > My guess it that configure refactoring broke something on windows. > > Thibaut, can you succesfully install & run alpha2? > I can reproduce the same problem as Andrew with a fresh 64-bit LyX 2.4. @José : reconfiguring LyX does not solve the problem. It really looks like it c

[prometheus-users] remote_write and federation

2021-02-09 Thread Thibaut Sarion
Hello everyone ! I've got a question regarding remote_write and federation. I have two levels of prometheus : *level 1* with classic prometheus instances and *level 2* with prometheus federating some metrics from my *level 1*. Both levels are remote_writing to my backend, but I need to find a

Re: [LyX/master] ePub: detect and use xsltproc.

2021-02-08 Thread Thibaut Cuvelier
On Mon, 8 Feb 2021 at 12:35, Pavel Sanda wrote: > On Sun, Feb 07, 2021 at 08:49:56PM +0100, Thibaut Cuvelier wrote: > > commit 9d4ffac7fbc06893e79a19097ae1b5c762d830e0 > > Author: Thibaut Cuvelier > > Date: Sun Feb 7 20:33:06 2021 +0100 > > > >

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" -strin

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 &

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

[LyX/master] ePub: allow a user-specified Saxon.

2021-02-07 Thread Thibaut Cuvelier
commit f7beed1ee2668b58b8008e5b475668709edacc76 Author: Thibaut Cuvelier Date: Sun Feb 7 23:18:06 2021 +0100 ePub: allow a user-specified Saxon. --- lib/configure.py|4 ++-- lib/scripts/docbook2epub.py | 21 + 2 files changed, 15 insertions(+), 10

[LyX/master] ePub: share a bit of code for parsing arguments.

2021-02-07 Thread Thibaut Cuvelier
commit 7622292027f6bc851a47103164a58b8989916e4f Author: Thibaut Cuvelier Date: Sun Feb 7 23:18:54 2021 +0100 ePub: share a bit of code for parsing arguments. --- lib/scripts/docbook2epub.py | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/scripts

[LyX/master] ePub: use None instead of an empty string.

2021-02-07 Thread Thibaut Cuvelier
commit bf976cb0aea0e3699fa1b2f4596e12f7e38114eb Author: Thibaut Cuvelier Date: Sun Feb 7 20:52:50 2021 +0100 ePub: use None instead of an empty string. --- lib/scripts/docbook2epub.py | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/scripts

[LyX/master] ePub: restructure the script as a class.

2021-02-07 Thread Thibaut Cuvelier
commit d7d31ab512b5cc8cfe3a607fcf99b966e565c544 Author: Thibaut Cuvelier Date: Sun Feb 7 20:46:29 2021 +0100 ePub: restructure the script as a class. This allows to share a little bit more code and to avoid functions with many arguments. --- lib/scripts/docbook2epub.py | 270

[LyX/master] ePub: detect and use xsltproc.

2021-02-07 Thread Thibaut Cuvelier
commit 9d4ffac7fbc06893e79a19097ae1b5c762d830e0 Author: Thibaut Cuvelier Date: Sun Feb 7 20:33:06 2021 +0100 ePub: detect and use xsltproc. --- lib/configure.py|7 +-- lib/scripts/docbook2epub.py | 38 -- 2 files changed, 33

[LyX/master] ePub: add argument for external DocBook XSLT.

2021-02-07 Thread Thibaut Cuvelier
commit e95513c8232a7da526eba44f7a30831ca5766558 Author: Thibaut Cuvelier Date: Sun Feb 7 20:51:25 2021 +0100 ePub: add argument for external DocBook XSLT. --- lib/configure.py|4 ++-- lib/scripts/docbook2epub.py | 15 +-- 2 files changed, 11 insertions(+), 8

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

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

Re: ePub Export Docs

2021-02-07 Thread Thibaut Cuvelier
erly for all platforms right now. > Should it also be documented in Additional.lyx? > In which section would you add this? > 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, sinc

[LyX/master] ePub: refactor script as a series of small functions.

2021-02-07 Thread Thibaut Cuvelier
commit b8a4408ca82bb9f5117c5d1e8af8e36b1ea00305 Author: Thibaut Cuvelier Date: Sun Feb 7 06:53:43 2021 +0100 ePub: refactor script as a series of small functions. --- lib/scripts/docbook2epub.py | 23 ++- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git

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

2021-02-07 Thread Thibaut Cuvelier
commit 7f4782d51d45b1a4770273930ff130b1d0d63091 Author: Thibaut Cuvelier Date: Sun Feb 7 20:00:31 2021 +0100 ePub: copy images into the ePub archive. --- lib/scripts/docbook2epub.py | 57 ++- 1 files changed, 56 insertions(+), 1 deletions(-) diff

Re: DocBook to ePub

2021-02-06 Thread 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/devel/lib/scripts/../docbook/epub3/chunk.xsl >

[LyX/master] ePub: comment about subprocess.run instead of os.system to simplify code.

2021-02-06 Thread Thibaut Cuvelier
commit 0b50da7321a942b58142ff4256b5102922411b08 Author: Thibaut Cuvelier Date: Sun Feb 7 06:35:42 2021 +0100 ePub: comment about subprocess.run instead of os.system to simplify code. --- lib/scripts/docbook2epub.py |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[LyX/master] ePub: don't use glob.

2021-02-06 Thread Thibaut Cuvelier
commit 3e745fabbefb44ed86cbaf9af23a0776f0adb620 Author: Thibaut Cuvelier Date: Sun Feb 7 06:32:15 2021 +0100 ePub: don't use glob. Recursivity requires Python 3.5+. --- lib/scripts/docbook2epub.py |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib

[LyX/master] ePub: quote the command only on Windows.

2021-02-06 Thread Thibaut Cuvelier
commit 6a99e885652ff68f89746ff65772718bd52b812d Author: Thibaut Cuvelier Date: Sun Feb 7 06:27:07 2021 +0100 ePub: quote the command only on Windows. --- lib/scripts/docbook2epub.py |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/lib/scripts/docbook2epub.py

[LyX/master] ePub: update doc for running script.

2021-02-06 Thread Thibaut Cuvelier
commit a8853743c5676a142a62f8a790a7c1c66aa89b09 Author: Thibaut Cuvelier Date: Sun Feb 7 06:32:46 2021 +0100 ePub: update doc for running script. --- lib/scripts/docbook2epub.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/scripts/docbook2epub.py b/lib

[LyX/master] ePub: remove commented line.

2021-02-06 Thread Thibaut Cuvelier
commit 4dcf3d56c2748fc131a5a6d62584387b9f51fda8 Author: Thibaut Cuvelier Date: Sun Feb 7 06:23:21 2021 +0100 ePub: remove commented line. --- lib/scripts/docbook2epub.py |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/lib/scripts/docbook2epub.py b/lib/scripts

Re: DocBook to ePub

2021-02-06 Thread Thibaut Cuvelier
On Fri, 5 Feb 2021 at 17:57, Kornel Benko wrote: > Am Thu, 4 Feb 2021 23:21:30 +0100 > schrieb Thibaut Cuvelier : > > ... > > > > If you want to try it outside LyX, first export the document as DocBook 5 > > (say, doc.xml); if Java is available in the PATH, run (w

[LyX/master] ePub: fix argument handling in Python script.

2021-02-06 Thread Thibaut Cuvelier
commit 7472be428ea0fe23daad655bf815cd851e7f3119 Author: Thibaut Cuvelier Date: Sun Feb 7 01:55:29 2021 +0100 ePub: fix argument handling in Python script. --- lib/scripts/docbook2epub.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/scripts/docbook2epub.py

Assertion failed when loading a file, returned temporary path wrong

2021-02-06 Thread Thibaut Cuvelier
): LyX could not create temporary directory in C:/Windows' RunCommand: could not start child process Moreover, when loading a file, I get an assertion error: TextClass.cpp (94): Conversion of layout with layout2layout.py has failed. TextClass.cpp (363): Unable to convert D:/Thibaut/LyX/lib/layouts

Re: DocBook to ePub

2021-02-05 Thread Thibaut Cuvelier
On Fri, 5 Feb 2021 at 12:00, Pavel Sanda wrote: > On Fri, Feb 05, 2021 at 12:14:45AM +0100, Thibaut Cuvelier wrote: > > > Java dependency is sad news. Is there some bug within xsltproc which we > > > can bump or ask devs to fix it so we don't need to stick with saxon in >

[LyX/master] Add Saxon 6.5.5.

2021-02-05 Thread Thibaut Cuvelier
commit b7181b17e9fcbe8717e4cafbcf1e12d0324c5501 Author: Thibaut Cuvelier Date: Thu Jan 28 23:33:28 2021 +0100 Add Saxon 6.5.5. --- lib/scripts/saxon6.5.5.jar | Bin 0 -> 572311 bytes lib/scripts/saxon6.LICENSE.txt | 65 2 files changed,

[LyX/master] Add DocBook XSLT 1 stylesheets 1.79.2.

2021-02-05 Thread Thibaut Cuvelier
commit ab94319b3b322280a6c5cfd0588e202d5eb4d03b Author: Thibaut Cuvelier Date: Thu Jan 28 02:49:31 2021 +0100 Add DocBook XSLT 1 stylesheets 1.79.2. lib/docbook/COPYING | 48 + lib/docbook/VERSION | 115 + lib/docbook/VERSION.xsl

[LyX/master] docbook2epub.

2021-02-05 Thread Thibaut Cuvelier
commit 9ad760db92a57b76fc2e131e11772c3694ce93f4 Author: Thibaut Cuvelier Date: Thu Jan 28 04:57:57 2021 +0100 docbook2epub. --- lib/scripts/docbook2epub.py | 65 +++ 1 files changed, 65 insertions(+), 0 deletions(-) diff --git a/lib/scripts

[LyX/master] Update release notes for ePub.

2021-02-05 Thread Thibaut Cuvelier
commit f400359376e0a5da3e2e3dd02344b54b090171d3 Author: Thibaut Cuvelier Date: Fri Feb 5 16:07:09 2021 +0100 Update release notes for ePub. --- lib/RELEASE-NOTES | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/lib/RELEASE-NOTES b/lib/RELEASE-NOTES index

[LyX/master] Configure: add ePub transformation.

2021-02-05 Thread Thibaut Cuvelier
commit e3fe4d65b9a7cf6c6750273c3d64e73ac6226fe4 Author: Thibaut Cuvelier Date: Fri Jan 29 04:37:42 2021 +0100 Configure: add ePub transformation. --- lib/configure.py |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/lib/configure.py b/lib/configure.py index

Re: DocBook to ePub

2021-02-04 Thread Thibaut Cuvelier
On Sun, 31 Jan 2021 at 10:24, Stephan Witt wrote: > 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, > > > >

Re: Patches for Python scripts

2021-02-04 Thread Thibaut Cuvelier
On Mon, 1 Feb 2021 at 15:31, José Abílio Matos wrote: > On Monday, February 1, 2021 2:42:43 AM WET Thibaut Cuvelier wrote: > > > More generally, what about the other patches? Are formatting changes > > > considered risky? What about Joel's suggestions? > > My issue

[LyX/master] ext_copy: bug when creating the error string.

2021-02-04 Thread Thibaut Cuvelier
commit 0b56495e48437bec97117de8c6ac1825a8cf3fb1 Author: Thibaut Cuvelier Date: Thu Jan 28 02:32:51 2021 +0100 ext_copy: bug when creating the error string. Wrong usage of % syntax. --- lib/scripts/ext_copy.py |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff

[LyX/master] Configure: get rid of mutable keyword arguments.

2021-02-04 Thread Thibaut Cuvelier
commit af49df00f5ee01f6c22a415f086819bfee569f0b Author: Thibaut Cuvelier Date: Thu Feb 4 20:34:37 2021 +0100 Configure: get rid of mutable keyword arguments. --- lib/configure.py | 64 +++--- 1 files changed, 51 insertions(+), 13 deletions

[LyX/master] Configure: look for Java in the registry on Windows.

2021-02-04 Thread Thibaut Cuvelier
commit daa6f143de8b93785201b33c153f1fcc2cfb7427 Author: Thibaut Cuvelier Date: Fri Jan 29 04:21:35 2021 +0100 Configure: look for Java in the registry on Windows. --- lib/configure.py | 38 -- 1 files changed, 36 insertions(+), 2 deletions(-) diff

[LyX/master] Configure: turn a commented print into a logger.debug statement.

2021-02-04 Thread Thibaut Cuvelier
commit c0fe25222b8b77df167cef07abcb122c5e698544 Author: Thibaut Cuvelier Date: Fri Jan 29 01:46:38 2021 +0100 Configure: turn a commented print into a logger.debug statement. --- lib/configure.py |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/configure.py

[LyX/master] Configure: remove the old docbook format, no more useful.

2021-02-04 Thread Thibaut Cuvelier
commit 738dccbff472c5144c0a3691af1fba1209bf5f9e Author: Thibaut Cuvelier Date: Thu Jan 28 05:16:33 2021 +0100 Configure: remove the old docbook format, no more useful. --- lib/configure.py |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/lib/configure.py b/lib

[LyX/master] The menu Options has been renamed Tools.

2021-02-04 Thread Thibaut Cuvelier
commit 2720ac5dda1b3833807ecb4830d13e44de4634a6 Author: Thibaut Cuvelier Date: Thu Jan 28 05:04:39 2021 +0100 The menu Options has been renamed Tools. --- src/TextClass.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/TextClass.cpp b/src/TextClass.cpp

Aligning note to different voice across staves

2021-02-02 Thread Thibaut Horel
ollision). Is there a better way to achieve what I am trying to do? Any insight into this problem would be greatly appreciated. Thanks, Thibaut

Re: Patches for Python scripts

2021-01-31 Thread Thibaut Cuvelier
On Sun, 31 Jan 2021 at 12:39, Enrico Forestieri wrote: > On Sun, Jan 31, 2021 at 04:22:39AM +0100, Thibaut Cuvelier wrote: > > On Sat, 30 Jan 2021 at 12:26, Enrico Forestieri wrote: > > > On Sat, Jan 30, 2021 at 05:31:05AM +0100, Thibaut Cuvelier wrote: > > > >

Re: Patches for Python scripts

2021-01-30 Thread Thibaut Cuvelier
On Sat, 30 Jan 2021 at 12:26, Enrico Forestieri wrote: > On Sat, Jan 30, 2021 at 05:31:05AM +0100, Thibaut Cuvelier wrote: > > On Sat, 30 Jan 2021 at 02:31, Enrico Forestieri wrote: > > > > > > So, it seems that you have to check also for the 32-bit version. > >

Re: Patches for Python scripts

2021-01-29 Thread Thibaut Cuvelier
On Sat, 30 Jan 2021 at 02:31, Enrico Forestieri wrote: > On Fri, Jan 29, 2021 at 11:40:29PM +0100, Thibaut Cuvelier wrote: > > Hi Thibaut, > > > - This way to find Java is quite common on Windows platforms (actually, > > it's a lot like a port of JavaCall.jl's relevant po

Re: DocBook to ePub

2021-01-29 Thread 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 script that perform

Re: Patches for Python scripts

2021-01-29 Thread Thibaut Cuvelier
I will be answering most concerns here, in no particular order. I think it will simplify the next messages. - This is far from an overhaul of the script. The logic did not really change, neither the code structure. I have ideas on how to do it, and I could do it if you are OK with it, but I

[LyX/master] Fix dependencies downloading on Windows.

2021-01-27 Thread Thibaut Cuvelier
commit b3e3404f06db71354bf060497bd015a1cb47b59f Author: Thibaut Cuvelier Date: Wed Jan 27 20:13:42 2021 +0100 Fix dependencies downloading on Windows. --- CMakeLists.txt | 78 +++- 1 files changed, 43 insertions(+), 35 deletions

[Bug 1904213] Re: Built-in microphone not working with 20.04 on ThinkBook 13s IML [Realtek ALC257]

2021-01-26 Thread Thibaut Lunet
Hi, got exactly the same issue with two identical laptops (Lenovo ThinkBook 13s-IML). One has the current latest kernel from Ubuntu 20.04 (5.8.0-40), for the other one I installed a more recent kernel (5.9.16-050916) using mainline. Microphone does not work for both. Also, I tried some steps from

<    2   3   4   5   6   7   8   9   10   11   >