Insert cross-reference shortcut
You can make a shortcut for inserting a label, but I did not find a way to do it for inserting a cross-reference, so every time I have to use mouse to click on the toolbar. Any suggestions? LyX 2.3.7 (2023-01-01) -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: After-preamble with polyglossia
On Tue, 09 Apr 2024 08:01:03 +0200 "Jürgen Spitzmüller" wrote: > Am Dienstag, dem 09.04.2024 um 00:17 +0300 schrieb Folsk Pratima: > > \addto\captions{% > > \renewcommand{\figurename}{I LOVE LYX}% > > } > > > > does not work after \begin{document} and there is no way to put it > > after \usepackage{polyglossia}. I am enraged! > > \AtBeginDocument{ > \addto\captions{% > \renewcommand{\figurename}{I LOVE LYX}% > } > } > To be very honest I remembered the \AtBeginDocument thing when I cooled down a bit it the bed :P Thank you anyway. Maybe this will be useful for somebody in some distant future... -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
After-preamble with polyglossia
\addto\captions{% \renewcommand{\figurename}{I LOVE LYX}% } does not work after \begin{document} and there is no way to put it after \usepackage{polyglossia}. I am enraged! LyX 2.3.7 (2023-01-01) Should I compile whatever is the latest version to fix this? It feels so dumb to handcraft a file with LyX to end up compiling it with xelatex on command line, because LyX does not allow me to mess with polyglossia! Sorry if missed some info I am very angry and I want to sleep and I still have not finished with my documents. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Search and replace in selection only
On Tue, 5 Dec 2023 05:39:38 -0800 (PST) Rich Shepard wrote: > On Tue, 5 Dec 2023, Folsk Pratima wrote: > > > The subject. LyX Version 2.3.7. Any luck in newer versions? > > Have not before had any issues with current version 2.3.6.1. > > Thanks, > > Rich > > Can you please explain me how to do it then? What I do is select some text and then use the Find and Replace (Quick) feature and LyX just goes on replacing through the rest of the document as well. This is frustrating. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Search and replace in selection only
The subject. LyX Version 2.3.7. Any luck in newer versions? -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Color scheme for dark themes.
Whoever thinks it's a good idea to print black letters on dark grey background is dead wrong. Tested on Adwaita Dark and High Contrast Inverse. Is it fixed in newer versions of LyX? Mine is LyX 2.3.7 (2023-01-01). -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Debian 12 and Lyx 2.3.7-1
On Sun, 5 Nov 2023 15:58:50 + Peter wrote: > Thanks for all the suggestions. I have tried lots of window managers > now and come to the end of time and energy. Need to get on with the > work and stop tinkering. I've created a new user and tried with that > - didn't help. I haven't found a different window manager I can live > with that will run Lyx. ICEWM is the closest. I'll make one more > effort, create a VM and try a clean Debian install, and if it works, > use that. And if that doesn't work, go back to Open Office. Not > great, but it can be made to do the job. > > I'm starting to suspect it may have something to do with Wayland. Or > it could be NVidia as Steve suggests, at this point its beyond me. I > have looked at Kile and Texworks but they both (esp Texworks) are a > project in themselves to learn. That was so nice about Lyx, I could > just write, structure and then export. It was great while it lasted. > > > Just to reply on FLWM, I had tried the crystal version. So next tried > the base version. The base version does load but with lots of error > messages which makes me nervous. But I can't do with FLWM as my WM. > > The second time I've been snookered by using a rather specialist > authoring tool. The other was Scrivener, which was great - until they > dropped Linux! > > I'll give a new Debian VM a try and then have to give up. > > Peter Man, if you really care so much about your favourite window manager you /really/ can just go to http://lists.lyx.org/pipermail/lyx-devel/2023-November/011000.html and actually help developers to address this issue with fluxbox. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Debian 12 and Lyx 2.3.7-1
On Sat, 4 Nov 2023 15:26:11 +0100 Eckhard Höffner wrote: > Well, if does not run with LXQT, there are some other problems. > Create a new user with no configuration and try it. If it works, you > have to look in your home directory, probable .confid or .local. > > Eckhard Höffner > von meinem Mobilfunkgerät gesendet > > Folsk Pratima schrieb am Sa., 4. Nov. 2023, > 15:14: If this mail is for me (///folsk0prat...@cock.li///, see the From field), then you could probably elaborate, because I do not understand what you are trying to say. I did not follow your 'best window manager / desktop environment 2023' discussion, I just want to inform everyone interested that I have tried launching LyX under FVWM and it started successfully, generated a PDF file and exited with zero (->0<-) SIGSEGV signals. I do this because OP have said that LyX does not work 'properly' under FVWM, which I can not interpret in any other way than 'LyX crashed under FVWM', which I am unable to reproduce. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Debian 12 and Lyx 2.3.7-1
On Sat, 4 Nov 2023 15:26:11 +0100 Eckhard Höffner wrote: > Well, if does not run with LXQT, there are some other problems. > Create a new user with no configuration and try it. If it works, you > have to look in your home directory, probable .confid or .local. > > Eckhard Höffner > von meinem Mobilfunkgerät gesendet If this reply is for me (///folsk0prat...@cock.li///, see the From field), then you could probably elaborate, because I have no idea what you are trying to say. I did not follow your 'best window manager / desktop environment 2023' discussion, I just want to inform everyone interested that I tried launching LyX under FVWM and it started successfully, generated a PDF file and exited with zero (->0<-) SIGSEGV signals. I do this because OP states that LyX does not work 'properly' under FVWM, which I can not interpret in any other way than 'LyX crashed under FVWM'. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Debian 12 and Lyx 2.3.7-1
On Thu, 2 Nov 2023 08:27:44 + Peter wrote: > OK, tried installing LXQT, and Lyx still has problems. As it does on > Fluxbox even after LXQT is installed. I also tried FVWM and that > doesn't work properly either. But ICEWM and MATE both are fine. So > it seems to be something in Lyx and its definitely not just Fluxbox. > > Its very easy to go to another WM in Fluxbox, its just a menu item > and it switches on the fly, so I shall make do with that for now, > switch to ICE when using Lyx, and hope the next release fixes it. I > don't want to move as a regular thing from Fluxbox, its so easy and > uncluttered, I've customized it to my taste, and its been interesting > trying the other WMs because of this, I don't like any of them > compared to Fluxbox. Maybe I3. > > I wondered could it be the display manager, but it works with ICE > using the current one which seems to exclude that. Can not confirm FVWM issue. Works just fine. A reminder that I use the same OS and thus the same version of all packages as you. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Debian 12 and Lyx 2.3.7-1
On Wed, 1 Nov 2023 12:19:15 + Peter wrote: > Yes, its definitely Fluxbox. I installed ICEWM, and Lyx loads > perfectly in it too. What an annoyance! > > Peter See here: http://lists.lyx.org/pipermail/lyx-devel/2023-November/010995.html You might want to participate. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Debian 12 and Lyx 2.3.7-1
On Wed, 1 Nov 2023 08:47:18 + Peter wrote: > QFactoryLoader::QFactoryLoader() checking directory path > "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" ... > QFactoryLoader::QFactoryLoader() looking at > ... The irony is that your debug log is like mine minus qt5ct plus some KIconEnginePlugin, so it does not look like there are any errors. Except I'm not a developer as well, so I may well be wrong. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Debian 12 and Lyx 2.3.7-1
:'( -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Debian 12 and Lyx 2.3.7-1
See here: http://lists.lyx.org/pipermail/lyx-users/2023-November/005981.html Something went wrong and I created a new thread... -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Debian 12 and Lyx 2.3.7-1
Sorry, no idea why this went to a separate thread... -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Debian 12 and Lyx 2.3.7-1
On Tue, 31 Oct 2023 09:31:13 + Peter wrote: > Hi, I have just upgraded to Debian 12 and find Lyx will not load. In > addition, trying to load it seems to crash xorg, so the only way out > is to reboot. I was going to post the slew of error messages from > the terminal, but as soon as I opened Claws the display became > unusable. Moving the cursor led to a broad black line across the > display, and clicking no longer worked. > > I have tried starting Lyx from the terminal as a different user, and > I get this: > > [different user]:~$ lyx > qt.qpa.xcb: could not connect to display > qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even > though it was found. This application failed to start because no Qt > platform plugin could be initialized. Reinstalling the application may > fix this problem. > > Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, > offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, > wayland-xcomposite-glx, xcb. > > I have checked, and xcb is installed. > > Any suggestions? Should I try to revert to an earlier version, which > worked just fine under Debian 11, and if so how would one do that? I > have tried reinstalling as suggested above, but it makes no > difference. > > What happens on launch is that a large window with no borders comes > up. The Lyx starting logo is in the middle. But there is no > toolbar, neither right nor left clicks work either. > > This is Debian 12 with fluxbox. > > Any help gratefully received. I can try running debug if anyone > knows what flags to use and what to look for. > > Peter I did not upgrade from Debian 11, but made a clean install and Lyx works just fine, so it is problem with your upgrade. AFAIK it is common for X to break on Debian upgrade. Sorry, I am not going to be much help but if you are really desperate you could try doing something nuclear like ``` dpkg-query -f '${Package} ${db:Status-Status}\n' -W '*xorg*' -W '*gtk*' -W '*qt*' | awk '/ installed$/' ``` and deleting all (or most) of the packages. It will be a bit of a hassle to install them all again especially if your installation is big, but it *might* fix you problem. Also, a tiny bit of lurking: https://stackoverflow.com/questions/67272188/debian-10-qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-eve I assume it's not likely "$DISPLAY" is missing, but maybe really some xcb libraries got deleted during upgrade? Are other qt applications working? You can also `apt purge lyx` and then install in again... You can also `strace lyx > ~/tmp/trace 2>&1` and then skim trough it after reboot, but believe me that's not going to be pretty. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Integral sign
On Tue, 17 Oct 2023 09:29:41 +0200 Herbert Voss wrote: > If you want this style also for the inline mode then write as first > math command \displaymath Are you sure it's '\displaymath'? The thing does not work for me out of the box. Maybe you meant '\displaystyle'? -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX generated preamble package loading order.
On 04/08/2023 11:07, Scott Kostyshak wrote: On Fri, Aug 04, 2023 at 10:27:28AM +0300, Folsk Pratima wrote: Then there is still a question as to why the declared module does not do what it is supposed to do? Or do you think I should create a different thread for this question? Could you please attach a simple example .lyx file? Thanks, Scott *customTitles.module* is the aforementioned module. I put it in *~/.lyx/layouts*, because I am not sure if putting it in Document -> Settings -> Local Layout would be correct. *example.lyx* is the file you request. #\DeclareLyXModule[titlesec.sty]{Custom Titles} #DescriptionBegin #Adds titlesec package functionality to redefine appearance #of existing titles, such as \section{} or \paragraph{} #DescriptionEnd Format 66 Style ModulePleaseWork CopyStyle Quotation End example.lyx Description: application/lyx -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX generated preamble package loading order.
/On Thu Aug 3 13:42:06 UTC 2023///, *Pavel Sanda* wrote: >I am afraid you will need to use the hackish solution. >https://www.lyx.org/trac/ticket/5366 Then there is still a question as to why the declared module does not do what it is supposed to do? Or do you think I should create a different thread for this question? As far as I understand from reading LyX Customization manual it seems to me that the .module files exist exactly for the purpose of user declared modules. I assumed that I need to "trigger" LyX to use my module, so I modified it as shown at the end of this message. I then used the style in my document. The resulting LaTeX code it there as well. As you can see, no *titlesec* at all. /On Thu Aug 3 15:08:25 UTC 2023/, *Kornel Benko* wrote: >Maybe a local format containing > > Format 104 > Provides hyperref 1 >helps? Not really. Because I can disable *hyperref* support in Document -> Settings -> PDF Properties as well, with pretty much the same result. The "hackish" part about this is that I have to enable *hyperref* support, then look up the generated code in the preamble, copy it to my custom preamble and then disable it again. I do not consider this to be a lot of trouble, because you are likely to only do it once, yet it seems to me we could have a cleaner solution. Module source code: #\DeclareLyXModule[titlesec.sty]{Custom Titles} #DescriptionBegin #Adds titlesec package functionality to redefine appearance #of existing titles, such as \section{} or \paragraph{} #DescriptionEnd Format 66 Style ModulePleaseWork CopyStyle Quotation End Generated LaTeX code: % Preview source code %% LyX 2.3.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \begin{document} \begin{quotation} Module please work! \end{quotation} \end{document} -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX generated preamble package loading order.
LyX generated preamble package loading order. Greetings. Debian 11. LyX 2.3.6 (2020-11-27). I want to use *titlesec* package in my document. However, if it is loaded /after/ *hyperref* package, it causes inconsistent behavior. For example, ToC entries might point to wrong places. One solution to this problem is loading *hyperref* manually, however, I think of this as of a hack. Is it possible to somehow make *titlesec* to be loaded before *hyperref*? I tried to declare a .module, but it failed. The module code is listed at the end. The module appears in Document -> Settings -> Modules, however, loading it does not cause the \usepackage{titlesec} to be added to preamble. I tried using AddToPreamble block, however, its contents come after *hyperref* is loaded. #\DeclareLyXModule[titlesec.sty]{Custom Titles} #DescriptionBegin #Adds titlesec package functionality to redefine appearance #of existing titles, such as \section{} or \paragraph{} #DescriptionEnd -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users