Re: LyX and font caching
Hello, José, I am using 2.4 on Windows 11. I am not using equation preview, but I have created LyX math macros for some of the new symbols that use Insert -> special characters to indicate these symbols in the LyX UI, which may involve the same underlying technology. I don’t know what font those symbols are coming from (this was actually the topic of a question I asked in this forum a couple of weeks ago), but they’re not coming from mine (nor did I expect them to, although it would be nice to have more control over the fonts used for symbols in the user interface). To be clear, since there was confusion the last time, the user interface is using glyphs from some font that you guys chose, I guess, though I don’t know what it is, but glyphs from my font show up in the compiled document as expected. Updates to my font are not reflected in the LyX document and are when compiled in plain LaTeX. And, like I said, I can delete the font and LyX doesn’t even notice. Thanks, again, Mike Pugh Get Outlook for iOS<https://aka.ms/o0ukef> From: José Matos Sent: Wednesday, August 21, 2024 4:19:18 AM To: Michael Dean Pugh Cc: lyx-users@lists.lyx.org Subject: Re: LyX and font caching I think that this is related with math preview. Are you using LyX 2.4? What is your OS... Help->About LyX On Tue, Aug 20, 2024, 18:23 Michael Dean Pugh mailto:mdp...@hotmail.com>> wrote: I hope someone can explain the problem I am having, because I am stumped. I am creating a few new fonts with various mathematics symbols. As a result, I periodically compile documents which use them so that I can see what the new fonts look like in context. Some of these documents are written in LyX, others in straight LaTeX. These fonts are .otf and in both cases, I am using XeLaTeX/XeTeX for compilation. Here's the strange part. Today, I noticed that the changes I had recently made to the font were not showing up in the LyX compilation. But they are showing up in the LaTeX compilation. What is weirder is that changes to the document itself do show up in LyX—it is the font that is not changing. So I thought, well, something is getting cached somewhere. It gets even weirder. I deleted one of the fonts. My LaTeX compilation now gives errors because it cannot find the font, but LyX still compiles—albeit displaying the document using the old version of the font. What is getting cached, by what, and where? I'm mystified. Thank you, Mike Pugh -- lyx-users mailing list lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org> http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX and font caching
I hope someone can explain the problem I am having, because I am stumped. I am creating a few new fonts with various mathematics symbols. As a result, I periodically compile documents which use them so that I can see what the new fonts look like in context. Some of these documents are written in LyX, others in straight LaTeX. These fonts are .otf and in both cases, I am using XeLaTeX/XeTeX for compilation. Here's the strange part. Today, I noticed that the changes I had recently made to the font were not showing up in the LyX compilation. But they are showing up in the LaTeX compilation. What is weirder is that changes to the document itself do show up in LyX—it is the font that is not changing. So I thought, well, something is getting cached somewhere. It gets even weirder. I deleted one of the fonts. My LaTeX compilation now gives errors because it cannot find the font, but LyX still compiles—albeit displaying the document using the old version of the font. What is getting cached, by what, and where? I'm mystified. Thank you, Mike Pugh -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Fonts for Insert -> Special Character -> Symbols
Hello! This is why i stressed that I am talking about the User Interface, not the document. The documents are fine. I want the fonts in the LyX display to be the same between computers. More specifically, I want the same characters available for the display on all computers. Thank you, Mike Pugh From: A-Imam Al-Sammak Sent: Monday, August 5, 2024 9:11 AM To: Michael Dean Pugh Cc: lyx-users@lists.lyx.org Subject: Re: Fonts for Insert -> Special Character -> Symbols If you just want to view the output on a different computer, you need to embed fonts in your pdf output before sharin. A way to get around it is to print your file using the 'Cute Pdf' program with fonts embedded. Best regards. A-Imam On Mon, 5 Aug 2024 at 02:32 Michael Dean Pugh mailto:mdp...@hotmail.com>> wrote: Hello! This is a question I have been meaning to ask for some time. What font or fonts does LyX use for display in the UI (not the document) when applying Insert -> Special Character -> Symbols? I have noticed that some characters are available on my home machine that are not available on my work machine (they show up as a rectangle in the display). I suspect is has to do with which packages and/or fonts are installed. Thank you! Mike Pugh -- lyx-users mailing list lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org> http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Fonts for Insert -> Special Character -> Symbols
Hello! This is a question I have been meaning to ask for some time. What font or fonts does LyX use for display in the UI (not the document) when applying Insert -> Special Character -> Symbols? I have noticed that some characters are available on my home machine that are not available on my work machine (they show up as a rectangle in the display). I suspect is has to do with which packages and/or fonts are installed. Thank you! Mike Pugh -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Issue with Document Settings
I don't know whether this constitutes a bug; I suspect the fix is easy. In this window: [cid:433d4c3f-6422-49b7-abbf-67208105bf3d] No adjustments that I make to the window dimensions seem to be able to get the Scale (%) fields wide enough for me to see what is in them. I did not have this problem until today, so I have no idea what triggered it. This is version 2.4. Thanks, Mike Pugh -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Master/Child/Macro/Bibliography issues with 2.4
I am having problems with LyX 2.4 that are so great that I don't even know where to begin to sort them out. I have a LyX file which contains all the math macros I use regularly. I have included (with \input) it at the very top of another document which is a LyX master document, containing only a title page, toc, lof, references to five child LyX documents (chapters. and here I used \include), and bibliography (thru natbib). I am using svmono as the class file. I used to have references to the macro file at the top of the five chapter files too, but this was apparently causing compilation problems, so I removed them. But because the child (chapter) files were referencing the master document, which still contained the macro file as a child, they could still see the macros (bravo: that is exactly how it ought to work). Yesterday, when I left school, this was working fine. I saved everything and returned this morning and now nothing is working (this is not the only problem I am having, but I can only deal with one at time). Now, when I try to compile the child documents individually they give LaTeX errors saying that the macros are not defined. But the macros still work inside of LyX—it's LaTeX (well, technically, XeTeX) that is causing the problem. If I put the references to the macro file back in the child documents, they compile individually (if I take out bibliography citations—this is one of the other problems), but then the master document will not compile. It doesn't even given an error—it just goes forever into compile mode (wheel on task bar spins indefinitely). So to recap: Macro file and chapter files included in master file with (\input and \include, respectively) -> master compiles, chapters do not, but strangely, the math macros function correctly in chapter documents even though they do not individually include the macro file. It is only when compiling that XeTeX says it cannot find the macros. Macro file included in chapter and master documents and chapters included in master -> chapters compile (with bibliography citations removed) but master will not. I guess I may as well include the bibliography problem here because it may be related. In LyX, the chapters can "see" the bibliography entries just by referencing the master document if there is a \printbibliography command somewhere in the master. I can see all the included entries when adding a citation and select what I want, just as it should work. But when I compile the chapters individually, I get "citation undefined" errors in spite of this. Compiling the master (if I remove the macro references from the chapters) works fine. I have to believe that I should be able to include references to macros and bibliography in the master only and still be able to compile the chapters individually, especially since that functionality exists inside of LyX. Only when trying to compile do problems come up. And I could have sworn all this was working yesterday, so I am at a loss as to what happened. How is this supposed to work? One last thing. Yesterday, I had the bibliography settings as Style Format -> Biblatex (natbib mode) and Processor -> default and it was compiling. First thing today, having changed nothing, I got biber errors. I assumed that biber was the default processor and changed it to bibtex. Now it works. But I had previously used the aforementioned settings religiously without error. Thanks! Mike Pugh -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: lyx-users Digest, Vol 242, Issue 1
It returns nothing, but that is what I expected. 2.3.7 compiled the Customization document just fine and I have not uninstalled anything since I installed 2.4. Evidently, suffix.sty is part of the Bigfoot package. I installed it and everything is fine again. Did the documentation in Customization change such that a package is required now that was not required before? From: lyx-users on behalf of lyx-users-requ...@lists.lyx.org Sent: Tuesday, June 18, 2024 10:48 AM To: lyx-users@lists.lyx.org Subject: lyx-users Digest, Vol 242, Issue 1 Send lyx-users mailing list submissions to lyx-users@lists.lyx.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.lyx.org/mailman/listinfo/lyx-users or, via email, send a message with subject or body 'help' to lyx-users-requ...@lists.lyx.org You can reach the person managing the list at lyx-users-ow...@lists.lyx.org When replying, please edit your Subject line so it is more specific than "Re: Contents of lyx-users digest..." Today's Topics: 1. Re: Some fields cannot be fully displayed (Yu Jin) 2. Re: Some fields cannot be fully displayed (=?ISO-8859-1?Q?J=FCrgen_Spitzm=FCller?=) 3. Cannot compile Customization document (Michael Dean Pugh) 4. Re: Cannot compile Customization document (Paul Rubin) -- Message: 1 Date: Sun, 16 Jun 2024 13:49:07 +0200 From: Yu Jin To: lyx-users@lists.lyx.org Subject: Re: Some fields cannot be fully displayed Message-ID: Content-Type: text/plain; charset="utf-8" Am Sa., 15. Juni 2024 um 15:44 Uhr schrieb J?rgen Spitzm?ller: > Am Samstag, dem 15.06.2024 um 01:03 + schrieb vidon--- via lyx- > users: > > At Tabular Settings, Document Settings and Prefrences, some fields > > can't be fully displayed. > > Which Qt style is this? > I observed this on the Qt new "windows11" style, which unfortunately seems to be default on Windows (at least on Windows 11). Try changing to "fusion" style in the Preferences under user interface -> user interface style. -- Eugene -- next part -- An HTML attachment was scrubbed... URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20240616/d0509527/attachment-0001.html> -- Message: 2 Date: Sun, 16 Jun 2024 17:34:07 +0200 From: "=?ISO-8859-1?Q?J=FCrgen_Spitzm=FCller?=" To: lyx-users@lists.lyx.org Subject: Re: Some fields cannot be fully displayed Message-ID: <18863dfe3f7d42ad7522a4fd3c52975d36e02dd8.ca...@lyx.org> Content-Type: text/plain; charset="UTF-8" Am Sonntag, dem 16.06.2024 um 13:49 +0200 schrieb Yu Jin: > I observed this on the Qt new "windows11" style, which unfortunately > seems to be default on Windows (at least on Windows 11). Try changing > to "fusion" style in the Preferences under user interface -> user > interface style. This seems to be an upstream bug with this style which is fixed in Qt 6.7.2 and 6.8.0ff: https://bugreports.qt.io/browse/QTBUG-124150 -- J?rgen -- Message: 3 Date: Tue, 18 Jun 2024 15:23:28 + From: Michael Dean Pugh To: "lyx-users@lists.lyx.org" Subject: Cannot compile Customization document Message-ID: Content-Type: text/plain; charset="iso-8859-1" Hello! I just opened Help -> Customization and attempted to compile and it says I am missing suffix.sty. Is this a bug or am I missing something in my installation? I did not uninstall 2.3.7 before installing 2.4, so I worry that there may be some residuals from the previous installation that may cause problems. Thank you, Mike Pugh -- next part -- An HTML attachment was scrubbed... URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20240618/3b04e1a0/attachment-0001.html> -- Message: 4 Date: Tue, 18 Jun 2024 11:47:50 -0400 From: Paul Rubin To: lyx-users@lists.lyx.org Subject: Re: Cannot compile Customization document Message-ID: <2f20cea4-0fd7-44d7-b15f-d48ef3fa0...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" On 6/18/24 11:23, Michael Dean Pugh wrote: > Hello! > > I just opened Help -> Customization and attempted to compile and it > says I am missing suffix.sty.? Is this a bug or am I missing something > in my installation?? I did not uninstall 2.3.7 before installing 2.4, > so I worry that there may be some residuals from the previous > installation that may cause problems. > > Thank you, > Mike Pugh > You are most likely missing something, not from the LyX installation but from your LaTeX setup. If you open a terminal / command window / whatever your OS calls it and run
Cannot compile Customization document
Hello! I just opened Help -> Customization and attempted to compile and it says I am missing suffix.sty. Is this a bug or am I missing something in my installation? I did not uninstall 2.3.7 before installing 2.4, so I worry that there may be some residuals from the previous installation that may cause problems. Thank you, Mike Pugh -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Keyboard shortcut binding issues
Hello! I just upgraded to 2.4, something I have been looking forward to doing for quite a while. I am having a minor problem that may be a bug. I had added quite a few additional keyboard shortcuts which LyX stored in a user.bind file in the bind subdirectory of the user directory. The old version of LyX apparently knew about this file and the default cua file simultaneously. In the new version, it appears to be one or the other. When the bind file is set to cua (as it was in 2.3.7) none of the new shortcuts work. But here's the kicker: those new shortcuts are visible under Preferences -> Editing -> Shortcuts. So LyX seems to see the file, it just does not allow me to use those shortcuts when the bind file is set to cua. If I change it to user, which I did not need to do before, the new shortcuts work, but none of the default ones—like copy and paste—do. I can probably merge the two files into the user.bind file as a workaround, but is this a bug or is there something I am forgetting to do? Thanks! Mike Pugh -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
search math macros
I've been using LyX for a number of years. Because I was reusing a lot of math macros, I started putting them in a separate file and loading that file at the beginning of each document with an input statement. Over time, the list has grown and I wanted to search for a macro to see how I had defined it (probably because I had since found a better way). But no configuration in Advanced Search that I have tried will allow me to search math macros. Am I missing something or is this a feature that might be added in the future? Thanks! Mike Pug -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Have LyX load fontspec automatically with no-math option
Hello! Is there a way to get LyX to load fontspec with the no-math option from within LyX. I know that it loads fontspec automatically when I check the Use non-TeX fonts box in Document Settings -> Fonts and that is what I want. But I want to handle math entirely separately. I have found a workaround by putting the commands in the preamble, but that causes other problems because load order is important. Thank you, Mike Pugh -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: XeTeX - Load packages before fontspec
I can see a very distinct reason for wanting to be able to modify the LyX- generated preamble directly (without having to use a separate editor). I'm using MathTime Professional II fonts and I want to use it in conjunction with the bm package so that I have access to the bm versions of the \bm and \hm modifiers. In order for this to work, \usepackage{bm} _must_follow_ \usepackage{mtpro2} and with LyX generating \usepackae{bm} in its own preamble, the second \usepackage{bm} in my preamble is rendered useless. I see this as much more of a hindrance than a feature.