Re: Debian 12 and Lyx 2.3.7-1

2023-11-06 Thread Isaac Oscar Gariano
Dear Peter and Folsk,
Although I was able to reproduce the issue with LyX 2.3.7 (the version on the 
debian repos), I was unable to reproduce the issue with the current LyX 2.4 
beta.
My guess is this is because LyX 2.3.7 uses Qt5 but LyX 2.4 uses Qt6.
As there's no issue with the current development version and it only seems to 
be happening on fluxbox, I don't think this problem is a top priority for the 
developers.

To use LyX 2.4, it seems you will need to compile it yourself, but I wrote a 
simple sh script that should do everything for and install lyx to 
/usr/local/bin/lyx (v 2.3.7 will still be accesable at /usr/bin/lyx):

su -c 'apt-get install libhunspell-dev libenchant-2-dev libaspell-dev bc 
gettext libmagic-dev make qt6-base-private-dev qt6-base-dev qt6-svg-dev g++'
wget https://lyx.mirror.garr.it/devel/lyx-2.4/lyx-2.4.0~beta5.tar.xz
tar -xvf 'lyx-2.4.0~beta5.tar.xz'
cd 'lyx-2.4.0~beta5'
mkdir build
cd build
export CXXFLAGS='-Wno-deprecated-declarations -Wno-c++20-compat -Wall -O2  
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -flto=auto'
export LDFLAGS='-flto=auto'
../configure --enable-qt6 --without-included-boost --with-aspell 
--with-hunspell --with-enchant --enable-build-type=rel
make
make install

— Isaac Oscar Gariano​

From: lyx-users  on behalf of Peter 

Sent: Tuesday, 7 November 2023 9:04 AM
To: lyx-users@lists.lyx.org 
Subject: Re: Debian 12 and Lyx 2.3.7-1

OK, created a new Virtual Box VM, Debian 12.2.  Installed none of the desktops 
or WMs or display managers, just the base system.  Then installed xorg, fluxbox 
and lyx. Started xorg with startx and this entered fluxbox which seemed to be 
behaving normally.  Then started lyx from a terminal. Same thing, it doesn't 
manage to start, similar long scrolling list of error messages.

Then installed ICEWM into this VM, just to make sure, started it with 'startx 
icewm' and lyx started fine from a terminal.

So that's it for me now.  I'll try contacting the developers list.

Peter
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Shortcuts under MacOs Sonoma

2023-11-06 Thread Isaac Oscar Gariano
Dear Daniel,
I personally am not familiar with MacOS, but it sounds like LyX isn't finding 
your files correctly.
If you go to Help → About LyX, it will list a folder as "User directory",
Does that folder contain the bind/user.bind​ file you want to use?

— Isaac Oscar Gariano​

From: lyx-users  on behalf of Daniel CLEMENT 
via lyx-users 
Sent: Tuesday, 7 November 2023 6:49 AM
To: LyX 
Subject: Shortcuts under MacOs Sonoma

Dear list members,

I have recently upgraded my MacBook to MacOs 14 “Sonoma” last week (right from 
12).

LyX (2.3.7) was one of the main apps that I have tested; it appeared to work 
well at first glance. But only today I have noticed a couple of issues, mainly 
shortcuts, but possibly related:

1) I’ve lost my shortcuts (sigh!) My shortcut file is still there. I have 
reloaded it for good measure, but no luck. So, no Cmd-O to open a file, Cmd-D 
for displayed maths and so on… (-> “unknown function” in the taskbar).

2) Then I tried to reconfigure, but I got an error message like: “reconfigure 
failed - implicit classes will be used but maybe LyX won’t work normally”.

3) I happened to try and open a file coming from LyX 2.1, but I got: 
“ comes from an old LyX version, but the LyX2LyX script could not 
convert it”.

Doesn’t all this look like a Python issue? I don’t want to rush into any 
hazardous workaround… What would you suggest?

