Re: texlive and biblatex-spbasic

2021-12-20 Thread Herbert Voss via lyx-users



Am 20.12.21 um 19:20 schrieb Kornel Benko via lyx-users:

Am Mon, 20 Dec 2021 19:17:49 +0100
schrieb Wolfgang Engelmann via lyx-users :


Am 20.12.21 um 18:18 schrieb Herbert Voss via lyx-users:

Thanks, Herbert, for your help. One more question for chmod which did
not work:

   And if you do not run the tlmgr as root

then you do not need it for texhash. I prefer always user permissions for
texlive. The reason why I did after installtion of texlive:

sudo chmod -R voss:voss /usr/local/texlive
   

sudo chmod -R wolfgang:wolfgang /usr/local/texlive/
chmod: Ungültiger Modus: „wolfgang:wolfgang“
„chmod --help“ liefert weitere Informationen.

sudo chmod -R wolfgang /usr/local/texlive/
chmod: Ungültiger Modus: „wolfgang“

   who am i
wolfgang pts/22021-12-20 18:52 (:0)

who
wolfgang tty7 2021-12-20 10:16 (:0)
wolfgang pts/02021-12-20 10:16 (:0)
wolfgang pts/22021-12-20 18:52 (:0)
wolfgang pts/32021-12-20 10:16 (:0)

I do not know what would replace voss:voss in my case.

Wolfgang


You meant 'chown' probably.



Uh, yes!
Sorry Wolfgang and thanks Kornel

sudo chown -R voss:voss /usr/local/texlive



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


Re: texlive and biblatex-spbasic

2021-12-20 Thread Kornel Benko via lyx-users
Am Mon, 20 Dec 2021 19:17:49 +0100
schrieb Wolfgang Engelmann via lyx-users :

> Am 20.12.21 um 18:18 schrieb Herbert Voss via lyx-users:
> 
> Thanks, Herbert, for your help. One more question for chmod which did
> not work:
> 
>   And if you do not run the tlmgr as root
> > then you do not need it for texhash. I prefer always user permissions for
> > texlive. The reason why I did after installtion of texlive:
> > 
> > sudo chmod -R voss:voss /usr/local/texlive
> >   
> sudo chmod -R wolfgang:wolfgang /usr/local/texlive/
> chmod: Ungültiger Modus: „wolfgang:wolfgang“
> „chmod --help“ liefert weitere Informationen.
> 
> sudo chmod -R wolfgang /usr/local/texlive/
> chmod: Ungültiger Modus: „wolfgang“
> 
>   who am i
> wolfgang pts/22021-12-20 18:52 (:0)
> 
> who
> wolfgang tty7 2021-12-20 10:16 (:0)
> wolfgang pts/02021-12-20 10:16 (:0)
> wolfgang pts/22021-12-20 18:52 (:0)
> wolfgang pts/32021-12-20 10:16 (:0)
> 
> I do not know what would replace voss:voss in my case.
> 
> Wolfgang
> 

You meant 'chown' probably.

Kornel


pgpGu11LQoCsu.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: texlive and biblatex-spbasic

2021-12-20 Thread Wolfgang Engelmann via lyx-users



Am 20.12.21 um 18:18 schrieb Herbert Voss via lyx-users:

Thanks, Herbert, for your help. One more question for chmod which did
not work:

 And if you do not run the tlmgr as root

then you do not need it for texhash. I prefer always user permissions for
texlive. The reason why I did after installtion of texlive:

sudo chmod -R voss:voss /usr/local/texlive


sudo chmod -R wolfgang:wolfgang /usr/local/texlive/
chmod: Ungültiger Modus: „wolfgang:wolfgang“
„chmod --help“ liefert weitere Informationen.

sudo chmod -R wolfgang /usr/local/texlive/
chmod: Ungültiger Modus: „wolfgang“

 who am i
wolfgang pts/22021-12-20 18:52 (:0)

who
wolfgang tty7 2021-12-20 10:16 (:0)
wolfgang pts/02021-12-20 10:16 (:0)
wolfgang pts/22021-12-20 18:52 (:0)
wolfgang pts/32021-12-20 10:16 (:0)

I do not know what would replace voss:voss in my case.

Wolfgang

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


Re: texlive and biblatex-spbasic

2021-12-20 Thread Herbert Voss via lyx-users



Am 20.12.21 um 17:49 schrieb Wolfgang Engelmann via lyx-users:
I would like to better understand the tree(s) for texlive and what 
texhash and tlmgr do


The important points are found behind the  at the end of the mail.

Thanks a lot

Wolfgang

