New Section Toolbar Button and Depth-setting Suggestion

2020-05-04 Thread Joel Kulesza
LyX Developers, Sorry, I'm behind the times. However, recent conversations had me pull the latest `master` and I observed the new "Section" button in the toolbar between Description and Increase Depth. I tried it, and I like it. However, given its position next to Increase/Decrease depth, does

Cross-Ref Dialog Improvement?

2020-05-04 Thread Richard Kimberly Heck
The attached patch, based upon one posted to #11466, adds 'pretty refs' to the cross-reference dialog. Any thoughts about it? Should this be made optional or something with a checkbox in the dialog? Something similar could presumably be done in the TOC. By the way, this makes UpdateType

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Thibaut Cuvelier
Thanks! Thibaut Cuvelier On Tue, 5 May 2020 at 01:47, Richard Kimberly Heck wrote: > On 5/4/20 7:18 PM, Richard Kimberly Heck wrote: > > On 5/4/20 4:16 PM, Thibaut Cuvelier wrote: > >> I changed the code to use more often the ::find() functions and > >> similar. In TextClass, I had to add new

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Richard Kimberly Heck
On 5/4/20 7:18 PM, Richard Kimberly Heck wrote: > On 5/4/20 4:16 PM, Thibaut Cuvelier wrote: >> I changed the code to use more often the ::find() functions and >> similar. In TextClass, I had to add new methods. That's the included >> patch, which replaces two of the previous patches. > > Thanks.

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Richard Kimberly Heck
On 5/4/20 4:16 PM, Thibaut Cuvelier wrote: > That's a lot of emails :)! > > I hereby grant permission to use my contributions to LyX under the GPL > license version 2 or later. Thanks. > Code with std::unary_function is still valid in C++11, but became > deprecated in this version (and deleted

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Thibaut Cuvelier
That's a lot of emails :)! I hereby grant permission to use my contributions to LyX under the GPL license version 2 or later. Code with std::unary_function is still valid in C++11, but became deprecated in this version (and deleted with C++17). VC has not exactly been known for standards

Problem compiling Linguistics manual with current LyX + TeXLive 2019

