Re: How to make LyX work with Mac OS 13.1:solved

2022-12-14 Thread Dr Eberhard W Lisse
Hal,

I use the python3 installed by the Homebrew package manager which will
remind me during my (almost) daily upgrade if the XCode Command Line
Tools are not installed to do the xcode-select, so I am used to that
(without having to pay attention to Python).

greetings, el


On 14/12/2022 18:08, Hal Kierstead via lyx-users wrote:
> 
> 
>> On Dec 14, 2022, at 8:55 AM, Dr Eberhard Lisse  wrote:
>>
>> Hal,
>>
>> the command is
>>
>>   sudo xcode-select --install
>>
>> you will then be asked for your password.
>>
>> It is a system wide installation of the command line tools (of XCode)
>> and hence must be done as administrator (technically root).
>>
>> The complete XCode will of course also install python3 but is a few GB
>> too much.
>>
>> el
>>
> El -
> 
> Thanks. I thought you had posted something like this, but could not find it.
> 
> Hal

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


Re: closing a named buffer?

2022-12-14 Thread Dr Eberhard W Lisse
buffer-close-all

will do what I want for this particular issue.

el

On 14/12/2022 18:18, Paul A. Rubin wrote:
> On 12/14/22 10:52, Dr Eberhard Lisse wrote:
>> Hi,
>>
>> I can easily close the current buffer with a command like (on the mac)
>>
>>     LYXPIPE=$(find ~/Library/Application\ Support ~/.lyx \
>>    -name .lyxpipe.in 2>/dev/null | head -1)   
>>     echo "LYXCMD:P2:buffer-close" > "$LYXPIPE"
>>
>> Is it possible to close a named buffer even another was "active" using
>> the LYXPIPE mechanism?
>>
>> Let's say the file names I am editing are a.lyx and b.lyx, and a.lyx is
>> in front, how would I close b.lyx while keeping a.lyx in front/active?
>>
>> I am willing to RTFM :-)-O
>>
>> el
>>
> I don't know if this would fit your intended use, but you could use a
> command sequence like "buffer-switch
> /path/to/b.lyx;buffer-close;buffer-switch /path/to/a.lyx", assuming that
> you knew the file names/paths when the sequence was triggered. I'm not
> sure if the switch back to a.lyx is necessary. It may depend on whether
> there are more than two buffers open when you execute the command sequence.
> 
> Paul
> 


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


Re: closing a named buffer?

2022-12-14 Thread Paul A. Rubin

On 12/14/22 10:52, Dr Eberhard Lisse wrote:

Hi,

I can easily close the current buffer with a command like (on the mac)

LYXPIPE=$(find ~/Library/Application\ Support ~/.lyx \
   -name .lyxpipe.in 2>/dev/null | head -1)  
echo "LYXCMD:P2:buffer-close" > "$LYXPIPE"

Is it possible to close a named buffer even another was "active" using
the LYXPIPE mechanism?

Let's say the file names I am editing are a.lyx and b.lyx, and a.lyx is
in front, how would I close b.lyx while keeping a.lyx in front/active?

I am willing to RTFM :-)-O

el

I don't know if this would fit your intended use, but you could use a 
command sequence like "buffer-switch 
/path/to/b.lyx;buffer-close;buffer-switch /path/to/a.lyx", assuming that 
you knew the file names/paths when the sequence was triggered. I'm not 
sure if the switch back to a.lyx is necessary. It may depend on whether 
there are more than two buffers open when you execute the command sequence.


Paul

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


Re: How to make LyX work with Mac OS 13.1:solved

2022-12-14 Thread Hal Kierstead via lyx-users



> On Dec 14, 2022, at 8:55 AM, Dr Eberhard Lisse  wrote:
> 
> Hal,
> 
> the command is
> 
>sudo xcode-select --install
> 
> you will then be asked for your password.
> 
> It is a system wide installation of the command line tools (of XCode)
> and hence must be done as administrator (technically root).
> 
> The complete XCode will of course also install python3 but is a few GB
> too much.
> 
> el
> 
El -

Thanks. I thought you had posted something like this, but could not find it.

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


Re: How to make LyX work with Mac OS 13.1:solved

2022-12-14 Thread Scott Kostyshak
On Wed, Dec 14, 2022 at 05:55:17PM +0200, Dr Eberhard Lisse wrote:
> Hal,
> 
> the command is
> 
>sudo xcode-select --install
> 
> you will then be asked for your password.
> 
> It is a system wide installation of the command line tools (of XCode)
> and hence must be done as administrator (technically root).
> 
> The complete XCode will of course also install python3 but is a few GB
> too much.
> 
> el

Is there a way from the command line to install only Python on macOS?

Scott


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


Re: How to make LyX work with Mac OS 13.1:solved

2022-12-14 Thread Dr Eberhard Lisse
Hal,

the command is

 sudo xcode-select --install

you will then be asked for your password.

It is a system wide installation of the command line tools (of XCode)
and hence must be done as administrator (technically root).

The complete XCode will of course also install python3 but is a few GB
too much.

el


