Re: Flawed 2.3.6.1 upgrade
On Mon, 25 Jan 2021, Richard Kimberly Heck wrote: It looks as if you have a customized version of classic.ui here. Try deleting (or moving) it. It seems as if it must have some strange characters in it. Riki, It used to work but apparently no longer. And, ... removing ~/.lyx/ui/classic.ui allows lyx to load (version 2.3.6 restored from incremetal backup of a day a couple of weeks ago. The font is still small and changing the background color and reconfiguring doesn't change the color. FWIW, a visual 'busy' indicator while the application's reconfiguring would be really useful. It's working well enough now to be used. I'll futz with font size and changing the too-bright white background as time permits. Thanks for your help. Stay well, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Flawed 2.3.6.1 upgrade
On 1/25/21 2:04 PM, Rich Shepard wrote: > On Mon, 25 Jan 2021, Richard Kimberly Heck wrote: > >> That is very odd. Assuming you had 2.3.6 installed before, the changes >> were very minimal. Maybe there's been a change to the Qt version that >> the build pulled in. > > Riki, > > Yes, it is. Installed here is qt5-5.12.8; I don't recall when that was > installed relative to lyx-2.3.6. > >>> First, the fonts on the menu, toolbar, outline pane and other main >>> window >>> widgets shrank. They're too small for me and I didn't find where to >>> enlarge >>> them under Tools->Display fonts. >> >> I believe the WM or Qt configuration tool controls that. > > Perhaps; I'll check both. > >> Run LyX from a terminal and see what error messages you get. The file >> must not be loading properly. > > That's for certain: > $ lyx > Traceback (most recent call last): > File "/usr/share/lyx/scripts/prefs2prefs.py", line 202, in > main(sys.argv) > File "/usr/share/lyx/scripts/prefs2prefs.py", line 167, in main > lines = read(source) > File "/usr/share/lyx/scripts/prefs2prefs.py", line 52, in read > lines = source.read().splitlines() or [''] > File "/usr/lib64/python2.7/codecs.py", line 314, in decode > (result, consumed) = self._buffer_decode(data, self.errors, final) Something weird is going on here. This is some kind of encoding error. > LookupError: unknown error handler name 'surrogateescape' > filetools.cpp (1221): Could not run file conversion script > prefs2prefs.py. > GuiApplication.cpp (3119): Unable to convert > /home/rshepard/.lyx/ui/classic.ui to format 4. > GuiApplication.cpp (3126): Unable to read UI file: > /home/rshepard/.lyx/ui/classic.ui It looks as if you have a customized version of classic.ui here. Try deleting (or moving) it. It seems as if it must have some strange characters in it. > Since python2 reached EOL at the end of last year is there a way to > specify > using python3 instead? LyX should pick up python3 on reconfigure. But I'm not sure where that gets stored. You might want to raise this on devel. People there may have more ideas. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Flawed 2.3.6.1 upgrade
On Mon, 25 Jan 2021, Richard Kimberly Heck wrote: That is very odd. Assuming you had 2.3.6 installed before, the changes were very minimal. Maybe there's been a change to the Qt version that the build pulled in. Riki, Yes, it is. Installed here is qt5-5.12.8; I don't recall when that was installed relative to lyx-2.3.6. First, the fonts on the menu, toolbar, outline pane and other main window widgets shrank. They're too small for me and I didn't find where to enlarge them under Tools->Display fonts. I believe the WM or Qt configuration tool controls that. Perhaps; I'll check both. Run LyX from a terminal and see what error messages you get. The file must not be loading properly. That's for certain: $ lyx Traceback (most recent call last): File "/usr/share/lyx/scripts/prefs2prefs.py", line 202, in main(sys.argv) File "/usr/share/lyx/scripts/prefs2prefs.py", line 167, in main lines = read(source) File "/usr/share/lyx/scripts/prefs2prefs.py", line 52, in read lines = source.read().splitlines() or [''] File "/usr/lib64/python2.7/codecs.py", line 314, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) LookupError: unknown error handler name 'surrogateescape' filetools.cpp (1221): Could not run file conversion script prefs2prefs.py. GuiApplication.cpp (3119): Unable to convert /home/rshepard/.lyx/ui/classic.ui to format 4. GuiApplication.cpp (3126): Unable to read UI file: /home/rshepard/.lyx/ui/classic.ui Since I can't change the UI to default.ui within lyx, where can I change it? Since python2 reached EOL at the end of last year is there a way to specify using python3 instead? Try looking in .config/ and .local/. Well, ~./config/LyX/ has -rw-r--r-- 1 rshepard users 6561 Nov 8 2010 LyX-1.6.0.conf -rw-r--r-- 1 rshepard users 7030 Nov 8 2010 LyX-1.6.1.conf -rw-r--r-- 1 rshepard users 5806 Nov 8 2010 LyX-1.6.2.conf -rw-r--r-- 1 rshepard users 6114 Nov 8 2010 LyX-1.6.3.conf -rw-r--r-- 1 rshepard users 11217 Jan 25 10:27 lyx.conf and lyx.conf includes [ui_files] 0=/usr/share/lyx/ui/default.ui I don't see anything relevant in ~/.local/ Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: why doesn't lyx recognize "projects" (sets of files)?
On 1/25/21 1:27 PM, Piantadosi, Steven wrote: > > I have been using lyx for about 3 years. Currently I am producing a > large book with 25 chapters along with various smaller projects. The > biggest problem I encounter is that the user interface does not seem > to allow separation of workflow into “projects” or groups of files. It > would be nice if when lyx opened it loaded only the set of files from > a specified project. Otherwise the choice seems to be either mixing a > large number of open files or re-opening files individually after > working on a single file. Is there a simple way to get lyx to restrict > its opening of files based on a directory or other logical arrangement > of files? > I believe there is a bug report asking for project management of this kind, similar to what many IDEs and code editors offer. I've been thinking about working on that myself but it's on a long list, and there are workarounds. First, if the project includes a 'master document' with a variety of child documents, then opening the master will also open all the children (and grandchildren, etc). They will be hidden but accessible via View> Hidden Documents, which means you do have to unhide whichever one(s) you want to work on. But, and second, if the child has a 'default master' set (under Document> Settings), then opening the child will also open the master, and with that all of its other descendents. The child will then be visible with the other documents hidden. (Probably we could use an "Unhide All" function to open all those other ones.) Finally, it's easy to write a small batch file that will open all the LyX documents in a given directory (if that's how you have things organized) and make them all visible. How to do that depends upon what shells are available on your OS. But that is a very simple and very flexible solution, though one outside LyX itself. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Flawed 2.3.6.1 upgrade
On 1/25/21 1:27 PM, Rich Shepard wrote: > While the sub-minor upgrade to .1 apparently had no benefits for me I > allowed my weekly SlackBuilds.org upgrades to install it. Today I > fired it > up and discovered some changes had been made and I've not found how to > fix > them. That is very odd. Assuming you had 2.3.6 installed before, the changes were very minimal. Maybe there's been a change to the Qt version that the build pulled in. > First, the fonts on the menu, toolbar, outline pane and other main window > widgets shrank. They're too small for me and I didn't find where to > enlarge > them under Tools->Display fonts. I believe the WM or Qt configuration tool controls that. > Second, while I was looking in the Tools menu I selected the classic.ui > style, entered a title for a paper I need to write, and now no menu > displays > any items; they all display a one-line message window, "No Action > Defined!". > Huh? Run LyX from a terminal and see what error messages you get. The file must not be loading properly. > Looking in ~/.lyx/lyxrc I don't see anything changed. The bind file is > still > 'my_bind'. > > Where do I look for the reason for these changes? > > Where else is there a configuration file that might be different from > ~/.lyx/lyxrc? Try looking in .config/ and .local/. Riki > > TIA, > > Rich > > > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
why doesn't lyx recognize "projects" (sets of files)?
I have been using lyx for about 3 years. Currently I am producing a large book with 25 chapters along with various smaller projects. The biggest problem I encounter is that the user interface does not seem to allow separation of workflow into "projects" or groups of files. It would be nice if when lyx opened it loaded only the set of files from a specified project. Otherwise the choice seems to be either mixing a large number of open files or re-opening files individually after working on a single file. Is there a simple way to get lyx to restrict its opening of files based on a directory or other logical arrangement of files? SP The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at http://www.massgeneralbrigham.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Flawed 2.3.6.1 upgrade
While the sub-minor upgrade to .1 apparently had no benefits for me I allowed my weekly SlackBuilds.org upgrades to install it. Today I fired it up and discovered some changes had been made and I've not found how to fix them. First, the fonts on the menu, toolbar, outline pane and other main window widgets shrank. They're too small for me and I didn't find where to enlarge them under Tools->Display fonts. Second, while I was looking in the Tools menu I selected the classic.ui style, entered a title for a paper I need to write, and now no menu displays any items; they all display a one-line message window, "No Action Defined!". Huh? Looking in ~/.lyx/lyxrc I don't see anything changed. The bind file is still 'my_bind'. Where do I look for the reason for these changes? Where else is there a configuration file that might be different from ~/.lyx/lyxrc? TIA, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Unwanted spacing in Table of Contents
On Sun, 24 Jan 2021 10:12:45 +1100 Anthony Macks wrote: > Dear All, > > I have attached my LyX file and its pdf output. > > For some reason, the spacing between sections and subsections in my > table of contents is very large. > > In fact, it appears that the items in the TOC are being distributed > evenly over the length of the page. > > I am running Lyx 2.3.5.2 on Windows 10 on a Surface Pro. > > Any help is much appreciated. > > Kind Regards, > Anthony This is how I vertically condense the Table of Contents: % ### Modify table of contents to be more vertically condensed. ### \renewcommand\tableofcontents{% \if@twocolumn \@restonecoltrue\onecolumn \else \@restonecolfalse \fi \chapter*{\contentsname \@mkboth{% \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% { \small\setlength{\parskip}{4pt}\setstretch{0.8}% \@starttoc{toc}% } \if@restonecol\twocolumn\fi } I just put it in my layout file and I'm good to go. SteveT Steve Litt Autumn 2020 featured book: Thriving in Tough Times http://www.troubleshooters.com/thrive -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users