> On 21 Oct 2022, at 4:27 pm, Dr Eberhard Lisse wrote:
>
> The easiest is to completeley uninstall TeX and then LyX (on the Mac you
> can just Trash it) and then first to install TeX (MacTex in whatever
> guise or form) and then LyX, which in the first run will do a Tools ->
> Reconfigure which you can do manually any time.
>
> You should be able to run
>
> /Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx -o abc.lyx
> testfile.lyx
>
> directly (ie without the python call) as well.
>
> What do
>
> head -1 /Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx
>
> and
>
> which python
>
> show?
>
> greetings, el
>
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-usersLast login: Wed Nov 23
> 08:08:00 on ttys000
Following the above suggestions, here are my results:
MacTex and LyX were installed afresh.
gordonwatson@iMac ~ % head -
/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx -o abc.lyx testfile.lyx
head: -: No such file or directory
==> /Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx <==
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2002-2011 The LyX Team
# Copyright (C) 2002-2007 José Matos
# Copyright (C) 2002-2004 Dekel Tsur
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
head: -o: No such file or directory
head: abc.lyx: No such file or directory
head: testfile.lyx: No such file or directory
gordonwatson@iMac ~ % head -1
/Applications/LyX.app/Contents/Reources/lyx2lyx/lyx2lyx
head: /Applications/LyX.app/Contents/Reources/lyx2lyx/lyx2lyx: No such file or
directory
gordonwatson@iMac ~ % python
zsh: command not found: python
gordonwatson@iMac ~ % python3
xcrun: error: invalid active developer path
(/Library/Developer/CommandLineTools), missing xcrun at:
/Library/Developer/CommandLineTools/usr/bin/xcrun
gordonwatson@iMac ~ % open BTR19.new.lyx
The file /Users/gordonwatson/BTR19.new.lyx does not exist.
Then:
Tools->Reconfigure
The system reconfiguration has failed.
Default textclass is used but LyX may
not be able to work properly.
Please reconfigure again if needed.
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users