Re: LyX 2.4 Beta 2 — How to use dark theme on windows10 ?
On 2023-02-02 07:51, Daniel wrote: On 2023-02-01 21:18, didiergab...@free.fr wrote: Thank you for your feedback. Regarding the preferences file... It occurred to me that the color configuration file that I use with 2.3.7 does not give satisfaction with 2.4... The names of the dynamic colors may have changed? The background, for example, does not appear in black… That's why I was asking if someone would agree to share their "dark color preferences" file from 2.4... Because it's not an easy exercise. The dark mode colors that are currently part of LyX 2.4 are hard coded. You can see them here: https://www.lyx.org/trac/browser/lyxgit/src/Color.cpp There you will find a comment // ColorCode, gui, latex, x11hexname, x11darkhexname, lyx So, for example, { Color_footlabel, N_("footnote label"), "footlabel", "#00aaff", blue, "footlabel" } means that the color "footlabel" will be set to "blue" in dark mode. So, without dark mode support, this corresponds to the following line in the Preferences file: \set_color "footlabel" "blue" "blue" (Setting the light mode color to the same color as the dark mode color.) In this way you should be able use the same colors in the work area (!) that LyX uses where it supports dark mode. Granted, it is a bit cumbersome to transfer all the colors. It might be a good idea to add a button to the color dialog for manually switching to dark mode/light mode colors. Hope that helps! Daniel I have filed an bug at https://www.lyx.org/trac/ticket/12652. If none of the developers complains, I might even create a patch at some point. Daniel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.4 Beta 2 — How to use dark theme on windows10 ?
On 2023-02-01 21:18, didiergab...@free.fr wrote: Thank you for your feedback. Regarding the preferences file... It occurred to me that the color configuration file that I use with 2.3.7 does not give satisfaction with 2.4... The names of the dynamic colors may have changed? The background, for example, does not appear in black… That's why I was asking if someone would agree to share their "dark color preferences" file from 2.4... Because it's not an easy exercise. The dark mode colors that are currently part of LyX 2.4 are hard coded. You can see them here: https://www.lyx.org/trac/browser/lyxgit/src/Color.cpp There you will find a comment // ColorCode, gui, latex, x11hexname, x11darkhexname, lyx So, for example, { Color_footlabel, N_("footnote label"), "footlabel", "#00aaff", blue, "footlabel" } means that the color "footlabel" will be set to "blue" in dark mode. So, without dark mode support, this corresponds to the following line in the Preferences file: \set_color "footlabel" "blue" "blue" (Setting the light mode color to the same color as the dark mode color.) In this way you should be able use the same colors in the work area (!) that LyX uses where it supports dark mode. Granted, it is a bit cumbersome to transfer all the colors. It might be a good idea to add a button to the color dialog for manually switching to dark mode/light mode colors. Hope that helps! Daniel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: [RFC] Acknowledgment theorem type
On 2/1/23 14:37, Andrew Parsloe wrote: On 2/02/2023 4:13 am, Jürgen Spitzmüller wrote: Dear all, As you might know, LyX features a theorem type "Acknowledgment" via the "AMS extended" theorems modules. This is a question for people using this. The issue appeared on the developers list that none of us is actually sure about the function of this theorem type. This is a problem with regard to translation into other languages, as "acknowledgment" can mean different things, among them (a) expressing gratefulness (credits, as in the "Acknowledgment" section of books or articles), (b) expressing respect ("In acknowledgment of his special merits he was appointed as honorary conductor of the orchestra"), (c) the act or fact of accepting the truth or recognizing the existence of something ("acknowledgment of a mistake"), (d) a confirmation ("I have received no acknowledgment") Depending on the meaning, the term needs to be translated differently to some languages. Currently, it is translated in the same way than the Acknowledgment sections in articles (meaning [a]), and we have serious doubts whether this is appropriate. If you use or are familiar with the Acknowledgment theorem type: what are its general purposes, or how do you use it? Thanks, My reading of amsthdoc.pdf, Section 4.1, is that Acknowledgment in the context of theorem styles is to be understood in sense (a). In amsthdoc.pdf it is grouped with things like Remark, Notation, Conclusion -- a typesetting style rather than a special kind of mathematical object. I'm not sure about that. In my field anyway, Remark is used for comments, more or less. Sometimes it would be an explanation of a result, or of why one is proceeding a certain way. Notation would be used for explanations of notation. I'm less sure about Conclusion, though I would guess it was used for something like a remark that summed up the results of a certain line of investigation. Still, thinking about this further, I agree with you that Acknowledgment would probably mean (a). I can imagine something like: Acknowledgment 3.2: Theorem 3.1 is 'folklore'. The proof given here is based upon an idea suggested to me by NN. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.4 Beta 2 — How to use dark theme on windows10 ?
Thank you for your feedback. Regarding the preferences file... It occurred to me that the color configuration file that I use with 2.3.7 does not give satisfaction with 2.4... The names of the dynamic colors may have changed? The background, for example, does not appear in black… That's why I was asking if someone would agree to share their "dark color preferences" file from 2.4... Because it's not an easy exercise.-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: [RFC] Acknowledgment theorem type
On 2/02/2023 4:13 am, Jürgen Spitzmüller wrote: Dear all, As you might know, LyX features a theorem type "Acknowledgment" via the "AMS extended" theorems modules. This is a question for people using this. The issue appeared on the developers list that none of us is actually sure about the function of this theorem type. This is a problem with regard to translation into other languages, as "acknowledgment" can mean different things, among them (a) expressing gratefulness (credits, as in the "Acknowledgment" section of books or articles), (b) expressing respect ("In acknowledgment of his special merits he was appointed as honorary conductor of the orchestra"), (c) the act or fact of accepting the truth or recognizing the existence of something ("acknowledgment of a mistake"), (d) a confirmation ("I have received no acknowledgment") Depending on the meaning, the term needs to be translated differently to some languages. Currently, it is translated in the same way than the Acknowledgment sections in articles (meaning [a]), and we have serious doubts whether this is appropriate. If you use or are familiar with the Acknowledgment theorem type: what are its general purposes, or how do you use it? Thanks, My reading of amsthdoc.pdf, Section 4.1, is that Acknowledgment in the context of theorem styles is to be understood in sense (a). In amsthdoc.pdf it is grouped with things like Remark, Notation, Conclusion -- a typesetting style rather than a special kind of mathematical object. Andrew-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
[RFC] Acknowledgment theorem type
Dear all, As you might know, LyX features a theorem type "Acknowledgment" via the "AMS extended" theorems modules. This is a question for people using this. The issue appeared on the developers list that none of us is actually sure about the function of this theorem type. This is a problem with regard to translation into other languages, as "acknowledgment" can mean different things, among them (a) expressing gratefulness (credits, as in the "Acknowledgment" section of books or articles), (b) expressing respect ("In acknowledgment of his special merits he was appointed as honorary conductor of the orchestra"), (c) the act or fact of accepting the truth or recognizing the existence of something ("acknowledgment of a mistake"), (d) a confirmation ("I have received no acknowledgment") Depending on the meaning, the term needs to be translated differently to some languages. Currently, it is translated in the same way than the Acknowledgment sections in articles (meaning [a]), and we have serious doubts whether this is appropriate. If you use or are familiar with the Acknowledgment theorem type: what are its general purposes, or how do you use it? Thanks, -- Jürgen -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users