Re: New Defects reported by Coverity Scan for LyX

2024-09-30 Thread Jürgen Spitzmüller
Am Montag, dem 30.09.2024 um 15:06 +0200 schrieb Jean-Marc Lasgouttes: > Thanks for walking me through the testing. It (still) works, so I > pushed this. Thanks. I only bothered you with this since I was away from my machine. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://li

Re: New Defects reported by Coverity Scan for LyX

2024-09-30 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes schrieb am 29.09.2024 21:47 (GMT +02:00): > Jürgen, it seems to me that it is possible to modify the string in place > instead of duplicating the list. That's certainly better. > I the patch below correct? I do not > know how to test it. * Add a local bib file in the Bib(

Re: request

2024-09-27 Thread Jürgen Spitzmüller
Am Freitag, dem 27.09.2024 um 15:06 + schrieb Stef Pillaert: > I'd like to propose two feature requests. One about newpax, one about > hyperlinks that are both colored AND underlined. > Jürgen suggested to ask for an account. I'll handle that (the account) -- Jürgen -- lyx-devel mailing lis

Re: A few ctests were magically fixed

2024-09-25 Thread Jürgen Spitzmüller
Am Mittwoch, dem 25.09.2024 um 13:25 +0200 schrieb Kornel Benko: > I had the impression that you committed it to master, ... but > apparently only for the the template ... I was testing the examples > file :( example is now fixed as well. -- Jürgen signature.asc Description: This is a digitall

Re: A few ctests were magically fixed

2024-09-25 Thread Jürgen Spitzmüller
Am Mittwoch, dem 25.09.2024 um 12:46 +0200 schrieb Kornel Benko: > Where can I download the package? The info in > https://wiki.lyx.org/Layouts/Astronomy-Astrophysics > for http://ftp.edpsciences.org/pub/aa/aa-package.zip is not uptodate. Google immediately points me to https://www.aanda.org/for-a

Re: A few ctests were magically fixed

2024-09-25 Thread Jürgen Spitzmüller
Am Mittwoch, dem 25.09.2024 um 12:46 +0200 schrieb Kornel Benko: > I still have the same error. Where can I download the package? The > info in > https://wiki.lyx.org/Layouts/Astronomy-Astrophysics > for http://ftp.edpsciences.org/pub/aa/aa-package.zip is not uptodate. Did you update the template

Re: A few ctests were magically fixed

2024-09-25 Thread Jürgen Spitzmüller
Am Mittwoch, dem 25.09.2024 um 11:38 +0200 schrieb Jürgen Spitzmüller: > A workaround, as explained by Ulrike, is to load hyperref in the > preamble: > > \usepackage[ >     colorlinks=true, >     linkcolor=blue, >     citecolor=blue, >     filecolor=blue, >     urlcol

Re: A few ctests were magically fixed

2024-09-25 Thread Jürgen Spitzmüller
Am Mittwoch, dem 25.09.2024 um 11:31 +0200 schrieb Jürgen Spitzmüller: > Am Mittwoch, dem 25.09.2024 um 11:16 +0200 schrieb Kornel Benko: > > LaTeX.cpp (867): Log line: > > (/usr9/local/texlive/2024/texmf- > > dist/tex/generic/gettitlestring/gettitlestring. > > LaT

Re: A few ctests were magically fixed

2024-09-25 Thread Jürgen Spitzmüller
Am Mittwoch, dem 25.09.2024 um 11:16 +0200 schrieb Kornel Benko: > LaTeX.cpp (867): Log line: > (/usr9/local/texlive/2024/texmf- > dist/tex/generic/gettitlestring/gettitlestring. > LaTeX.cpp (867): Log line: sty > LaTeX.cpp (867): Log line: Package: gettitlestring This package is not loaded in my

Re: A few ctests were magically fixed

2024-09-25 Thread Jürgen Spitzmüller
Am Mittwoch, dem 25.09.2024 um 10:11 +0200 schrieb Kornel Benko: > I get there > (lib/templates/Articles/Journal_of_Statistical_Software_%28JSS%29_ver > sion_2.lyx > exported with pdflatex) > ... > (/usr9/local/texlive/2024/texmf-dist/tex/latex/psnfss/t1pzc.fd > File: t1pzc.fd 2020/03/25 font defin

Re: A few ctests were magically fixed

2024-09-25 Thread Jürgen Spitzmüller
Am Dienstag, dem 24.09.2024 um 18:04 +0200 schrieb Scott Kostyshak: > export/examples/Articles/Astronomy_%26_Astrophysics_lyx22 (Failed) >   export/examples/Articles/Astronomy_%26_Astrophysics_lyx23 (Failed) >   > UNRELIABLE.NONSTANDARD_export/examples/Articles/Astronomy_%26_Astroph > ysics_dvi (Fa

Re: LYX 2.4.1 — inserting a negative offset horizontal line ?

2024-09-25 Thread Jürgen Spitzmüller
Am Dienstag, dem 24.09.2024 um 21:47 +0200 schrieb didiergab...@free.fr: > Sorry but I don’t have any account on the bug tracker… Sone: https://www.lyx.org/trac/ticket/13102 -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: LYX 2.4.1 — inserting a negative offset horizontal line ?

2024-09-24 Thread Jürgen Spitzmüller
Am Dienstag, dem 24.09.2024 um 13:10 +0200 schrieb Daniel: > On 2024-09-23 23:22, didiergab...@free.fr wrote: > > Hi, > > > > Why is it not possible to enter a negative offset value in the menu > > provided for inserting a horizontal line ? > > > > Thanks, > > > > Didier > > Seems like a bug. I

Re: A few ctests were magically fixed

2024-09-22 Thread Jürgen Spitzmüller
Am Sonntag, dem 22.09.2024 um 22:09 +0200 schrieb Scott Kostyshak: > I got the following "failures" on very-recent master: > >   INVERTED.LYXBUGS_export/export/lyx2lyx/11773-language-reversion- > nesting-polyglossia_lyx22 (Failed) >   INVERTED.LYXBUGS_export/export/lyx2lyx/11773-language-reversion

Re: [LyX/master] Only \protect labels in \thanks notes

2024-09-22 Thread Jürgen Spitzmüller
Am Sonntag, dem 22.09.2024 um 11:50 +0200 schrieb Jürgen Spitzmüller: > Yes. No idea what the issue here is (as it only breaks with the > Spanish version). It's the "nohyper" option that is (only) used in the Spanish version. I'll change that. -- Jürgen signature.

Re: [LyX/master] Only \protect labels in \thanks notes

2024-09-22 Thread Jürgen Spitzmüller
Am Samstag, dem 21.09.2024 um 21:57 +0200 schrieb Scott Kostyshak: > I think this commit broke the following tests: > >   export/examples/es/Handouts/Tufte_Handout_lyx22 (Failed) >   export/examples/es/Handouts/Tufte_Handout_lyx23 (Failed) >   DEFAULTOUTPUT_export/examples/es/Handouts/Tufte_Handou

Re: Coverity musings

2024-09-19 Thread Jürgen Spitzmüller
Am Donnerstag, dem 19.09.2024 um 16:16 +0200 schrieb Jean-Marc Lasgouttes: > What I have in mind as a simpler alternative is this (like the last > patch, with vector instead of map). Seems to make sense. I have no time to look closer now, unfortunately. -- Jürgen -- lyx-devel mailing list lyx-

Re: Could not find LaTeX command for character....

2024-09-19 Thread Jürgen Spitzmüller
Am Mittwoch, dem 18.09.2024 um 12:49 +0200 schrieb Scott Kostyshak: > Is this worth fixing? Not sure it's worth the effort. Nobody seems to have complained about it so far, and 2.0 is quite old. If somebody feels like tackling it, revert_verbatim in lyx_2.1.py is to blame. -- Jürgen signature

Re: Coverity musings

2024-09-19 Thread Jürgen Spitzmüller
Am Donnerstag, dem 19.09.2024 um 15:14 +0200 schrieb Jean-Marc Lasgouttes: > But why go from a vector<> to a map<>? Frankly: I can't remember. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: ctests failing on current master

2024-09-18 Thread Jürgen Spitzmüller
Am Dienstag, dem 17.09.2024 um 21:59 +0200 schrieb Scott Kostyshak: > Thanks for figuring out the issue. > > I have no idea. I guess the question is whether to switch to a > different font or just leave it as is? I'm not sure if Koji would > have an idea. I tried Noto Serif CJK JP, but this even

Re: ctests failing on current master

2024-09-17 Thread Jürgen Spitzmüller
Am Montag, dem 16.09.2024 um 14:33 +0200 schrieb Jürgen Spitzmüller: > I have also fixed most of Math, but there is a > remaining issue -- a NULL character (0x) somewhere which cannot > be displayed by the Japanese system font, I cannot figure out where. The construct that brea

Re: Outliner does not respect tree depth after removing text selection inside the section (2.4 regression)

2024-09-17 Thread Jürgen Spitzmüller
Am Dienstag, dem 17.09.2024 um 15:03 +0200 schrieb Pavel Sanda: > - open some structured text (eg any manual) > - set tree depth to some higher level (eg 2) by the slider in toc > dialog > - go inside any section, highlight the text and remove/replace it > - the outliner tree depth gets reset to 0

Re: [LyX/master] Do not output empty statement in lyx2lyx reversion

2024-09-17 Thread Jürgen Spitzmüller
Am Dienstag, dem 17.09.2024 um 14:14 + schrieb Juergen Spitzmueller: > commit 2e408d2fdccffddebcd05eb2c6ccf6e9607def61 > Author: Juergen Spitzmueller > Date:   Tue Sep 17 15:53:18 2024 +0200 > >     Do not output empty statement in lyx2lyx reversion Candidate for stable -- Jürgen -- lyx-d

Re: ctests failing on current master

2024-09-17 Thread Jürgen Spitzmüller
Am Dienstag, dem 17.09.2024 um 15:15 +0200 schrieb Kornel Benko: > I see the following differences between the created between *.23.lyx > and *.23.23.lyx > files > > % Added by lyx2lyx > > %% This document must be processed with xelatex or > lualatex! > > \AtBeginDocument{% >

Re: ctests failing on current master

2024-09-17 Thread Jürgen Spitzmüller
Am Dienstag, dem 17.09.2024 um 08:01 +0200 schrieb Jürgen Spitzmüller: > Am Montag, dem 16.09.2024 um 18:04 +0200 schrieb Scott Kostyshak: > > To make sure I understand, now the following test fails for you > > (i.e., the export succeeds)? > > > >   ctest -R &

Re: ctests failing on current master

2024-09-16 Thread Jürgen Spitzmüller
Am Montag, dem 16.09.2024 um 18:04 +0200 schrieb Scott Kostyshak: > To make sure I understand, now the following test fails for you > (i.e., the export succeeds)? > >   ctest -R 'INVERTED.TODO_export/doc/ja/UserGuide_pdf4_systemF' This looks like a problem in the polyglossia XeTeX code of Chinese

Re: ctests failing on current master

2024-09-16 Thread Jürgen Spitzmüller
Am Montag, dem 16.09.2024 um 16:42 +0200 schrieb Scott Kostyshak: > Great! These tests are failing now though: > >   export/doc/ja/Additional_lyx22 (Failed) >   export/doc/ja/Additional_lyx23 (Failed) >   export/doc/ja/Additional_dvi (Failed) >   UNRELIABLE.NONSTANDARD_export/doc/ja/Additional_pdf

Re: ctests failing on current master

2024-09-16 Thread Jürgen Spitzmüller
Am Montag, dem 16.09.2024 um 12:20 +0200 schrieb Scott Kostyshak: > Regarding this test, > >    export/examples/es/Curricula_Vitae/Modern_CV_lyx23 > > I reproduce manually with: > >   lyx -e lyx23x Modern_CV.lyx && lyx -e lyx23x Modern_CV.23.lyx && > lyx -e default Modern_CV.23.23.lyx > > I get

Re: ctests failing on current master

2024-09-16 Thread Jürgen Spitzmüller
Am Sonntag, dem 15.09.2024 um 19:37 +0200 schrieb Scott Kostyshak: > It is strange (to me) that this export succeeds (i.e., the inverted > test fails), but the corresponding XeTeX export fails. The LuaTeX > output looks fine to my eyes though. The Japanese fonts do not cover some quotation marks.

Re: ctests failing on current master

2024-09-16 Thread Jürgen Spitzmüller
Am Montag, dem 16.09.2024 um 12:50 +0200 schrieb Kornel Benko: > Maybe the error output on terminal when using lyx can help. Looks > like dvipdfm chokes. Yes, I also have these invalid font errors sometimes. I solved some of them by installing another version or format of the font. I think "virtua

Re: ctests failing on current master

2024-09-16 Thread Jürgen Spitzmüller
Am Montag, dem 16.09.2024 um 11:53 +0200 schrieb Kornel Benko: > I tried, but still failing. Running out of ideas. The warnings are more or less harmless. Don't know what your issue is. -- Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-

Re: ctests failing on current master

2024-09-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 15.09.2024 um 19:21 +0200 schrieb Kornel Benko: > I have > Font : IPAMincho Regular [IPA] > Font : IPAPMincho Regular [IPA] > Font : IPAX0208Mincho Regular [IPA] > Font : IPAX0208PMincho Regular [IPA] > Font : IPAex Mincho Regular [IPA] > Font : IPAmj Mincho Regular [IPA] > > but n

Re: ctests failing on current master

2024-09-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 15.09.2024 um 19:05 +0200 schrieb Scott Kostyshak: > The following tests FAILED: I need concrete error messages, as these tests pass for me. -- Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org http://li

Re: ctests failing on current master

2024-09-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 15.09.2024 um 17:58 +0200 schrieb Kornel Benko: > With the latest (649c5e9b) change there are only these 10 tests > failing here. > The following tests FAILED: > 490 - DEFAULTOUTPUT_export/export/latex/languages/supported- > languages_polyglossia-XeTeX_pdf4_systemF (Failed) >

Re: Coverity musings

2024-09-15 Thread Jürgen Spitzmüller
Am Samstag, dem 14.09.2024 um 20:07 +0200 schrieb Jean-Marc Lasgouttes: > Back in history, the structure was not a map but a > vecor. It is used to track things like "is there a line below > this cell?". I am not sure why  Juergen changed it to a map To track whether the lines are trimmed (in boo

Re: ctests failing on current master

2024-09-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 15.09.2024 um 17:15 +0200 schrieb Jürgen Spitzmüller: > Am Sonntag, dem 15.09.2024 um 17:08 +0200 schrieb Kornel Benko: > > That's better. Attached the remaining tests here. > > You don't have the Source Han Code JP font installed, right? > > https:

Re: ctests failing on current master

2024-09-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 15.09.2024 um 17:08 +0200 schrieb Kornel Benko: > That's better. Attached the remaining tests here. You don't have the Source Han Code JP font installed, right? https://github.com/adobe-fonts/source-han-code-jp/releases/download/2.012R/SourceHanCodeJP.ttc -- Jürgen signature.a

Re: ctests failing on current master

2024-09-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 15.09.2024 um 15:46 +0200 schrieb Kornel Benko: > At least these tests compiles fine if using > Serif: Noto Serif CJK HK > Sans:  Noto Sans CJK HK > Mono:  Noto Sans CJK HK Not quite the correct fonts. I have added the Noto fonts for Simplified Chinese (i.e., SC) instead. And Mono

Re: ctests failing on current master

2024-09-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 15.09.2024 um 14:01 +0200 schrieb Jürgen Spitzmüller: > > DEFAULTOUTPUT_export/export/latex/languages/supported- > > languages_polyglossia-XeTeX_pdf4_systemF (Failed) > > Have to look into this ... Fixed. -- Jürgen signature.asc Description: This is a digita

Re: ctests failing on current master

2024-09-15 Thread Jürgen Spitzmüller
Am Samstag, dem 14.09.2024 um 23:59 +0200 schrieb Scott Kostyshak: > UNRELIABLE.WRONG_OUTPUT_export/export/latex/CJK/zh_CN- > toc_pdf4_systemF (Failed) > UNRELIABLE.WRONG_OUTPUT_export/export/latex/CJK/zh_CN- > toc_pdf5_systemF (Failed) > export/export/latex/languages/ja-listings-uncodable- > error

Re: ctests failing on current master

2024-09-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 15.09.2024 um 10:30 +0200 schrieb Scott Kostyshak: > Thanks, that's easy enough. And where do I put that file? I just opened it with KFontView and hit the install button. That installed it to ~/.fonts/s/SourceHanCodeJP.ttc It seems that XeTeX does have problems with this sort of f

Re: ctests failing on current master

2024-09-14 Thread Jürgen Spitzmüller
Am Samstag, dem 14.09.2024 um 19:34 +0200 schrieb Scott Kostyshak: > After cloning the repository, it is 262M. Probably I just need a few > files from there? If so, can you tell me which files? Just this: https://github.com/adobe-fonts/source-han-code-jp/releases/download/2.012R/SourceHanCodeJP.tt

Re: ctests failing on current master

2024-09-14 Thread Jürgen Spitzmüller
Am Samstag, dem 14.09.2024 um 13:27 +0200 schrieb Jürgen Spitzmüller: > These, for instance. Here, we need to agree on an appropriate > typewriter font that supports CJK. Source Han Code seems to work well: https://github.com/adobe-fonts/source-han-code-jp -- Jürgen signature.asc Descr

Re: ctests failing on current master

2024-09-14 Thread Jürgen Spitzmüller
Am Mittwoch, dem 11.09.2024 um 17:15 +0200 schrieb Kornel Benko: > > UNRELIABLE.WRONG_OUTPUT_export/export/latex/CJK/zh_CN- > > toc_pdf4_systemF > > UNRELIABLE.WRONG_OUTPUT_export/export/latex/CJK/zh_CN- > > toc_pdf5_systemF Should be fixed. Basically appropriate non-TeX fonts needed to be set (as

Re: Coverity musings

2024-09-14 Thread Jürgen Spitzmüller
Am Freitag, dem 13.09.2024 um 17:54 +0200 schrieb Jean-Marc Lasgouttes: > Jürgen, could you please have a look and tell me why we should not do > that? It is too simple, I fear I am missing something. I do not understand if and why that works, but if you say so, I believe you. -- Jürgen -- lyx-

Re: [LyX/master] Do not use rand() to set a BranchList id

2024-09-14 Thread Jürgen Spitzmüller
Am Freitag, dem 13.09.2024 um 11:14 +0200 schrieb Jean-Marc Lasgouttes: > Jürgen, could you double-check this? Makes sense to me. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: ctests failing on current master

2024-09-14 Thread Jürgen Spitzmüller
Am Mittwoch, dem 11.09.2024 um 18:33 +0200 schrieb Kornel Benko: > > Oh, the Spanish docs are not using > > polyglossia... Is there a sane error > > message? > > > > ?? They pass now here. This is without the polyglossia in git, but > with updated TL24. Maybe also due to my babel options fix. -

Re: ctests failing on current master

2024-09-14 Thread Jürgen Spitzmüller
Am Mittwoch, dem 11.09.2024 um 18:46 +0300 schrieb Udicoudco: > > export/doc/es/Tutorial_dvi3_systemF > > export/doc/es/Tutorial_pdf4_systemF > > export/doc/es/Tutorial_pdf5_systemF > > These ones are compiling fine for me after > a fix from Jürgen at 498135ef383a6e75. > Are you testing with the m

Re: [LyX/master] use std::move() instead of copying when value is no longer used

2024-09-14 Thread Jürgen Spitzmüller
Am Dienstag, dem 10.09.2024 um 15:21 +0200 schrieb Jean-Marc Lasgouttes: > I agree with that. However, I have not found the toggle that tells > Coverity to skip this proposal. This is most of our reports. In any case, I will revert the respective commit. -- Jürgen -- lyx-devel mailing list lyx

Re: ctests failing on current master

2024-09-09 Thread Jürgen Spitzmüller
Am Montag, dem 09.09.2024 um 18:37 +0200 schrieb Jürgen Spitzmüller: > Am Montag, dem 09.09.2024 um 18:43 +0200 schrieb Kornel Benko: > > LaTeX.cpp (867): Log line: > > LaTeX.cpp (867): Log line: ! LaTeX Error: The key > > 'polyglossia/gloss/english/__current_options_

Re: ctests failing on current master

2024-09-09 Thread Jürgen Spitzmüller
Am Montag, dem 09.09.2024 um 18:43 +0200 schrieb Kornel Benko: > LaTeX.cpp (867): Log line: > LaTeX.cpp (867): Log line: ! LaTeX Error: The key > 'polyglossia/gloss/english/__current_options_tl' is > LaTeX.cpp (1156): line: 3954 > Desc: LaTeX Error: The key > 'polyglossia/gloss/english/__current_op

Re: [LyX/master] Do not handle special case where buffer == NULL

2024-09-09 Thread Jürgen Spitzmüller
Am Montag, dem 09.09.2024 um 17:54 +0200 schrieb Jean-Marc Lasgouttes: > I am even tempted to use std::move() here to > point out that this is the standard library method and not just a > function of our own. Thankfully, Scott has done that for my commit at 0a7585403832c -- Jürgen -- lyx-dev

Re: [LyX/master] Do not handle special case where buffer == NULL

2024-09-09 Thread Jürgen Spitzmüller
Am Montag, dem 09.09.2024 um 17:55 +0200 schrieb Jean-Marc Lasgouttes: > The good thing is that we caught a few real bugs. It is not always > coverity being annoying. No, it is actually really helpful. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/lis

Re: ctests failing on current master

2024-09-09 Thread Jürgen Spitzmüller
Am Sonntag, dem 08.09.2024 um 12:08 +0200 schrieb Scott Kostyshak: > > (the reason being that we didn't use polyglossia for Japanese and > > Chinese before that commit with non-TeX fonts, but babel) > > Sounds good! Thanks for confirming. You might want to rerun the test with an up-to date polygl

Re: [LyX/master] Do not handle special case where buffer == NULL

2024-09-09 Thread Jürgen Spitzmüller
Am Montag, dem 09.09.2024 um 16:31 +0200 schrieb Scott Kostyshak: > Just out of curiosity (no I don't want to receive the scan results > ;)), > are most of these from Coverity adding new features that detect new > things? Or were they there before, and you are whittling down the > list little by li

Re: lyx-devel Digest, Vol 254, Issue 1

2024-09-09 Thread Jürgen Spitzmüller
Am Montag, dem 09.09.2024 um 21:20 +1200 schrieb Igor: > -- refstyle gets loaded automatically when I choose Formatted > reference through LyX GUI. Ironically I redefine most of the > refstyle's formatted commands underneath :) I'm going to test to see > how I can implement this with "Use refstyle"

Re: label whitespaces no more

2024-09-08 Thread Jürgen Spitzmüller
Am Sonntag, dem 08.09.2024 um 19:18 +0200 schrieb Jean-Marc Lasgouttes: > Does tex2lyx need some adaptation to avoid labels on > roundtrips? Yes, you're right. Done at f725abea051b5 -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-de

Re: label whitespaces no more

2024-09-08 Thread Jürgen Spitzmüller
Am Sonntag, dem 08.09.2024 um 12:18 -0400 schrieb Richard Kimberly Heck: > That was my thought, as well. Simple and effective. Good, I committed to master. Note that if you cherry-pick, you both need both bfd855747ab (the indentation fix) and 0beb790a6a1945 (the actual bug fix), as the latter won'

Re: label whitespaces no more

2024-09-08 Thread Jürgen Spitzmüller
Am Sonntag, dem 08.09.2024 um 15:45 +0200 schrieb Jürgen Spitzmüller: > Am Sonntag, dem 08.09.2024 um 02:26 +1200 schrieb Igor: > > \secref{{A B}} -- works! > > Actually, considering all eventualities, this might be the best > solution, as the problem only concerns refsty

Re: label whitespaces no more

2024-09-08 Thread Jürgen Spitzmüller
Am Sonntag, dem 08.09.2024 um 02:26 +1200 schrieb Igor: > \secref{{A B}} -- works! Actually, considering all eventualities, this might be the best solution, as the problem only concerns refstyle's formatted ref commands. All other solutions that I could think of add unnecessary complication. Like

Re: label whitespaces no more

2024-09-08 Thread Jürgen Spitzmüller
Am Sonntag, dem 08.09.2024 um 22:09 +1200 schrieb Igor: > I guess I've never run into this whitespace refstyle bug, because I > redefined all my formatted references, for example > \renewcommand*{\thmref}[1]{\hyperref[thm:#1]{#1}}. I'm not sure if I > even need refstyle ... but it's loaded automati

Re: ctests failing on current master

2024-09-08 Thread Jürgen Spitzmüller
Am Sonntag, dem 08.09.2024 um 11:16 +0200 schrieb Jürgen Spitzmüller: > Sure, but the bug (which is not in LyX) is just exposed by that. (the reason being that we didn't use polyglossia for Japanese and Chinese before that commit with non-TeX fonts, but babel) -- Jürgen signa

Re: ctests failing on current master

2024-09-08 Thread Jürgen Spitzmüller
Am Samstag, dem 07.09.2024 um 23:34 +0200 schrieb Scott Kostyshak: > git bisect leads to: > > commit b625138be66ec5f76c3b9418a6a33c26bb313902 > Author: Juergen Spitzmueller > Date:   Sun Aug 25 13:22:07 2024 +0200 > >     Add support for the following languages Sure, but the bug (which is not

Re: label whitespaces no more

2024-09-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 08.09.2024 um 02:26 +1200 schrieb Igor: > Seems like a refstyle's bug. The workaround is to enclose the label > name within additional {} when referencing and leave the original > label as the user intended. > > For example. Firstly, we'd need to use something like \secref to > act

Re: [LyX/master] use std::move() instead of copying when value is no longer used

2024-09-07 Thread Jürgen Spitzmüller
Am Samstag, dem 07.09.2024 um 13:22 +0200 schrieb Jean-Marc Lasgouttes: > I have been resisting to making these changes because someone may > change the code and use the variable afterwards. But I may be wrong > after all. I am not sure at all. I did some research how useful this sort of advise is

Re: label whitespaces no more

2024-09-07 Thread Jürgen Spitzmüller
Am Mittwoch, dem 04.09.2024 um 15:45 +1200 schrieb Igor: > Not sure if it's a bug or a new feature, but the whitespaces in my > labels are now turned into =20 feature. [...] > Why?  Because refstyle does not support spaces in references. > How to disable/enable this? You can't without ch

Re: ctests failing on current master

2024-09-01 Thread Jürgen Spitzmüller
Kornel Benko schrieb am 28.08.2024 12:44 (GMT +02:00): > Am Tue, 27 Aug 2024 22:21:35 +0200 > schrieb Scott Kostyshak : > >> The following tests are failing for me on current master. Note that I haven't >> updated >> my TeX Live distribution for a couple of months. And I saw a couple of notes >> m

Re: [Lyx/2.4.x] Update zh_CN.po 20240824

2024-08-24 Thread Jürgen Spitzmüller
Am Samstag, dem 24.08.2024 um 09:35 +0800 schrieb Jiaxu Zi: > Updated Simplified Chinese Translations. Alas, the patch doesn't apply cleanly to stable. Could you send the whole po file? -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] Update tex2lyx tests

2024-08-22 Thread Jürgen Spitzmüller
Am Donnerstag, dem 22.08.2024 um 12:08 -0400 schrieb Scott Kostyshak: > Jürgen does this look OK? Maybe after 0ca600b9 it is expected? Yes, thanks. I wanted to run the update but then I forgot. Sorry. -- Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel ma

Re: 68 tests failing due to recent commits

2024-08-20 Thread Jürgen Spitzmüller
Am Dienstag, dem 20.08.2024 um 12:21 +0200 schrieb Kornel Benko: > The offending line 2127:43 contains > ... > [0, 1] If this is > set to > 1, a copy of the co-text (either selected text or the > word preceding the > cursor) is inserted as content on inset creation. > ... > with error >  error: ele

Re: 68 tests failing due to recent commits

2024-08-19 Thread Jürgen Spitzmüller
Am Montag, dem 19.08.2024 um 02:57 -0400 schrieb Scott Kostyshak: > -- _err = 1, jingout = /home/scott/lyxbuilds/master- > master/CMakeBuild/autotests/out- > home/AbC_ax5fq9/doc/Customization.xml:2133:20: error: element "code" > not allowed here; Thibaut should have a look at this. I don't know en

Re: LyX 2.4.2 String Freeze

2024-08-18 Thread Jürgen Spitzmüller
Am Sonntag, dem 18.08.2024 um 11:55 -0400 schrieb Richard Kimberly Heck: > Yes. Thanks, all done. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: LyX 2.4.2 String Freeze

2024-08-18 Thread Jürgen Spitzmüller
Am Sonntag, dem 18.08.2024 um 11:42 -0400 schrieb Richard Kimberly Heck: > If Thibaut approves, so do I. He knows more about this now than I do. OK, I'll put it to master. Tell me if you're fine with backporting. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/

Re: 68 tests failing due to recent commits

2024-08-18 Thread Jürgen Spitzmüller
Am Samstag, dem 17.08.2024 um 17:55 -0400 schrieb Scott Kostyshak: > export/doc/Customization_docbook5 (Failed) This one I cannot reproduce. What's the failure? -- Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org http:

Re: 68 tests failing due to recent commits

2024-08-18 Thread Jürgen Spitzmüller
Am Samstag, dem 17.08.2024 um 17:55 -0400 schrieb Scott Kostyshak: > DEFAULTOUTPUT_export/export/latex/lyxbugs-resolved/11584-iconv-error- > nomenclature_pdf2 (Failed) This one's fixed. Strangely, it isn't listed among my failed tests, but I could reproduce manually. -- Jürgen signature.asc De

Re: LyX 2.4.2 String Freeze

2024-08-18 Thread Jürgen Spitzmüller
Am Sonntag, dem 18.08.2024 um 09:22 +0200 schrieb Jürgen Spitzmüller: > This is important enough for 2.4.2, and it all works well for me. > Just > waiting for Thibaut's and your feedback: > > https://www.lyx.org/trac/ticket/12372 And of course the patch with the string ch

Re: LyX 2.4.2 String Freeze

2024-08-18 Thread Jürgen Spitzmüller
Am Samstag, dem 17.08.2024 um 19:40 -0400 schrieb Richard Kimberly Heck: > No, not yet, but soon. Pleases let me know if there are any commits > you'd like to get into 2.4.x that might change strings before we do > freeze. This is important enough for 2.4.2, and it all works well for me. Just wai

Re: 68 tests failing due to recent commits

2024-08-18 Thread Jürgen Spitzmüller
Am Samstag, dem 17.08.2024 um 19:00 +0200 schrieb Kornel Benko: > From inside the build-dir call > # ./prefTest.pl test > > This should do the trick. It modifies some converters in local > Testing/.lyx/preferences. Thanks, it does. This should probably documented in Development.lyx (where I

Re: 68 tests failing due to recent commits

2024-08-17 Thread Jürgen Spitzmüller
Am Donnerstag, dem 15.08.2024 um 09:28 +0200 schrieb Jürgen Spitzmüller: > I've resolved some and will run the tests myself to see what's left. I think I've caught all. I still get test failures, but this seems due to other issues or missing prereqs. BTW the tests fail with

Re: [LyX/master] fix get_quoted_value

2024-08-16 Thread Jürgen Spitzmüller
Am Freitag, dem 16.08.2024 um 10:00 +0100 schrieb José Matos: > Thank you for implementing these changes in the code. :-) I have to thank for the instruction! -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] fix get_quoted_value

2024-08-15 Thread Jürgen Spitzmüller
Am Donnerstag, dem 15.08.2024 um 13:03 +0100 schrieb José Matos: > Honestly here the code, in this context, makes more sense like this: > > if val.startswith('"') and val.endswith('"'): >     val =  val[1:-1] > > So it only makes sense to remove both at once.  Yes, I agree. > Again on practice

Re: [LyX/master] fix get_quoted_value

2024-08-15 Thread Jürgen Spitzmüller
Am Donnerstag, dem 15.08.2024 um 09:35 +0100 schrieb José Matos: > This will only fail for cases where there are multiple opening and > closing quotes. > Is that our case? My case was escaped quote as last content of the quoted string (e.g., "\"" which returned \ rather than \") > BTW I usually p

Re: 68 tests failing due to recent commits

2024-08-15 Thread Jürgen Spitzmüller
Am Mittwoch, dem 14.08.2024 um 18:40 -0400 schrieb Scott Kostyshak: > Below are tests that are failing due to recent commits. I'm on > vacation so I'd rather not dig into these myself. If necessary, I can > provide more information but not sure when. I've resolved some and will run the tests mysel

Re: [LyX/master] Disable valign widget in tabularx tables

2024-08-14 Thread Jürgen Spitzmüller
Am Mittwoch, dem 14.08.2024 um 14:29 + schrieb Juergen Spitzmueller: > commit c993485782a1f47c6eafc9335c8905b3def7e083 > Author: Juergen Spitzmueller > Date:   Wed Aug 14 16:28:15 2024 +0200 > >     Disable valign widget in tabularx tables >     >     See https://marc.info/?l=lyx-users&m=172

[patch] fix nomencl escape character (stable only)

2024-08-12 Thread Jürgen Spitzmüller
Since some time (unfortunately not documented when), nomencl uses the rather odd % escape character (instead of " due to its activation by babel etc.), but we haven't adapted it fully yet. The attached patch does that. Master uses the right escape char with its new approach. OK? -- Jürgen diff

Re: #1624: Inserting Cross Reference without having a label (auto-labels)

2024-08-10 Thread Jürgen Spitzmüller
Am Samstag, dem 10.08.2024 um 08:36 + schrieb Roland Schmitz: > great to se "my oldest Ticket" getting closed 😁 Good to see you're still around. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/2.4.x] Restore obvious shortcut

2024-08-07 Thread Jürgen Spitzmüller
Am Mittwoch, dem 07.08.2024 um 12:28 -0400 schrieb Richard Kimberly Heck: > You did change the context menu shortcut at c92d14e8c97. But I'm not > seeing the (potential) conflict now. No time to investigate now, but it has been there, and it was quite a challenge to come to a situation where no m

Re: [LyX/2.4.x] Restore obvious shortcut

2024-08-07 Thread Jürgen Spitzmüller
Am Mittwoch, dem 07.08.2024 um 11:36 -0400 schrieb Richard Kimberly Heck: > There's only three things on that sub-menu. Yep, sorry. I was mixing it up with the other use of Greyedout (in the context menu). -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/

Re: [LyX/master] lyx_pot.py: Fix regex for \Format

2024-08-07 Thread Jürgen Spitzmüller
Am Mittwoch, dem 07.08.2024 um 07:14 + schrieb Juergen Spitzmueller: > commit 1efdc11296b0acf98d1180e18c0daa3e9a79bfec > Author: Juergen Spitzmueller > Date:   Wed Aug 7 09:11:35 2024 +0200 > >     lyx_pot.py: Fix regex for \Format >     >     Each token could be delimited by quotation marks

Re: [LyX/2.4.x] Restore obvious shortcut

2024-08-06 Thread Jürgen Spitzmüller
Am Dienstag, dem 06.08.2024 um 21:01 +0200 schrieb Jürgen Spitzmüller: > Note that this was changed due to a shortcut conflict which now is > probably back. Though not in this particular position, so that's OK. We now just have two different accelerators for Greyedout depending on

Re: [LyX/2.4.x] Restore obvious shortcut

2024-08-06 Thread Jürgen Spitzmüller
Am Dienstag, dem 06.08.2024 um 18:51 + schrieb Richard Kimberly Heck: > Author: Richard Kimberly Heck > Date:   Tue Aug 6 14:50:29 2024 -0400 > >     Restore obvious shortcut Note that this was changed due to a shortcut conflict which now is probably back. -- Jürgen signature.asc Descrip

Re: Display of Cross-References in Outliner

2024-08-06 Thread Jürgen Spitzmüller
Am Dienstag, dem 06.08.2024 um 11:36 -0400 schrieb Richard Kimberly Heck: > Yes, I agree. But having 15 entries that look like "2.3" isn't any > better. Prior to this change, we got a mix of "2.3" and "Ref: LABEL", > but that's due to a bug which I'm about to fix. I totally agree. I was just resp

Re: Display of Cross-References in Outliner

2024-08-06 Thread Jürgen Spitzmüller
Am Montag, dem 05.08.2024 um 18:14 -0400 schrieb Richard Kimberly Heck: > I thought about this, but then realized that anything other than > > TYPE: LABEL > > which we used to have, will make it impossible to filter the way one > would naturally want to do: on the label itself. So I've done

Re: #13088: Regression in Polish translation

2024-08-05 Thread Jürgen Spitzmüller
Am Montag, dem 05.08.2024 um 17:33 +0100 schrieb Tomasz Kołodziejski: > Would you expect running make at top level to have built this as > well? No, I wouldn't. We only commit gmo files from time to time as they are rather big. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://

Re: Small change of behavior for outliner in 2.4.0

2024-08-05 Thread Jürgen Spitzmüller
Am Montag, dem 05.08.2024 um 09:44 -0400 schrieb Scott Kostyshak: > The small change of behavior I noticed when comparing 2.3.x to 2.4.x > is that in 2.3.x, the relevant outliner item is second to last; and > in 2.4.x it is last. > > I am picky about a lot of things, but this isn't one of them. I

Re: Display of Cross-References in Outliner

2024-08-05 Thread Jürgen Spitzmüller
Am Sonntag, dem 04.08.2024 um 12:33 -0400 schrieb Richard Kimberly Heck: > The obvious thing to do would to be to go back to displaying "Ref: > LABEL", or whatever. But I'm wondering whether we can do better. The > LABEL is going to be the same for every one of the cross-references, > which are

Re: Updated polish translation

2024-08-05 Thread Jürgen Spitzmüller
Am Sonntag, dem 04.08.2024 um 20:58 +0100 schrieb Tomasz Kołodziejski: > Fair point with semicolons. New patch attached. Thanks, committed to master and stable. > I didn't bother with the accelerators as I don't use them and I > didn't quite have time to carefully consider which ones would make >

Re: Updated polish translation

2024-08-05 Thread Jürgen Spitzmüller
Am Sonntag, dem 04.08.2024 um 20:46 +0100 schrieb Tomasz Kołodziejski: > I hereby grant permission to license my contributions to LyX under > the Gnu General Public Licence, version 2 or later. Thanks, noted. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailm

Re: Updated polish translation

2024-08-03 Thread Jürgen Spitzmüller
Am Sonntag, dem 04.08.2024 um 08:03 +0200 schrieb Jürgen Spitzmüller: > * You have omitted many accelerators in your translation. Is this > intentional? Polish users won't be able to access those elements via > keyboard shortcuts then. Also I think that strings which end with co

Re: Updated polish translation

2024-08-03 Thread Jürgen Spitzmüller
Am Samstag, dem 03.08.2024 um 20:45 +0100 schrieb Tomasz Kołodziejski: > As encouraged in https://www.lyx.org/trac/ticket/13088#comment:4 I > updated a few entries in the polish translation. > > I'm attaching the patch as instructed by > https://www.lyx.org/HowToUseGIT. > > This is the patch befo

  1   2   3   4   5   6   7   8   9   10   >