Re: Add font to recognized fonts

2022-08-29 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 common

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

2022-08-29 Thread Scott Kostyshak
On Tue, Aug 30, 2022 at 12:28:58AM +0200, Thibaut Cuvelier wrote: > On Mon, 29 Aug 2022 at 21:52, Scott Kostyshak wrote: > > > I used the hacks just to get an idea of whether such parallelization would > > actually lead to a speed-up. It does. For example, on an 8-core machine, > > the document f

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

2022-08-29 Thread Thibaut Cuvelier
On Mon, 29 Aug 2022 at 21:52, Scott Kostyshak wrote: > I used the hacks just to get an idea of whether such parallelization would > actually lead to a speed-up. It does. For example, on an 8-core machine, > the document files (user guide, etc.) export to .tex about 4x faster. This > isn't that he

Add font to recognized fonts

2022-08-29 Thread 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 commonly used. Right now I use "\usepackage{caladea}" in an "AddToPreamble" custom

Making Paragraph::latex() thread safe?

2022-08-29 Thread Scott Kostyshak
If you're not curious about the background, skip to the part below starting with "The main problem". In short, I want to learn more about some code to try to make it thread-safe. The last few days I've been experimenting with using parallelization in part of LyX's code. I'm currently using a f

Setting things up for using parallel STL C++17

2022-08-29 Thread Scott Kostyshak
As part of C++17, now the STL can optionally use parallelization. And in fact it's so easy that even I can do it. On Ubuntu 22.04, I just had to install the package 'libtbb-dev'. Then, we need to add -ltbb to the link command. Then, we add the following include in whichever source file we want

Re: Trac: Invalid username or password

2022-08-29 Thread Jürgen Spitzmüller
Am Sonntag, dem 28.08.2022 um 22:44 +0200 schrieb Lorenzo Bertini: > Bump! > > I'm getting the same message :(.  I suppose everybody does. Possibly we lost the user names once more. > Has anyone found a solution? We'll have to wait until somebody with access to the database (Riki, JMarc) is bac