Re: Bibliography filtering by type

2022-10-22 Thread Oliver Margraf



Am 21.10.22 um 08:42 schrieb Jürgen Spitzmüller:


If you only want a main heading "Bibliography" in the toc, simply add
it as a chapter heading above the insets. If you also want the
bibliography section heading in the toc, use heading=subbibintoc
instead of heading=subbibliography in the inset options


Thank you so much - that's it. Sometimes the easiest things are the 
hardest... Maybe I was using plain LaTeX too much in the past to 
anticipate that it can be also that easy (with that little code) ;-)


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


Re: Bibliography filtering by type

2022-10-21 Thread Jürgen Spitzmüller
Am Donnerstag, dem 20.10.2022 um 08:29 +0200 schrieb Oliver Margraf:
> I also tried that - however then I won't get a "Bibliography" entry
> in the toc and (logically) only the subheadings, so this would work 
> yet then I would need to know how to add the toc entry and the main
> heading "Bibliography".

If you only want a main heading "Bibliography" in the toc, simply add
it as a chapter heading above the insets. If you also want the
bibliography section heading in the toc, use heading=subbibintoc
instead of heading=subbibliography in the inset options

HTH,

-- 
Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography filtering by type

2022-10-19 Thread Jürgen Spitzmüller
Am Dienstag, dem 18.10.2022 um 21:04 +0200 schrieb Oliver Margraf:
> However with the change (bibliography just put in from the list
> menu), I have now the problem of getting one full, unseparated
> bibliography and I don't know how to get my "old" sorting. Because
> when I try to set the option of the printbibliography command in the
> option of the LyX-biblatex entry (obviously one entry corresponding
> to the former printbib-command), I get that section from my bib
> printed, however, I couldn't find out how to get the "main" section
> "Biblography" on top and into the toc - if I add a biblatex-bib on
> top, I get (of course) full bibliography before the "filtered"
> sections.

For the code you showed, you need to insert 5 Bib(la)TeX Bibliography
insets, and add the options you want for each \printbibliography to the
respective inset. This should work.

If it doesn't, please send a complete minimal example file of the
previous (working) way and your failing approach.

-- 
Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography filtering by type

2022-10-19 Thread Oliver Margraf
I don't think so - Umlauts are shown without any problems (using UTF-8 
encoding) - just having a complete bibliography plus the filtered ones...


Oliver

Am 19.10.22 um 14:06 schrieb Dr Eberhard Lisse:

Perhaps an Umlaut Issue?

el

On 18/10/2022 21:04, Oliver Margraf wrote:

Dear list,

I have used LyX for some time and came now across the change of the
handling of the bibliography in 2.3.6. I managed to understand the
changes concering inserting a biblography, changes towards the preamble
and the change of using the options, however I have the following problem:
When I insert my bibliograpy, I separate it by the type of entry (as a
subbibliography). In the old form (with the biblatex entry set into a
note), I had a LaTeX box with entries like these:

\printbibliography[nottype=online,nottype=inarticle,nottype=report,nottype=book,nottype=inbook,heading=subbibliography,title={Aufsätze
 in Journals und Tagungsbänden}]
\printbibliography[type=inbook,heading=subbibliography,title={Artikel
aus Sammelbänden}]
\printbibliography[type=book,heading=subbibliography,title={Bücher}]
\printbibliography[type=report,heading=subbibliography,title={Studien}]
\printbibliography[type=online,heading=subbibliography,title={Onlinequellen}]

However with the change (bibliography just put in from the list menu), I
have now the problem of getting one full, unseparated bibliography and I
don't know how to get my "old" sorting. Because when I try to set the
option of the printbibliography command in the option of the
LyX-biblatex entry (obviously one entry corresponding to the former
printbib-command), I get that section from my bib printed, however, I
couldn't find out how to get the "main" section "Biblography" on top and
into the toc - if I add a biblatex-bib on top, I get (of course) full
bibliography before the "filtered" sections.
If I try to work without the insert of the Bibliography from LyX and use
LaTeX Code like this:


\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Literaturverzeichnis}
\printbibheading
\printbibliography[nottype=online,nottype=inarticle,nottype=report,nottype=book,nottype=inbook,heading=subbibliography,title={Aufsätze
 in Journals und Tagungsbänden}]
\printbibliography[type=inbook,heading=subbibliography,title={Artikel
aus Sammelbänden}]
\printbibliography[type=book,heading=subbibliography,title={Bücher}]
\printbibliography[type=report,heading=subbibliography,title={Studien}]
\printbibliography[type=online,heading=subbibliography,title={Onlinequellen}]


I get a problem with the appendix - LyX gives me an LaTeX error like this:

LaTeX Error: Something's wrong --perhaps a missing \item
  ...on}{\numberline {A}Anhang}{21}{appendix.A}
   %
Try typing    to proceed.
If that doesn't work, type  X   to quit.


So my question is: How do I get the Bibliography-section (also in the
toc), plus the bib splitted into the specified types?
I tried to search the archives, but couldn't find anything matching.

TIA
Oliver



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


Re: Bibliography filtering by type

2022-10-19 Thread Dr Eberhard Lisse
Perhaps an Umlaut Issue?

el

