Re: Feature suggestion: Table/matrix toolbar button
Il giorno gio 23 mag 2024 alle ore 21:36 ha scritto: LyX 2.4.0 has a cool toolbar button that makes it very easy to insert a table of any size into text. It is grayed out in math mode. It would be very useful to have the same button insert a matrix in math mode. Lorenzo Bertini (23 May 2024 22:48): Hi, maybe you're already aware of this, but there is a matrix insert button that does exactly that. It appears in the math toolbar and you can drag the matrix to make it as big as you want, add parentheses, etc. See screenshot attached. On 5/23/24 16:01, fcana...@gmail.com wrote: Sure, and there is also a menu item that shows that dialog. My suggestion is to bypass the dialog and utilize an existing button on the standard toolbar for two purposes depending on the context. I agree: It is somewhat different. You might file an enhancement request. It might not be that hard to do. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.3.8 Released
On 5/18/24 14:22, Edwin Burmeister wrote: The URL for downloading LyX 2.3.8 only gives me LyX 2.3.7. There's a delay updating the website. Look here: http://ftp.lyx.org/pub/lyx/bin/2.3.8/ for binaries, or here: http://ftp.lyx.org/pub/lyx/stable/2.3.x/ for source. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX 2.3.8 Released
Public release of LyX version 2.3.8 === We are proud to announce the release of LyX 2.3.8. This is the eighth and final maintenance release in the 2.3.x series. LyX 2.4.0 will be released very shortly, so many users may wish to wait for that rather than upgrading to 2.3.8. Some users, however, may want or need to continue using the 2.3.x series. We encourage those users to upgrade to this version. You can download LyX 2.3.8 from https://www.lyx.org/Download/. LyX is a document processor that encourages an approach to writing based on the structure of your documents and not simply their appearance. It is released under a Free and Open Source Software license. LyX 2.3.8 is the result of on-going efforts to make our stable version more reliable and more stable. Several bugs and crashes have been fixed here, but the main addition is the ability to import and export files in the new 2.4.x format. If you think you have found a bug in LyX 2.3.8, please open a bug report at https://www.lyx.org/trac/wiki/BugTrackerHome. If you're not sure whether it really is a bug, you can e-mail the LyX developers' mailing list (lyx-devel lists.lyx.org) and ask. If you have trouble using LyX or have a question, consult the documentation that comes with LyX (under the Help or Apple menu) and the LyX wiki, which is at https://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX users' list (lyx-users lists.lyx.org), where you will find an active community of people who are ready to help. We hope you enjoy using LyX 2.3.8. The LyX team. https://www.lyx.org What's new == ** Updates: *** * DOCUMENT INPUT/OUTPUT - Fix nested underwave (\uwave) (bug 12922). - Update lilypond converter settings (bug 12618). * USER INTERFACE - Add a few missing autocorrect combinations and allow cycling through arrows (bug 12711). - Reflect in the on-screen representation of math insets the fact that some insets, such as \text, \mbox, \fbox and \makebox, inherit the text font of the containing inset (bug 12950). * LYX2LYX - Allow for import and export to the 2.4.x format. * BUILD/INSTALLATION - Adding binary path for Homebrew on MacOS-arm64 (bug 12619). ** Bug fixes: * * DOCUMENT INPUT/OUTPUT - Fix leaking of linespace settings between paragraphs if they have different alignment (bug 12638). - Do not load mathrsfs if unicode-math is required (bug 12734). * USER INTERFACE - Avoid crashing on a recursive macro definition (bug 12633). - Fix several problems where insets did not react on click on the Mac (bugs 12279, 12418, 12820). - Fix issue with on-screen instant preview and the mathpazo package. - Hide multi-keystroke accelerators in Mac menu (bug 12693). * INTERNALS - Fix wrong computation of what is an obviously fake PID number. - remove a pair of static methods that were unused and hid another one. - Fix crash when missing python3 on MacOS (bug 12523). * LYX2LYX - Fixed a bug in reversion to 1.6. * TEX2LYX - Fix import of umlauts and ß in math (bug 12739). * BUILD/INSTALLATION - Update included boost library to version 1.75.0. - Fix warning when configuring with Qt 5.15.1x. - Do not halt compilation because of a too new autoconf or automake version. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On 5/5/24 13:36, Richard Kimberly Heck wrote: On 5/5/24 11:25, Scott Kostyshak wrote: On Sun, May 05, 2024 at 12:00:06PM GMT, Andreas Plihal via lyx-users wrote: Hi, the compilation of lyx files is repeatedly interrupted (apparently at random). A window "LyX: Stop command?" appears. Then you can either stop or continue compiling. It is not clear to me when and why this interruption occurs. Its appearance cannot be controlled by me. Please can you help me? I believe it (should be) at a deterministic time, not random. And I don't think compilation is actually interrupted, it just feels like it is. That is, during the dialog, I believe the code is still running. It is. Which is why, if you leave your computer, you can find this dialog AND a completed compilation. All that said, I personally would be in favor of removing the dialog, now that the user can cancel the process at anytime on their own (this didn't use to be possible). I think we had a discussion about that but I forgot how others felt about it. I think we decided it was worth having both, though I am not sure. The manual cancellation thing doesn't always work. What might be nice would be to make the timeout a preference, and then setting it at 0 would disable it. Obviously too late to do that for 2.4.0. Actually, on closer inspection, it turns out we did disable this for 2.4.0: int timeout_ms() { // Starting in 2.4.0, we allow the user to cancel the background // process at any time with LFUN_EXPORT_CANCEL, so the timeout dialog // is no longer useful. // "-1" effectively disables the timeout (it is a special case in // SystemcallPrivate::waitWhile()). return -1; } Apparently, you did it, Scott! For what it's worth, the previous timeout was 3 minutes. Note that this is per-process, so running LaTeX multiple times could take more than 3 minutes, and it would not trigger this message. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On 5/5/24 14:31, Rich Shepard wrote: On Sun, 5 May 2024, Richard Kimberly Heck wrote: There's a timeout for the compilation process in case something goes wrong and it enters an infinite loop. It's a pretty generous time, though I can't remember what it is, or even where it's set. Riki, Well, okay. Guess I never encountered that situation. I've had non-printable characters in bibliographic entries that I didn't catch when copying them into JabRef or issues with missing TexLive modules, but nothing to ask me whether I want pdflatex to continue. I have not either. It's a very long timeout. But if you have lots of images that need converting, etc, or programs that have to be compiled, then you could see it. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On 5/5/24 13:42, Rich Shepard wrote: On Sun, 5 May 2024, Richard Kimberly Heck wrote: the compilation of lyx files is repeatedly interrupted (apparently at random). A window "LyX: Stop command?" appears. Then you can either stop or continue compiling. It is not clear to me when and why this interruption occurs. Its appearance cannot be controlled by me. It is. Which is why, if you leave your computer, you can find this dialog AND a completed compilation. Riki, I've never seen this happen. I run only linux and I see the build process in the status bar at the bottom of the LyX window. The process halts only when there's an error somewhere. A curious mind wants to know, There's a timeout for the compilation process in case something goes wrong and it enters an infinite loop. It's a pretty generous time, though I can't remember what it is, or even where it's set. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On 5/5/24 11:25, Scott Kostyshak wrote: On Sun, May 05, 2024 at 12:00:06PM GMT, Andreas Plihal via lyx-users wrote: Hi, the compilation of lyx files is repeatedly interrupted (apparently at random). A window "LyX: Stop command?" appears. Then you can either stop or continue compiling. It is not clear to me when and why this interruption occurs. Its appearance cannot be controlled by me. Please can you help me? I believe it (should be) at a deterministic time, not random. And I don't think compilation is actually interrupted, it just feels like it is. That is, during the dialog, I believe the code is still running. It is. Which is why, if you leave your computer, you can find this dialog AND a completed compilation. All that said, I personally would be in favor of removing the dialog, now that the user can cancel the process at anytime on their own (this didn't use to be possible). I think we had a discussion about that but I forgot how others felt about it. I think we decided it was worth having both, though I am not sure. The manual cancellation thing doesn't always work. What might be nice would be to make the timeout a preference, and then setting it at 0 would disable it. Obviously too late to do that for 2.4.0. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: centering all ert environments in document
On 5/4/24 18:12, matan guedj wrote: hello, I have multiple ert environments in a lyx document I also put each inside a preview environment so that the rendered output is aligned to the left, I want to have it such that all the ert (inside preview) are aligned to the center, I imagine it's doable with some commands in the preamble but I couldn't find out how. The preview inset is a LyX-only thing, so to speak. It does not correspond to anything in LaTeX. It just causes whatever's in it to be displayed in LyX as a 'preview'. So there's no way to affect the LaTeX output of these, since there isn't any. To do something like this, you would probably do best to define a custom inset that just wraps whatever's inside it in \begin{center} and \end{center}. Or, if these previews are in their own paragraph, then define a paragraph style to do the same thing. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: how to add this shortcut?
On 5/4/24 15:03, matan guedj wrote: I want to add a shortcut that will open a preview environment and inside it opens an ert environment and "insert-preview insert-ert" and "\insert-preview \insert-ert" aren't working, so I don't know if it's a syntax error or something more fundamental here. You need to use the command-sequence LFUN to do this. It just tells LyX that you are going to give a series of commands. Otehrwise, it interprets everything as one command. So something like: command-sequence insert-preview; insert-ert Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Questions about an Idea for a feature in LyX
On 5/2/24 18:28, matan guedj wrote: Hello, I don't really know how the mail listing works, new to the concept. I've had a few questions revolving around an idea recently trying to teach myself pgfplots. I'm fairly new to LyX and LaTeX in general (started using both in January) and I'm also no programmer but I wanted to add a new feature to LyX of a plotting tool. What I'm thinking of is on the math bar or some other bar, add a plot icon that will open a window with all the parameters for the mostly used plots (2D/3D, Cartesian/polar/spherical..., scatter/bars/pie..., parametric curves or surfaces, implicit functions, vector fields, and more). I'm still learning pgfplots but it follows a fairly simple and well defined formula for most of the plots so it most likely can be automated. And now it opens some questions: 1. Is there a way I can start work on it as a personal project (I specifically want it to be a personal thing, to see if I'm capable of this, and also it can't look bad on the resume), and when I believe it's done and an acceptable feature, present it to the developers and implement it for the next version? Yes, this is an open source project, so anyone can work on it. Whether something gets accepted into the codebase is a different question, but this seems like something that could be useful to a lot of people. Doing what you describe will take some real programming, though we'll all be happy to point you in the right direction. That kind of discussion is better on lyx-devel, though. I should probably warn you that, with 2.4.0 about to be released, it will be a while before the next major release. The sort of thing you describe would mean storing new info in the LyX file, which changes the format of the file. That can only be done at major releases, so this would have to be for 2.5.0. That said, LyX already has an extensible ability to include 'external material'. If you look at Insert> File> External Material, you'll see all kinds of options there. It would not be difficult to add a pgfplot option, I think. This would not provide for the dialog you describe, but it would be a start. See Ch 7 of the Embedded Objects help file for how this can be done. I can at least imagine a way of indicating in the external template an extra 'page' in the settings dialog that would allow for choosing of options, etc, like you describe. So it might not be necessary to write a completely new dialog, etc. 2. I also thought that the output on the LyX document itself would be a new environment (like the math environment) that can render those plots directly into LyX document without the need to compile the document to check if the plot is what you really wanted, so how do I create such an environment? LyX already has the ability to display all kinds of things, so I don't think that would be difficult. Basically, LyX just needs to be told how to convert the file into some graphics format it can display. This can be done with 'external material' already. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Convert Mac Word and Thesis to LyX
On 4/17/24 16:57, Brian Kneller via lyx-users wrote: Hi, I hope I am in the correct space. — I have prepared a thesis for a PhD (75K words)and approx 80 figures, the text in Mac-word and the figures are in Adobe Illustrator so I have some flexibility in Format. Also there are many references. I hold all my references and comments on them in Bookends. I regret not looking at lyx/latex and using them much earlier so I am looking for an easy way to migrate this info into Lyx and I am also looking for a Thesis template. I have dowloaded and installed Lyx on my Macbook Pro (Mavericks) and been thro the intro etc. I am trying to minimise the effort in migration to Lyx so any comments and advice is most welcome. It should not be difficult to convert the main bulk of the text. You can export LaTeX from LibreOffice or use Pandoc to convert Word to LaTeX, then import the LaTeX document into LyX. Graphics will be a somewhat different matter. They'll need to be in a format LaTeX can handle, and I'm not sure how well the automated conversion will handle that. Citations will also need attention. I would guess that Bookends can export the BibTeX format, but the ciations themselves may or may not translate smoothly and need manual correction. It may help to open the LyX file in a simple text editor and use search and replace to fix citation keys. Whether there's a good thesis template depends upon your specific needs. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Index is not displayed
On 4/13/24 12:31, Andreas Plihal via lyx-users wrote: Dear Herbert, I think you are responding to an email from me that is already out of date. Meanwhile I sent another file WME_Index.lyx, which uses the text processor texindy. Jürgen recommended it to me. Unfortunately that didn't work either. I can't find the xindex processor you mentioned in my selection list. Instead I find xindy. Did you perhaps mean that? It doesn't work with xindy either. Even if, as you suggested, I use makeindex as the processor and enter the option "-s german.ist" (Jürgen commented that he cannot find german.ist on his computer), the index is not displayed. I have sometimes had trouble with the index not displaying the first time I export a file. If I change something trivial (add a space at the end of a paragraph, say) and re-export, then it appears. One way to try to debug this would be to export the file to LaTeX and run everything manually. Or just launch LyX from a terminal, and watch the output when you export. Either should give you more information. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing + bits and pieces
On 4/13/24 03:00, Bernt Lie wrote: So far,... * I greatly appreciate that you have not changed the main parts of the user interface. I hate it when developers come out with a new version of a tool, and the user doesn't recognize where the menus are, etc. I think it's fair to say that we do, too. It's our policy to change such things only when there is a clear reason to do so, and consensus among the developers, at least. * These are the main things I have had time to notice in some 3 days, while converting a large portion of my key documents from v. 2.3.x to v. 2.4 -- As a person who combines text with loads of math and computer code... * The Program Listing settings --- --> Do I set them individually every time I insert a program listing? --> Or are they document settings, so that if I change one setting (e.g., font setting), then this takes precedence for the entire document? You can make global settings in Document> Settings> Listings. Also, I'm using a couple of computer languages that are not supported by Program Listing... * Modelica (for specifying mathematical models) * Julia Is there an ASCII file where it is possible to add specifications for more computer languages so that they show up in the Program Listing settings? Unfortunately, that is hard-coded. It would make a lot of sense for it not to be, but be configurable, but that would take some doing (though I doubt it would be hard to do). But it would be a format change, so not doable until 2.5. But please do file an enhancement request if you wish. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing
On 4/12/24 12:42, Herbert Voss wrote: Am 12.04.24 um 13:41 schrieb Bernt Lie via lyx-users: Aha! It only adds "Abstract" to the PDF file when using KOMA-script, not in the LyX editor itself! For the Standard Article style, "Abstract" is inserted into the LyX editor by default. I find that clarifying, and it would be nice if the same happened when using KOMA-script. It is easy to add the abstract part into the LyX layout file of the scrartcl class or creating an own layout file. For some reason, scrclass.inc explicitly removes the heading: Input stdstruct.inc Style Abstract LabelType No_Label End If we're agreed that's wrong, it's easy enough to fix. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.4.0 & Jupyter Notebooks
On 4/9/24 15:59, Bernt Lie wrote: OK -- so I could just as well start using RC4? I have been using the master branch for regular work for well over a year. My recent book https://academic.oup.com/book/56184 was produced using it. I.e., the book was printed from a PDF I provided to OUP. So it's entirely usable. I'm not super software savvy, so I have been hesitant not knowing: * Can I install RC4 and still use LyX 2.7.1? That may depend upon your OS, but someone else should be able to say. The one thing you have to do is keep the user directories separate. * Do I have to uninstall RC4 and install the official release when it becomes available? Again, that will depend upon your OS. * With 2.7.1, I have used MikTeX. Should I still use MikTeX, or use something else? (Does MikTeX also come with LuaTeX, XeTeX, TeXLive, or whatever?) The background TeX installation should not matter. They all have the same bits. (TeXLive, though, is an alternative to MikTeX.) Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.4.0 & Jupyter Notebooks
On 4/9/24 12:00, Bernt Lie wrote: Thanks. Will look at it when the new version is released. I don't think there have been any major changes in that machinery. And there definitely won't be any before the final release. Changes from RC4 to the official release are going to be pretty minor (as one would hope). Riki -Original Message- From: Richard Kimberly Heck Sent: Tuesday, April 9, 2024 5:38 PM To: Bernt Lie ; LyX Developers ; lyx-users Subject: Re: LyX 2.4.0 & Jupyter Notebooks On 4/9/24 08:48, Bernt Lie wrote: Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is released)? I'm particularly interested in the possibility to... * link the notebooks into LyX so that I always get the latest version/computations in the notebook, i.e., preferably not a static import * inclusion of mark-up text with headlines, math, etc. * inclusion of input and output cells, with figures, etc. * linked-in notebooks would be multipage. Perhaps it should be possible to embed the notebooks in some theorem-like environment. OK -- don't know if this is possible, but it would go a long way towards getting a literal programming environment. The most plausible way to do this would be to use an external inset. That's the way that Lilypond files (music) are included, for example. Such insets are user definable. Basically, you tell LyX how to convert the file to something LaTeX can process. This is discussed in section 7.1 of the Embedded Objects manual. You can use the existing xtemplate files as a starting point, too. Riki -- Richard Kimberly (Riki) Heck Professor of Philosophy Brown University Pronouns: they/them/their Website: http://rkheck.frege.org/ -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.4.0 & Jupyter Notebooks
On 4/9/24 08:48, Bernt Lie wrote: Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is released)? I'm particularly interested in the possibility to... * link the notebooks into LyX so that I always get the latest version/computations in the notebook, i.e., preferably not a static import * inclusion of mark-up text with headlines, math, etc. * inclusion of input and output cells, with figures, etc. * linked-in notebooks would be multipage. Perhaps it should be possible to embed the notebooks in some theorem-like environment. OK -- don't know if this is possible, but it would go a long way towards getting a literal programming environment. The most plausible way to do this would be to use an external inset. That's the way that Lilypond files (music) are included, for example. Such insets are user definable. Basically, you tell LyX how to convert the file to something LaTeX can process. This is discussed in section 7.1 of the Embedded Objects manual. You can use the existing xtemplate files as a starting point, too. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX 2.4.0 RC4
What we hope will be the final release candidate for 2.4.0 is now available here: http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/ Please report bugs to lyx-de...@lists.lyx.org. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Builing 2.4.0~RC4
On 3/29/24 10:25, Rich Shepard wrote: On Fri, 29 Mar 2024, Richard Kimberly Heck wrote: Which build script? Riki, - #!/bin/sh # Slackware build script for LyX # Written by Morten Juhl-Johansen Zölde-Fejér # Now maintained by R. S. Ananda Murthy (rsamu...@gmail.com) PRGNAM=lyx VERSION=${VERSION:-2.3.7.1} # change as needed Try: ${VERSION:-2.4.0~RC4} This is more a Slackware issue than a LyX one. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Builing 2.4.0~RC4
On 3/28/24 16:41, Rich Shepard wrote: I downloaded lyx-2.4.0~RC4.tar.xz. That name is not accepted when the build script wants to crate a /tmp/ directory. Changing the file name to match what the build script says it's looking for also fails because the console displaying progress shows the version as above. Which build script? Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Scheduled maintenance of LyX servers (Mar 21, 2024) [done]
On 3/22/24 17:44, Eberhard W Lisse wrote: On 22/03/2024 04:46, Richard Kimberly Heck wrote: On 3/21/24 19:46, Scott Kostyshak wrote: [...] Thanks a lot to both of you! I don't imagine that was fun, but it certainly was very important. Seconded. Thirded :-)-O Did you move the ftp server itself? I traditionally download from ftp://ftp.lyx.org (using ncftp on the command line :-)-O). It's a different ftp server. That one has not been moved. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Scheduled maintenance of LyX servers (Mar 21, 2024) [done]
On 3/21/24 19:46, Scott Kostyshak wrote: On Thu, Mar 21, 2024 at 11:42:13PM +0100, Pavel Sanda wrote: On Wed, Mar 20, 2024 at 10:23:40AM +0100, Pavel Sanda wrote: we plan to do the major transition of our web infrastructure soon. We are done with the transition. Basic summary: - ftp server for wiki (not the ftp.lyx.org) is deceased. For uploading material use wiki-uploads.git, all developers have rw access. We need to do proxy for users, but I haven't seen this usage in past years, so we are probably fine with that solution. - svn server is deceased. dictionary repo moved to dictionaries.git, all devs have rw access. www-user repo moved to www-user.git, previous contributors have rw access. - www.lyx.org should work very similarly as before. - wiki.lyx.org - there will be more changes here. Many modules seen updates, some modules do no exist anymore/no one updated for new PHP. I tried to fix the most flagrant cases, but I'm sure some corners won't work. - bug tracker (lyx.org/trac) - updated to the most recent version, some UI changes, but it should feel familiar. Few plugins were not ported to new python and do not work anymore - most notable keywords. We allow users to register again, let's see how that goes. Gmail often refuses traffic from trac, JMarc has ambition to spin full fledged mailing service with bells and whistles demanded by google at some moment. I'll update relevant descriptions on our web/wiki to reflect the changes in the coming days + smaller polishing left out. If something does not work, please report back, we may or may not fix it ;) This was a long ride, thanks JMarc for beating the trac dragon :) Thanks a lot to both of you! I don't imagine that was fun, but it certainly was very important. Seconded. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Scheduled maintenance of LyX servers (Mar 21, 2024)
On 3/21/24 05:25, Jean-Marc Lasgouttes wrote: Le 20/03/2024 à 10:23, Pavel Sanda a écrit : Dear LyXers, we plan to do the major transition of our web infrastructure soon. Web and wiki were already moved to read-only mode, bug tracker (trac) will be probably inaccesible altogether, probably from Thu morning (all times in CET). The main switch is planned on Thu evening hours. The optimistic scenario is that we will finish by midnight. The trac bug tracker has been disabled. As indicated, it should work again tonight. Good luck! I am on spring break next week, so will have some time then if need be. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Opening documents from a link in Libreoffice (OSX Bug?)
On 3/1/24 05:32, Daniel CLEMENT via lyx-users wrote: Hello, I am using LyX 2.3.7 under the latest MacOS. I have a Libreoffice spreadsheet with many links to LyX documents. When I click on such a link, it does launch LyX and the associated document. But several functions (Python-related, I guess) are missing: shortcuts and (more importantly) lyx2lyx. Granted, if I open a document from a link, it’s just to have a quick look, not for heavy editing. But if the document is old, lyx2lyx fails and the file just won’t open (whereas it opens quite nicely if I open it from within LyX). I hope I’m being clear… IIRC this issue was not present under Linux. Nor does it happen with other file types than LyX. I don’t know what to think. I’m not even sure it has to do with LyX (maybe Libreoffice trying to enforce its own Python flavour?), but I thought as well to report it. It probably does have something to do with the environment under which LyX is running in this case. I'm cc'ing our Mac person. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX 2.4.0 RC3
The third release candidate for 2.4.0 is available here: http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/ The reason for the quick release of the third one was a bug preventing the editing of math in tables. That has been fixed, as has been another bug affecting the creation of LyX 'archives' on Windows. Please report any problems to lyx-de...@lists.lyx.org, which you should be able to do by replying to this message. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Watermark
On 2/10/24 13:47, Anders Ekberg wrote: On 10 Feb 2024, at 18:17, Richard Kimberly Heck wrote: On 2/10/24 05:45, Anders Ekberg via lyx-users wrote: How do you include a watermark in LyX. It can be done in the preamble, but I think I used a module option or similar before, but can’t see it in 2.4RC1. It's possible that your user directory has changed, and that the module has not been copied over to the new one. I did find this: https://www.physicsforums.com/threads/add-watermark-to-document-in-lyx-a-guide.988197/ Riki Thanks Riki I saw that one too. The problem is "Go to "Insert" and select "Formatting" from the drop-down menu Click on “Watermark”" There is no Watermark item under Formatting… Hmm. Did we have a Watermark entry at some point? I don't remember it myself, since I never used it, but it's definitely not there now. That post was written in 2020 so during the 2.3.x cycle, which makes it all the more puzzling. The way to do this would be to add suitable code to the preamble. The Stack Exchange post cited on that page https://tex.stackexchange.com/questions/118939/add-watermark-that-overlays-the-images/118987 explains how to do it. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Watermark
On 2/10/24 05:45, Anders Ekberg via lyx-users wrote: How do you include a watermark in LyX. It can be done in the preamble, but I think I used a module option or similar before, but can’t see it in 2.4RC1. It's possible that your user directory has changed, and that the module has not been copied over to the new one. I did find this: https://www.physicsforums.com/threads/add-watermark-to-document-in-lyx-a-guide.988197/ Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX 2.4.0 RC2
Here: http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/ Please report bugs to lyx-de...@lists.lyx.org, or email me directly. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: refstyle and amsmath
On 2/2/24 10:30, Jürgen Spitzmüller wrote: Am Freitag, dem 02.02.2024 um 16:25 +0100 schrieb Kees Zeelenberg: He has, and refstyle now works OK, also in more complicated documents, with export both to Pdf-pdflatex and to Pdf-luatex, and also with the autonum package. Thanks for reporting back. Should we add a note to the RELEASE-NOTES about needing an up to date refstyle when used with AMS? Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: refstyle and amsmath
On 1/30/24 15:10, Pavel Sanda wrote: On Tue, Jan 30, 2024 at 06:42:23PM +0100, Jürgen Spitzmüller wrote: Am Dienstag, dem 30.01.2024 um 18:17 +0100 schrieb Jürgen Spitzmüller: I reported this to the maintainer in March 2023 and even sent a patch [2] but never got a response. I have to correct myself. Danie responded that he will have a look. So it is possible that this will be fixed in refstyle eventually. I would just ping him, most likely he just got busy with other stuff. I'd be happy to write him, if someone has an email address. Maybe if he knew this was causing specific problems for us, he'd go ahead and fix it. The patch looked good to me. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: refstyle and amsmath
On 1/30/24 12:17, Jürgen Spitzmüller wrote: Am Montag, dem 29.01.2024 um 15:00 +0100 schrieb Kees Zeelenberg: Some time ago there was a discussion on the list about refstyle in combination with amsmath, leading to error messages from refstyle. It appears refstyle is now loaded after amsmath, but this now leads to messages like “LaTeX Warning: Reference `ab' on page 1 undefined on input line 39” from the enclosed LyX file ‘testref.lyx’. The loading order has not been changed, and it also doesn't matter (as a view into refstyle.sty reveals). The warning is also in LyX 2.3.x, although it is less prominent (the heightening of prominence was done in purpose for 2.4, since you will want to be informed about broken references). It seems that this is related to the LaTeX line “\AtBeginDocument{\providecommand\eqref[1]{\ref{eq:#1}}}”, which is added by LyX in ‘testref.tex’. This line does not have any effect, so that e.g. \eqref{ab} is interpreted as \ref{ab} instead of \ref{eq:ab}. This is by design as well. This definition gets only active in case \eqref is undefined, hence \providecommand. Replacing this line with \AtBeginDocument{\DeclareRobustCommand{\eqref}[1]{\textup{\tagform@{\ ref{eq:#1} (as in amsmath), the LaTeX file ‘testref_robust.tex’ compiles without problems. Yes, but this is not the right fix as it will break the refstyle integration with equation references. The problem here is that refstyle attempts to overwrite and integrate amsmath's \eqref definition into its own \eqref definition. This does not work anymore since \eqref has been made robust in the 2022-06-01 release of amsmath [1], and the command copying and redefinition refstyle used (via \let) does not work with robust commands. \NewCommandCopy needs to be used instead of \let. Ultimately, this needs to be fixed in refstyle. I reported this to the maintainer in March 2023 and even sent a patch [2] but never got a response. It seems the package is factually unmaintained. We can check for the respective amsmath version and patch into refstyle ourselves in LyX. I guess we need to do something like that for 2.4? Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: search math macros
On 1/24/24 03:09, Kornel Benko wrote: Am Mon, 22 Jan 2024 17:35:25 -0500 schrieb Richard Kimberly Heck : On 1/22/24 16:27, Michael Dean Pugh wrote: 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? OK, this is a bit weird: If you USE the macro, then the definition will be found. So use it temporarily. I think I understand why this happens, but it is a bit of a long story, and not a terribly interesting one. I'm not sure it is even possible to fix this. Riki I think the reason is that the macro definitions are not part of any latex output. Yes, that's what I assumed. Though what's odd is that the definition IS found if it is used. What's not found is the actual usage, at least in my testing. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: search math macros
On 1/22/24 16:27, Michael Dean Pugh wrote: 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? OK, this is a bit weird: If you USE the macro, then the definition will be found. So use it temporarily. I think I understand why this happens, but it is a bit of a long story, and not a terribly interesting one. I'm not sure it is even possible to fix this. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Which manual has appendix details?
On 1/20/24 09:56, Scott Kostyshak wrote: On Sat, Jan 20, 2024 at 03:50:48PM +0100, Daniel via lyx-users wrote: On 2024-01-19 23:17, Scott Kostyshak wrote: On Fri, Jan 19, 2024 at 03:01:50PM -0700, Hal Kierstead wrote: On Jan 19, 2024, at 2:54 PM, Scott Kostyshak wrote: On Fri, Jan 19, 2024 at 02:32:21PM -0700, Hal Kierstead via lyx-users wrote: On Jan 19, 2024, at 9:33 AM, Rich Shepard wrote: On Fri, 19 Jan 2024, Paul Rubin wrote: Section 6.4 of the User's Guide is titled "Appendices". It's rather brief, so I don't know if it will answer your question(s). Paul, Thank you. When I scanned the sections in Chapter 6 I missed that one. Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users I often find myself looking through several manuals trying to find information. It would be much better if I could make a single search of all manuals. Maybe there is a way and I just do not know it. Open up advanced find and click on the "settings" tab. Then choose "All manuals". Scott -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users Very nice Scott. I thought there might be a good way of doing this. Hal It would be nice to have something like Help > Search all manuals, and it would essentially open advanced find and set it to search all manuals. Currently it's a bit hidden. Scott Also one cannot currently search the manuals without opening another document which is a little odd. Agreed. We would need to allow the advanced find pane to be opened without a buffer. This may just be a matter of changing the isBufferDependent method for that dialog. But there may be other aspects of its setup that really do need a buffer. That could probably be changed, but it might need more work. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: What controls figure numbering?
On 1/18/24 18:57, Rich Shepard wrote: I'm recreating, under a different name, the doc that crashed LyX when I tried to compile it. Using the KOMA-Script report class (scrreport.) Because the only options for section numering that work are none or all I've chosen to us all. Chapter 1 has 3 figures; chapter 2 has 3 figures. In the prior version (and all other report docs) the figures are numbered continously. Now, the new doc re-numbers the chapter 2 figures 1--3 rather than 4--6. Where is this controlled? I don't see any place in Document -> Settings. I believe this is standard behavior for reports. There's no LyX option that controls it, so far as I know. Using LaTeX, of course, you can do anything you want. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failed to clone the git repo of lyx.
On 1/18/24 00:17, Hongyi Zhao wrote: On Thu, Jan 18, 2024 at 1:11 PM Hongyi Zhao wrote: On Wed, Jan 17, 2024 at 11:54 PM Pavel Sanda wrote: On Wed, Jan 17, 2024 at 09:58:43PM +0800, Hongyi Zhao wrote: However, I am not sure if this setting is correct and can work as expected. Because I don't have much experience in this regard. I can't be of much help here. Just FYI we are in the middle of slow transition to a new git server, so you update process might need some tinkering in near future (we'll announce here and on announce maillist). Based on what I've seen so far, my repo doesn't automatically update to the latest official repo commit, so maybe it's because of what you've described above, or maybe there's something wrong with my workflow script. I noticed that my workflow was running into the error shown in the attached screenshot If I'm reading that right, the error is when you try to push to origin. Does origin exist? Where? The problem is with access to that repo. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Compiling causes LyX to crash [UPDATE]
On 1/17/24 16:12, Rich Shepard wrote: On Wed, 17 Jan 2024, Richard Kimberly Heck wrote: Given that 2.3.6-1 is quite old now, one would hope this did not crash is more recent versions. Riki, Until I have a working Slackware64-15.0 host I rely on my -14.2 host. LyX-2.3.6.1 has worked since it came out. Today it has no issues building files other than the one, which built without problems a couple of months ago before today's mods. (And I added those mods to two other files today and they built with no issues.) It is possible to anonymize the file. Open the minibuffer and type "buffer-anonymize". Maybe first save it under a different filename! Does it still crash? mwe.lyx (anonymized file) attached. So it the error message box. Clicking on the OK button kills LyX and removes all open tabs. I've no idea where to start looking for why adding a bunch of text in this file causes a crash. With all the missing images and such, I can't actually compile it. But it doesn't crash in 2.4.0-RC1 when I try to do so, so that's a plus. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Compiling causes LyX to crash [UPDATE]
On 1/17/24 14:32, Rich Shepard wrote: On Wed, 17 Jan 2024, Rich Shepard wrote: Modifying a fifth document I notice that a sub-section is not numbered and while I can save it pressing ctrl-h to build it with pdflatex causes a message box to appear saying I've hit a bug. I corrected a couple of spelling errors in one of the other files, saved, and compiled it without error. This is a client document so I cannot make a MWE from it or share it with the world. Given that 2.3.6-1 is quite old now, one would hope this did not crash is more recent versions. It is possible to anonymize the file. Open the minibuffer and type "buffer-anonymize". Maybe first save it under a different filename! Does it still crash? Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.4.0, Release Candidate 1
On 1/17/24 13:47, Dr Eberhard Lisse wrote: Was it not something like 299 USD per annum? This page https://developer.apple.com/support/compare-memberships/ seems to suggest that it is $99 per year, but I don't know if that's accurate. One issue, of course, is that it would hardly make sense to do it once, and I don't know if we can commit to doing it every year, or whether that would be worth it. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failed to clone the git repo of lyx.
On 1/17/24 07:56, Hongyi Zhao wrote: On Wed, Jan 17, 2024 at 1:28 AM Richard Kimberly Heck wrote: On 1/16/24 08:02, Pavel Sanda wrote: On Mon, Jan 15, 2024 at 03:56:56PM +0800, Hongyi Zhao wrote: For me now, I can clone via > git clone git://git.lyx.org/lyx.git anonymously. Does that work for you from the command line? It also works for me, but the speed is very unstable, as shown in the attached screenshot. So, I want to clone through my local socks5 proxy running on 127.0.0.1:1, but don't know how to achieve this goal. Speed should be matter of initial clone only. Once you have it locally, fetching updates are reasonably small even for connection speeds like 10kb/s... What we could perhaps do on our part is to clone master branch, compress it into single file and put on the http://ftp.lyx.org/pub/lyx/devel/ with short readme explaining the situation. We have currently two chinese mirrors, so there is a good chance for you to get the initial clone very fast and then continue by fetching from original source (US, Oregon). @Riki: we used to have something like this on the ftp in the svn-git times. ATM it should be enough just to do clean clone, take only .git directory, tar.xz(*) it, create signature and upload to ftp. I can create some explanation on our web... Yes, I was thinking something like that, too. Even if it were only updated once a year, it'd still make a huge difference. I tried cloning the repo on GitLab (with the idea of instituting automatic updates), but it did not work. I'm guessing it might have timed out. Why not just move the Git repository to Github, GitLab, and other free git-based code hosting platforms? The main reason has to do with our bug server, and the way it's integrated with git. But we also don't want to depend upon an external organization that way. We've been burned before when some such organization decides to change its policies, and what once was free no longer is. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failed to clone the git repo of lyx.
On 1/17/24 08:58, Hongyi Zhao wrote: On Wed, Jan 17, 2024 at 9:41 PM Hongyi Zhao wrote: On Wed, Jan 17, 2024 at 9:34 PM Hongyi Zhao wrote: Now, I created the latest git repo of lyx on GitHub with my account as follows: https://github.com/hongyi-zhao/lyx The steps are as follows: git clone https://github.com/unimiso/lyx_mirror.git lyx.git cd lyx.git/ git remote set-url origin git://git.lyx.org/lyx.git git pull # Create an empty GitHub repo from scratch, and then do the following: git remote set-url origin https://github.com/hongyi-zhao/lyx.git git push The current issue is: How can I regularly create a workflow that automatically fetches updates from git://git.lyx.org/lyx.git to my repository above? If I can achieve this, my repository can be automatically, periodically checked, and synchronized with the official upstream repository. Now, I've set up a workflow in GitHub that periodically updates my repository from the lyx official upstream repository (git://git.lyx.org/lyx.git). See below for more details: https://github.com/hongyi-zhao/lyx/blob/master/.github/workflows/sync.yml However, I am not sure if this setting is correct and can work as expected. Because I don't have much experience in this regard. I'm not sure how many people here have tried that kind of thing. Now that you have the repo, updating from the official git repo should be pretty fast. You can change your local copy to point to that instead, if you wish. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.4.0, Release Candidate 1
On 1/17/24 02:20, markhsalmon wrote: How much does the Apple licence fee cost Pavel? We don't have an official Apple license, which does sometimes causes installation problems. My memory is that it is not cheap. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failed to clone the git repo of lyx.
On 1/16/24 08:02, Pavel Sanda wrote: On Mon, Jan 15, 2024 at 03:56:56PM +0800, Hongyi Zhao wrote: For me now, I can clone via > git clone git://git.lyx.org/lyx.git anonymously. Does that work for you from the command line? It also works for me, but the speed is very unstable, as shown in the attached screenshot. So, I want to clone through my local socks5 proxy running on 127.0.0.1:1, but don't know how to achieve this goal. Speed should be matter of initial clone only. Once you have it locally, fetching updates are reasonably small even for connection speeds like 10kb/s... What we could perhaps do on our part is to clone master branch, compress it into single file and put on the http://ftp.lyx.org/pub/lyx/devel/ with short readme explaining the situation. We have currently two chinese mirrors, so there is a good chance for you to get the initial clone very fast and then continue by fetching from original source (US, Oregon). @Riki: we used to have something like this on the ftp in the svn-git times. ATM it should be enough just to do clean clone, take only .git directory, tar.xz(*) it, create signature and upload to ftp. I can create some explanation on our web... Yes, I was thinking something like that, too. Even if it were only updated once a year, it'd still make a huge difference. I tried cloning the repo on GitLab (with the idea of instituting automatic updates), but it did not work. I'm guessing it might have timed out. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX 2.4.0, Release Candidate 1
The LyX team is happy (and relieved) to announce the publication of the first 'release candidate' for the long awaited 2.4.0. You can find tarballs and binaries for Windows and OSX here: http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/ Strictly speaking, we are releasing RC1 for testing purposes only. Please report any bugs you may find to the user list or the developer list, as you prefer. That said, many of us have been using the development branch for production work, and we believe it is pretty stable. Remember, however, that files saved with 2.4 cannot be opened in LyX 2.3.x unless you first export them to that format. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failed to clone the git repo of lyx.
On 1/15/24 02:56, Hongyi Zhao wrote: On Mon, Jan 15, 2024 at 3:05 PM Richard Kimberly Heck wrote: On 1/14/24 19:20, Hongyi Zhao wrote: On Mon, Jan 15, 2024 at 1:29 AM Richard Kimberly Heck wrote: On 1/13/24 20:06, Hongyi Zhao wrote: Hi, I'm trying to clone the git repo of lyx, but always fail, as shown below: werner@X10DAi:~$ git clone g...@git.lyx.org:lyx Cloning into 'lyx'... kex_exchange_identification: Connection closed by remote host Connection closed by 127.0.0.1 port 1 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. werner@X10DAi:~$ git clone git://git.lyx.org/lyx Cloning into 'lyx'... fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. It should work now. Yes. It works now. as shown below, what's wrong with it before? There was some kind of problem on the server. I'm afraid I do not know why the script does not work. What's the script mentioned by you above? You had earlier mentioned a script. But I had in mind the use of the proxy. For me now, I can clone via > git clone git://git.lyx.org/lyx.git anonymously. Does that work for you from the command line? It also works for me, but the speed is very unstable, as shown in the attached screenshot. The cloning operation takes quite a while. The entire repo is nearly a gigabyte, and the compression operation on the server is slow. We are hoping to migrate to new servers before too long, so this may improve. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failed to clone the git repo of lyx.
On 1/14/24 19:20, Hongyi Zhao wrote: On Mon, Jan 15, 2024 at 1:29 AM Richard Kimberly Heck wrote: On 1/13/24 20:06, Hongyi Zhao wrote: Hi, I'm trying to clone the git repo of lyx, but always fail, as shown below: werner@X10DAi:~$ git clone g...@git.lyx.org:lyx Cloning into 'lyx'... kex_exchange_identification: Connection closed by remote host Connection closed by 127.0.0.1 port 1 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. werner@X10DAi:~$ git clone git://git.lyx.org/lyx Cloning into 'lyx'... fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. It should work now. Yes. It works now. as shown below, what's wrong with it before? There was some kind of problem on the server. I'm afraid I do not know why the script does not work. For me now, I can clone via > git clone git://git.lyx.org/lyx.git anonymously. Does that work for you from the command line? Riki -- Richard Kimberly (Riki) Heck Professor of Philosophy Brown University Pronouns: they/them/their Website: http://rkheck.frege.org/ -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Collaboration ( was: Re: lyx 2.3.7 running on a Mac Ventura 13.6.1)
On 1/11/24 06:26, Tobias Hilbricht wrote: Am Donnerstag, dem 11.01.2024 um 09:03 + schrieb markhsalmon: it does have features that make it easier to use. The university made its choice I suspect because of the way multiple authors can collaborate I agree with you that the collaboration features are a big point in favour of Overleaf. The strong desire by many LaTeX-users (and LyX- users?) for those collaboration features are expressed by Emiliano Heyns, the developer of BetterBibTeX for Zotero, in an interview: "What I’d love to see is an online (because who wants to have to install stuff these days), real-time, multi-author editor, that would have a neutered view for my WYSIWYG brethren, a markup view for me (LaTeX or something else, as long as I get the stuff I care about), a vim mode preferably but at least something that syncs to offline files (don’t trust the cloud as the only place for your precious articles). LyX would be halfway there if the file format wasn’t so strange, and co-authoring (or even version management, really) is a non-starter." https://www.fiduswriter.org/2017/01/15/emilano-heyns/ I am a WYMIWG brother and like LyX a lot for hiding code from me as much as possible, but due to missing collaboration features I use it private only and would not suggest it at work, despite many advantages of LyX in features apart from collaboration. I have used LyX for co-authored articles and have not had any problem with it. I suppose that's because my co-author and I generally aren't working on the same part of the paper at the same time, so you don't get weird merge conflicts. Once the paper gets to a certain point, we use change tracking, which helps a lot. Emiliano's remark about version management, from 2017, seems out of date. I use git with LyX all the time. It was extremely helpful when I was making the final changes to a book recently. It allowed me to check and make sure that the only changes I'd made were the ones I thought I'd made. The real issue there, it seems to me, is that most such tools are line based, so changing a single character here and there can lead to the changes looking more significant than they are. But that's true with LaTeX, too, to some extent. It's a bigger problem with LyX, because the line breaks in the saved version of the file can be completely different from that point on in the paragraph. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Adding accented character in JabRef
On 1/2/24 11:51, Rich Shepard wrote: On Tue, 2 Jan 2024, Richard Kimberly Heck wrote: Is JabRef saving them that way? I've had problems with it saving such things as Unicode. Riki, Nope. It tells me there's an unexpected '(' in the string. I'm seeing odd results with this as well. If I use the attached bib file, then \~A shows up just fine, but \~a does not. In the bbl file, it appears as: \begin{thebibliography}{1} \bibitem{Ant:Test} Ant\ {a}o \~Antonia. \newblock Whatever. \newblock {\em Good One}, 2023. \end{thebibliography} Note the deleted tilde in the first name. The tilde has been moved to a non-breaking space. Riki @Article{Ant:Test, author = {Ant\~{a}o \~Antonia}, journal = {Good One}, title = {Whatever}, year= {2023}, } @Comment{jabref-meta: databaseType:bibtex;} -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: iCloud Drive and LyX Backup Files
On 1/2/24 11:43, Jeremy via lyx-users wrote: LyX saves backup files by appending a tilde, ~, to the file name. Apple's iCloud Drive does not upload files ending in tildes to the cloud. Is there a way to get these two pieces of software to coexist, so that LyX backups can themselves be backed up into Apple's cloud? I suppose this could occur by either: 1. Forcing iCloud Drive to sync files ending in a tilde 2. Changing the extra character in the file extension of LyX backups to a character other than tilde This is not an option, unless you want to edit the source. It's hardcoded. Use of the ~ for backup files is standard on Unix, which is probably why iCloud ignores them. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Trying to get a straight single quote
On 1/2/24 08:41, Daniel via lyx-users wrote: On 2023-12-31 21:59, Paul Rubin wrote: On 12/31/23 13:08, Blake McBride wrote: Greetings, I am using LyX 2.3.7 on a Linux box. I have some text in which I'd like to use the straight, type-writer-like single quote instead of a curved one. I tried adding the TeX code \texttt{'} but that didn't work. I then went into Document / Settings / Fonts and played with the Typewriter setting. That changed the quiet but I never got the straight single quote I am looking for. Sure appreciate some help. Thanks! Blake One option is to add "\usepackage{textcomp}" to the document preamble and then put "\textquotesingle{}" in ERT where you want the straight quote. Paul "\usepackage{textcomp}" seems to be unnecessary. I guess the "\textquotesingle{}" should be accessible via Insert > Formatting in LyX. Maybe someone likes to file an enhancement report. (I feel like I have filled my quota already.) https://www.lyx.org/trac/ticket/13025 Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Trying to get a straight single quote
On 12/31/23 15:59, Paul Rubin wrote: On 12/31/23 13:08, Blake McBride wrote: Greetings, I am using LyX 2.3.7 on a Linux box. I have some text in which I'd like to use the straight, type-writer-like single quote instead of a curved one. I tried adding the TeX code \texttt{'} but that didn't work. I then went into Document / Settings / Fonts and played with the Typewriter setting. That changed the quiet but I never got the straight single quote I am looking for. Sure appreciate some help. Thanks! Blake One option is to add "\usepackage{textcomp}" to the document preamble and then put "\textquotesingle{}" in ERT where you want the straight quote. https://tex.stackexchange.com/questions/52529/straight-quotes Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Adding accented character in JabRef
On 1/1/24 17:52, Rich Shepard wrote: An authors' name is Antao with the second 'a' accented with a tilde. I'm not finding the proper syntax to produce that in the BibTeX source. I tried {~}a and \{~}a and some other variants without success. Is JabRef saving them that way? I've had problems with it saving such things as Unicode. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Some bugs with Lyx 2.3 and a lot of bugs with Lyx 2.4 using abntex2 document class
On 12/25/23 08:21, Jéssica Milaré wrote: Good morning. I'm writing a thesis using Lyx 2.3.7 using the 'abntex2' document class, which creates documents according to Brazil's technical norms (ABNT). I got the layout for Lyx 2.2 from the url below and everything seems to be working well. https://github.com/abntex/abntex2-contrib/blob/master/lyx/2.2.X/abntex2.layout The only problem I got with Lyx 2.3 was a bunch of error messages for reloading package 'hyperref' with different options. It seems 'abntex2' loads hyperref with no options, which conflicts with Lyx code generation. Besides, Lyx configuration does not work, (PDF file properties are not correctly set). Disabling the option "Use hyperref" in Lyx suppresses the error messages and PDF bookmarks and links are correctly set. Adding Provides hyperref to the layout should solve that problem. I'm not familiar with nomenclature and stuff, but someone else will be. I think I'll have to file many bug tracker tickets for each error. I'll do that later when I get to recover my login info. We're aware of this problem but not sure what's causing it. Riki I'm using Lyx with latest Texlive (full installation) within Windows 11. -- Richard Kimberly (Riki) Heck Professor of Philosophy Brown University Pronouns: they/them/their Website: http://rkheck.frege.org/ -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Suggestion
On 12/7/23 14:38, Christopher Menzel wrote: On Dec 6, 2023, at 10:28 PM, Richard Kimberly Heck wrote: On 12/6/23 15:55, Christopher Menzel wrote: On Dec 6, 2023, at 2:05 PM, Richard Kimberly Heck wrote: On 12/6/23 05:24, Patrick Dupre via lyx-users wrote: Hello, Can I suggest to have in the "View" tab an option to zoom in, and zoom out? It could be also a short cut to generate these behaviors like ctl -, and ctl + or Up ctl + Those shortcuts work here. You're on Fedora, right? Me, too. Riki They work under MacOS as well (2.4.0~beta5). And you can add those options yourself to the “View” menu by making a copy of stdmenus.inc (found in the “ui” subdirectory of your LyX hierarchy — probably /usr/local/share in LInux?), sticking it in a directory called “ui" your local .lyx directory (~/Library/Application Support/LyX-2.4 under MacOS) and adding the lines Separator Item "Zoom In|+" "buffer-zoom-in" Item "Zoom Out|-" "buffer-zoom-out" LyX will complain that the accelerator is not in the menu text. But maybe one could do: Item "Zoom In (+)|+" "buffer-zoom-in" to the section of the file containing the View menu items. Ah, yes, I didn’t see the complaint because I wasn’t firing up LyX from the command line. But the code I suggested still works just fine under both MacOS and Linux, for me anyway. Yes, it should work, just with the complaint. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Suggestion
On 12/7/23 03:50, Jean-Marc Lasgouttes wrote: Don't the new controls for zoom show the bindings in their tooltip? They should. If you left-click on the zoom number itself, you get a little menu. But it's not easily discoverable. Right-clicking anywhere on the bottom bit gives you a choice of what's shown there. It seems typical for zoom controls to be in the View menu on other apps. Riki Le 7 décembre 2023 05:28:06 GMT+01:00, Richard Kimberly Heck a écrit : On 12/6/23 15:55, Christopher Menzel wrote: On Dec 6, 2023, at 2:05 PM, Richard Kimberly Heck wrote: On 12/6/23 05:24, Patrick Dupre via lyx-users wrote: Hello, Can I suggest to have in the "View" tab an option to zoom in, and zoom out? It could be also a short cut to generate these behaviors like ctl -, and ctl + or Up ctl + Those shortcuts work here. You're on Fedora, right? Me, too. Riki They work under MacOS as well (2.4.0~beta5). And you can add those options yourself to the “View” menu by making a copy of stdmenus.inc (found in the “ui” subdirectory of your LyX hierarchy — probably /usr/local/share in LInux?), sticking it in a directory called “ui" your local .lyx directory (~/Library/Application Support/LyX-2.4 under MacOS) and adding the lines Separator Item "Zoom In|+" "buffer-zoom-in" Item "Zoom Out|-" "buffer-zoom-out" LyX will complain that the accelerator is not in the menu text. But maybe one could d0: Item "Zoom In (+)|+" "buffer-zoom-in" to the section of the file containing the View menu items. It's probably worth having this in the View menu by default. It's not terribly crowded, unlike some of the other menus. But we can't do it now, because we can't add new strings until 2.4.0 is out. Riki -- Richard Kimberly (Riki) Heck Professor of Philosophy Brown University Pronouns: they/them/their Website:http://rkheck.frege.org/ -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Suggestion
On 12/6/23 15:55, Christopher Menzel wrote: On Dec 6, 2023, at 2:05 PM, Richard Kimberly Heck wrote: On 12/6/23 05:24, Patrick Dupre via lyx-users wrote: Hello, Can I suggest to have in the "View" tab an option to zoom in, and zoom out? It could be also a short cut to generate these behaviors like ctl -, and ctl + or Up ctl + Those shortcuts work here. You're on Fedora, right? Me, too. Riki They work under MacOS as well (2.4.0~beta5). And you can add those options yourself to the “View” menu by making a copy of stdmenus.inc (found in the “ui” subdirectory of your LyX hierarchy — probably /usr/local/share in LInux?), sticking it in a directory called “ui" your local .lyx directory (~/Library/Application Support/LyX-2.4 under MacOS) and adding the lines Separator Item "Zoom In|+" "buffer-zoom-in" Item "Zoom Out|-" "buffer-zoom-out" LyX will complain that the accelerator is not in the menu text. But maybe one could d0: Item "Zoom In (+)|+" "buffer-zoom-in" to the section of the file containing the View menu items. It's probably worth having this in the View menu by default. It's not terribly crowded, unlike some of the other menus. But we can't do it now, because we can't add new strings until 2.4.0 is out. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Suggestion
On 12/6/23 05:24, Patrick Dupre via lyx-users wrote: Hello, Can I suggest to have in the "View" tab an option to zoom in, and zoom out? It could be also a short cut to generate these behaviors like ctl -, and ctl + or Up ctl + Those shortcuts work here. You're on Fedora, right? Me, too. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX, Non-TeX-Fonts and export with pandoc
On 11/19/23 06:30, Tobias Hilbricht wrote: Riki, I have added your instructions to the LyX-wiki "Export to OpenDocument (.odt) and Open Office XML (.docx) file formats with Pandoc". Thanks! Riki Am Samstag, dem 18.11.2023 um 23:08 -0500 schrieb Richard Kimberly Heck: Probably this should go into 2.4, but we'll see if anyone has worries. On 11/18/23 13:24, Tobias Hilbricht wrote: Am Samstag, dem 18.11.2023 um 12:46 -0500 schrieb Richard Kimberly Heck: On 11/18/23 07:18, Tobias Hilbricht wrote: But when I check that box and want to use Non-TeX-Fonts, the export option to docx or odt via pandoc disappears. The reason for this is that, if you use non-TeX fonts, then the immediate export is to a file that would be compiled with XeLaTeX or LuaTeX, and there is no converter defined to convert that format to ODT or whatever. Now that you write it it is quite clear, but it did not occur to me when looking at Settings - Converter ... The solution is to define one. This is easiest done I think in the configuration files themselves rather than in LyX. Find your user directory and open the file lyxrc.defaults. In there, you will find a line like: \converter latex odt3 "pandoc -s -f latex -o $$o -t odt $$i" "" Copy it and open the file preferences. Paste twice but change it to: \converter xetex odt3 "pandoc -s -f latex -o $$o -t odt $$i" "" \converter luatex odt3 "pandoc -s -f latex -o $$o -t odt $$i" "" Save that file and open LyX. Should work, but not tested. The same kind of thing will work for Word formats. A quick test with a simple LyX-document produced docx- and odt- output without errors and with the expected formatting. There may be some reason we do not include this by default: Perhaps pandoc is liable to choke on something we output in those modes. Hopefully, someone else will know. But I'm guessing it's an oversight. I can understand that and will see how far I can get. Thank you for your advice! Tobias -- Richard Kimberly (Riki) Heck Professor of Philosophy Brown University Pronouns: they/them/their Website: http://rkheck.frege.org/ -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX, Non-TeX-Fonts and export with pandoc
Probably this should go into 2.4, but we'll see if anyone has worries. On 11/18/23 13:24, Tobias Hilbricht wrote: Am Samstag, dem 18.11.2023 um 12:46 -0500 schrieb Richard Kimberly Heck: On 11/18/23 07:18, Tobias Hilbricht wrote: But when I check that box and want to use Non-TeX-Fonts, the export option to docx or odt via pandoc disappears. The reason for this is that, if you use non-TeX fonts, then the immediate export is to a file that would be compiled with XeLaTeX or LuaTeX, and there is no converter defined to convert that format to ODT or whatever. Now that you write it it is quite clear, but it did not occur to me when looking at Settings - Converter ... The solution is to define one. This is easiest done I think in the configuration files themselves rather than in LyX. Find your user directory and open the file lyxrc.defaults. In there, you will find a line like: \converter latex odt3 "pandoc -s -f latex -o $$o -t odt $$i" "" Copy it and open the file preferences. Paste twice but change it to: \converter xetex odt3 "pandoc -s -f latex -o $$o -t odt $$i" "" \converter luatex odt3 "pandoc -s -f latex -o $$o -t odt $$i" "" Save that file and open LyX. Should work, but not tested. The same kind of thing will work for Word formats. A quick test with a simple LyX-document produced docx- and odt-output without errors and with the expected formatting. There may be some reason we do not include this by default: Perhaps pandoc is liable to choke on something we output in those modes. Hopefully, someone else will know. But I'm guessing it's an oversight. I can understand that and will see how far I can get. Thank you for your advice! Tobias -- Richard Kimberly (Riki) Heck Professor of Philosophy Brown University Pronouns: they/them/their Website: http://rkheck.frege.org/ -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX, Non-TeX-Fonts and export with pandoc
On 11/18/23 07:18, Tobias Hilbricht wrote: Dear readers of this list, I am referring to LyX 2.3.7 on Ubuntu 22.04 and pandoc 2.9.2.1: I am able to export documents from LyX to docx or odt by means of pandoc when I use TeX-Fonts (that is, the box "Do not use TeX-Fonts (via XeteX or LuaTeX)" is *not* checked). But when I check that box and want to use Non-TeX-Fonts, the export option to docx or odt via pandoc disappears. The reason for this is that, if you use non-TeX fonts, then the immediate export is to a file that would be compiled with XeLaTeX or LuaTeX, and there is no converter defined to convert that format to ODT or whatever. The solution is to define one. This is easiest done I think in the configuration files themselves rather than in LyX. Find your user directory and open the file lyxrc.defaults. In there, you will find a line like: \converter latex odt3 "pandoc -s -f latex -o $$o -t odt $$i" "" Copy it and open the file preferences. Paste twice but change it to: \converter xetex odt3 "pandoc -s -f latex -o $$o -t odt $$i" "" \converter luatex odt3 "pandoc -s -f latex -o $$o -t odt $$i" "" Save that file and open LyX. Should work, but not tested. The same kind of thing will work for Word formats. There may be some reason we do not include this by default: Perhaps pandoc is liable to choke on something we output in those modes. Hopefully, someone else will know. But I'm guessing it's an oversight. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Hebrew, Turkish, Greek Translations Being Dropped?
Translations for Hebrew, Turkish, and Greek have dropped below 50%, meaning that fewer than half the UI strings are translated. For this reason, we are curently planning not to distribute translations for these languages with LyX 2.4. If you speak one of these languages and would like to see the translation continue, then please see this email: http://lists.lyx.org/pipermail/lyx-docs/Week-of-Mon-20231106/000667.html for some relevant information. If you want to know more about this, feel free to ask about it on the lyx-devel mailing list. Contributing translations is one great way to give back to the LyX community! Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Translations for LyX 2.4
Hi, all, We are moving (finally) towards the release of LyX 2.4. Strings have been frozen and prepared for translation. The most recent versions of the po files (for UI translations) can be found here: https://www.lyx.org/I18n-trunk Just click on the link for your language. Changes to the manuals have been marked using change tracking. If you wish to update those, they can be found here: https://git.lyx.org/?p=lyx.git;hb=master;a=tree;f=lib/doc We'd like to release the first release candidate within about 6 weeks, so it'd be good to have translations of the UI by then. If that's not possible, please let me know. We can certainly add additional translations before the final release (maybe mid- to late-January?). Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: bibex/arXiv
On 10/25/23 05:13, Patrick Dupre wrote: Thank Richard, Can I have a template? You have quite a few on your system already. The bibtex ones are *.bst. The biblatex ones are *.bbx. Although I have not used it, I'd suggest you try biblatex. It is designed to be much easier to customize. "Good working knowledge in LaTeX should be sufficient to design new bibliography and citation styles", or so says the manual. The language used in bibtex files is a very primitive stack-based language and is not easy to work with, though I did manage to write a custom bst file a while ago. Riki On 10/24/23 05:20, Patrick Dupre via lyx-users wrote: Hello, In my bib file, I have @ARTICLE{javaloyes03b, AUTHOR = {J.~Javaloyes and M.~Perrin and G.L. Lippi and A.~Politi}, TITLE = {Recoil-induced lasing}, YEAR = 2003, EPRINT = {physics/0311132}, archivePrefix = {arXiv}, primaryClass = {physics.optics}, DOI = {10.48550/arXiv.physics/0311132}, NOTE = {} } How can I make it come in my Bibliography section with all the information EPRINT archivePrefix How this is presented in your bibliography is determined by the bibtex or biblatex that you are using. I don't know if there's an existing style that uses these fields. If not, you'd have to write your own. Riki -- Richard Kimberly (Riki) Heck Brown University Professor of Philosophy and Professor of Linguistics Director of Graduate Studies in Philosophy Office Hours: Monday 2-3, Wednesday 11-12 Personal link: https://brown.zoom.us/my/rikiheck Pronouns: they/them/their Email: rikih...@brown.edu Website: http://rkheck.frege.org/ Google Scholar: https://scholar.google.com/citations?user=QUKBG6EJ ORCID: http://orcid.org/-0002-2961-2663 -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: bibex/arXiv
On 10/24/23 05:20, Patrick Dupre via lyx-users wrote: Hello, In my bib file, I have @ARTICLE{javaloyes03b, AUTHOR = {J.~Javaloyes and M.~Perrin and G.L. Lippi and A.~Politi}, TITLE = {Recoil-induced lasing}, YEAR = 2003, EPRINT = {physics/0311132}, archivePrefix = {arXiv}, primaryClass = {physics.optics}, DOI = {10.48550/arXiv.physics/0311132}, NOTE = {} } How can I make it come in my Bibliography section with all the information EPRINT archivePrefix How this is presented in your bibliography is determined by the bibtex or biblatex that you are using. I don't know if there's an existing style that uses these fields. If not, you'd have to write your own. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX 2.4 Beta 5
...is available for testing here: http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/ Please note that the file format for this release is different from previous ones and that, while export to 2.3.x format will work fine, there is no menu-driven way to export to, say, the Beta 4 format. Caveat emptor, as it were. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Strange hyphenation with English (UK)
On 9/9/23 14:41, Daniel wrote: Hi! I noticed that setting "English (UK)" as language under Document Settings, leads to some strange hyphenation. For example, "import-ant" and "theor-ethical". Is that a common issue with that language dictionary or do I have a faulty setup? The latter, assuming you mean "theor-etical", looks acceptable to me, if not ideal. The former is apparently wrong, according to what I looked up online, though it actually sounds right to me. Or, perhaps better, morphologically, it feels right. I find I do sometimes have to override LaTeX's own choices in final preparation of documents. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Can't open 2.4.0-beta5 doc in 2.4.0-beta3
On 9/5/23 16:45, Christopher Menzel wrote: LyX folk, I recently compiled Lyx 2.4.0-beta5 under Linux and find that I am unable to open the file in Lyx 2.4.0-beta3 under MacOS and the conversion script is failing to export to 2.3.x. By changing "\lyxformat 618” to "\lyxformat 616” I was able to load the document in 2.4.0-beta3 although I got two "Document header” errors: "Unknown token: \use_formatted_ref \use_formatted_ref” and "Unknown token: 0 0”. After saving the file, it opened without any errors in beta3 and the contents appear to be OK. But I’d prefer a more elegant solution if one exists. You can run the lyx2lyx script manually, with option: -t 616, to export to that format. What error are you getting from the 2.3.x export? That's a serious bug. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Insert preamble code when one of two styles are in use
On 8/22/23 10:14, ehud.be...@posteo.net wrote: Suppose I create two styles. When Style 1 is in use, I want the LyX editor to add to the preamble the following code: \usepackage{x} latex code for style 1 When style 2 is in use, I want to add to the preamble the following code: \usepackage{x} latex code for style 2 What I do now to achieve this is Style Style1 LatexType Environment LatexName style1 Preamble \usepackage{x} latex code for style 1 EndPreamble End and Style Style2 LatexType Environment LatexName style2 DependsOn Style1 # Preamble latex code for style 2 EndPreamble End but this is somewhat inefficient. There's not really a better way to do this. You could delete the "DependsOn" (unless you need it) and instead add "usepackage" to Style2. This may result in multiple loadings, but that's not a problem unless you specify different options. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Curiosity
On 8/14/23 13:27, Carlos Knauer wrote: Was LyX written in Python? Parts of it are, such as the configuration script and some of the conversion tools. But the main code is in C++. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Need help locating LyX errors
On 8/13/23 15:12, Edwin Burmeister wrote: Hi-- Need some LyX help. I am using LyX 2.3.7 on a Mac (silicon chip) running OS Ventura 13.5. From LaTeX Errors window: “Selecting an error ... the cursor will jump to the location in the document where the error occurred.” This does not happen for me. How can I get it to work? Generally, this should work, but it may not in some cases. The code that tracks line locations is pretty complicated. Note that you do have access to the full LaTeX log, which can help finding errors. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Laggy cursor
On 8/9/23 11:23, Tim Garrett wrote: Hi Scott, I’m wondering if there’s something like a factory reset I can do on the settings that is worth trying. Perhaps over the years I’ve adjusted the look and feel to something that is causing problems. Move your user directory somewhere else, so a new one is generated. Or else launch LyX from the command line with something like: > lyx -userdir /tmp/newuserdir/ But I'd be surprised if anything there caused problems. Riki On 9 Aug 2023, at 4:31, Scott Kostyshak wrote: On Tue, Aug 08, 2023 at 03:23:03PM -0600, Tim Garrett wrote: Thanks again Scott for your response and thoughtful help. I attach the file. I updated LyX to 2.3.7. This has indeed only been a problem in the past couple of years. I’ve sort of tolerated it because I mostly collaborate now rather than writing myself — getting old and rusty. For collaborations I use Overleaf though I still prefer LyX. In 2001, KLyX changed my life, but because of the top search result! E Thanks, Tim. I can't reproduce with the file you sent so that at least rules out that theory that I had. Unfortunately I'm not sure how to proceed. Scott -- Richard Kimberly (Riki) Heck Professor of Philosophy Brown University Pronouns: they/them/their Website: http://rkheck.frege.org/ Blog:http://rikiheck.blogspot.com/ Amazon: http://amazon.com/author/richardgheckjr Google Scholar: https://scholar.google.com/citations?user=QUKBG6EJ ORCID: http://orcid.org/-0002-2961-2663 Research Gate: https://www.researchgate.net/profile/Richard_Heck -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: In outline, filter only by branch *name*
On 8/3/23 12:40, Scott Kostyshak wrote: On Thu, Aug 03, 2023 at 11:23:37AM -0400, Paul Rubin wrote: On 8/3/23 08:50, Scott Kostyshak wrote: I have an unhealthy obsession with branches. I can put you in touch with an arborist who can help you trim them. When I use the outline pane and select "Branches" and under filter put the branch name, it also searches the *contents* of the branch insets. Is it possible to filter by only the branch *name*? It's a hack, but how about surrounding the branch name (at creation) with punctuation marks or something else that distinguishes it from text? For instance, rather than naming the branch "Trivia" you could name it "bTrivia" (the "b" being applied routinely to branch names) or "@Trivia" (assuming Elon Musk has no objection) or "*Trivia*". That's a good idea. Best workaround so far. This sounds like a bug to me. I guess it's because we put some of the branch content into the outliner. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How to put Figure (Floats) in Fancy coloured boxes in LyX.
On 8/1/23 02:52, Faseeh Muhammad wrote: Hi, I am creating examples for a lesson where i have to include figures (and some time subfigures) with labels and captions along with the text. What i am trying to do is to use fancy color box module to mimic the tcolorbox environment in latex and then trying to put a figure (In Lyx Insert>Float>Figure) and then label and caption it. But result is in error that reads "Nor in outer par mode". So is there any way i can put figures (and subfigures, if possible) in these boxes. I am no expert on this, but I will guess that you can't do it this way. The color box is stuck to a certain position on the page, and a float is not, so the combination does not make sense. What you'd need to do is insert the float and then apply the color to the caption, say. And probably INSIDE the caption, not the whole caption. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Change of emphasis shortcut
On 7/29/23 22:43, Daniel wrote: On 2023-07-29 21:57, Richard Kimberly Heck wrote: On 7/29/23 13:51, Daniel wrote: On 2023-07-29 18:21, Richard Kimberly Heck wrote: On 7/24/23 14:35, Daniel wrote: On 2023-07-13 10:48, Daniel wrote: Hi! With LyX 2.4, the shortcut for toggling emphasis will be changed from Command+E to Command+Ctrl+E. I find that latter shortcut quite hard to use (there is a reason why Alt+Ctl+Delete are the "Security Keys") while emphasis is maybe my single most used function with a shortcut (after cut, copy, paste). So, this cumbersome shortcut is quite annoying to me. Of course I can easily change the shortcut myself via the settings and fix the problem for me. But I am wondering whether there is a better shortcut for this by default. The developers have not come up with ideas so far or do not see the problem as severe. So, I am wondering whether someone on the users list has an input on this. As a background: In LyX 2.4, the Command+E shortcut is currently assigned to set the search string on macOS. (A feature of macOS that some applications support but I was unaware of previously and I know no one else who uses it. I guess that is generally true and why it took so long until someone came up with introducing it in LyX.) Best, Daniel Looks like no one came up with a similarly good shortcut as the old one. That might not be too surprising. Unfortunately, it will leave macOS users in the dust with the next major version. I myself tend to set Ctrl-I for emphasis, which is what most applications use. Of course, they mean "Italic", not emphasis, but it's what I'm used to. Riki Interesting. And I like the idea of having cross-application shortcuts. However, on macOS Cmd-I is "inset-toggle". Is it not used for that on Linux by default? Yes, but I changed it locally long ago. I think the current assignment is mostly historical. Riki Would you mind sending me your user.bind file? Attached. I think some of these are probably out of date, actually. Riki ## This file is automatically generated by lyx ## All modifications will be lost Format 5 \unbind "C-e" "font-emph" \unbind "C-i" "inset-toggle" \unbind "C-S-i" "info-insert" \unbind "C-n" "buffer-new" \unbind "C-t" "buffer-view ps" \unbind "C-M-t" "master-buffer-view ps" \unbind "C-S-t" "buffer-update ps" \unbind "C-M-S-t" "master-buffer-update ps" \unbind "C-a" "command-sequence buffer-begin ; buffer-end-select" \unbind "C-S-r" "buffer-update" \unbind "C-r" "buffer-view" \unbind "C-M-r" "master-buffer-view" \unbind "M-m f" "math-insert \\frac" \bind "C-i" "font-emph" \bind "C-e" "inset-toggle" \bind "C-S-a" "change-accept" \bind "C-M-S-s" "unicode-insert 0x00A7" \bind "C-S-r" "command-alternatives master-buffer-update; buffer-update" \bind "C-r" "command-alternatives master-buffer-view; buffer-view" \bind "M-m f s" "math-insert \\mathsf" \bind "C-M-S-p" "unicode-insert 0x00B6" \bind "C-S-t" "master-buffer-update" \bind "C-t" "master-buffer-view" -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Change of emphasis shortcut
On 7/29/23 13:51, Daniel wrote: On 2023-07-29 18:21, Richard Kimberly Heck wrote: On 7/24/23 14:35, Daniel wrote: On 2023-07-13 10:48, Daniel wrote: Hi! With LyX 2.4, the shortcut for toggling emphasis will be changed from Command+E to Command+Ctrl+E. I find that latter shortcut quite hard to use (there is a reason why Alt+Ctl+Delete are the "Security Keys") while emphasis is maybe my single most used function with a shortcut (after cut, copy, paste). So, this cumbersome shortcut is quite annoying to me. Of course I can easily change the shortcut myself via the settings and fix the problem for me. But I am wondering whether there is a better shortcut for this by default. The developers have not come up with ideas so far or do not see the problem as severe. So, I am wondering whether someone on the users list has an input on this. As a background: In LyX 2.4, the Command+E shortcut is currently assigned to set the search string on macOS. (A feature of macOS that some applications support but I was unaware of previously and I know no one else who uses it. I guess that is generally true and why it took so long until someone came up with introducing it in LyX.) Best, Daniel Looks like no one came up with a similarly good shortcut as the old one. That might not be too surprising. Unfortunately, it will leave macOS users in the dust with the next major version. I myself tend to set Ctrl-I for emphasis, which is what most applications use. Of course, they mean "Italic", not emphasis, but it's what I'm used to. Riki Interesting. And I like the idea of having cross-application shortcuts. However, on macOS Cmd-I is "inset-toggle". Is it not used for that on Linux by default? Yes, but I changed it locally long ago. I think the current assignment is mostly historical. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Change of emphasis shortcut
On 7/24/23 14:35, Daniel wrote: On 2023-07-13 10:48, Daniel wrote: Hi! With LyX 2.4, the shortcut for toggling emphasis will be changed from Command+E to Command+Ctrl+E. I find that latter shortcut quite hard to use (there is a reason why Alt+Ctl+Delete are the "Security Keys") while emphasis is maybe my single most used function with a shortcut (after cut, copy, paste). So, this cumbersome shortcut is quite annoying to me. Of course I can easily change the shortcut myself via the settings and fix the problem for me. But I am wondering whether there is a better shortcut for this by default. The developers have not come up with ideas so far or do not see the problem as severe. So, I am wondering whether someone on the users list has an input on this. As a background: In LyX 2.4, the Command+E shortcut is currently assigned to set the search string on macOS. (A feature of macOS that some applications support but I was unaware of previously and I know no one else who uses it. I guess that is generally true and why it took so long until someone came up with introducing it in LyX.) Best, Daniel Looks like no one came up with a similarly good shortcut as the old one. That might not be too surprising. Unfortunately, it will leave macOS users in the dust with the next major version. I myself tend to set Ctrl-I for emphasis, which is what most applications use. Of course, they mean "Italic", not emphasis, but it's what I'm used to. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Joining newlines in paste (was: Pasting latex in a lyx file)
On 7/27/23 12:07, Pavel Sanda wrote: On Thu, Apr 22, 2021 at 12:38:32PM -0400, Scott Kostyshak wrote: On Tue, Apr 20, 2021 at 12:15:56AM +0200, Dr Eberhard W Lisse wrote: On 2021-04-19 14:47 , Christoph Schmitz wrote: Am 19.04.2021 um 14:43 schrieb Daniel : On 10/4/21 16:07, Mario D wrote: Paul, Ctrl+Shift+V works just fine for me, thanks! My fault, and I beg your pardon for this, for not having tried the relative option in "Edit -> Paste Special" : I just tried the "Paste from LaTeX", which doesn't work in my case (I am pasting tikz figures, so @rich: I was referring to the second option). Thank you everybody. :) Actually, I am wondering whether preserving newlines should be the default. I don't think one can expect that the default paste command changes the format that way. Instead the "special" option should be paste with removing newlines, I think. -- Daniel [...] I want to second this proposal! I do not know how much work it would be to create a new setting, which would allow users to use whatever method they prefer. If I have to chose between the two options, Daniel's proposal is my preference. Chris Me three :-)-O I also get confused by this and I think new LyX users are especially confused. I also vote for considering a change of the default behavior. Dear all, this is one of my last items on the TODO list for the 2.4 release. Bunch of people expressed their opinion that our default for paste operation should preserve newlines. I do not have strong opinion but agree that in my experience I have to go to Paste Special sub menu quite often to preserve the newlines. Before looking what would need change, is there reasonable unanimous agreement that this should be the default or are there folks who prefer current behaviour which joins the lines by default? I agree that the default should be to preserve newlines. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
\lBrack [was Re: Double brackets]
On 7/22/23 14:28, Herbert Voss wrote: Am 22.07.23 um 17:24 schrieb Dan: I am trying to write a Lie bracket [[a, b ]]. The commands \llbracket and \rrbracket work just fine in the LyX math formula, but doesn't render in LuaTex. I could conceivably use a negative space and join the symbols | and [ (with some fussing) but I can't get LyX to recognize \! as a negative spacer. (That's another question, really. I don't need that answered here if there is a simpler way to do this.) The names for uniicode-math ate \lBrack and \rBrack. Write into the preamble \let\llbracket\lBrack \let\rrbracket\rBrack if you want to use the old names. However, LyX do not know the new names and do not render it. That should be an easy one to fix. I'm cc'ing devel. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Double brackets
On 7/22/23 11:24, Dan wrote: I am trying to write a Lie bracket [[a, b ]]. The commands \llbracket and \rrbracket work just fine in the LyX math formula, but doesn't render in LuaTex. I could conceivably use a negative space and join the symbols | and [ (with some fussing) but I can't get LyX to recognize \! as a negative spacer. (That's another question, really. I don't need that answered here if there is a simpler way to do this.) Is there some reason that LuaTeX isn't recognizing these commands? I don't use it, so can't test, but they work fine with pdflatex. Is there some reason you need LuaTeX? How are you entering \!? Directly in math mode? It works for me, but I'm using the 2.4 beta, so it could be a new thing (though I don't think so). One workaround would be to define a command for this purpose in your preamble, then use it in math. It won't look pretty---you'll just see the bare command---but it will export properly. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Bug Report - 2.3.7
On 7/11/23 08:42, Xm Z wrote: Latex code \approx cannot be correctly displayed in lyx window, but can be compiled correctly. Like the plot in the following. Version: LyX 2.3.7. image.png This is the mailing list for discussing documentation. I'm transferring discussion to lyx-users. I use \approx sometimes and have not seen this error. What OS? Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: upmu, american
On 7/11/23 04:59, Patrick Dupre wrote: What about Package/option 'american' unknown That's a babel error. I would assume that's in texlive-babel-english. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: upmu, american
On 7/10/23 15:54, Patrick Dupre wrote: Hello, With the "new" version of texlive (2022) abd lyx 2.3.7, I was 2 issues There is not texlibe-upgreek package (I need upgreek.sty) and Package/option 'american' unknown can you help me? This sounds like more of a Fedora issue. You're on Fedora, right? On the former, try: dnf install 'tex(upgreek.sty)' This generally works to find some TeX file you need. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Lyx 2.4 beta3
On 6/29/23 10:53, Murat Yildizoglu wrote: Dear friends, I have upgraded from beta2 to beta3 today and I have the impression that I am meeting problems: a document I was able to compile with beta3 gives strange errors. Before bothering you with these errors and me by preparing a small example, I would like to try to compile my document with beta2. Can I downgrade? Is beta2 compatible with the document format of beta3? The preferences are compatible too (but this is not a problem because I have zipped my old preferences folder before installing beta3)? The beta3 file format is different from the beta2 format. So you'd have to use lyx2lyx to convert any file you saved with beta3. This is less complicated than it sounds. Save the lyx2lyx directory from the beta3 version before you uninstall it. Then after you reinstall beta2, copy that directory into place. It's just python so text files, so this will work. I think. Worst case, you can run lyx2lyx from the command line to do the conversion. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX 2.4, Beta 3
A new beta of LyX 2.4 has been released. Source code and binaries for Windows and OSX can be found here: http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/ Please report any bugs either using our bug tracker or else by sending an email to lyx-de...@lists.lyx.org We hope to proceed to a release candidate in the near future. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Time stamp is off
On 6/19/23 15:30, R. H. van der Gaag wrote: On 19 Jun 2023, at 18:46, Richard Kimberly Heck wrote: On 6/19/23 09:36, R. H. van der Gaag wrote: Thanks for checking. Insert date gives the correct (Dutch) time here, too. But the time stamps added to the LaTeX preview are always exactly two hours behind. A riddle. Two hours behind sounds like UCT (GMT). European time is one hour ahead but then another hour for daylight savings. I suspect that your system clock is set for UCT, which is what LaTeX is picking up. I've had similar problems on a Windows system. My macOS preferences say "Central European Summer Time" and in the terminal I get rh@iMac ~ % date Mon Jun 19 21:27:10 CEST 2023 It remains a mystery, then, where LyX or LaTeX gets its UCT/GMT time from. Should I worry about this possibly messing up sync? Sync has been the problem for me. But if you're not seeing a problem, I wouldn't worry about it. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Time stamp is off
On 6/19/23 09:36, R. H. van der Gaag wrote: Thanks for checking. Insert date gives the correct (Dutch) time here, too. But the time stamps added to the LaTeX preview are always exactly two hours behind. A riddle. Two hours behind sounds like UCT (GMT). European time is one hour ahead but then another hour for daylight savings. I suspect that your system clock is set for UCT, which is what LaTeX is picking up. I've had similar problems on a Windows system. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: open old LyX format fails
On 6/15/23 08:55, Herbert Voss wrote: Am 15.06.23 um 14:40 schrieb Scott Kostyshak: with lyx2lyx my.lyx I get a converted LyX file with LyxFormat 613. But reading this file with LyX 2.4 it stops the input at \begin_inset CommandInset ref nolink "false" LatexCommand ref reference "abb1-1" \end_inset If you manually remove that chunk in a text editor, does LyX 2.4 then open it? At the first try to open that file I get always the error message "incompatible command". The second try (_without_ restarting lyx) has the same problem with the _next_ "CommandInset ref" whereas the "CommandInset label" are ok. Sorry to hear about this, Herbert. Can you send me the original file and the converted one? Privately? I should be able to find the problem. The code looks right as is. Something is fishy. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: I don't understand this
On 6/12/23 16:08, Herbert Voss wrote: Am 12.06.23 um 21:49 schrieb Udicoudco: On Mon, Jun 12, 2023 at 8:32 PM Herbert Voss wrote: No, because unicode-math loads amsmath by default which defines \mathbb \mathbb isn't defined in amsmath, but in amsfonts, which should not be used with unicode-math (and as a consequence, neither amssymb should be used with unicode-math). sure ... If you _only_ load unicode-math the \mathbb is defined. So, Herbert, let me ask: Is there anything we can really do here to help the user? Or is this just how things are? I've gotten used to it, but it is a bit annoying. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: I don't understand this
On 6/12/23 07:59, Herbert Voss wrote: Am 12.06.23 um 13:47 schrieb Scott Kostyshak: On Mon, Jun 12, 2023 at 02:28:50PM +0300, Udicoudco wrote: On Mon, Jun 12, 2023 at 11:04 AM Scott Kostyshak wrote: On 2023-06-10 21:49, Richard Kimberly Heck wrote: It's because the 'blackboard' font is quite limited (to ASCII caps, I think). If you type characters not present in that font, you get weird results. With modern math fonts (open type) the range of 'blackboard' characters is wider, and it includes small latin letters, and arabic numerals as well. In this case, LyX creates the corresponding LaTeX code "$\mathbb{0}$", which is valid LaTeX. It is true that the output is counter-intuitive. I'm not convinced we should do anything here. With unicode-math, "$\mathbb{0}$" should be rendered as "ퟘ" (U+1D7D8), with unicode-math it should be $\Bbbzero$ Sounds like a bug, then. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: I don't understand this
On 6/10/23 02:17, Daniel wrote: On 2023-06-10 05:54, Tom Goldring wrote: If I put in the [\mathbb] "R" followed by _\aleph_0, the R and the aleph show up correctly, but the zero (the subscript of the aleph) shows up as a different character (I think it's the character that's used in formal logic to mean something like "is not a proof of"). I do not know why it is showing different symbols. It's because the 'blackboard' font is quite limited (to ASCII caps, I think). If you type characters not present in that font, you get weird results. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: bottom posting question
On 4/27/23 17:55, John White wrote: I use lyx exclusively in my law practice. I like this list but find reading through the lyx posts in order to get to the bottom tiring. Perhaps,while sticking to bottom posting, the sender of a replying email should be encouraged to delete a portion of the prior text no longer necessary, keeping enough to maintain context? This would speed up browsing by those lurking around (like me) without violating the bottom posting requirement. Yes, I agree that it's good list etiquette to delete bits one doesn't need. I tend to favor Ctrl-End, though, when reading the list, and that's usually pretty quick. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Advanced text editing commands
On 4/27/23 14:54, R. H. van der Gaag wrote: I would like to be able to select, change, and delete around a word and a sentence, like I can in Vim. Can you explain in more detail how that works? And to do a ‘light speed’ jump to any part of the visible text by typing some shortcut and then typing the first two letters of the word I want to jump to; in Vim, and in Obsidian (using a plugin) the matches are then marked with a letter, and hitting that letter takes me there. Something like this could be possible. A first step would be to have a 'mark all matches' sort of functionality for find. Then we'd need the ability to restrict a find to the start of a word. (You could do that with the 'advanced' find feature, which permits regular expressions, too.) Then one could add the matches to the outliner and figure out some way to make the 'hitting a letter' thing work. It's doable, but would take work. Perhaps you could file an enhancement request? On top of that, going back and forward through the locations where my cursor has been placed, This actually does not sound hard. We would just need (a) to save these locations and (b) to make it possible to iterate through the list via some LFUNs. and like you say, persistent undo would be wonderful. I've initiated some discussion of a related bug. If we could fix that one, then probably it would not be hard to save the undo stack. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Advanced text editing commands
On 4/27/23 12:41, Scott Kostyshak wrote: Out of curiosity, do the emacs users on this list actually use emacs.bind? I think Andre did, and maybe one of the other developers does? Enrico? Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Advanced text editing commands
On 4/27/23 10:57, Scott Kostyshak wrote: I imagine Emacs users have similar desires to use Emacs features in LyX. In the case of Emacs, there is the file emacs.bind, which implements some of the Emacs key bindings. The problem with vi is the modes, which would take work to implement. But you could certainly implement some kind of 'trigger' keystroke (something you don't use much, say the pipe), and then implement some vi key bindings as key sequences. I.e., in effect the pipe would 'switch modes' momentarily. This would not work well for character-type navigation, but for other commands it might work. It may be that the things some key bindings do is not yet implemented. But you can do a lot with sequences of LyX commands (via the command-sequence LFUN). Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Advanced text editing commands
On 4/27/23 03:13, R. H. van der Gaag wrote: Having come from Vim and Obsidian, I find I miss a number of ‘advanced’ text editing commands, like jumping to a particular place in the text with just a few keystrokes, Such as? or selecting a sentence. I don't know how easy this would be to do in a multi-lingual way. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Some questions on automatically completion in lyx.
On 4/21/23 19:06, Hongyi Zhao wrote: On Saturday, April 22, 2023, Richard Kimberly Heck wrote: On 4/20/23 20:54, Hongyi Zhao wrote: On Friday, April 21, 2023, Richard Kimberly Heck wrote: On 4/20/23 01:03, Hongyi Zhao wrote: 2. How can I enable the normal text completion, say, when I type `coun`, then all the possible words with such prefix should be triggered to display in a popup window. The possible completions are taken from the documents you have open. You activate it under Tools> Preferences> Editing> Input Completion. There are options there to control how long it takes until the popup appears, etc. If you set the inline completion delay to, say, 1 sec, then hitting Tab will show the popup. This is all in the User Guide, section 2.7. But I want to do the completion from a dictionary file on the disk without opening it, is this possible? No. You can file an enhancement request if you wish. Where should I file an issue? Also on this list? Bug tracker: https://www.lyx.org/trac/newticket You'll need to register first. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Some questions on automatically completion in lyx.
On 4/20/23 20:54, Hongyi Zhao wrote: On Friday, April 21, 2023, Richard Kimberly Heck wrote: On 4/20/23 01:03, Hongyi Zhao wrote: 2. How can I enable the normal text completion, say, when I type `coun`, then all the possible words with such prefix should be triggered to display in a popup window. The possible completions are taken from the documents you have open. You activate it under Tools> Preferences> Editing> Input Completion. There are options there to control how long it takes until the popup appears, etc. If you set the inline completion delay to, say, 1 sec, then hitting Tab will show the popup. This is all in the User Guide, section 2.7. But I want to do the completion from a dictionary file on the disk without opening it, is this possible? No. You can file an enhancement request if you wish. The easiest thing to do for now would be to open that file in LyX. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Some questions on automatically completion in lyx.
On 4/20/23 01:03, Hongyi Zhao wrote: 2. How can I enable the normal text completion, say, when I type `coun`, then all the possible words with such prefix should be triggered to display in a popup window. The possible completions are taken from the documents you have open. You activate it under Tools> Preferences> Editing> Input Completion. There are options there to control how long it takes until the popup appears, etc. If you set the inline completion delay to, say, 1 sec, then hitting Tab will show the popup. This is all in the User Guide, section 2.7. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Bulk changing environments in Lyx
On 4/18/23 12:18, Jean-Marc Lasgouttes wrote: Le 18/04/2023 à 18:11, Dr Paul Verschueren a écrit By what do you want to replace your paragraphs/subparagraphs? JMarc Not sure yet, as I need to experiment to find what looks best. However possibilities are Subsubsection and SpecialSection. Worst case, Standard. My biggest immediate concern is to get rid of all the compilation errors. Thanks Paul You could try, in Document Settings>Local Layout, something like Style Paragraph ObsoletedBy SubsubSection End Style SubParagraph ObsoletedBy SpecialSection End If I am not mistaken, this will not override the value in your document, but change it on the fly. Alternatively, you can just open the LyX document in a text editor (Notepad, whatever) and do a search and replace. I.e., search for "\begin_layout Paragraph" and replace it with "\begin_layout Subsubsection". Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Non-unicode, user-defined chars not appear in Lyx editor since version 2.1.1
On 4/15/23 08:37, Márton Payer wrote: Dear Developers & Users! I'm a Windows user. Since the version of 2.1.1, probably due to the transition to the new Qt version, my custom font, designed with Fontforge, with several self-made character, not appear in the editor, except, the original chars. And if I paste text e. g. from notepad, after copy this text from Lyx and paste in an other textfile, the self-made chars aren't in the pasted text. In other Windows notepads and editors mostly this failure isn't exist (This error already exist at Win 7, now I use Win 10). In my portable Lyx 2.1.1, in Win 10, this error doesn't exist. If possible, I wish I could use a binary version for install the latest versions too without this failure. Are you sure you have the right LyX version there? Lyx 2.1.1 was a long time ago. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users