Re: Problem converting older files with lyx2lyx

2022-11-22 Thread Gordon Watson via lyx-users


> 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


Re: Wrong subscript size in small text

2022-11-22 Thread Jean-Marc Lasgouttes

Le 09/11/2022 à 21:28, Csikos Bela a écrit :

Hello:

Inserting subscript into small text results in wrong subscript font 
size. The subscript size is equal to the font size (that is, small). Lyx 
incorrectly insert \small before the subscript text. An example:


{\small{}aa A}\textsubscript{{\small{}B}}{\small{} bb}{\small\par}.

This occurs in lyx 2.0.6 and 2.3.6.1.


Hello, could you describe the list of actions that you do to inset your 
subscript. I suspect that the result depends on your actions.


JMarc

PS : in 2.4.0, the font size of subscripts will be correct and there 
will be less spacing around the subscript.



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