SOLVED: How to change citation in Biblatex spbasic

2023-06-11 Thread Wolfgang Engelmann

Thanks, Herbert and Jürgen.

Good to know it is quite easy to get the desired change in the output.

Wolfgang

Am 11.06.23 um 10:14 schrieb Jürgen Spitzmüller:

Am Sonntag, dem 11.06.2023 um 09:02 +0200 schrieb Herbert Voss:

Only for authors with the same familyname the given names are used.


And this could be omitted by uniquename=false or maybe a less radical
uniquename value (in Document > Settings > Bibliography > Cite Style >
Options).

See biblatex manual, 4.11.4 Name Disambiguation.


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


Re: How to change citation in Biblatex spbasic

2023-06-11 Thread Jürgen Spitzmüller
Am Sonntag, dem 11.06.2023 um 09:02 +0200 schrieb Herbert Voss:
> Only for authors with the same familyname the given names are used.

And this could be omitted by uniquename=false or maybe a less radical
uniquename value (in Document > Settings > Bibliography > Cite Style >
Options).

See biblatex manual, 4.11.4 Name Disambiguation.

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


Re: How to change citation in Biblatex spbasic

2023-06-11 Thread Herbert Voss



Am 10.06.23 um 09:58 schrieb Wolfgang Engelmann:
I use for my literature biblatex (author year) citation style spbasic, 
processor biber.


I would like to change the citation in the text slightly.
Example:

S Daan, DGM Beersma (1984)
should be

Daan, Beersma (1984)

or Daan and Beersma (1984)

Can I obtain this in the Style options and what should be entered there?



Wolfgang,

that is already the default of the style biblatex-spbasic. Only for 
authors with the

same familyname the given names are used.

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


How to change citation in Biblatex spbasic

2023-06-10 Thread Wolfgang Engelmann
I use for my literature biblatex (author year) citation style spbasic, 
processor biber.


I would like to change the citation in the text slightly.
Example:

S Daan, DGM Beersma (1984)
should be

Daan, Beersma (1984)

or Daan and Beersma (1984)

Can I obtain this in the Style options and what should be entered there?

If not, how would I change it in the citation style spbasic which was 
modified for LyX by Herbert Voss?


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


Re: Solved and addendum >Re: biblatex-spbasic

2022-03-16 Thread Herbert Voss via lyx-users




Am 16.03.22 um 09:08 schrieb Wolfgang Engelmann via lyx-users:



Am 16.03.22 um 08:59 schrieb Herbert Voss via lyx-users:



Am 16.03.22 um 08:46 schrieb Wolfgang Engelmann via lyx-users:


I selected biblatex citation style Nature and kept biblatex-spbasic 
for the bibliography style. The citations are now in [number], but 
that's ok.

Thanks, Herbert, for the suggestion.

Wolfgang


Addendum:

This is of course nonsense:

"I selected biblatex citation style Nature and kept biblatex-spbasic 
for

> the bibliography style."

I can't keep biblatex-spbasic, since it is not numeric.
The bibliography style should also be Nature



It is possible to combine the styles:

citestyle=nature, bibstyle=sbbasic

Herbert


You mean biblatex-spbasic (selected from the Biblatex bibliography 
style menu)? But this does not give numbers in the Bibliography, i.e. 
you can't find your citations there.



yes, I meant it more generally. For your need it makes sense to have

citestyle=nature, bibstyle=numeric

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


Re: Solved and addendum >Re: biblatex-spbasic

2022-03-16 Thread Wolfgang Engelmann via lyx-users




Am 16.03.22 um 08:59 schrieb Herbert Voss via lyx-users:



Am 16.03.22 um 08:46 schrieb Wolfgang Engelmann via lyx-users:


I selected biblatex citation style Nature and kept biblatex-spbasic 
for the bibliography style. The citations are now in [number], but 
that's ok.

Thanks, Herbert, for the suggestion.

Wolfgang


Addendum:

This is of course nonsense:

"I selected biblatex citation style Nature and kept biblatex-spbasic for
> the bibliography style."

I can't keep biblatex-spbasic, since it is not numeric.
The bibliography style should also be Nature



It is possible to combine the styles:

citestyle=nature, bibstyle=sbbasic

Herbert


You mean biblatex-spbasic (selected from the Biblatex bibliography style 
menu)? But this does not give numbers in the Bibliography, i.e. you 
can't find your citations there.


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


