Re: Debian 12

2023-10-27 Thread John White
Me too (using Debian for more than 20 years).  My lyx problem is new and 
surfaced after we upgraded to Debian 12.  However I am not sure the upgrade 
had anything to do with it.

On Friday, October 27, 2023 2:43:22 AM PDT Eckhard Höffner wrote:
> There are methods, to install both (use your home or /usr/local).  The
> system will prefer your home or /usr/local installation.  However, on
> debian, you can install texlive-full and you will get everything,
> including all the language, fonts, format and other files you'll never
> need,
> 
> In general, there are no issues with debian, and I am using it for more
> than twenty years.
> 
> Am 27.10.23 um 07:24 schrieb Steve Litt:
> > John White said on Thu, 26 Oct 2023 09:02:44 -0700
> > 
> >> We recently updated the three computers used by staff to Debian 12.
> >> My computer is still Debian 11.
> > 
> > My personal opinion is it's much better to install texlive from the TUG
> > website rather than from your distro, because you can get everything
> > related to texlive at the TUG website. And whatever you do, never, EVER
> > install texlive from both TUG and your distro.
> > 
> > SteveT
> > 
> > Steve Litt
> > 
> > Autumn 2023 featured book: Rapid Learning for the 21st Century
> > http://www.troubleshooters.com/rl21



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


Re: Setting default document class

2023-10-27 Thread Paul Rubin




On 10/26/23 13:13, Rich Shepard wrote:



Speaking of which, if you go to ~/.lyx/templates, you should see a file
named defaults.lyx. That's your default starting document. All else
failing, try creating an empty doc with the Report class, saving it to
/tmp with the name defaults.lyx, and then moving it over to the 
templates

directory.


Okay. I didn't look in templates, but there the textclass is set to
scrreport so I cannot explain why a new doc comes up as scrbook.

Oh, well. I'll cope with it. :-)

Many thanks,

Rich
You might try "grep template_path ~/.lyx/preferences" and make sure that 
your template directory is correctly set (~/.lyx/templates). If LyX is 
looking for templates in the wrong place, that might explain why it's 
defaulting to the wrong class.


You sure know how to have fun!

Paul

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


Re: LyX 2.3.7 & BibLaTeX?

2023-10-27 Thread Rich Shepard

On Fri, 27 Oct 2023, Bernt Lie via lyx-users wrote:


While I'm waiting, I'm starting to use Zotero to manage bibliography
files, and had some help from a more IT knowledgeable colleague. He set up
Zotero to store bibliography files as BibLaTeX. Some experience:



 1. In the past, I have used the AGSM bibliography style file. This style
doesn't seem to work with BibLaTeX?? Is there another, similar
bibliography style that works with BibLaTeX (i.e., Harvard style, etc.)??
[One change from BibTeX to BibLaTeX seems to be change of field name
"year" to field name "date"??)



 2. One *bad* (?) experience with Zotero is that it *changed* all the
bibliography *label* names. I assume this means that all past LyX/LaTeX
documents I have written will show up with *broken* references if I switch
to the new *.bib file generated by Zotero.



To repeat: my question is:



 *   Is there a BibLaTeX compatible bibliography style file with LyX 2.3.7
   that works similarly to how AGSM works?
 *   Or do I have to wait for LyX 2.4 for BibLaTeX compatibility?


Bernt,

I have been using JabREF for years so I don't know Zotero, but I'll try to
assist you.

What sort of data are your references? In my case they're all
ecological/environmental science and I use BibLaTeX (natbib-mode) as the
citation style format with Author-year format. The bibliography style is
authoryear and the bibliography generation processor is biber.

Here's a referece that might help you:

It uses natbib, with works with BibTex, but the BibLaTeX (natbib-mode) is
equivalent.

HTH,

Rich

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


Re: Debian 12

2023-10-27 Thread Rich Shepard

On Thu, 26 Oct 2023, John White wrote:


Thanks Ecljard and Rich,


John,

You're welcome.


I have forwarded your input to our IT guy and will let you know what he
says. He thinks there may be problems other than pstricks.sty. Before
calling him I loaded every texlive program available on synaptic (except
full) and reconfigured lyx and that didn't help.


Have you (or your IT techie) installed TeXLive2023 on all hosts? If not, I
recommend that you have that done, especially directly from the TUG (TeX
Users Group) web site . It has explicit
instructions for downloading and installing from the Web and that way all
hosts have the same, and most current, installation. That should resolve any
issues.

He can also periodically update the installation from the TUG web site with
a shell script in each host's /etc/cron.weekly (or the Debian equivalent).
Here (on Slackware) my script, update-tlmgr.sh, contains:
cd /usr/local/texlive/2023/bin/x86_64-linux/
./tlmgr update --self --all
./fmtutil-sys --sys -all
cd

This keeps the installation current.

Regards,

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


Re: Debian 12

2023-10-27 Thread Eckhard Höffner
There are methods, to install both (use your home or /usr/local).  The 
system will prefer your home or /usr/local installation.  However, on 
debian, you can install texlive-full and you will get everything, 
including all the language, fonts, format and other files you'll never 
need,


In general, there are no issues with debian, and I am using it for more 
than twenty years.



Am 27.10.23 um 07:24 schrieb Steve Litt:

John White said on Thu, 26 Oct 2023 09:02:44 -0700


We recently updated the three computers used by staff to Debian 12.
My computer is still Debian 11.

My personal opinion is it's much better to install texlive from the TUG
website rather than from your distro, because you can get everything
related to texlive at the TUG website. And whatever you do, never, EVER
install texlive from both TUG and your distro.

SteveT

Steve Litt

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21


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


LyX 2.3.7 & BibLaTeX?

2023-10-27 Thread Bernt Lie via lyx-users
I'm on LyX 2.3.7, eagerly awaiting the release of 2.4 (whenever that will be).

While I'm waiting, I'm starting to use Zotero to manage bibliography files, and 
had some help from a more IT knowledgeable colleague. He set up Zotero to store 
bibliography files as BibLaTeX. Some experience:


  1.  In the past, I have used the AGSM bibliography style file. This style 
doesn't seem to work with BibLaTeX?? Is there another, similar bibliography 
style that works with BibLaTeX (i.e., Harvard style, etc.)?? [One change from 
BibTeX to BibLaTeX seems to be change of field name "year" to field name 
"date"??)
  2.  One *bad* (?) experience with Zotero is that it *changed* all the 
bibliography *label* names. I assume this means that all past LyX/LaTeX 
documents I have written will show up with *broken* references if I switch to 
the new *.bib file generated by Zotero.

To repeat: my question is:

  *   Is there a BibLaTeX compatible bibliography style file with LyX 2.3.7 
that works similarly to how AGSM works?
  *   Or do I have to wait for LyX 2.4 for BibLaTeX compatibility?

Thanks,
BL

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