Patches to improve compatibility with modern C++ standard

2020-05-03 Thread Thibaut Cuvelier
Dear list, During my work on DocBook (which started at www.lyx.org/trac/ticket/8444), I switched to Visual C++ 2019 as a compiler. The only way I found to make it compile large parts of LyX was to switch to recent C++ standards, so that all features are available. Unfortunately, some deprecated pa

Minor comments on the new counter feature

2020-05-03 Thread Scott Kostyshak
Riki, thanks for your work on the counter inset! Can this feature be used to set an enumerate to start with 2? See attached for my naive attempt. It doesn't work because the counter is reset to 1 when the enumerate begins. I can put it in a "list preamble" inset inside the enumerate and then the P

Re: pit_type as unsigned

2020-05-03 Thread Richard Kimberly Heck
On 5/3/20 7:26 AM, Jean-Marc Lasgouttes wrote: > Le 03/05/2020 à 06:24, Richard Kimberly Heck a écrit : >> I've done some more work on this, and it seems to be working all >> right now. See this branch: >> >> https://git.lyx.org/?p=developers/rgheck/lyx.git;a=shortlog;h=refs/heads/cleanup/pit_type

Re: Trying to get texliveonfly.py working with LyX

2020-05-03 Thread Yu Jin
Am So., 3. Mai 2020 um 13:17 Uhr schrieb Kornel Benko : > Maybe a permission problem? Do you start lyx as another user? No, I start normally, also tried as admin. On Sun, May 03, 2020 at 01:10:37PM -0400, Richard Kimberly Heck wrote: > > If you can get terminal output, then it will be clear wha

Re: Regression on master: Help > User Guide gives "Incompatible command name."

2020-05-03 Thread Richard Kimberly Heck
On 5/3/20 1:08 PM, Jürgen Spitzmüller wrote: > Am Sonntag, den 03.05.2020, 10:40 -0400 schrieb Scott Kostyshak: >> Just compiled current master (544770a5) and when I do Help > User >> Guide >> I get an error "Incompatible command name." > I think it still documents a counter inset type that has bee

Re: Trying to get texliveonfly.py working with LyX

2020-05-03 Thread Enrico Forestieri
On Sun, May 03, 2020 at 01:10:37PM -0400, Richard Kimberly Heck wrote: > > If you can get terminal output, then it will be clear what's wrong, I > think. This has been an issue on Windows, but I think that if you try > using -DLYX_CONSOLE=FORCE, that will help. I don't think so. The script tries

Re: Trying to get texliveonfly.py working with LyX

2020-05-03 Thread Richard Kimberly Heck
On 5/3/20 7:17 AM, Kornel Benko wrote: > Am Sun, 3 May 2020 11:09:17 +0200 > schrieb Yu Jin : > >> texliveonfly is a python script, it can install missing packages >> automatically while compiling. >> I had to change the script a little bit for it to work from cmd.exe, I >> attached it. So if I typ

Re: Additions to documentation toolbar

2020-05-03 Thread Richard Kimberly Heck
On 5/3/20 4:37 AM, Andrew Parsloe wrote: > On 3/05/2020 3:59 pm, Richard Kimberly Heck wrote: >> On 5/1/20 1:22 AM, Andrew Parsloe wrote: >>> Dear LyX developers, >>> >>> I've been documenting a LaTeX program recently and have found the >>> documentation toolbar useful, but this has highlighted a c

Re: Regression on master: Help > User Guide gives "Incompatible command name."

2020-05-03 Thread Jürgen Spitzmüller
Am Sonntag, den 03.05.2020, 10:40 -0400 schrieb Scott Kostyshak: > Just compiled current master (544770a5) and when I do Help > User > Guide > I get an error "Incompatible command name." I think it still documents a counter inset type that has been removed. Jürgen > > Scott signature.asc Des

Re: Regression on master: Help > User Guide gives "Incompatible command name."

2020-05-03 Thread Kornel Benko
Am Sun, 3 May 2020 10:40:46 -0400 schrieb Scott Kostyshak : > Just compiled current master (544770a5) and when I do Help > User Guide > I get an error "Incompatible command name." > > Scott Same here. Kornel pgpapEgRv3RvJ.pgp Description: Digitale Signatur von OpenPGP -- lyx-devel mai

