Re: What Am I Doing Wrong … bibliography entries not being included

2022-04-19 Thread Paul A. Rubin

On 4/19/22 08:29, Trevor Jenkins wrote:

Okay here’s the simplest case

Regards, Trevor.

<>< Re: deemed!


Mistakenly sent this to Trevor only, belatedly adding it to the thread 
on the list.


Go to Document > Settings... > Document Class and look at the custom 
class options field. It ends with ",nobib". If I delete that, the 
problem is fixed.


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


Re: MacOS 12.3.1 (Monterey) lyx2lyx script fails to convert

2022-04-19 Thread Dr Eberhard W Lisse

2.3.6.2 works on my 12.3.1 (x86 and arm)

I use hombrew's python but the stub will also work because homebrew
will ask for the Command Line Tools anyway :-)-O

el

On 2022-04-19 11:46 , Stephan Witt wrote:
[...]
> LyX is trying to use python3 while looking for python.  This one
> (/usr/bin/python3) is present for a long time and a stub to ask for
> install of it.  The real python3 is part of the developer tools and
> can be download from Apple freely.  Of course other alternatives are
> available.  The „official“ one from python.org or the python from
> homebrew or macports.
>
> What the best choice for the user is depends on its background, IMO.
[...]
> Currently I have Monterey 12.1 with MacTeX and LyX 2.3.6.2 up and
> running.  Next step is the update to 12.3.1 …
>
> Stephan

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


Re: What Am I Doing Wrong … bibliography entries not being included

2022-04-19 Thread Dr Eberhard W Lisse

What is also not helpful is to have a hardcoded bibliography in a
directory that does not exist on my computer and starting the name of
the bibliography with a space ' '.

The (Tufte (not LyX)) issue is amenable to Google.

This link


https://tex.stackexchange.com/questions/587605/tufte-book-biblatex-error-biblatex-incompatible-with-natbib

basically says that nobib turns off natbib and if you don't have natbib
you need a replacement such as biblatex.

The correct LyX way of doing what you want is described in


https://lyx-users.lyx.narkive.com/V1WM48zp/correct-usage-of-nobibliography-in-lyx

which works in your example (after I loaded the required packages
manually, which I am now tossing again).

el

On 2022-04-19 14:48 , Dr Eberhard W Lisse wrote:
> No, it is not. It requires a number of packages which are not installed
> on my computer.
>
>
> el
>
> On 2022-04-19 14:29 , Trevor Jenkins wrote:
>> Okay here’s the simplest case
>>
>> Regards, Trevor.
>>
>> <>< Re: deemed!.
[...]

--
Dr. Eberhard W. Lisse   \ /   Obstetrician & Gynaecologist
e...@lisse.na / *  |  Telephone: +264 81 124 6733 (cell)
PO Box 8421 Bachbrecht  \  /  If this email is signed with GPG/PGP
10007, Namibia   ;/  Sect 20 of Act No 4 of 2019 may apply

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


Re: What Am I Doing Wrong … bibliography entries not being included

2022-04-19 Thread Trevor Jenkins
Okay here’s the simplest case

Regards, Trevor.

<>< Re: deemed!



LyX Test.lyx
Description: Binary data


Test for LyX Issue.bib
Description: Binary data

> On 18 Apr 2022, at 21:53, Dr Eberhard Lisse  wrote:
> 
> Create an MWE, please, ie a minimal working example, by reducing
> everything but what triggers the issue, and paste this here, including
> the BIB file which should contain a single reference.
> 
> Often that will lead you to the solution and if not we can have a look
> at it :-)-O
> 
> el
> 
> 
> 
> On 2022-04-18 10:39 , Trevor Jenkins wrote:
>> When I View my document ⌘-R pdflatex shouts that there are no
>> citations!  I have added the relevant BibTeX file using Insert >
>> List/TOC > Bib(la)Tex Bibliography picking a local .bib file and then
>> added a citation using Insert > Citation followed by Adding a specific
>> citation.  (It appears in a sidenote entry as I have tuftepaper as my
>> document class.)
>> Pdflatex’s error message is
>> BibTeX error: I found no \citation commands---while reading file Statins.aux
>> It makes no difference what Citation Style I select when adding the
>> citation.  I have had this working before (on a now dead machine) but
>> cannot for the life me work out what I am doing wrong.
>> Operating System: macOS 12.3.1 (Monterey)
>> Processor: M1
>> LyX version: 2.3.6.2
>> Python: 3.10.4 (freshly (re)installed)
>> Document class: tuftepaper
>>  with custom options:
>>  justified,a4paper,sidenote=raggedright,marginnote=raggedright,nobib
>>  that latter because I want to suppress the final bibliography
>>  listing and was fine in my previous not that it suppressed the
>>  bibliography
>> 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