Thanks a lot in advance for any advice - best regards, Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Debian 12 and Lyx 2.3.7-1

2023-11-06 Thread Peter
OK, created a new Virtual Box VM, Debian 12.2.  Installed none of the desktops 
or WMs or display managers, just the base system.  Then installed xorg, fluxbox 
and lyx. Started xorg with startx and this entered fluxbox which seemed to be 
behaving normally.  Then started lyx from a terminal. Same thing, it doesn't 
manage to start, similar long scrolling list of error messages.

Then installed ICEWM into this VM, just to make sure, started it with 'startx 
icewm' and lyx started fine from a terminal.

So that's it for me now.  I'll try contacting the developers list.

Peter
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Shortcuts under MacOs Sonoma

2023-11-06 Thread Daniel CLEMENT via lyx-users
Dear list members,

I have recently upgraded my MacBook to MacOs 14 “Sonoma” last week (right from 
12).

LyX (2.3.7) was one of the main apps that I have tested; it appeared to work 
well at first glance. But only today I have noticed a couple of issues, mainly 
shortcuts, but possibly related:

1) I’ve lost my shortcuts (sigh!) My shortcut file is still there. I have 
reloaded it for good measure, but no luck. So, no Cmd-O to open a file, Cmd-D 
for displayed maths and so on… (-> “unknown function” in the taskbar).

2) Then I tried to reconfigure, but I got an error message like: “reconfigure 
failed - implicit classes will be used but maybe LyX won’t work normally”.

3) I happened to try and open a file coming from LyX 2.1, but I got: 
“ comes from an old LyX version, but the LyX2LyX script could not 
convert it”.

Doesn’t all this look like a Python issue? I don’t want to rush into any 
hazardous workaround… What would you suggest?

Thanks a lot in advance for any advice - best regards, Daniel

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


slow cursor speed

2023-11-06 Thread Tim Garrett
I’m near the point that I have to abandon LyX after using it 
religiously as an academic since 2000 (when it was kLyX-0.12). That 
makes me *very* sad.


The problem is that as a paragraph gets longer, the cursor gets slower. 
The paragraph doesn’t have to be very long (e.g. a few sentences) for 
this to be a significant issue. A single paragraph of plain text could 
be the only thing in the document.


Thanks to those who have helped previously but still no progress. 
Scouring forums, I see others with similar problems but no obviously 
pertinent solutions.


Many, many thanks for any further advice.


What I have tried:
1. Full reinstall including deleting prior LyX-2.3 folder in 
Application\ Support

2. Reconfiguring
3. Adding to preferences \force_paint_single_char false

My version is:

LyX Version 2.3.7
(January 1, 2023)

Library directory: /Applications/LyX.app/Contents/Resources/
User directory: ~/Library/Application Support/LyX-2.3/
Qt Version (run-time): 5.15.7 on platform cocoa
Qt Version (compile-time): 5.15.7

Build info:

LyX 2.3.7 (2023-01-01)
Configuration
  Host type:   aarch64-apple-darwin20.6.0
  Special build flags:  build=release std-regex warnings 
use-hunspell

  Bundled libraries:boost hunspell mythes
  C++ Compiler:c++ -stdlib=libc++ (12.0.0)
  C++ Compiler flags:   -Wall -Wextra -fPIC -Os -std=c++14  
-Wno-deprecated-register
  C++ Compiler user flags:  -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk 
-arch x86_64 -mmacosx-version-min=10.14 -std=c++14  -std=c++11

  Linker flags:
  Linker user flags:   -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk 
-arch x86_64 -mmacosx-version-min=10.14 
-F/Users/Shared/LyX/qt-5.15.7/lib

  Qt Frontend:
  Qt version:  5.15.7
  Packaging:   macosx
  LyX binary dir:  
/Users/Shared/LyX/lyx-build/LyX-2.3.7.app/Contents/MacOS
  LyX files dir:   