On 18/10/2022 21:04, Oliver Margraf wrote:
> Dear list,
> 
> I have used LyX for some time and came now across the change of the
> handling of the bibliography in 2.3.6. I managed to understand the
> changes concering inserting a biblography, changes towards the preamble
> and the change of using the options, however I have the following problem:
> When I insert my bibliograpy, I separate it by the type of entry (as a
> subbibliography). In the old form (with the biblatex entry set into a
> note), I had a LaTeX box with entries like these:
> 
> \printbibliography[nottype=online,nottype=inarticle,nottype=report,nottype=book,nottype=inbook,heading=subbibliography,title={Aufsätze
>  in Journals und Tagungsbänden}]
> \printbibliography[type=inbook,heading=subbibliography,title={Artikel
> aus Sammelbänden}]
> \printbibliography[type=book,heading=subbibliography,title={Bücher}]
> \printbibliography[type=report,heading=subbibliography,title={Studien}]
> \printbibliography[type=online,heading=subbibliography,title={Onlinequellen}]
> 
> However with the change (bibliography just put in from the list menu), I
> have now the problem of getting one full, unseparated bibliography and I
> don't know how to get my "old" sorting. Because when I try to set the
> option of the printbibliography command in the option of the
> LyX-biblatex entry (obviously one entry corresponding to the former
> printbib-command), I get that section from my bib printed, however, I
> couldn't find out how to get the "main" section "Biblography" on top and
> into the toc - if I add a biblatex-bib on top, I get (of course) full
> bibliography before the "filtered" sections.
> If I try to work without the insert of the Bibliography from LyX and use
> LaTeX Code like this:
> 
> 
> \cleardoublepage
> \phantomsection
> \addcontentsline{toc}{chapter}{Literaturverzeichnis}
> \printbibheading
> \printbibliography[nottype=online,nottype=inarticle,nottype=report,nottype=book,nottype=inbook,heading=subbibliography,title={Aufsätze
>  in Journals und Tagungsbänden}]
> \printbibliography[type=inbook,heading=subbibliography,title={Artikel
> aus Sammelbänden}]
> \printbibliography[type=book,heading=subbibliography,title={Bücher}]
> \printbibliography[type=report,heading=subbibliography,title={Studien}]
> \printbibliography[type=online,heading=subbibliography,title={Onlinequellen}]
> 
> 
> I get a problem with the appendix - LyX gives me an LaTeX error like this:
> 
> LaTeX Error: Something's wrong --perhaps a missing \item
>  ...on}{\numberline {A}Anhang}{21}{appendix.A}
>   %
> Try typing    to proceed.
> If that doesn't work, type  X   to quit.
> 
> 
> So my question is: How do I get the Bibliography-section (also in the
> toc), plus the bib splitted into the specified types?
> I tried to search the archives, but couldn't find anything matching.
> 
> TIA
> Oliver

-- 
To email me replace 'nospam' with 'el'


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


Bibliography filtering by type

2022-10-18 Thread Oliver Margraf

Dear list,

I have used LyX for some time and came now across the change of the 
handling of the bibliography in 2.3.6. I managed to understand the 
changes concering inserting a biblography, changes towards the preamble 
and the change of using the options, however I have the following problem:
When I insert my bibliograpy, I separate it by the type of entry (as a 
subbibliography). In the old form (with the biblatex entry set into a 
note), I had a LaTeX box with entries like these:


\printbibliography[nottype=online,nottype=inarticle,nottype=report,nottype=book,nottype=inbook,heading=subbibliography,title={Aufsätze 
in Journals und Tagungsbänden}]
\printbibliography[type=inbook,heading=subbibliography,title={Artikel 
aus Sammelbänden}]

\printbibliography[type=book,heading=subbibliography,title={Bücher}]
\printbibliography[type=report,heading=subbibliography,title={Studien}]
\printbibliography[type=online,heading=subbibliography,title={Onlinequellen}]

However with the change (bibliography just put in from the list menu), I 
have now the problem of getting one full, unseparated bibliography and I 
don't know how to get my "old" sorting. Because when I try to set the 
option of the printbibliography command in the option of the 
LyX-biblatex entry (obviously one entry corresponding to the former 
printbib-command), I get that section from my bib printed, however, I 
couldn't find out how to get the "main" section "Biblography" on top and 
into the toc - if I add a biblatex-bib on top, I get (of course) full 
bibliography before the "filtered" sections.
If I try to work without the insert of the Bibliography from LyX and use 
LaTeX Code like this:



\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Literaturverzeichnis}
\printbibheading
\printbibliography[nottype=online,nottype=inarticle,nottype=report,nottype=book,nottype=inbook,heading=subbibliography,title={Aufsätze 
in Journals und Tagungsbänden}]
\printbibliography[type=inbook,heading=subbibliography,title={Artikel 
aus Sammelbänden}]

\printbibliography[type=book,heading=subbibliography,title={Bücher}]
\printbibliography[type=report,heading=subbibliography,title={Studien}]
\printbibliography[type=online,heading=subbibliography,title={Onlinequellen}]


I get a problem with the appendix - LyX gives me an LaTeX error like this:

LaTeX Error: Something's wrong --perhaps a missing \item
 ...on}{\numberline {A}Anhang}{21}{appendix.A}
  %
Try typingto proceed.
If that doesn't work, type  X   to quit.


So my question is: How do I get the Bibliography-section (also in the 
toc), plus the bib splitted into the specified types?

I tried to search the archives, but couldn't find anything matching.

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