Re: Setting things up for using parallel STL C++17

2022-08-30 Thread Scott Kostyshak
On Tue, Aug 30, 2022 at 01:46:43PM +0200, Pavel Sanda wrote: > On Mon, Aug 29, 2022 at 03:42:49PM -0400, Scott Kostyshak wrote: > > Does anyone know of any candidates in LyX's code for using such > > parallelization? > > - As written in another thread if you can get parallel graphics conversions

Re: Making Paragraph::latex() thread safe?

2022-08-30 Thread Scott Kostyshak
On Tue, Aug 30, 2022 at 03:06:36PM +0200, Kornel Benko wrote: > Am Tue, 30 Aug 2022 08:38:37 -0400 > schrieb Scott Kostyshak : > > > On Tue, Aug 30, 2022 at 01:20:08PM +0200, Kornel Benko wrote: > > > > > > The latex generation part is just neligible. > > > > > > The latex part may help in

Re: [PATCH] "Here Applies" module

2022-08-30 Thread madmurphy
Hi guys, Thank you for giving a look at the module. I can try to give a more concrete example by copying and pasting into a document random passages from Wikipedia (from the pages Infinitive , Realis mood and

Re: Making Paragraph::latex() thread safe?

2022-08-30 Thread Kornel Benko
Am Tue, 30 Aug 2022 08:38:37 -0400 schrieb Scott Kostyshak : > On Tue, Aug 30, 2022 at 01:20:08PM +0200, Kornel Benko wrote: > > > > The latex generation part is just neligible. > > > > The latex part may help in find algorithm though, where is is often called. > > > > Ah that might be a

Re: Making Paragraph::latex() thread safe?

2022-08-30 Thread Scott Kostyshak
On Tue, Aug 30, 2022 at 01:20:08PM +0200, Kornel Benko wrote: > > The latex generation part is just neligible. > > The latex part may help in find algorithm though, where is is often called. Ah that might be a good use case. Is find limited more by LaTeX export or regex or something else? I

Re: Making Paragraph::latex() thread safe?

2022-08-30 Thread Scott Kostyshak
On Tue, Aug 30, 2022 at 12:38:20PM +0200, Jean-Marc Lasgouttes wrote: > Le 30/08/2022 à 12:02, Pavel Sanda a écrit : > > The bottlenecks I typically experience are of two kinds: > > 1) pictures conversion (having parallel code would be great even for > > document load when ton of pics gets

Re: Making Paragraph::latex() thread safe?

2022-08-30 Thread Scott Kostyshak
On Tue, Aug 30, 2022 at 12:02:24PM +0200, Pavel Sanda wrote: > On Mon, Aug 29, 2022 at 03:52:19PM -0400, Scott Kostyshak wrote: > > I think the speedup will be even faster if we could make Paragraph::latex() > > thread-safe. > > Before tuning threads - are you sure that the sequential run can be

Re: Setting things up for using parallel STL C++17

2022-08-30 Thread Pavel Sanda
On Mon, Aug 29, 2022 at 03:42:49PM -0400, Scott Kostyshak wrote: > Does anyone know of any candidates in LyX's code for using such > parallelization? - As written in another thread if you can get parallel graphics conversions for document load and export, that would be cool. - Another slow

Re: Making Paragraph::latex() thread safe?

2022-08-30 Thread Kornel Benko
Am Tue, 30 Aug 2022 12:02:24 +0200 schrieb Pavel Sanda : > On Mon, Aug 29, 2022 at 03:52:19PM -0400, Scott Kostyshak wrote: > > I think the speedup will be even faster if we could make Paragraph::latex() > > thread-safe. > > Before tuning threads - are you sure that the sequential run can be

Re: [PATCH] "Here Applies" module

2022-08-30 Thread Pavel Sanda
On Tue, Aug 30, 2022 at 09:30:44AM +0200, Jürgen Spitzmüller wrote: > Am Freitag, dem 26.08.2022 um 01:05 +0100 schrieb madmurphy: > > Any updates on this? In the meanwhile I have update the module. > > Please find the updated version of the patch attached. > > Sorry for keeping you waiting. Most

Re: Making Paragraph::latex() thread safe?

2022-08-30 Thread Jean-Marc Lasgouttes
Le 30/08/2022 à 12:02, Pavel Sanda a écrit : The bottlenecks I typically experience are of two kinds: 1) pictures conversion (having parallel code would be great even for document load when ton of pics gets converted!) Yes, the speed of this is questionable right now. 2) final pdflatex

Re: Add font to recognized fonts

2022-08-30 Thread Jürgen Spitzmüller
Am Dienstag, dem 30.08.2022 um 11:52 +0200 schrieb Lorenzo Bertini: > Easier than I thought, thanks! However, in the menu it says "not > installed", and font is not applied (using \usepackage{caladea} works > and font is installed properly). I just added > > > +Font caladea > > + GuiName   

Re: Making Paragraph::latex() thread safe?

2022-08-30 Thread Pavel Sanda
On Mon, Aug 29, 2022 at 03:52:19PM -0400, Scott Kostyshak wrote: > I think the speedup will be even faster if we could make Paragraph::latex() > thread-safe. Before tuning threads - are you sure that the sequential run can be broken in this way, i.e. whether subsequent paragraphs are not

Re: Add font to recognized fonts

2022-08-30 Thread Lorenzo Bertini
Il 30/08/22 08:58, Jürgen Spitzmüller ha scritto: Am Montag, dem 29.08.2022 um 22:44 +0200 schrieb Lorenzo Bertini: Hello, I noticed there are some fonts available for Latex that do not appear in Lyx's document settings: an example is Caladea Font. This font comes in "texlive-font-extra"

Re: [PATCH] "Here Applies" module

2022-08-30 Thread Jürgen Spitzmüller
Am Freitag, dem 26.08.2022 um 01:05 +0100 schrieb madmurphy: > Any updates on this? In the meanwhile I have update the module. > Please find the updated version of the patch attached. Sorry for keeping you waiting. Most people are currently on holidays or otherwise busy. I don't know how many

Re: New Theorems Module

2022-08-30 Thread Jürgen Spitzmüller
Am Donnerstag, dem 14.07.2022 um 14:17 +0300 schrieb Udicoudco: > Hello again, Hi, Thanks for this and sorry for the late reply. Most people are busy with their real lifes. > > I had some mistakes in the .inc file and the .lyx file. The updated > files are attached.  As I do not use theorems

Re: Add font to recognized fonts

2022-08-30 Thread Jürgen Spitzmüller
Am Montag, dem 29.08.2022 um 22:44 +0200 schrieb Lorenzo Bertini: > Hello, > > I noticed there are some fonts available for Latex that do not appear > in > Lyx's document settings: an example is Caladea Font. This font comes > in > "texlive-font-extra" package in Debian, so it's something