2020-05-04 Thread Stephan Witt
Hi Jürgen, I’ve checked the available manuals with current LyX and unfortunately the Linguistics manual has problems. Here is the log file. Stephan Linguistics.log Description: Binary data -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Richard Kimberly Heck
On 5/4/20 2:09 PM, Jean-Marc Lasgouttes wrote: > Le 04/05/2020 à 06:05, Thibaut Cuvelier a écrit : >> Dear list, > > Dear Thibaut, > >> During my work on DocBook (which started at >> www.lyx.org/trac/ticket/8444 ), >> I switched to Visual C++ 2019 as a

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Richard Kimberly Heck
On 5/4/20 12:05 AM, Thibaut Cuvelier wrote: > 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

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Richard Kimberly Heck
On 5/4/20 1:47 PM, Thibaut Cuvelier wrote: > No, it's not necessary, but I felt it was needed to keep some > consistency in the code. Seems reasonable. I've done that, too. Also fixed the missing include. Riki > > > On Mon, 4 May 2020 at 19:45, Richard Kimberly Heck >

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Jean-Marc Lasgouttes
Le 04/05/2020 à 15:33, Thibaut Cuvelier a écrit : Yes, your patch works (MSVC 19, again, that's all I have on my computer). By the way, in my original email, there are modifications to Boost, but it would be better to update it to a more recent version. The needed patch was integrated nine

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Jean-Marc Lasgouttes
Le 04/05/2020 à 06:05, Thibaut Cuvelier a écrit : Dear list, Dear Thibaut, 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

Re: #9934: Sometimes when pasting text LyX defaults to pasting image content (prompts dialog to insert "pasted.png")

2020-05-04 Thread Daniel Ferreira
Sorry, I stopped using LyX many years ago... I don't know if this still happens. On Sun, May 3, 2020 at 3:45 PM LyX Ticket Tracker wrote: > #9934: Sometimes when pasting text LyX defaults to pasting image content > (prompts > dialog to insert "pasted.png") >

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Thibaut Cuvelier
No, it's not necessary, but I felt it was needed to keep some consistency in the code. Thibaut Cuvelier On Mon, 4 May 2020 at 19:45, Richard Kimberly Heck wrote: > On 5/4/20 12:05 AM, Thibaut Cuvelier wrote: > > One of the largest changes is due to the addition of requires to the > > list of

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Richard Kimberly Heck
On 5/4/20 12:05 AM, Thibaut Cuvelier wrote: > One of the largest changes is due to the addition of requires to the > list of keywords, which is currently replaced by requirements, which > is close in meaning. Most of these have been fixed, and I think I just fixed the rest. I don't see a clang

Re: [LyX/master] GUI for new counter inset.

2020-05-04 Thread Richard Kimberly Heck
On 5/4/20 7:48 AM, Pavel Sanda wrote: > On Fri, May 01, 2020 at 04:53:50AM +0200, Richard Kimberly Heck wrote: >> commit 9a147255df735d35dd03c3279bdbb35e39678ce0 >> Author: Richard Kimberly Heck >> Date: Thu Apr 30 21:58:14 2020 -0400 >> >> GUI for new counter inset. > This is great stuff

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Kornel Benko
Am Mon, 4 May 2020 15:33:02 +0200 schrieb Thibaut Cuvelier : > Yes, your patch works (MSVC 19, again, that's all I have on my computer). > > By the way, in my original email, there are modifications to Boost, but it > would be better to update it to a more recent version. The needed patch was >

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Thibaut Cuvelier
Yes, your patch works (MSVC 19, again, that's all I have on my computer). By the way, in my original email, there are modifications to Boost, but it would be better to update it to a more recent version. The needed patch was integrated nine months ago. Thibaut Cuvelier On Mon, 4 May 2020 at

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Kornel Benko
Am Mon, 4 May 2020 12:53:42 +0200 schrieb Thibaut Cuvelier : > You can use the equivalent parameter /std: > https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version?view=vs-2019 > > Example: cl /std:c++14. If the standard is not supported, you get the warning >

Re: Adding specific content to xhtml output

2020-05-04 Thread Pavel Sanda
On Thu, Apr 30, 2020 at 10:51:52AM -0400, Richard Kimberly Heck wrote: > > GUI-wise I'd propose a checkable list of output formats in another > > QTreeWidget. This would translate into a comma-separated list of output > > formats in the params. > > To address Pavel's concern about user-defined

Re: [LyX/master] GUI for new counter inset.

2020-05-04 Thread Pavel Sanda
On Fri, May 01, 2020 at 04:53:50AM +0200, Richard Kimberly Heck wrote: > commit 9a147255df735d35dd03c3279bdbb35e39678ce0 > Author: Richard Kimberly Heck > Date: Thu Apr 30 21:58:14 2020 -0400 > > GUI for new counter inset. This is great stuff Riki! Pavel -- lyx-devel mailing list

Re: Hebrew document template

2020-05-04 Thread Pavel Sanda
On Wed, Apr 29, 2020 at 09:48:13PM +0300, Guy Rutenberg wrote: > > Would you like to include the example into LyX examples we distribute with > > the > > sourcecodes? > > > > > Sure, I think it might be useful. It's committed for the fprthcoming 2.4. It is available as an article template with

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Thibaut Cuvelier
You can use the equivalent parameter /std: https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version?view=vs-2019 Example: cl /std:c++14. If the standard is not supported, you get the warning D9002. Thibaut Cuvelier On Mon, 4 May 2020 at 11:34, Kornel Benko

Re: Patches to improve compatibility with modern C++ standard

2020-05-04 Thread Kornel Benko
Am Mon, 4 May 2020 06:05:51 +0200 schrieb 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++