Regression on master: Help > User Guide gives "Incompatible command name."

2020-05-03 Thread Scott Kostyshak
Just compiled current master (544770a5) and when I do Help > User Guide I get an error "Incompatible command name." Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: pit_type as unsigned

2020-05-03 Thread Jean-Marc Lasgouttes
Le 03/05/2020 à 06:24, Richard Kimberly Heck a écrit : I've done some more work on this, and it seems to be working all right now. See this branch: https://git.lyx.org/?p=developers/rgheck/lyx.git;a=shortlog;h=refs/heads/cleanup/pit_type I'm also attaching a diff. There are still some convers

Re: Trying to get texliveonfly.py working with LyX

2020-05-03 Thread Kornel Benko
Am Sun, 3 May 2020 11:09:17 +0200 schrieb Yu Jin : > texliveonfly is a python script, it can install missing packages > automatically while compiling. > I had to change the script a little bit for it to work from cmd.exe, I > attached it. So if I type the command ( > "C:/texlive/2019/texmf-dist/sc

Re: Additions to documentation toolbar

2020-05-03 Thread Jean-Marc Lasgouttes
Le 03/05/2020 à 11:08, Kornel Benko a écrit : I'm not much up on toolbars, but I have: \bind "C-M-S-s" "unicode-insert 0x00A7" \bind "C-M-S-p" "unicode-insert 0x00B6" in user.bind, which produce those two characters. Presumably you've added these yourself? Sure Andrew. "user.bind" _is_ set

Trying to get texliveonfly.py working with LyX

2020-05-03 Thread Yu Jin
texliveonfly is a python script, it can install missing packages automatically while compiling. I had to change the script a little bit for it to work from cmd.exe, I attached it. So if I type the command ( "C:/texlive/2019/texmf-dist/scripts/texliveonfly/texliveonfly.py" file.tex ) in cmd running

Re: Additions to documentation toolbar

2020-05-03 Thread Kornel Benko
Am Sun, 3 May 2020 20:37:28 +1200 schrieb Andrew Parsloe : > On 3/05/2020 3:59 pm, Richard Kimberly Heck wrote: > > On 5/1/20 1:22 AM, Andrew Parsloe wrote: > >> Dear LyX developers, > >> > >> I've been documenting a LaTeX program recently and have found the > >> documentation toolbar useful, bu

Re: Additions to documentation toolbar

2020-05-03 Thread Andrew Parsloe
On 3/05/2020 3:59 pm, Richard Kimberly Heck wrote: On 5/1/20 1:22 AM, Andrew Parsloe wrote: Dear LyX developers, I've been documenting a LaTeX program recently and have found the documentation toolbar useful, but this has highlighted a couple of symbols which could usefully be added to the tool

Re: [LyX/master] More polishing of counter dialog. Thanks to Jürgen for help.

2020-05-03 Thread Jürgen Spitzmüller
Am Sonntag, den 03.05.2020, 09:14 +0200 schrieb Jürgen Spitzmüller: > (Also the counters should be sorted alphabetically by [localized] > GUIstring rather than by key) This one's done. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel

Re: [LyX/master] More polishing of counter dialog. Thanks to Jürgen for help.

2020-05-03 Thread Jürgen Spitzmüller
Am Sonntag, den 03.05.2020, 02:12 +0200 schrieb Richard Kimberly Heck: > diff --git a/src/insets/InsetCounter.cpp > b/src/insets/InsetCounter.cpp > > index 32f7c64..a6e4d0d 100644 > > --- a/src/insets/InsetCounter.cpp > > +++ b/src/insets/InsetCounter.cpp > > @@ -60,12 +60,11 @@ InsetCounter::I

Re: Adding specific content to xhtml output

2020-05-03 Thread Guenter Milde
On 2020-04-30, Pavel Sanda wrote: > On Thu, Apr 30, 2020 at 09:56:00AM -0400, Richard Kimberly Heck wrote: >> On 4/30/20 9:00 AM, Pavel Sanda wrote: >> > On Thu, Apr 30, 2020 at 07:46:52AM -, Guenter Milde wrote: >> To know whether they should output or no for different targets (tex >> >>>