Re: beamer error

2023-08-12 Thread Patrick Dupre
This error is now fixed, but to get A4 output size, I set
\usepackage{pgfpages}
\pgfpagesuselayout{4 on 1}[a4paper]

but I get the error:
\pdfpages@includegraphics@status=\count340
\AM@pagebox=\box78
\AM@global@opts=\toks49
\AM@pagecnt=\count341
\AM@toc@title=\toks50
\AM@lof@heading=\toks51
\c@AM@survey=\count342
\AM@templatesizebox=\box79
)
! Undefined control sequence.
 \pdfpagesuselayout

l.46 \pdfpagesuselayout
   {4 on 1}[a4paper]
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


! LaTeX Error: Missing \begin{document}.



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


beamer error

2023-08-12 Thread Patrick Dupre
Hello,

I use beamer and I want to have a4 output size,
I tried \usepackage[size=a4]{beamerposter}

and I get error

\item \textbf
   {Nuclear Spin-Nuclear Spin} Coupling (dipole-dipole inter...
Sorry...I usually can't take things from the current page.
Try `I\vskip-\lastskip' instead.


Would you have a solution?

Thank


===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
===

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


Re: Laggy cursor

2023-08-12 Thread Scott Kostyshak
On Sat, Aug 12, 2023 at 11:34:18AM -0600, Tim Garrett wrote:
> In hindsight, should have anticipated the python was unrelated to speed. 
> Apologies
> 
> I’ve minimized applications checking Activity Monitor. Nothing stands out and 
> all other applications work as expected. It’s always just been LyX.

Tim, would you be willing to test the next development version? We are working 
on releasing 2.4.0 and I wonder if somehow 2.4.0 will make your problems go 
away.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Laggy cursor

2023-08-12 Thread Tim Garrett
In hindsight, should have anticipated the python was unrelated to speed. 
Apologies

I’ve minimized applications checking Activity Monitor. Nothing stands out and 
all other applications work as expected. It’s always just been LyX.

On 12 Aug 2023, at 3:02, Stephan Witt wrote:

> Am 11.08.2023 um 17:09 schrieb Tim Garrett :
>>
>> Stephan,
>>
>> Unfortunately I spoke too soon. There was improvement, then it slowed to a 
>> crawl again. Worse than before if anything. The speed of the cursor is still 
>> inversely related to the length of the paragraph.
>
> Frankly, I’m not surprised. I wanted to help to get a working python setup. 
> The speed issue isn’t related to python at all, IMHO.
>
> Interestingly you didn’t have the problem for a short time. The question is: 
> what was changed in that moment.
>
> To get the speed issue solved perhaps you verify the load of your system and 
> watch the running processes with Activity Monitor. Another option is to 
> diagnose your system with e.g. Etrecheck.
>
> Stephan
>
>>
>> Here’s what I have:
>> (base) tgarrett@tims-mbp ~ % python3 -V
>> Python 3.11.4
>> (base) tgarrett@tims-mbp ~ % which python3
>> /usr/local/bin/python3
>>
>> For the PATH prefix in preferences:
>>
>> /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/local/bin
>>
>>
>> Tim
>>
>> On 10 Aug 2023, at 5:27, Stephan Witt wrote:
>>
>>> Am 10.08.2023 um 07:11 schrieb Tim Garrett :

 Thanks. Not sure I did it right, but this is what I did. Added that string 
 to the PATH as follows

 /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/Users/tgarrett/opt/anaconda3/bin
>>>
>>> What about adding /Users/tgarrett/opt/anaconda3/condabin ?
>>>
>>> You didn’t answer my question. What source and installation type did you 
>>> choose to get? I presume you didn’t use the python from python.org but from 
>>> anaconda.com. And I presume you’ve selected the option to install it for 
>>> your user only. This setup I wont test for you and I recommend to switch to 
>>> an installation for all users (aka on a specific disk). I don’t know if it 
>>> work for you.
>>>
>>> Stephan
>>>
 quit, restarted, reconfigured. Still get the same error message:

 The layout file:
 article could not be found. A default textclass with default layouts will 
 be used. LyX will not be able to produce
 correct output.

 On 9 Aug 2023, at 23:02, Stephan Witt wrote:

> Am 10.08.2023 um 01:56 schrieb Tim Garrett :
>>
>> Sorry for the confusion but thanks for the help. I have Python 3.8.5 as 
>> output from python -V
>>
>> Also:
>>
>> (base) tgarrett@tims-mbp ~ % which python3
>> /Users/tgarrett/opt/anaconda3/bin/python3
>> (base) tgarrett@tims-mbp ~ % python3
>> Python 3.8.5 (default, Sep  4 2020, 02:22:02)
>> [Clang 10.0.0 ] :: Anaconda, Inc. on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>
>> (base) tgarrett@tims-mbp ~ % echo $PATH
>> /Users/tgarrett/opt/anaconda3/bin:/Users/tgarrett/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
>
> Every program started by the launch service will not have this PATH 
> setting. That’s the case when you start LyX from the Dock or Finder. You 
> have to add /Users/tgarrett/opt/anaconda3/bin to the PATH prefix in LyX. 
> (Perhaps /Users/tgarrett/opt/anaconda3/condabin is required too.)
>
> Did you install the python package from python.org? Last time I’ve tested 
> it this addition wasn’t needed.
>
> Stephan
>
>> On 9 Aug 2023, at 17:09, Stephan Witt wrote:
>>
>>> Am 10.08.2023 um 00:15 schrieb Tim Garrett :

 Sorry, it’s what I sent earlier:
>>>
>>> Sorry, but no, it isn’t.
>>>
>>> That’s the output of the command w/o -V … but anyway. Where is your 
>>> python3 installed? Perhaps LyX cannot find it.
>>>
>>> Stephan
>>>
 Python 3.8.5 (default, Sep  4 2020, 02:22:02)
 [Clang 10.0.0 ] :: Anaconda, Inc. on darwin

 On 9 Aug 2023, at 15:49, Stephan Witt wrote:

> Am 09.08.2023 um 23:47 schrieb Stephan Witt :
>>
>> Am 09.08.2023 um 21:41 schrieb Tim Garrett :
>>>
>>> 13:40:10.630: Reloading configuration...LyX: reconfiguring user 
>>> directory
>>> support/Systemcall.cpp (261): Systemcall: 'python -tt 
>>> "/Applications/LyX.app/Contents/Resources/configure.py" 
>>> --with-version-suffix=-2.3 
>>> --binary-dir="/Applications/LyX.app/Contents/MacOS/"' did not start!
>>> support/Systemcall.cpp (262): error The process failed to start. 
>>> Either the invoked program is missing, or you may have 

Re: Laggy cursor

2023-08-12 Thread Stephan Witt
Am 11.08.2023 um 17:09 schrieb Tim Garrett :
> 
> Stephan,
> 
> Unfortunately I spoke too soon. There was improvement, then it slowed to a 
> crawl again. Worse than before if anything. The speed of the cursor is still 
> inversely related to the length of the paragraph.

Frankly, I’m not surprised. I wanted to help to get a working python setup. The 
speed issue isn’t related to python at all, IMHO. 

Interestingly you didn’t have the problem for a short time. The question is: 
what was changed in that moment.

To get the speed issue solved perhaps you verify the load of your system and 
watch the running processes with Activity Monitor. Another option is to 
diagnose your system with e.g. Etrecheck.

Stephan

> 
> Here’s what I have:
> (base) tgarrett@tims-mbp ~ % python3 -V
> Python 3.11.4
> (base) tgarrett@tims-mbp ~ % which python3
> /usr/local/bin/python3
> 
> For the PATH prefix in preferences:
> 
> /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/local/bin
> 
> 
> Tim
> 
> On 10 Aug 2023, at 5:27, Stephan Witt wrote:
> 
>> Am 10.08.2023 um 07:11 schrieb Tim Garrett :
>>> 
>>> Thanks. Not sure I did it right, but this is what I did. Added that string 
>>> to the PATH as follows
>>> 
>>> /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/Users/tgarrett/opt/anaconda3/bin
>> 
>> What about adding /Users/tgarrett/opt/anaconda3/condabin ?
>> 
>> You didn’t answer my question. What source and installation type did you 
>> choose to get? I presume you didn’t use the python from python.org but from 
>> anaconda.com. And I presume you’ve selected the option to install it for 
>> your user only. This setup I wont test for you and I recommend to switch to 
>> an installation for all users (aka on a specific disk). I don’t know if it 
>> work for you.
>> 
>> Stephan
>> 
>>> quit, restarted, reconfigured. Still get the same error message:
>>> 
>>> The layout file:
>>> article could not be found. A default textclass with default layouts will 
>>> be used. LyX will not be able to produce
>>> correct output.
>>> 
>>> On 9 Aug 2023, at 23:02, Stephan Witt wrote:
>>> 
 Am 10.08.2023 um 01:56 schrieb Tim Garrett :
> 
> Sorry for the confusion but thanks for the help. I have Python 3.8.5 as 
> output from python -V
> 
> Also:
> 
> (base) tgarrett@tims-mbp ~ % which python3
> /Users/tgarrett/opt/anaconda3/bin/python3
> (base) tgarrett@tims-mbp ~ % python3
> Python 3.8.5 (default, Sep  4 2020, 02:22:02)
> [Clang 10.0.0 ] :: Anaconda, Inc. on darwin
> Type "help", "copyright", "credits" or "license" for more information.
 
> (base) tgarrett@tims-mbp ~ % echo $PATH
> /Users/tgarrett/opt/anaconda3/bin:/Users/tgarrett/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
 
 Every program started by the launch service will not have this PATH 
 setting. That’s the case when you start LyX from the Dock or Finder. You 
 have to add /Users/tgarrett/opt/anaconda3/bin to the PATH prefix in LyX. 
 (Perhaps /Users/tgarrett/opt/anaconda3/condabin is required too.)
 
 Did you install the python package from python.org? Last time I’ve tested 
 it this addition wasn’t needed.
 
 Stephan
 
> On 9 Aug 2023, at 17:09, Stephan Witt wrote:
> 
>> Am 10.08.2023 um 00:15 schrieb Tim Garrett :
>>> 
>>> Sorry, it’s what I sent earlier:
>> 
>> Sorry, but no, it isn’t.
>> 
>> That’s the output of the command w/o -V … but anyway. Where is your 
>> python3 installed? Perhaps LyX cannot find it.
>> 
>> Stephan
>> 
>>> Python 3.8.5 (default, Sep  4 2020, 02:22:02)
>>> [Clang 10.0.0 ] :: Anaconda, Inc. on darwin
>>> 
>>> On 9 Aug 2023, at 15:49, Stephan Witt wrote:
>>> 
 Am 09.08.2023 um 23:47 schrieb Stephan Witt :
> 
> Am 09.08.2023 um 21:41 schrieb Tim Garrett :
>> 
>> 13:40:10.630: Reloading configuration...LyX: reconfiguring user 
>> directory
>> support/Systemcall.cpp (261): Systemcall: 'python -tt 
>> "/Applications/LyX.app/Contents/Resources/configure.py" 
>> --with-version-suffix=-2.3 
>> --binary-dir="/Applications/LyX.app/Contents/MacOS/"' did not start!
>> support/Systemcall.cpp (262): error The process failed to start. 
>> Either the invoked program is missing, or you may have insufficient 
>> permissions to invoke the program.
>> LyX: Done!
>> 13:40:14.373: (reconfigure)Warning: Cite Engine not available
> 
> Please, what happens on invoke of
> $ python -V
> 
> ???
 
 … and
 
 $ which python3
 
> 
>> 
>> On 9 Aug 2023, at