Re: master calls pdfTeX 6 times on Math.lyx, compared to 4 times for 2.3.x

2023-07-07 Thread Richard Kimberly Heck
On 7/7/23 17:57, Scott Kostyshak wrote: On Fri, Jul 07, 2023 at 02:49:48PM +0200, Pavel Sanda wrote: On Fri, Jul 07, 2023 at 04:48:49AM -0400, Scott Kostyshak wrote: If I go to the 2.3.x manuals, and compile the Math manual with 2.3.x, it takes 4 runs. If I compile the 2.3.x manual with

Re: master calls pdfTeX 6 times on Math.lyx, compared to 4 times for 2.3.x

2023-07-07 Thread Scott Kostyshak
On Fri, Jul 07, 2023 at 02:49:48PM +0200, Pavel Sanda wrote: > > On Fri, Jul 07, 2023 at 04:48:49AM -0400, Scott Kostyshak wrote: > > If I go to the 2.3.x manuals, and compile the Math manual with 2.3.x, it > > takes 4 runs. If I compile the 2.3.x manual with master, it takes 6 runs. > > > >

Re: Windows Dark Mode and "fusion" style

2023-07-07 Thread Yu Jin
Am Fr., 7. Juli 2023 um 15:25 Uhr schrieb Thibaut Cuvelier: > Qt hasn't changed its -style parameter at least since Qt 4 (2005), that's > quite stable (there is also an environment variable, QT_STYLE_OVERRIDE). > I couldn't find any way to tell if the style was set from the command line > or not

Re: Windows Dark Mode and "fusion" style

2023-07-07 Thread Thibaut Cuvelier
On Fri, 7 Jul 2023 at 10:13, Yu Jin wrote: > Am Fr., 7. Juli 2023 um 04:37 Uhr schrieb Thibaut Cuvelier: > >> I'm having an issue with your patch: QStyle::name has only been added in >> Qt 6.1 (https://doc.qt.io/qt-6/qstyle.html#name). I believe >> QObject::objectName should do the trick too. >>

Re: master calls pdfTeX 6 times on Math.lyx, compared to 4 times for 2.3.x

2023-07-07 Thread Pavel Sanda
On Fri, Jul 07, 2023 at 04:48:49AM -0400, Scott Kostyshak wrote: > If I go to the 2.3.x manuals, and compile the Math manual with 2.3.x, it > takes 4 runs. If I compile the 2.3.x manual with master, it takes 6 runs. > > Can anyone reproduce? Is this change expected? I see 3 runs for 2.3 and 6

Re: [LyX/master] Assure language is properly closed before non-inheriting inset.

2023-07-07 Thread Scott Kostyshak
On Fri, Aug 14, 2020 at 08:43:35AM +0200, Juergen Spitzmueller wrote: > > commit ef11fdc77dc617ec8059216f745fd51ad4c527f2 > Author: Juergen Spitzmueller > Date: Fri Aug 14 09:08:46 2020 +0200 > > Assure language is properly closed before non-inheriting inset. > --- I think this commit

master calls pdfTeX 6 times on Math.lyx, compared to 4 times for 2.3.x

2023-07-07 Thread Scott Kostyshak
If I go to the 2.3.x manuals, and compile the Math manual with 2.3.x, it takes 4 runs. If I compile the 2.3.x manual with master, it takes 6 runs. Can anyone reproduce? Is this change expected? Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: Insert underscore (_) in math ERT?

2023-07-07 Thread Scott Kostyshak
On Fri, Jul 07, 2023 at 11:33:17AM +0300, Udicoudco wrote: > On Fri, Jul 7, 2023 at 11:30 AM Udicoudco wrote: > > \let\Scott_ > Sorry, it should be \let\foo_ of course... I mixed things a bit :) > Attached a corrected example. Wow, that's creative! It did not work for me. I think the difference

Re: Insert underscore (_) in math ERT?

2023-07-07 Thread Udicoudco
On Fri, Jul 7, 2023 at 11:30 AM Udicoudco wrote: > \let\Scott_ Sorry, it should be \let\foo_ of course... I mixed things a bit :) Attached a corrected example. > > -- > > lyx-devel mailing list > > lyx-devel@lists.lyx.org > > http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Insert underscore (_) in math ERT?

2023-07-07 Thread Udicoudco
On Fri, Jul 7, 2023 at 11:09 AM Scott Kostyshak wrote: > Basically, is there any workaround to be able to use LyX's math mode and > output the LaTeX \Sexpr{mean(x_draws)}? > > If I try to paste from LaTeX, LyX converts it to the following: > $\Sexpr{mean(x_{d}raws)}$, which gives a knitr error.

Re: Windows Dark Mode and "fusion" style

2023-07-07 Thread Yu Jin
Am Fr., 7. Juli 2023 um 04:37 Uhr schrieb Thibaut Cuvelier: > I'm having an issue with your patch: QStyle::name has only been added in > Qt 6.1 (https://doc.qt.io/qt-6/qstyle.html#name). I believe > QObject::objectName should do the trick too. > > As I understand your problem, in LyX.cpp,

Insert underscore (_) in math ERT?

2023-07-07 Thread Scott Kostyshak
If I recall correctly, it's a known issue that we don't have true ERT in math mode. We can still insert custom LaTeX commands, but sometimes the workaround is limited. For example, in a knitr document (which runs R on commands in the .lyx file and substitutes in the output), R functions and