Your installed tlmgr will notice and ask you to update it before 
updating anything else. The command to do this is: tlmgr update --self 
After any updates of tlmgr, you can then run, for instance, tlmgr 
update --all, which will update (including additions and removals) all 
other packages in your installation that have been changed on the server.


sudo tlmgr update --self
[sudo] Passwort für wolfgang:
tlmgr: package repository 
https://ftp.tu-chemnitz.de/pub/tex/systems/texlive/tlnet (verified)

tlmgr: saving backups to /usr/local/texlive/2021/tlpkg/backups
tlmgr: no self-updates for tlmgr available

tlmgr update --all



Wolfgang,

you can run

tlmgr --self --all update

then you do not need two  comamnds



sudo texhash


that is already done my tlmgr.  And if you do not run the tlmgr as root
then you do not need it for texhash. I prefer always user permissions for
texlive. The reason why I did after installtion of texlive:

sudo chmod -R voss:voss /usr/local/texlive

then everything in this directors has user permission! And I never
need sudo to run texhash or tlmgr or 



wolfgang@Fuji:~$ find -iname 'texmf*'
./.texlive2020/texmf-var
./.texlive2016/texmf-var
./TEXMF-Sicherung
./TEXMF-Sicherung/texmf
./.texlive2019/texmf-var
./texmf
./.texlive2021/texmf-var

wolfgang@Fuji:/$ sudo find -iname 'texmf*'
./root/.texlive2020/texmf-var


this is always created if you install texlive as root and running
tlmgr also as root.

If you want to see which package is used, run

kpsewhich biblatex-spbasic.sty

then you'll get what TeX will find first and using. With

kpsewhich --all biblatex-spbasic.sty

you'll get all files in the TeX dirextory structure.


wolfgang@Fuji:/usr/local/texlive/texmf-local$ ls -l
insgesamt 52
-rw-r--r-- 1 wolfgang wolfgang 1943 15. Dez 15:02 biblatex-spbasic.bbx
-rw-r--r-- 1 wolfgang wolfgang 2601 15. Dez 15:02 biblatex-spbasic.cbx
-rw-rw-rw- 1 root staff    1578 10. Jul 20:01 
biblatex-spbasic-old.bbx
-rw-r--r-- 1 root staff 295 10. Jul 20:06 
biblatex-spbasic-old.cbx


 Questions:
How do I make sure the new version is used?


first the current directory is searched, then an existing texmf directory,
then the texmf-local directory, then the main texmf-dist/...


Should I remove the older biblatex-spbasic?


rename the old files to for example:

biblatex-spbasic.bbx.20211212


How do I tell lyx to use the new version?



It will be used automatically if you rename the old files.

Herbert


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


texlive and biblatex-spbasic

2021-12-20 Thread Wolfgang Engelmann via lyx-users
I would like to better understand the tree(s) for texlive and what 
texhash and tlmgr do


The important points are found behind the  at the end of the mail.

Thanks a lot

Wolfgang

Your installed tlmgr will notice and ask you to update it before 
updating anything else. The command to do this is: tlmgr update --self 
After any updates of tlmgr, you can then run, for instance, tlmgr update 
--all, which will update (including additions and removals) all other 
packages in your installation that have been changed on the server.


sudo tlmgr update --self
[sudo] Passwort für wolfgang:
tlmgr: package repository 
https://ftp.tu-chemnitz.de/pub/tex/systems/texlive/tlnet (verified)

tlmgr: saving backups to /usr/local/texlive/2021/tlpkg/backups
tlmgr: no self-updates for tlmgr available

tlmgr update --all

tlmgr: saving backups to /usr/local/texlive/2021/tlpkg/backups
[ 1/69] auto-remove: pst-ghsb ... done
[ 2/69, ??:??/??:??] update: acmart [3572k] (60608 -> 61233) ... done
[ 3/69, 00:01/00:34] update: algpseudocodex [350k] (56125 -> 61230) ... done
[ 4/69, 00:03/01:34] update: arara [12457k] (61086 -> 61305) ... done

and a lot of updates ...

sudo texhash
texhash: Updating /usr/local/texlive/2021/texmf-config/ls-R...
texhash: Updating /usr/local/texlive/2021/texmf-dist/ls-R...
texhash: Updating /usr/local/texlive/2021/texmf-var/ls-R...
texhash: Updating /usr/local/texlive/texmf-local/ls-R...
texhash: Done.


wolfgang@Fuji:~$ find -iname 'texmf*'
./.texlive2020/texmf-var
./.texlive2016/texmf-var
./TEXMF-Sicherung
./TEXMF-Sicherung/texmf
./.texlive2019/texmf-var
./texmf
./.texlive2021/texmf-var

