Re: two (or three) column bibliography

2023-04-27 Thread Eckhard Höffner

The German name of the modul is "Mehrere Spalten".

Maybe there is a misunderstanding. If you use multicol, you don't see 
several columns in LyX, but only in the pdf.



Am 27.04.23 um 16:52 schrieb Herbert Voss:

Wolfgang, I have a default LyX version, nothing special:
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: two (or three) column bibliography

2023-04-27 Thread Herbert Voss



Am 27.04.23 um 15:27 schrieb Wolfgang Engelmann:




To which submenu are you referring?
I could not find the 'Benutzerdefinierte Einfügungen for setting
'several columns'


You have to enable first the use of package multicol.


Sorry, I meant the _module_.




the package multicol was not shown here in my LyX. Apparently that 
package as a modul (which is missing here) does not work for a 2 
column bibliography and should therefore be removed.
But how do I make this below working for my LyX file? Or outside the 
file?


Wolfgang, I have a default LyX version, nothing special:

LyX Version 2.3.6.2


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


Re: two (or three) column bibliography

2023-04-27 Thread Eckhard Höffner

 multicol works fine for the purpose.

=> ls /usr/share/texlive/texmf-dist/tex/latex/tools/multi* shows 
different versions, but the default ist ok.


multicol is part of texlive-latex-base, so please install this package.


Am 27.04.23 um 06:51 schrieb Herbert Voss:



Am 26.04.23 um 18:03 schrieb Wolfgang Engelmann:
How do I get a two (or three) column bibliography in a Koma script 
book with A4 style (and no columns)?


Insert from the submenu the userdefined command Columns (Spalten)
and then insert the name of the bibliography as usual

Herbert



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


Re: two (or three) column bibliography

2023-04-27 Thread Wolfgang Engelmann



Am 27.04.23 um 13:55 schrieb Herbert Voss:



Am 27.04.23 um 11:14 schrieb Wolfgang Engelmann:



Am 27.04.23 um 06:51 schrieb Herbert Voss:



Am 26.04.23 um 18:03 schrieb Wolfgang Engelmann:
How do I get a two (or three) column bibliography in a Koma script 
book with A4 style (and no columns)?


Insert from the submenu the userdefined command Columns (Spalten)
and then insert the name of the bibliography as usual

Herbert



Thanks, Herbert.

To which submenu are you referring?
I could not find the 'Benutzerdefinierte Einfügungen for setting
'several columns'


You have to enable first the use of package multicol.


the package multicol was not shown here in my LyX. Apparently that 
package as a modul (which is missing here) does not work for a 2 column 
bibliography and should therefore be removed.

But how do I make this below working for my LyX file? Or outside the file?

Wolfgang

 See screenshot.

The number of the columns is preset to 2 and can be changed in
file multicol.module which is part of the LyX installtion in the
subdirectory layouts/   Don't know if it can be done from within LyX.

Herbert

bash-3.2$ cat multicol.module
#\DeclareLyXModule[multicol.sty]{Multiple Columns}
#DescriptionBegin
#Adds a custom inset whose content is set with multiple columns (2 by 
default).

#See the Additional manual, section 'Multiple Text Columns', for a detailed
#description of multiple columns.
#DescriptionEnd
#Authors: Uwe Stöhr and Jürgen Spitzmüller

Format 66

InsetLayout Flex:Multiple_Columns
   LyXType            custom
   Decoration        classic
   LabelString        Columns
   LatexType            environment
   LatexName            multicols
   Requires            multicol
   Argument 1
     LabelString        "Number of Columns"
     Tooltip            "Insert the number of columns here"
     Mandatory        1
     DefaultArg        2
     PassThru        1
   EndArgument
   Argument 2
     LabelString        "Preface"
     Tooltip            "An optional preface"
   EndArgument
   Argument 3
     LabelString        "Space Before Page Break"
     Tooltip            "Free space that needs to be on the page to 
start the multiple columns on this page"

     Requires        2
   EndArgument
     ResetsFont true
End






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


Re: two (or three) column bibliography

2023-04-27 Thread Eckhard Höffner

This is not a LyX problem.

LyX produces a tex-file that is stored (on my system) under 
/tmp/lyx_tempdir.random/ and than runs latex (pdflatex lualatex ...), 
makeindex, biber/biblatex on the tex file (several times, to get the 
idx, lot ... files).


You can open the tex file and search \printbibliography[options], insert 
\begin{multicols}{2} before and \end{multicols} after and than run 
pdflatex or xelatex (whatever you choose) on the file.


With Debian,

1. Install kile.

2. Run pdflatex /lualatex /xelatex from LyX (depending on the format 
chosen in the document settings) to produce a pdf


3.  open the tex file under /tmp/lyx_tempdir with kile

4. In kile, there is a drop down menue (next to "Wiederherstellen") -- 
choose pdflatex/lualatex/xelatex (whatever fits)