On 14/12/2022 13:50, Hal Kierstead via lyx-users wrote:
>> On Dec 13, 2022, at 5:38 PM, Scott Kostyshak  wrote:
>>
>> On Tue, Dec 13, 2022 at 05:02:30PM -0700, Hal Kierstead via lyx-users wrote:
>>> All -
>>>
>>> I just upgraded to Mac OS 13.1. I was not given a chance to install
>>> python. How do I check if I have the right version of python?
>>>
>>> I cannot reconfigure LyX. I get the message: The system
>>> reconfiguration has failed. Default textclass is used but LyX may
>>> not be able to work properly. Please reconfigure again if needed.
>>>
>>> Reconfiguring again does not work either.
>>>
>>> Also, I have a bind file that LyX finds, but does not use. Is this
>>> because LyX needs to be reconfigured?
>>>
>>> I tried reinstalling LyX, but that did not help.
>>>
>>> What should I do next?
>>
>> I don't have any experience with macOS, but one user found that the
>> following worked:
>>
>>  xcode-select --install
>>
>> source: https://twitter.com/IvanWerning/status/1599544006962139136
>>
>> Scott --
> Thanks Scott. I forgot to reply to the list.
> 
>  For some reason this failed to install xcode, but downloading it from
>  the app store worked, and now my LyX is working. Probably I should
>  not have needed to download all of xcode, but it is simple this way.
> 
> Hal
> 

-- 
To email me replace 'nospam' with 'el'

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


closing a named buffer?

2022-12-14 Thread Dr Eberhard Lisse
Hi,

I can easily close the current buffer with a command like (on the mac)

   LYXPIPE=$(find ~/Library/Application\ Support ~/.lyx \
  -name .lyxpipe.in 2>/dev/null | head -1)  
   echo "LYXCMD:P2:buffer-close" > "$LYXPIPE"

Is it possible to close a named buffer even another was "active" using
the LYXPIPE mechanism?

Let's say the file names I am editing are a.lyx and b.lyx, and a.lyx is
in front, how would I close b.lyx while keeping a.lyx in front/active?

I am willing to RTFM :-)-O

el

-- 
To email me replace 'nospam' with 'el'

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


Re: How to make LyX work with Mac OS 13.1:solved

2022-12-14 Thread Scott Kostyshak
On Wed, Dec 14, 2022 at 04:50:02AM -0700, Hal Kierstead wrote:
> 
> 
> > On Dec 13, 2022, at 5:38 PM, Scott Kostyshak  wrote:
> > 
> > On Tue, Dec 13, 2022 at 05:02:30PM -0700, Hal Kierstead via lyx-users wrote:
> >> All -
> >> 
> >> I just upgraded to Mac OS 13.1. I was not given a chance to install 
> >> python. How do I check if I have the right version of python?
> >> 
> >> I cannot reconfigure LyX. I get the message: The system reconfiguration 
> >> has failed. Default textclass is used but LyX may not be able to work 
> >> properly. Please reconfigure again if needed. 
> >> 
> >> Reconfiguring again does not work either.
> >> 
> >> Also, I have a bind file that LyX finds, but does not use. Is this because 
> >> LyX needs to be reconfigured?
> >> 
> >> I tried reinstalling LyX, but that did not help.
> >> 
> >> What should I do next?
> > 
> > I don't have any experience with macOS, but one user found that the 
> > following worked:
> > 
> >  xcode-select --install
> > 
> > source: https://twitter.com/IvanWerning/status/1599544006962139136
> > 
> > Scott
> > -- 
> Thanks Scott. I forgot to reply to the list.
> 
>  For some reason this failed to install xcode, but downloading it from the 
> app store worked, and now my LyX is working. Probably I should not have 
> needed to download all of xcode, but it is simple this way.

Good to know, Hal! Indeed, probably there is a more simple way.

Scott


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


Re: How to make LyX work with Mac OS 13.1:solved

2022-12-14 Thread Hal Kierstead via lyx-users



> On Dec 13, 2022, at 5:38 PM, Scott Kostyshak  wrote:
> 
> On Tue, Dec 13, 2022 at 05:02:30PM -0700, Hal Kierstead via lyx-users wrote:
>> All -
>> 
>> I just upgraded to Mac OS 13.1. I was not given a chance to install python. 
>> How do I check if I have the right version of python?
>> 
>> I cannot reconfigure LyX. I get the message: The system reconfiguration has 
>> failed. Default textclass is used but LyX may not be able to work properly. 
>> Please reconfigure again if needed. 
>> 
>> Reconfiguring again does not work either.
>> 
>> Also, I have a bind file that LyX finds, but does not use. Is this because 
>> LyX needs to be reconfigured?
>> 
>> I tried reinstalling LyX, but that did not help.
>> 
>> What should I do next?
> 
> I don't have any experience with macOS, but one user found that the following 
> worked:
> 
>  xcode-select --install
> 
> source: https://twitter.com/IvanWerning/status/1599544006962139136
> 
> Scott
> -- 
Thanks Scott. I forgot to reply to the list.

 For some reason this failed to install xcode, but downloading it from the app 
store worked, and now my LyX is working. Probably I should not have needed to 
download all of xcode, but it is simple this way.

Hal

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