wolfgang@Fuji:/$ sudo find -iname 'texmf*'
./root/.texlive2020/texmf-var
./var/lib/dpkg/triggers/texmf-hyphen
./var/lib/dpkg/triggers/texmf-map
./var/lib/dpkg/triggers/texmf-format
./var/lib/texmf
./var/lib/tex-common/fmtutil-cnf/texmf
./var/lib/tex-common/fontmap-cfg/texmf
./home/wolfgang/.texlive2020/texmf-var
./home/wolfgang/.texlive2016/texmf-var
./home/wolfgang/TEXMF-Sicherung
./home/wolfgang/TEXMF-Sicherung/texmf
./home/wolfgang/.texlive2019/texmf-var
./home/wolfgang/texmf
./home/wolfgang/.texlive2021/texmf-var
./usr/local/share/man/man1/texmfstart.1
./usr/local/share/man/man1/texmfstart.man1.pdf
./usr/local/share/texmf
./usr/local/bin/texmfstart
./usr/local/texlive/2021/texmf.cnf
./usr/local/texlive/2021/texmf-var
./usr/local/texlive/2021/texmf-local
./usr/local/texlive/2021/texmf-config
./usr/local/texlive/2021/bin/x86_64-linux/texmfstart
./usr/local/texlive/2021/texmf-dist
./usr/local/texlive/2021/texmf-dist/web2c/texmf.cnf
./usr/local/texlive/2021/texmf-dist/web2c/texmfcnf.lua
./usr/local/texlive/2021/texmf-dist/doc/context/scripts/mkii/texmfstart.man
./usr/local/texlive/2021/texmf-dist/doc/context/scripts/mkii/texmfstart.html
./usr/local/texlive/2021/texmf-dist/doc/context/scripts/mkii/texmfstart.xml
./usr/local/texlive/2021/texmf-dist/doc/man/man1/texmfstart.1
./usr/local/texlive/2021/texmf-dist/doc/man/man1/texmfstart.man1.pdf
./usr/local/texlive/2021/texmf-dist/scripts/context/stubs/win64/texmfstart.exe
./usr/local/texlive/2021/texmf-dist/scripts/context/stubs/unix/texmfstart
./usr/local/texlive/2021/texmf-dist/scripts/context/stubs/mswin/texmfstart.exe
./usr/local/texlive/2021/texmf-dist/scripts/context/ruby/texmfstart.rb
./usr/local/texlive/2021/texmfcnf.lua
./usr/local/texlive/texmf-local
./usr/share/vim/vim82/syntax/texmf.vim
./usr/share/R/share/texmf
./usr/share/man/man1/texmfstart.1.gz
./usr/share/texmf
./usr/share/texmf/web2c/texmf.cnf
./usr/share/texmf/web2c/texmfcnf.lua
./usr/share/texmf/doc/context/scripts/mkii/texmfstart.man
./usr/share/texmf/doc/context/scripts/mkii/texmfstart.html
./usr/share/texmf/doc/context/scripts/mkii/texmfstart.xml
./usr/share/texmf/doc/man/man1/texmfstart.1
./usr/share/texmf/doc/man/man1/texmfstart.man1.pdf
./usr/share/texmf/scripts/context/ruby/texmfstart.rb
./usr/share/texlive/texmf-dist
./usr/share/texlive/texmf-dist/web2c/texmf.cnf
./usr/share/texlive/texmf-dist/web2c/texmfcnf.lua
./usr/bin/texmfstart
./etc/texmf
./etc/texmf/web2c/texmf.cnf
./etc/texmf/texmf.d


wolfgang@Fuji:/usr/local/texlive$ ls
2021  texmf-local


wolfgang@Fuji:/usr/local/texlive/texmf-local$ ls
biblatex-spbasic.bbx  bibtex  ls-R  web2c
biblatex-spbasic.cbx  doc metapost
biblatex-spbasic-old.bbx  dvips   tex
biblatex-spbasic-old.cbx  fonts   tlpkg
ls
biblatex-spbasic.bbx  biblatex-spbasic-old.cbx  dvips  metapost  web2c
biblatex-spbasic.cbx  bibtexfonts  tex
biblatex-spbasic-old.bbx  doc   ls-R   tlpkg


wolfgang@Fuji:/usr/local/texlive/2021$ ls
bin LICENSE.CTAN README.usergroupstexmf-dist
doc.htmlLICENSE.TL   release-texlive.txt  texmf-local
index.html  README   texmf.cnftexmf-var
install-tl  readme-html.dir  texmfcnf.lua tlpkg
install-tl.log  readme-txt.dir   texmf-config


wolfgang@Fuji:/usr/local/texlive/2021$ ls
bin install-tl.log