Re: Solved and addendum >Re: biblatex-spbasic

2022-03-16 Thread Herbert Voss via lyx-users




Am 16.03.22 um 08:46 schrieb Wolfgang Engelmann via lyx-users:


I selected biblatex citation style Nature and kept biblatex-spbasic 
for the bibliography style. The citations are now in [number], but 
that's ok.

Thanks, Herbert, for the suggestion.

Wolfgang


Addendum:

This is of course nonsense:

"I selected biblatex citation style Nature and kept biblatex-spbasic for
> the bibliography style."

I can't keep biblatex-spbasic, since it is not numeric.
The bibliography style should also be Nature



It is possible to combine the styles:

citestyle=nature, bibstyle=sbbasic

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


Solved and addendum >Re: biblatex-spbasic

2022-03-16 Thread Wolfgang Engelmann via lyx-users



Am 14.03.22 um 08:59 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 08:33 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 08:10 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 08:07 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:58 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:53 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 07:51 schrieb Herbert Voss via lyx-users:

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and 
bib as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

Herbert


What would be the next best numeric style to spbasic ?


there is no best, it is the default  style "numeric" with changing 
\cite

to footnotes.



You can try "style=nature"   instead of footnotes



sorry, read "instead of numeric"

Herbert


Thanks, Herbert, for the proposals. I Will take the Nature style.

Wolfgang


I selected biblatex citation style Nature and kept biblatex-spbasic for 
the bibliography style. The citations are now in [number], but that's ok.

Thanks, Herbert, for the suggestion.

Wolfgang


Addendum:

This is of course nonsense:

"I selected biblatex citation style Nature and kept biblatex-spbasic for
> the bibliography style."

I can't keep biblatex-spbasic, since it is not numeric.
The bibliography style should also be Nature

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


Re: biblatex-spbasic

2022-03-14 Thread Wolfgang Engelmann via lyx-users



Am 14.03.22 um 08:33 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 08:10 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 08:07 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:58 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:53 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 07:51 schrieb Herbert Voss via lyx-users:

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and 
bib as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

Herbert


What would be the next best numeric style to spbasic ?


there is no best, it is the default  style "numeric" with changing 
\cite

to footnotes.



You can try "style=nature"   instead of footnotes



sorry, read "instead of numeric"

Herbert


Thanks, Herbert, for the proposals. I Will take the Nature style.

Wolfgang


I selected biblatex citation style Nature and kept biblatex-spbasic for 
the bibliography style. The citations are now in [number], but that's ok.

Thanks, Herbert, for the suggestion.

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


Re: biblatex-spbasic

2022-03-14 Thread Wolfgang Engelmann via lyx-users



Am 14.03.22 um 08:10 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 08:07 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:58 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:53 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 07:51 schrieb Herbert Voss via lyx-users:

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and 
bib as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

Herbert


What would be the next best numeric style to spbasic ?


there is no best, it is the default  style "numeric" with changing \cite
to footnotes.



You can try "style=nature"   instead of footnotes



sorry, read "instead of numeric"

Herbert


Thanks, Herbert, for the proposals. I Will take the Nature style.

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


Re: biblatex-spbasic

2022-03-14 Thread Herbert Voss via lyx-users



Am 14.03.22 um 08:07 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:58 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:53 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 07:51 schrieb Herbert Voss via lyx-users:

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and 
bib as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

Herbert


What would be the next best numeric style to spbasic ?


there is no best, it is the default  style "numeric" with changing \cite
to footnotes.



You can try "style=nature"   instead of footnotes



sorry, read "instead of numeric"

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


Re: biblatex-spbasic

2022-03-14 Thread Herbert Voss via lyx-users



Am 14.03.22 um 07:58 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:53 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 07:51 schrieb Herbert Voss via lyx-users:

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and 
bib as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

Herbert


What would be the next best numeric style to spbasic ?


there is no best, it is the default  style "numeric" with changing \cite
to footnotes.



You can try "style=nature"   instead of footnotes
It is the style from the "nature" journal.

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


Re: biblatex-spbasic

2022-03-13 Thread Herbert Voss via lyx-users



Am 14.03.22 um 07:53 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 07:51 schrieb Herbert Voss via lyx-users:

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and bib 
as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

Herbert


What would be the next best numeric style to spbasic ?


there is no best, it is the default  style "numeric" with changing \cite
to footnotes.

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


