Re: How to increase contrast of scrollbar
> As far as I understand the culprit here is the Application Style, what > happens if you change that to, say, "Breeze Dark"? > Thanks for that advice. You're right that the Application Style is what controls the scroll bar colour, but I like Fusion because the horizontal icon bars take up less vertical space which gives more space for the LyX document. Is there a way to tweek just the scroll bar colour in a Fusion configuration file somewhere? -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How to increase contrast of scrollbar
> LyX follows the global theme. > Which theme are you using? The default in KDE plasma is "Breeze" and > the scrollbar is visible. > I'm using the following: - Global Theme: Breeze Twilight - Application Style: Fusion - Plasma Style: Breeze Dark - Colours: Breeze Light - Window Decorations: Plastik KDE's program okular has the same invisible scroll bar as LyX. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
How to increase contrast of scrollbar
Hello, How can I increase the contrast of the scrollbar in LyX? In the image below the left scroll bar is from Brave and the right from LyX. The LyX scroll bar is barely visible against the background. [image: image.png] Thanks, Paul I'm using the following versions: LyX Version 2.3.7 Qt Version (run-time): 5.15.8 on platform xcb Qt Version (compile-time): 5.15.7 running on Operating System: Kubuntu 23.04 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.0-27-generic (64-bit) Graphics Platform: X11 -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Success of LyX to dvi depends on file paths
> >Yes, I tried that already. This is what it shows: > > > >This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live > >2022/dev/Debian) (preloaded format=latex) > > Can pdfTeX even make a .dvi? I thought pdfTeX skips the .dvi step and > goes right to PDF. > Yes, it can. I can produce a pdf file using "Document > View > PDF (pdflatex)" > Anyway, stuff like this is why I use shellscripts to compile my LyX > files. I think they're called "batch files" or "powerscripts" in > Windows. Compiling with shellscripts, I'm not beholden to LyX' current > settings, and it's a lot easier to debug a shellscript. > I'm using Linux. I've never used shell scripts to process LyX files. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Success of LyX to dvi depends on file paths
On Fri, 24 Mar 2023 at 01:58, Paul Stansell wrote: > Is there a way to have LyX report exactly what commands it's executing as > it processes the .lyx file? > I ran with lyx -dbg debug but it didn't give any useful information on LyX's attempt to convert the png file to an eps file. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Success of LyX to dvi depends on file paths
Is there a way to have LyX report exactly what commands it's executing as it processes the .lyx file? -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Success of LyX to dvi depends on file paths
> > Have you tried launching LyX from a terminal? You might get some useful > error messages that way. > Yes, I tried that already. This is what it shows: This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2022/dev/Debian) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./broken_fig_in_subdirectory.tex LaTeX2e <2021-11-15> patch level 1 L3 programming layer <2022-01-21> support/Systemcall.cpp (276): Systemcall: 'latex "broken_fig_in_subdirectory.tex"' finished with exit code 1 > One possibility is some weird permissions problem. Are you using SE Linux? > No, I'm not using SE Linux. Using generic names, the file combination that doesn't process is ~/path1/path2/file.lyx ~/path1/path2/dir1/dir2/file.png were file.lyx reads dir1/dir2/file.png However, if I move the png file to be in the same directory as the lyx file with cd ~/path1/path2 mv dir1/dir2/file.png file.png and edit the lyx file to read the moved file.png, this new combination processes fine. Also, if I create a symbolic link like this cd ~ ln -s ~/path1/path2 ~/path2 the original file.lyx that reads dir1/dir2/file.png processes fine. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Success of LyX to dvi depends on file paths
On Fri, 24 Mar 2023 at 01:29, Richard Kimberly Heck wrote: > On 3/23/23 21:21, Paul Stansell wrote: > > Hello, > > > > I have a very strange problem in which the successful processing of a > > simple LyX file to a dvi file depends on the location of the LyX file > > and the location of the png image file it contains. If I move either > > the LyX file or the png file to different directories the files > > process correctly to a dvi file. > > Is there anything odd about the directory name? Spaces? Non-ASCII > characters? Some of the utilities LyX uses might not like those. > No, nothing at all. I even zipped up the offending files into a tar file so I could attach it as an example, but when I tested it by untaring the files in /tmp, instead of in my home directory, everything worked fine. In that case all the path names were identical except that of my home directory. It's very strange. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Success of LyX to dvi depends on file paths
Hello, I have a very strange problem in which the successful processing of a simple LyX file to a dvi file depends on the location of the LyX file and the location of the png image file it contains. If I move either the LyX file or the png file to different directories the files process correctly to a dvi file. I'm trying to track down the cause of the problem. If I look in the LyX temporary directory, eg, /tmp/lyx_tmpdir.../lyx_tmpbuf0, it seems that the png file is not being converted to an eps file for the problematic path names (the eps file in the /tmp/lyx_tmpdir.../lyx_tmpbuf0 has zero size). This is causing LaTeX to fail, and then LyX to fail. I think the problem is associated with a recent update of deb packages for imagemagick-6-common and libimage-magick-perl as everything worked fine a few days ago before the update. However, if I navigate into the /tmp/lyx_tmpdir.../lyx_tmpbuf0 directory I can run convert long_file_name.png long_file_file.eps to successfully create an eps file from the png file, so I've no idea why convert seems to be failing when it's run by LyX. Can anyone suggest how I might be able to find the root of the problem. Thanks, Paul PS. I'm using Kubuntu 22.04 TLS and LyX Version 2.3.6 with Qt Version (run-time): 5.15.3 -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Setting default language to British English
> > I realise that I can fix it on the TeX side by adding the following line > to the TeX file I'm importing: > > \usepackage[british]{babel} > > but I'd like to fix it on the LyX side if possible. > Actually, that doesn't work either. The import seems to set the languages as I want them, but when I try to process the file LyX gives an error because the TeX file it creates contains the following: \documentclass[10pt,english]{article} \usepackage[british, english]{babel} That is, if LyX imports a TeX file containing \documentclass[10pt,a4paper]{article} \usepackage[british, english]{babel} it exports it with \documentclass[10pt,english]{article} \usepackage[british, english]{babel} which causes this LaTeX error: LaTeX Error: Option clash for package babel. The exported TeX file is also missing the a4paper option. Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Setting default language to British English
Hello again, Richaro's suggestion hasn't completely fixed my problem after all. If I import a TeX file that has no language specified, the document language set in the LyX file is set to "English". Is there a way I can have the document language automatically set to "English (UK)"? I realise that I can fix it on the TeX side by adding the following line to the TeX file I'm importing: \usepackage[british]{babel} but I'd like to fix it on the LyX side if possible. Thanks, Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Setting default language to British English
Hello Ricardo, In the lower part of the document settings window there is a "Save as > default" button. Any change you made to the Document → Settings will be set > as default for any new document. > That fixed the problem. I can see that clicking on that "Save Document as Default" button writes a file to ~/.lyx/templates/defaults.lyx and that file includes the line "\language british". Thanks, Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Setting default language to British English
Hello, I'm struggling to have LyX start with the default language set to British English. I can set the language of an already-open document to British English by setting the following: Document > Settings > Language > Language: English (UK) but I can't work out how to make British English be the default for a new document. I tried following the suggestions at https://wiki.lyx.org/Tips/SettingLANG, but none worked for me. For example, if I have Tools > Preferences > Language Settings > User interface language: Default and I try to specify the language explicitly and start LyX with LANG=en_GB.UTF-8 lyx the default language is set to US English instead of British English. I also tried putting the following in my ~/.lyx/preferences file \default_language en_GB.UTF-8 but that didn't work either. I'm not sure if this is relevant, but I noticed that I can choose "English (UK)" once I open a document here Document > Settings > Language > Language: English (UK) but not before I open a new document here Tools > Preferences > Language Settings > User interface language: English as the only relevant choice I have is "English" Thanks, Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: More space for document
> On 1/13/23 15:04, Stephen Buonopane wrote: > > Yes, you can fully customize the toolbars > https://wiki.lyx.org/LyX/UserInterface > > It’s been a long time since I have done it, but I recall it was just > editing some text files. > > Yes, that's right. It's all text files. > > Short version: Copy the toolbars file from LYXLIB/ui/stdtoolbars.inc to > HOMELIB/ui/stdtoolbars.inc, then edit that file. Here, LYXLIB is your > 'system library' directory and USERLIB is the user library. Both of these > can be found from Help> About LyX. The local file will then be loaded > instead of the system file. The syntax should be relatively clear. Ask if > not. See Help> LyX Functions for all the different functions you can assign > to buttons, etc. > > You can both modify the standard toolbars this way and create new > toolbars. You can also do this with menus (stdmenus.inc) and context menus > (stdcontext.inc). > > Riki > Riki, Just to say that I finally got around to creating a custom toolbar. I was very straightforward. Thanks for explaining it. Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: QT configuring troubles
On Fri, 13 Jan 2023 at 22:02, Гаража Илья wrote: > Hello! > I tried to compile a new 2.3.7 version of the Lyx on Ubuntu 22.04. But i > have no idea why this error message appear. There is config.log. > > My main reason why I try to compiling, but not using apt-get install, is > that Lyx doesn't enable me to use Russian spellchecker (hunspell). But I > know that hunspell is installed correctly. That's why I want to compile it > manually (using "--with-included-hunspell" flag). > > It would be great to get help about troubleshooting or persons who can > help me with. > Hello Гаража, I just installed LyX 2.3.6 on Ubuntu 22.04 LTS using apt and the standard package repository. Initially I could not work out how to use hunspell, but I eventually discovered the following fix that worked for me: cd /usr/share/enchant-2 cp enchant.ordering enchant.ordering_orig emacs enchant.ordering diff enchant.ordering_orig enchant.ordering 2,5c2,5 < en_AU:aspell,hunspell,nuspell < en_CA:aspell,hunspell,nuspell < en_GB:aspell,hunspell,nuspell < en_US:aspell,hunspell,nuspell --- > en_AU:hunspell,aspell,nuspell > en_CA:hunspell,aspell,nuspell > en_GB:hunspell,aspell,nuspell > en_US:hunspell,aspell,nuspell This change gives hunspell a higher precedence than aspell, so it's used by LyX. Also, in Tools > Preferences > Language Settings > Spellchecker, set the "Spellcheck engine" to "Enchant". Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: More space for document
On Fri, 13 Jan 2023 at 18:44, Richard Kimberly Heck wrote: FYI, Paul, there's also a full screen mode in LyX (which I think Pavel > implemented), if you really want more space. > I didn't know about that either (I'm learning so much from the answers to my simple question). It would be nice is to be able to fully customise the toolbars, then I could add just the icons I use regularly, which would easily fit in a single row. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: More space for document
On Fri, 13 Jan 2023 at 15:47, Pavel Sanda wrote: > On Wed, Jan 11, 2023 at 07:47:49PM +0000, Paul Stansell wrote: > > Thanks for that info. After a little reading, I can't find a simple way > to > > slightly edit the theme I'm using. > > One way how to select the theme you want is to use commandline parameter > -style, e.g: > $ lyx -style=Fusion > > The problem might be that ubuntu installs only limited set of styles > (I see only Fusion and Windows styles on Debian). > But maybe windows style might serve your purposes well. > > Pavel > Pavel, your suggestion has helped a lot, thanks. Interestingly, there is no mention of the "-style" option in either "man lyx" or "lyx -help" -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: More space for document
> > Hello, > > I suspect that the difference is the theme that Ubuntu and CentOS7 use. > Normally, Qt (and thus LyX) respect this. > > JMarc > Thanks for that info. After a little reading, I can't find a simple way to slightly edit the theme I'm using. There are a number of theme and style configurations available in the KDE settings, but none seem to do what I want. I'm not sure if it's relevant, but I have Brave browser installed using QT on both systems and the toolbars are the same (unlike on the LyX installations). -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
colour of \textrm{}
Hi, Can anyone tell me how I can change the colour of roman characters in \textrm{} in the maths environment. In lyx-1.3.1 (qt) their colour is not changed using Preference Look and feel Colors math (but their background colour is changed with Preference Look and feel Colors math background). Thanks for your help, Paul Stansell
Re: colour of \textrm{}
I've worked it out. If anyone's interested I did change mathed/math_support.C such that diff mathed/math_support.C mathed/math_support.C.orig 555c555 {textrm, LyXFont::ROMAN_FAMILY, inh_series,LyXFont::UP_SHAPE,LColor::math}, --- {textrm, LyXFont::ROMAN_FAMILY, inh_series,LyXFont::UP_SHAPE,LColor::black}, Regards, Paul Stansell
Re: colour of \textrm{}
I think that only changes the color of the display, not what's actually being printed. (And is not saved in lyx file, etc.) The Preferences-Colors dialog should do this, but doesn't as of 1.3 (xforms). Yes you are right. But I wanted to change the display colour because initially I had \textrm{} not showing up in my equations environment because it was black on black. You can change the screen colors by editing the preferences file. Most of the names of things that have colors aren't in the default, though. If you can't find them elsewhere, I could send you a copy of mine. Again yes, but there is no option to change \textrm{} in math environment, it's just always black. Paul Stansell
colour of \textrm{}
Hi, Can anyone tell me how I can change the colour of roman characters in \textrm{} in the maths environment. In lyx-1.3.1 (qt) their colour is not changed using Preference Look and feel Colors math (but their background colour is changed with Preference Look and feel Colors math background). Thanks for your help, Paul Stansell
Re: colour of \textrm{}
I've worked it out. If anyone's interested I did change mathed/math_support.C such that diff mathed/math_support.C mathed/math_support.C.orig 555c555 {textrm, LyXFont::ROMAN_FAMILY, inh_series,LyXFont::UP_SHAPE,LColor::math}, --- {textrm, LyXFont::ROMAN_FAMILY, inh_series,LyXFont::UP_SHAPE,LColor::black}, Regards, Paul Stansell
Re: colour of \textrm{}
I think that only changes the color of the display, not what's actually being printed. (And is not saved in lyx file, etc.) The Preferences-Colors dialog should do this, but doesn't as of 1.3 (xforms). Yes you are right. But I wanted to change the display colour because initially I had \textrm{} not showing up in my equations environment because it was black on black. You can change the screen colors by editing the preferences file. Most of the names of things that have colors aren't in the default, though. If you can't find them elsewhere, I could send you a copy of mine. Again yes, but there is no option to change \textrm{} in math environment, it's just always black. Paul Stansell
colour of \textrm{}
Hi, Can anyone tell me how I can change the colour of roman characters in \textrm{} in the maths environment. In lyx-1.3.1 (qt) their colour is not changed using Preference > Look and feel > Colors > math (but their background colour is changed with Preference > Look and feel > Colors > math background). Thanks for your help, Paul Stansell
Re: colour of \textrm{}
I've worked it out. If anyone's interested I did change mathed/math_support.C such that diff mathed/math_support.C mathed/math_support.C.orig 555c555 < {"textrm", LyXFont::ROMAN_FAMILY, inh_series,LyXFont::UP_SHAPE,LColor::math}, --- > {"textrm", LyXFont::ROMAN_FAMILY, inh_series,LyXFont::UP_SHAPE,LColor::black}, Regards, Paul Stansell
Re: colour of \textrm{}
> I think that only changes the color of the display, not what's actually > being printed. (And is not saved in lyx file, etc.) The > Preferences->Colors dialog should do this, but doesn't as of 1.3 > (xforms). Yes you are right. But I wanted to change the display colour because initially I had \textrm{} not showing up in my equations environment because it was black on black. > You can change the screen colors by editing the preferences file. Most of > the names of things that have colors aren't in the default, though. If > you can't find them elsewhere, I could send you a copy of mine. Again yes, but there is no option to change \textrm{} in math environment, it's just always black. Paul Stansell
reverse video eps figures etc.
Hi, When using lyx version 1.1.6fix2 with the preferences set to give white text on a black background the background of eps figures is also set to black so that I have black on black in the eps figures (because they are, typically, black on white when printed) making them invisible. This was not a problem in lyx version 1.1.2 where any black lines in the eps files where displayed white when the -reverse flag was used. I would also like to point out an inconsistency in that sometimes (in both v1.1.6fix2 and v.1.1.2) one or more of the eps files in a document may be displayed with a white background when most others have the same colour background as the text. So, can anyone please tell me how I can have a black text background and see the eps figures as either white on black or black on white when using v1.1.6fix2? Thanks for your help, Paul Stansell PS. I submitted a similar question to this mailing list on 14 Feb 2001 in relations to v1.1.6fix1 (I had no responses) and I'm still having the same problem with v1.1.6fix2.
reverse video eps figures etc.
Hi, When using lyx version 1.1.6fix2 with the preferences set to give white text on a black background the background of eps figures is also set to black so that I have black on black in the eps figures (because they are, typically, black on white when printed) making them invisible. This was not a problem in lyx version 1.1.2 where any black lines in the eps files where displayed white when the -reverse flag was used. I would also like to point out an inconsistency in that sometimes (in both v1.1.6fix2 and v.1.1.2) one or more of the eps files in a document may be displayed with a white background when most others have the same colour background as the text. So, can anyone please tell me how I can have a black text background and see the eps figures as either white on black or black on white when using v1.1.6fix2? Thanks for your help, Paul Stansell PS. I submitted a similar question to this mailing list on 14 Feb 2001 in relations to v1.1.6fix1 (I had no responses) and I'm still having the same problem with v1.1.6fix2.
reverse video eps figures etc.
Hi, When using lyx version 1.1.6fix2 with the preferences set to give white text on a black background the background of eps figures is also set to black so that I have black on black in the eps figures (because they are, typically, black on white when printed) making them invisible. This was not a problem in lyx version 1.1.2 where any black lines in the eps files where displayed white when the -reverse flag was used. I would also like to point out an inconsistency in that sometimes (in both v1.1.6fix2 and v.1.1.2) one or more of the eps files in a document may be displayed with a white background when most others have the same colour background as the text. So, can anyone please tell me how I can have a black text background and see the eps figures as either white on black or black on white when using v1.1.6fix2? Thanks for your help, Paul Stansell PS. I submitted a similar question to this mailing list on 14 Feb 2001 in relations to v1.1.6fix1 (I had no responses) and I'm still having the same problem with v1.1.6fix2.