You get a new version of the pdf file in the same directory, can look at 
the log file and so on.



With my system it works without any problems, as you have seen (you may 
have to insert \cleardoublepage).




Am 27.04.23 um 11:11 schrieb Wolfgang Engelmann:

I use LyX
Version 2.4.0-beta2 (Sonntag, 11. Dezember 2022)
Qt-Version (Laufzeit): 5.15.2 (Plattform: xcb)
Qt-Version (bei Erstellung): 5.15.2
OS-Version (bei Erstellung): Debian GNU/Linux 11 (bullseye)
Python-Aufruf: python3 -tt

At the end of my book text I have

Subject index
Name Index
Nomenclature

\begin{multicols}{2}
Biblatex-erzeugtes Literaturverzeichnis
\end{multicols]

Not sure, whether this stuff before the Subject index might have an 
effect:

Weitere empfohlene Literatur
\begin{refsection}
here several citations
\printbibliography[heading=none]
\end{refsection} 
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: two (or three) column bibliography

2023-04-27 Thread Wolfgang Engelmann



Am 27.04.23 um 06:51 schrieb Herbert Voss:



Am 26.04.23 um 18:03 schrieb Wolfgang Engelmann:
How do I get a two (or three) column bibliography in a Koma script 
book with A4 style (and no columns)?


Insert from the submenu the userdefined command Columns (Spalten)
and then insert the name of the bibliography as usual

Herbert



Thanks, Herbert.

To which submenu are you referring?
I could not find the 'Benutzerdefinierte Einfügungen for setting
'several columns'

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


Re: two (or three) column bibliography

2023-04-27 Thread Wolfgang Engelmann



Am 27.04.23 um 09:26 schrieb Wolfgang Engelmann:


Thanks, Eckard, but I had already
> In the preamble;
>
> \usepackage{multicol}

putting
> \begin{multicols}{2}
>
in front of Biblatex produced Bibliography
> ( LITERATURE )
and
> \end{multicols]
behind it did not produce a two column Bibliography.
May be Herberts proposal works, but I have not yet found the submenu 
he is referring to.


Wolfgang






Am 27.04.23 um 10:29 schrieb Eckhard Höffner:
> Hello Wolfgang,
>
> that's strange as I tried it and it worked, see the attached pictures.
>
> Document class; KOMA Script Book
> 
[cleardoublepage=empty,headings=small,headinclude,numbers=noenddot,toc=bib]


I don't have this in my preamble >  Wolfgang
>
> Bibliography style: Biblatex "autoryear"
yes
>
> Processor should be biber, but in LyX it's standard.
yes
>
> Maybe you don't have the option within the article class?
I don't understand this. I use the Koma script book style >Wolfgang
>
>

I use LyX
Version 2.4.0-beta2 (Sonntag, 11. Dezember 2022)
Qt-Version (Laufzeit): 5.15.2 (Plattform: xcb)
Qt-Version (bei Erstellung): 5.15.2
OS-Version (bei Erstellung): Debian GNU/Linux 11 (bullseye)
Python-Aufruf: python3 -tt

At the end of my book text I have

Subject index
Name Index
Nomenclature

\begin{multicols}{2}
Biblatex-erzeugtes Literaturverzeichnis
\end{multicols]

Not sure, whether this stuff before the Subject index might have an effect:
Weitere empfohlene Literatur
\begin{refsection}
here several citations
\printbibliography[heading=none]
\end{refsection}

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


Re: two (or three) column bibliography

2023-04-27 Thread Wolfgang Engelmann







Am 26.04.23 um 18:03 schrieb Wolfgang Engelmann:
How do I get a two (or three) column bibliography in a Koma script 
book with A4 style (and no columns)?


Wolfgang




Am 26.04.23 um 20:22 schrieb Eckhard Höffner:

In the preamble;

\usepackage{multicol}


\begin{multicols}{2}

LITERATURE
\end{multicols]







Thanks, Eckard, but I had already
> In the preamble;
>
> \usepackage{multicol}

putting
> \begin{multicols}{2}
>
in front of Biblatex produced Bibliography
> ( LITERATURE )
and
> \end{multicols]
behind it did not produce a two column Bibliography.
May be Herberts proposal works, but I have not yet found the submenu he 
is referring to.


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


Re: two (or three) column bibliography

2023-04-26 Thread Herbert Voss



Am 26.04.23 um 18:03 schrieb Wolfgang Engelmann:
How do I get a two (or three) column bibliography in a Koma script 
book with A4 style (and no columns)?


Insert from the submenu the userdefined command Columns (Spalten)
and then insert the name of the bibliography as usual

Herbert

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


two (or three) column bibliography

2023-04-26 Thread Wolfgang Engelmann
How do I get a two (or three) column bibliography in a Koma script book 
with A4 style (and no columns)?


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