/Users/Shared/LyX/lyx-build/LyX-2.3.7.app/Contents/Resources


My preferences are:

# LyX 2.0.4 generated this file. If you want to make your own
# modifications you should do them from inside LyX and save.

Format 1

\bind_file "my_bindings"

#
# MISC SECTION ##
#

# The time interval between auto-saves in seconds.
\autosave 120
# The default papersize to use.
\default_papersize "usletter"
\user_name "tgarrett"
\user_email ""

#
# SCREEN & FONTS SECTION 
#

\icon_set "classic"
\screen_zoom 200
\screen_font_sizes 5 7 8 9 10 12 14.4 17.262 
20.738 24.879

\open_buffers_in_tabs true
\single_close_tab_button true

#
# COLOR SECTION ###
#


#
# PRINTER SECTION ###
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#

\load_session true

#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#

\spellcheck_continuously true

#
# 2nd MISC SUPPORT SECTION ##
#


#
# FORMATS SECTION ##
#

\format "dia" "dia" "DIA" "" "auto" "auto" "vector"
\format "dvi" "dvi" "DVI" "D" "xdvi" "" "document,vector,menu=export"
\format "dvi3" "dvi" "DVI (LuaTeX)" "V" "xdvi" "" 
"document,vector,menu=export"

\format "docbook" "sgml" "DocBook" "B" "" "auto" "document,menu=export"
\format "eps" "eps" "EPS" "" "gv" "" "vector"
\format "fen" "fen" "FEN" "" "auto" "auto" ""
\format "fig" "fig" "FIG" "" "auto" "auto" "vector"
\format "gnumeric" "gnumeric" "Gnumeric spreadsheet" "" "" "auto" 
"document"

\format "agr" "agr" "Grace" "" "auto" "auto" "vector"
\format "beamer.info" "pdf.info" "Info (Beamer)" "" "" "auto" 
"document,menu=export"
\format "lilypond-book" "lytex" "LilyPond book (LaTeX)" "" "" "auto" 
"document,menu=export"

\format "literate" "nw" "NoWeb" "N" "" "auto" "document,menu=export"
\format "noteedit" "not" "Noteedit" "" "auto" "auto" "vector"
\format "pdf5" "pdf" "PDF (LuaTeX)" "u" "gv" "" 
"document,vector,menu=export"
\format "pdf4" "pdf" "PDF (XeTeX)" "X" "gv" "" 
"document,vector,menu=export"
\format "pdf3" "pdf" "PDF (dvipdfm)" "m" "open -a /Applications/Adobe\\ 
Acrobat\\ 9\\ Pro/Adobe\\ Acrobat\\ Pro.app" "" 
"document,vector,menu=export"
\format "pdf2" "pdf" "PDF (pdflatex)" "F" "open -a 
/Applications/Preview.app" "" "document,vector,menu=export"
\format "pdf" "pdf" "PDF (ps2pdf)" "P" "gv" "" 
"document,vector,menu=export"

\format "asciixfig" "asc" "Plain text (Xfig output)" "" "" "auto" ""
\format "asciichess" "asc" "Plain text (chess output)" "" "" "auto" ""
\format "asciiimage" "asc" "Plain text (image)" "" "" "auto" ""
\format "ps" "ps" "Postscript" "t" "gv" "" "document,vector,menu=export"
\format 

Re: Setting up labels for and references to tables in LyX

2023-11-06 Thread Jürgen Spitzmüller
Am Montag, dem 06.11.2023 um 13:48 +0100 schrieb Jürgen Spitzmüller:
> Also, please file a bug report. I think we should handle this case
> ans mask spaces when refstyle is used.

No longer needed. I went ahead and fixed it.

-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting up labels for and references to tables in LyX

2023-11-06 Thread Jürgen Spitzmüller
Am Montag, dem 06.11.2023 um 13:41 +0100 schrieb Jürgen Spitzmüller:
> Spaces in labels work AFAICS. Special characters are automatically
> replaced by LyX.