Re: MacOS 12.3.1 (Monterey) lyx2lyx script fails to convert

2022-04-19 Thread Stephan Witt
Am 19.04.2022 um 11:12 schrieb Pavel Sanda via lyx-users 
:
> 
> On Tue, Apr 19, 2022 at 08:10:30AM +0200, Stephan Witt wrote:
 Now you have to install Python yourself. You may download it from 
 python.org (https://www.python.org/downloads/macos/). Alternatively you 
 may run python in a terminal window and choose to install it from Apple. I 
 recommend the first option.
>>> 
>>> Not sure if I understand it correctly - any up to date mac system won't run 
>>> lyx 2.3.6.2 (or rather its pythonic parts) anymore?
>>> If this is the case we should add some info directly to 
>>> https://www.lyx.org/Download ?
>> 
>> Yes, that would be appropriate. 
> 
> We should probably do that, I don't understand the details to write it on my 
> own though.

The only hard fact is the removal of /usr/bin/python (and all the libraries and 
eggs). So there is no out-of-the-box python anymore.

LyX is trying to use python3 while looking for python. This one 
(/usr/bin/python3) is present for a long time and a stub to ask for install of 
it. The real python3 is part of the developer tools and can be download from 
Apple freely. Of course other alternatives are available. The „official“ one 
from python.org or the python from homebrew or macports.

What the best choice for the user is depends on its background, IMO.

>> At the time macOS 12 (Monterey) came out I verified the presence of python. 
>> It was there and had version 2.7.18. While the installation of macOS update 
>> to 12.3 the python installation will be removed.
>> 
>> Apple provides python3 but it is not preinstalled anymore. There is only a 
>> stub executable asking for download and installation of it:
>> 
>> On reconfigure LyX checks for a usable python and triggers the popup window 
>> with the opportunity to install python3. If the user responds with 
>> ???Install??? and the download and install succeeds LyX has to be restarted 
>> and is usable after reconfigure.
>> 
>> I didn???t try yet how it goes if an existing LyX installation looses the 
>> python executable. I want to try that next. But all these experiments are 
>> time consuming as I have to do them in virtual machines.
> 
> I have mac with 12.1 on my desk, which I avoid touching. It has some older 
> version of LyX with both python 2 & 3 installed as I just checked.
> Is there something I can do for you?

Thank you, but I think the time consuming option with virtual machines is the 
better one.

Currently I have Monterey 12.1 with MacTeX and LyX 2.3.6.2 up and running. Next 
step is the update to 12.3.1 …

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


Re: MacOS 12.3.1 (Monterey) lyx2lyx script fails to convert

2022-04-19 Thread Pavel Sanda via lyx-users
On Tue, Apr 19, 2022 at 08:10:30AM +0200, Stephan Witt wrote:
> >> Now you have to install Python yourself. You may download it from 
> >> python.org (https://www.python.org/downloads/macos/). Alternatively you 
> >> may run python in a terminal window and choose to install it from Apple. I 
> >> recommend the first option.
> > 
> > Not sure if I understand it correctly - any up to date mac system won't run 
> > lyx 2.3.6.2 (or rather its pythonic parts) anymore?
> > If this is the case we should add some info directly to 
> > https://www.lyx.org/Download ?
> 
> Yes, that would be appropriate. 

We should probably do that, I don't understand the details to write it on my 
own though.

> At the time macOS 12 (Monterey) came out I verified the presence of python. 
> It was there and had version 2.7.18. While the installation of macOS update 
> to 12.3 the python installation will be removed.
> 
> Apple provides python3 but it is not preinstalled anymore. There is only a 
> stub executable asking for download and installation of it:
> 
> On reconfigure LyX checks for a usable python and triggers the popup window 
> with the opportunity to install python3. If the user responds with 
> ???Install??? and the download and install succeeds LyX has to be restarted 
> and is usable after reconfigure.
> 
> I didn???t try yet how it goes if an existing LyX installation looses the 
> python executable. I want to try that next. But all these experiments are 
> time consuming as I have to do them in virtual machines.

I have mac with 12.1 on my desk, which I avoid touching. It has some older 
version of LyX with both python 2 & 3 installed as I just checked.
Is there something I can do for you?

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


SOLVED > lyx not a readable Lyx document

2022-04-19 Thread Wolfgang Engelmann

As described behind the #

I followed JMarcs adviced:

If you still have the directory where you built LyX, then
>>gitpull >(should be git pull)

I think I forgot to merge after git pull

I guess it is the easiest to get the dev version anew

By the way, when will the 2.4 version be available?

Wolfgang


#
Am 13.04.22 um 16:48 schrieb Wolfgang Engelmann:

This is a kind reminder to those, who might be able to help
Wolfgang

Am 09.04.22 um 19:15 schrieb Wolfgang Engelmann:

 >>> I followed the advice of JMarc >

If you still have the directory where you built LyX, then
   gitpull >(should be git pull)
   make
should be enough (you can add "./autogen.sh" as a second line to play 
safe). > this I omitted


But you have a newer LyX 2.4 somewhere, since you produced a file with 
it!


JMarc



The LyX format itself changes regularly during the 2.4.0dev timeline. 
lyx2lyx is updated simultaneously.


When 2.4.0 is released, the format will be fixed and lyx2lyx (barring 
bugs) will stay the same during the lifetime of the branch.
The only exception is that the last 2.4 version will get an updated 
lyx2lyx that can read the 2.5 format.


Likewise, LyX 2.3.7 will be able to read and produce the 2.4.0 format.

JMarc

___

and from https://www.lyx.org/HowToUseGIT >

4.  Anonymous Git clone

 From within the directory where you want to place your local copy of 
the sources, do:


  git clone git://git.lyx.org/lyx

This will make a directory lyx and download lots of files into that 
directory. (A fresh copy will need about 400MB. However, you will need 
a lot more space for the compiled version -- up to 2 GB).


You can switch to maintenance branch via git checkout 2.3.x inside the 
lyx directory.

5.  After the first download

If the code is updated, just cd to the lyx directory and say:

  git pull

This will magically download or patch only those files which have been 
changed or added, saving you (and the server) lots of time.


If you just want to check what's changed in your local copy as opposed 
to the repository, do:


  git status
__
git status
Auf Branch master
Ihr Branch ist auf demselben Stand wie 'origin/master'.

Änderungen, die nicht zum Commit vorgemerkt sind:
   (benutzen Sie "git add ...", um die Änderungen zum Commit 
vorzumerken)
   (benutzen Sie "git restore ...", um die Änderungen im 
Arbeitsverzeichnis zu verwerfen)

 geändert:   po/ar.gmo 

keine Änderungen zum Commit vorgemerkt (benutzen Sie "git add" 
und/oder "git commit -a")


___

 > however, after it and after
./configure --with-version-suffix=lyx24n
(I unfortunately forgot --bindir=/usr/local/bin)
make
make install

and running a lyx file I get again:

Warning: 609: Format not supported.
Warning: Quitting.
Error: Dokumentformat-Fehler

/tmp/lyx_tmpdir.VqwdxGawWrac/Buffer_convertLyXFormatZYzSIl.lyx ist 
kein lesbares LyX-Dokument.
qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 818, 
resource id: 0, major code: 20 (GetProperty), minor code: 0

Warning: 609: Format not supported.
Warning: Quitting.
Error: Dokumentformat-Fehler

 
I am confused.

Does it mean, I have to get all the git stuff again, because for some 
reason the git pull does not update the git stuff, although it says so 
in the https://www.lyx.org/HowToUseGIT ?


Wolfgang

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


SOLVED >: nomenclature error

2022-04-19 Thread Wolfgang Engelmann

I found the reason for the nomenclature error decribed below the 

I had several double entries in the nomenclature (i.e. the same Symbol 
and Description).

Removing them solved the problem.

It took some time to find out, and I wonder whether there could be a 
better error or warning handling.


The problem is, that with these errors one gets a pdf output, but the 
nomenclature is cluttered (no symbols shown any more -which are in bold 
in my case). It might be due to my way of having set the nomenclature.


Wolfgang

##
Am 14.04.22 um 17:30 schrieb Wolfgang Engelmann via lyx-users:

I am getting a warning >

! LaTeX Error: Lonely \item--perhaps a missing list environment

in a lyx file (Debian) with
Version 2.4.0dev (not released yet)
Built from git commit hash 53ed3dc0
Qt Version (run-time): 5.15.2 on platform xcb
Qt Version (compile-time): 5.15.2
Python detected: python3 -tt

The nomenclature item gives the correct description if I move the mouse 
over it, but if I click on it, the description is wrong (and the same in 
all following items). The pdf output of the nomeclature stops at a 
certain item


CRISPR/Cas9 technology
clustered regularly interspaced

and the following do not show the symbols (bold in my setting) anymore, 
but only the Descriptions


Did somebody have experienced this kind of error
and how would one try to find out what went wrong?

Wolfgang

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