Re: biblatex-spbasic

2022-03-13 Thread Wolfgang Engelmann via lyx-users




Am 14.03.22 um 07:51 schrieb Herbert Voss via lyx-users:

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and bib 
as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

Herbert


What would be the next best numeric style to spbasic ?

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


Re: biblatex-spbasic

2022-03-13 Thread Herbert Voss via lyx-users

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and bib 
as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

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


Re: biblatex-spbasic

2022-03-13 Thread Wolfgang Engelmann via lyx-users



Am 14.03.22 um 07:42 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:37 schrieb Wolfgang Engelmann via lyx-users:



Am 13.03.22 um 07:41 schrieb Herbert Voss via lyx-users:



Am 12.03.22 um 17:53 schrieb Wolfgang Engelmann via lyx-users:
I would like to use biblatex-spbasic for the literature citations 
and the Bibliography.


I have selected the style in Document Settings>Bibliography.

However, I would like to have a superscript number instead of the 
names/years in the document. The output in the Bibliography should 
be as before.



Do you mean \footcite and /or \footfullcite  ??   If yes, see 
documentation.


Herbert




Is this possible already or do I have to wait until somebody is kind 
enough to create it?


The reason is, that I have a large amount of citations in the 
document and reading the text would be less fluent if the names/year 
is given instead of just a superscript.




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and bib as 
usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: biblatex-spbasic

2022-03-13 Thread Herbert Voss via lyx-users



Am 14.03.22 um 07:37 schrieb Wolfgang Engelmann via lyx-users:



Am 13.03.22 um 07:41 schrieb Herbert Voss via lyx-users:



Am 12.03.22 um 17:53 schrieb Wolfgang Engelmann via lyx-users:
I would like to use biblatex-spbasic for the literature citations 
and the Bibliography.


I have selected the style in Document Settings>Bibliography.

However, I would like to have a superscript number instead of the 
names/years in the document. The output in the Bibliography should 
be as before.



Do you mean \footcite and /or \footfullcite  ??   If yes, see 
documentation.


Herbert




Is this possible already or do I have to wait until somebody is kind 
enough to create it?


The reason is, that I have a large amount of citations in the 
document and reading the text would be less fluent if the names/year 
is given instead of just a superscript.




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and bib as 
usual.


Herbert

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


Re: biblatex-spbasic

2022-03-13 Thread Wolfgang Engelmann via lyx-users



Am 13.03.22 um 07:41 schrieb Herbert Voss via lyx-users:



Am 12.03.22 um 17:53 schrieb Wolfgang Engelmann via lyx-users:
I would like to use biblatex-spbasic for the literature citations and 
the Bibliography.


I have selected the style in Document Settings>Bibliography.

However, I would like to have a superscript number instead of the 
names/years in the document. The output in the Bibliography should be 
as before.



Do you mean \footcite and /or \footfullcite  ??   If yes, see 
documentation.


Herbert




Is this possible already or do I have to wait until somebody is kind 
enough to create it?


The reason is, that I have a large amount of citations in the document 
and reading the text would be less fluent if the names/year is given 
instead of just a superscript.




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: biblatex-spbasic

2022-03-12 Thread Herbert Voss via lyx-users



Am 12.03.22 um 17:53 schrieb Wolfgang Engelmann via lyx-users:
I would like to use biblatex-spbasic for the literature citations and 
the Bibliography.


I have selected the style in Document Settings>Bibliography.

However, I would like to have a superscript number instead of the 
names/years in the document. The output in the Bibliography should be 
as before.



Do you mean \footcite and /or \footfullcite  ??   If yes, see documentation.

Herbert




Is this possible already or do I have to wait until somebody is kind 
enough to create it?


The reason is, that I have a large amount of citations in the document 
and reading the text would be less fluent if the names/year is given 
instead of just a superscript.


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


biblatex-spbasic

2022-03-12 Thread Wolfgang Engelmann via lyx-users
I would like to use biblatex-spbasic for the literature citations and 
the Bibliography.


I have selected the style in Document Settings>Bibliography.

However, I would like to have a superscript number instead of the 
names/years in the document. The output in the Bibliography should be as 
before.


Is this possible already or do I have to wait until somebody is kind 
enough to create it?


The reason is, that I have a large amount of citations in the document 
and reading the text would be less fluent if the names/year is given 
instead of just a superscript.


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 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  bibtex        fonts  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