On a closer look, it seems that refstyle doesn't work with spaces in
label IDs. Other mechanisms do work.

So either omit spaces or use prettyref instead of refstyle (Document >
Settings > Document Class.

Also, please file a bug report. I think we should handle this case ans
mask spaces when refstyle is used.

-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting up labels for and references to tables in LyX

2023-11-06 Thread Jürgen Spitzmüller
Am Montag, dem 06.11.2023 um 13:10 +0100 schrieb Ricardo Berlasso:
> El lun, 6 nov 2023 a las 12:23, Trevor Jenkins
> () escribió:
> > I need to create labels/references to multiple tables in my LyX
> > document. There is nothing in the various Table menu items for
> > this. The Insert > Label and Insert > Cross-Reference… menu items
> > do not appear to function in that for example if I set the name of
> > the label to tab:Electoral Roll Extract and then pick that name of
> > the list when inserting the cross reference neither appears in the
> > final document. The label does not appear with the table and the
> > reference does not appear at the point of reference either.
> 
> Try renaming the label to tab:Electoral-Roll-Extract,i.e. replace the
> spaces with dashes. Does it work that way? I think that labels do not
> accept spaces or special characters. If this is the case, you have
> found a problem as the dialog should warn that the label is invalid.

Spaces in labels work AFAICS. Special characters are automatically
replaced by LyX.

I think a minimal example file showing the problem would help us
helping.

-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting up labels for and references to tables in LyX

2023-11-06 Thread Ricardo Berlasso
El lun, 6 nov 2023 a las 12:23, Trevor Jenkins ()
escribió:

> I need to create labels/references to multiple tables in my LyX document.
> There is nothing in the various Table menu items for this. The Insert >
> Label and Insert > Cross-Reference… menu items do not appear to function in
> that for example if I set the name of the label to tab:Electoral Roll
> Extract and then pick that name of the list when inserting the cross
> reference neither appears in the final document. The label does not appear
> with the table and the reference does not appear at the point of reference
> either.
>

Try renaming the label to tab:Electoral-Roll-Extract,i.e. replace the
spaces with dashes. Does it work that way? I think that labels do not
accept spaces or special characters. If this is the case, you have found a
problem as the dialog should warn that the label is invalid.

Regards,
Ricardo




>
> How do I setup labels for each of my tables and then reference them in the
> text of my document?
>
>
> Version information etc.
>
> LyX 2.3.7
> macOS Sonoma 14.1 on a Mac mini M1
> TeXlive 2023
> Python 3.11.5
>
> Document class Tufte Handout
> Local layout “Include ../citeengines/basic.citeengine”(because I am using
> bibtex)
> Also using pdflscape (updated from TeXlive an hour ago) as the tables are
> very wide
>
> Regards, Trevor.
>
> <>< Re: deemed!
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Setting up labels for and references to tables in LyX

2023-11-06 Thread Trevor Jenkins
I need to create labels/references to multiple tables in my LyX document. There 
is nothing in the various Table menu items for this. The Insert > Label and 
Insert > Cross-Reference… menu items do not appear to function in that for 
example if I set the name of the label to tab:Electoral Roll Extract and then 
pick that name of the list when inserting the cross reference neither appears 
in the final document. The label does not appear with the table and the 
reference does not appear at the point of reference either.

How do I setup labels for each of my tables and then reference them in the text 
of my document?


Version information etc.

LyX 2.3.7
macOS Sonoma 14.1 on a Mac mini M1
TeXlive 2023
Python 3.11.5

Document class Tufte Handout
Local layout “Include ../citeengines/basic.citeengine”(because I am using 
bibtex)
Also using pdflscape (updated from TeXlive an hour ago) as the tables are very 
wide

Regards, Trevor.

<>< Re: deemed!

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users