Re: bibliography-question 1 and 2

2004-07-31 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
 Do you know how I get `und' instead of `and' in the citations as well as in
 the Literaturverzeichnis of a German text? I use \usepackage[round,comma]
 {natbib} in the preamble and guess I have to change something in the natbib
 file, but don't know what and how.

You need a german bibliography style file (*.bst) or edit a copy of the bst 
file you're using (search for the string  and  in the file and replace it 
by  und ).
A very recommendable approach to get your own style is to run latex makebst 
in the console (package custom-bib). Then you can chose the language and 
other settings interactively.
Also cf:
http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST

Regards,
Jürgen.


Re: bibliography-question 1 and 2

2004-07-31 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
 If I add your script to the preamble, I get, however over 100 errors of the
 type
 missing \item

enclose the redefinition in

\makeatletter
[...]
\makeatother

  P.S.: KOMA book does not have this bug.

 because of its captions
  (Figure 1 Legende legende legende
  legende legende legende
  legende
 against the book style with
Figure 1 Legende legende legende
legende legende legende legende   )
 which takes less space

No problem:
\setcapindent{1em}

 and  because the chapter headers are not hyphenated and take therefore too
 much space

\renewcommand*{\raggedsection}{}

KOMA is highly flexible. Almost nothing that can not be achieved. It also has 
a very good german documentation.

Regards,
Jürgen

  Wolfgang



Re: bibliography-question 1 and 2

2004-07-31 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
 Do you know how I get `und' instead of `and' in the citations as well as in
 the Literaturverzeichnis of a German text? I use \usepackage[round,comma]
 {natbib} in the preamble and guess I have to change something in the natbib
 file, but don't know what and how.

You need a german bibliography style file (*.bst) or edit a copy of the bst 
file you're using (search for the string  and  in the file and replace it 
by  und ).
A very recommendable approach to get your own style is to run latex makebst 
in the console (package custom-bib). Then you can chose the language and 
other settings interactively.
Also cf:
http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST

Regards,
Jürgen.


Re: bibliography-question 1 and 2

2004-07-31 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
 If I add your script to the preamble, I get, however over 100 errors of the
 type
 missing \item

enclose the redefinition in

\makeatletter
[...]
\makeatother

  P.S.: KOMA book does not have this bug.

 because of its captions
  (Figure 1 Legende legende legende
  legende legende legende
  legende
 against the book style with
Figure 1 Legende legende legende
legende legende legende legende   )
 which takes less space

No problem:
\setcapindent{1em}

 and  because the chapter headers are not hyphenated and take therefore too
 much space

\renewcommand*{\raggedsection}{}

KOMA is highly flexible. Almost nothing that can not be achieved. It also has 
a very good german documentation.

Regards,
Jürgen

  Wolfgang



Re: bibliography-question 1 and 2

2004-07-31 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
> Do you know how I get `und' instead of `and' in the citations as well as in
> the Literaturverzeichnis of a German text? I use \usepackage[round,comma]
> {natbib} in the preamble and guess I have to change something in the natbib
> file, but don't know what and how.

You need a german bibliography style file (*.bst) or edit a copy of the bst 
file you're using (search for the string " and " in the file and replace it 
by " und ").
A very recommendable approach to get your own style is to run "latex makebst" 
in the console (package custom-bib). Then you can chose the language and 
other settings interactively.
Also cf:
http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST

Regards,
Jürgen.


Re: bibliography-question 1 and 2

2004-07-31 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
> If I add your script to the preamble, I get, however over 100 errors of the
> type
> missing \item

enclose the redefinition in

\makeatletter
[...]
\makeatother

> > P.S.: KOMA book does not have this bug.
>
> because of its captions
>  (Figure 1 Legende legende legende
>  legende legende legende
>  legende
> against the book style with
>Figure 1 Legende legende legende
>legende legende legende legende   )
> which takes less space

No problem:
\setcapindent{1em}

> and  because the chapter headers are not hyphenated and take therefore too
> much space

\renewcommand*{\raggedsection}{}

KOMA is highly flexible. Almost nothing that can not be achieved. It also has 
a very good german documentation.

Regards,
Jürgen

>  Wolfgang



Re: bibliography-question 1 and 2

2004-07-29 Thread Wolfgang Engelmann
Thanks Jürgen, for your much appreciated help re twocolumn bibliography header 
and the additional tip:
 P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de}
 (package url.sty) for your references, then the URL#s will be broken
 correctly.
If I add your script to the preamble, I get, however over 100 errors of the 
type
missing \item 
\item[...]
that makes 100 errors; please try again
\item invalid in math mode
you can't use \spacefactor in mathmode
you can't use \spacefactor in vertical mode
\begin{thebibliography}{59}
 (last one)

Without the new addition to the preample I have no problems.
I guess it has to do with some bib-items in my .bib file (which was created by 
pybliographic); but I am cueless as to the actual cause.


I did not use
 P.S.: KOMA book does not have this bug.

because of its captions
 (Figure 1 Legende legende legende
 legende legende legende
 legende 
against the book style with
 
   Figure 1 Legende legende legende
   legende legende legende legende   )
which takes less space

and  because the chapter headers are not hyphenated and take therefore too 
much space
 
 Wolfgang 


Re: bibliography-question 1 and 2

2004-07-29 Thread Wolfgang Engelmann
Thanks Jürgen, for your much appreciated help re twocolumn bibliography header 
and the additional tip:
 P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de}
 (package url.sty) for your references, then the URL#s will be broken
 correctly.
If I add your script to the preamble, I get, however over 100 errors of the 
type
missing \item 
\item[...]
that makes 100 errors; please try again
\item invalid in math mode
you can't use \spacefactor in mathmode
you can't use \spacefactor in vertical mode
\begin{thebibliography}{59}
 (last one)

Without the new addition to the preample I have no problems.
I guess it has to do with some bib-items in my .bib file (which was created by 
pybliographic); but I am cueless as to the actual cause.


I did not use
 P.S.: KOMA book does not have this bug.

because of its captions
 (Figure 1 Legende legende legende
 legende legende legende
 legende 
against the book style with
 
   Figure 1 Legende legende legende
   legende legende legende legende   )
which takes less space

and  because the chapter headers are not hyphenated and take therefore too 
much space
 
 Wolfgang 


Re: bibliography-question 1 and 2

2004-07-29 Thread Wolfgang Engelmann
Thanks Jürgen, for your much appreciated help re twocolumn bibliography header 
and the additional tip:
> P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de}
> (package url.sty) for your references, then the URL#s will be broken
> correctly.
If I add your script to the preamble, I get, however over 100 errors of the 
type
missing \item 
\item[...]
that makes 100 errors; please try again
\item invalid in math mode
you can't use \spacefactor in mathmode
you can't use \spacefactor in vertical mode
\begin{thebibliography}{59}
 (last one)

Without the new addition to the preample I have no problems.
I guess it has to do with some bib-items in my .bib file (which was created by 
pybliographic); but I am cueless as to the actual cause.


I did not use
> P.S.: KOMA book does not have this bug.

because of its captions
 (Figure 1 Legende legende legende
 legende legende legende
 legende 
against the book style with
 
   Figure 1 Legende legende legende
   legende legende legende legende   )
which takes less space

and  because the chapter headers are not hyphenated and take therefore too 
much space
 
 Wolfgang 


Re: bibliography-question 1 and 2

2004-07-27 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
 Dear Jürgen,
 sorry for a late reply. I am sending you a lyx testfile plus bib-file which
 shows the problem with the Bibliography header (takes the header of the
 last chapter instead) if LAYOUT  PAPER twocolumn document is on, but not,
 if off. I did not put it into the lyx user list, because of its length.
 Perhaps you could answer in the list again, if it is of interest to the
 readers. Thanks for your help.

AFAICS this seems to be indeed sort of a bug in the book.cls, as soon as 
twocolumn is selected. The following redefinition of \thebibliography 
environment fixes it. I don't know if there is some easier solution.

Regards,
Jürgen

P.S.: KOMA book does not have this bug.
P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de} 
(package url.sty) for your references, then the URL#s will be broken 
correctly.

\renewenvironment{thebibliography}[1]
 {%
%% --- THIS IS NEW
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 \thispagestyle{plain}
\else
%% ---
   \chapter*{\bibname}%
\fi
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
   [EMAIL PROTECTED]
\leftmargin\labelwidth
\advance\leftmargin\labelsep
[EMAIL PROTECTED]@code
\usecounter{enumiv}%
[EMAIL PROTECTED]@empty
[EMAIL PROTECTED]@enumiv}}%
  \sloppy
  \clubpenalty4000
  [EMAIL PROTECTED] \clubpenalty
  \widowpenalty4000%
  [EMAIL PROTECTED]
 [EMAIL PROTECTED]
   [EMAIL PROTECTED]@warning{Empty `thebibliography' environment}}%
  \endlist}


Re: bibliography-question 1 and 2

2004-07-27 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
 Dear Jürgen,
 sorry for a late reply. I am sending you a lyx testfile plus bib-file which
 shows the problem with the Bibliography header (takes the header of the
 last chapter instead) if LAYOUT  PAPER twocolumn document is on, but not,
 if off. I did not put it into the lyx user list, because of its length.
 Perhaps you could answer in the list again, if it is of interest to the
 readers. Thanks for your help.

AFAICS this seems to be indeed sort of a bug in the book.cls, as soon as 
twocolumn is selected. The following redefinition of \thebibliography 
environment fixes it. I don't know if there is some easier solution.

Regards,
Jürgen

P.S.: KOMA book does not have this bug.
P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de} 
(package url.sty) for your references, then the URL#s will be broken 
correctly.

\renewenvironment{thebibliography}[1]
 {%
%% --- THIS IS NEW
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 \thispagestyle{plain}
\else
%% ---
   \chapter*{\bibname}%
\fi
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
   [EMAIL PROTECTED]
\leftmargin\labelwidth
\advance\leftmargin\labelsep
[EMAIL PROTECTED]@code
\usecounter{enumiv}%
[EMAIL PROTECTED]@empty
[EMAIL PROTECTED]@enumiv}}%
  \sloppy
  \clubpenalty4000
  [EMAIL PROTECTED] \clubpenalty
  \widowpenalty4000%
  [EMAIL PROTECTED]
 [EMAIL PROTECTED]
   [EMAIL PROTECTED]@warning{Empty `thebibliography' environment}}%
  \endlist}


Re: bibliography-question 1 and 2

2004-07-27 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
> Dear Jürgen,
> sorry for a late reply. I am sending you a lyx testfile plus bib-file which
> shows the problem with the Bibliography header (takes the header of the
> last chapter instead) if LAYOUT > PAPER >twocolumn document is on, but not,
> if off. I did not put it into the lyx user list, because of its length.
> Perhaps you could answer in the list again, if it is of interest to the
> readers. Thanks for your help.

AFAICS this seems to be indeed sort of a bug in the book.cls, as soon as 
twocolumn is selected. The following redefinition of \thebibliography 
environment fixes it. I don't know if there is some easier solution.

Regards,
Jürgen

P.S.: KOMA book does not have this bug.
P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de} 
(package url.sty) for your references, then the URL#s will be broken 
correctly.

\renewenvironment{thebibliography}[1]
 {%
%% ---> THIS IS NEW
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 \thispagestyle{plain}
\else
%% <---
   \chapter*{\bibname}%
\fi
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
   [EMAIL PROTECTED]
\leftmargin\labelwidth
\advance\leftmargin\labelsep
[EMAIL PROTECTED]@code
\usecounter{enumiv}%
[EMAIL PROTECTED]@empty
[EMAIL PROTECTED]@enumiv}}%
  \sloppy
  \clubpenalty4000
  [EMAIL PROTECTED] \clubpenalty
  \widowpenalty4000%
  [EMAIL PROTECTED]
 [EMAIL PROTECTED]
   [EMAIL PROTECTED]@warning{Empty `thebibliography' environment}}%
  \endlist}


Re: bibliography-question 1 and 2

2004-07-16 Thread Wolfgang Engelmann
On Donnerstag 15 Juli 2004 09:11 vormittags, Juergen Spitzmueller wrote:
 Wolfgang Engelmann wrote:
   What document class is this? (This does not happen with standard book
   nor with KOMA book).
 
  I use standard book

 I cannot reproduce the problem with standard book and the settings you
 described.

 Jürgen.

could this be a question of the version? I am using Lyx 1.3.3
(reminder: 
1-
how do I avoid getting the header from the last chapter of my book in the 
bibliography header? 
I asked this before, but forgot the answer and to note it down. Sorry.
I am using in the preamble
\usepackage{fancyhdr}\pagestyle{fancyplain}
and
\AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}}  
in the German version of the book, but I have the same problem in the English 
version without this.
2-
I get in the German Version Author1 and Author2
 instead of   Author 1 und Author2
  ^
in the Text- and Bibliography citations.
I am using \usepackage[round,comma]{natbib}
in the preamble
Is there a style file which takes care of it?)

Wolfgang


Re: bibliography-question 1 and 2

2004-07-16 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
 could this be a question of the version? I am using Lyx 1.3.3

No. This is LaTeX business, and I don't think the book class has been changed. 
I suspect that you are using a package or something which causes this.
Anyway, it is getting hard to help you without an example file. Can you send a 
minimal example file showing this behaviour?

Jürgen.




Re: bibliography-question 1 and 2

2004-07-16 Thread Wolfgang Engelmann
On Donnerstag 15 Juli 2004 09:11 vormittags, Juergen Spitzmueller wrote:
 Wolfgang Engelmann wrote:
   What document class is this? (This does not happen with standard book
   nor with KOMA book).
 
  I use standard book

 I cannot reproduce the problem with standard book and the settings you
 described.

 Jürgen.

could this be a question of the version? I am using Lyx 1.3.3
(reminder: 
1-
how do I avoid getting the header from the last chapter of my book in the 
bibliography header? 
I asked this before, but forgot the answer and to note it down. Sorry.
I am using in the preamble
\usepackage{fancyhdr}\pagestyle{fancyplain}
and
\AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}}  
in the German version of the book, but I have the same problem in the English 
version without this.
2-
I get in the German Version Author1 and Author2
 instead of   Author 1 und Author2
  ^
in the Text- and Bibliography citations.
I am using \usepackage[round,comma]{natbib}
in the preamble
Is there a style file which takes care of it?)

Wolfgang


Re: bibliography-question 1 and 2

2004-07-16 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
 could this be a question of the version? I am using Lyx 1.3.3

No. This is LaTeX business, and I don't think the book class has been changed. 
I suspect that you are using a package or something which causes this.
Anyway, it is getting hard to help you without an example file. Can you send a 
minimal example file showing this behaviour?

Jürgen.




Re: bibliography-question 1 and 2

2004-07-16 Thread Wolfgang Engelmann
On Donnerstag 15 Juli 2004 09:11 vormittags, Juergen Spitzmueller wrote:
> Wolfgang Engelmann wrote:
> > > What document class is this? (This does not happen with standard book
> > > nor with KOMA book).
> >
> > I use standard book
>
> I cannot reproduce the problem with standard book and the settings you
> described.
>
> Jürgen.

could this be a question of the version? I am using Lyx 1.3.3
(reminder: 
1-
how do I avoid getting the header from the last chapter of my book in the 
bibliography header? 
I asked this before, but forgot the answer and to note it down. Sorry.
I am using in the preamble
\usepackage{fancyhdr}\pagestyle{fancyplain}
and
\AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}}  
in the German version of the book, but I have the same problem in the English 
version without this.
2-
I get in the German Version Author1 and Author2
 instead of   Author 1 und Author2
  ^
in the Text- and Bibliography citations.
I am using \usepackage[round,comma]{natbib}
in the preamble
Is there a style file which takes care of it?)

Wolfgang


Re: bibliography-question 1 and 2

2004-07-16 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
> could this be a question of the version? I am using Lyx 1.3.3

No. This is LaTeX business, and I don't think the book class has been changed. 
I suspect that you are using a package or something which causes this.
Anyway, it is getting hard to help you without an example file. Can you send a 
minimal example file showing this behaviour?

Jürgen.




Re: bibliography-question 1 and 2

2004-07-15 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
  What document class is this? (This does not happen with standard book nor
  with KOMA book).

 I use standard book

I cannot reproduce the problem with standard book and the settings you 
described.

Jürgen.


Re: bibliography-question 1 and 2

2004-07-15 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
  What document class is this? (This does not happen with standard book nor
  with KOMA book).

 I use standard book

I cannot reproduce the problem with standard book and the settings you 
described.

Jürgen.


Re: bibliography-question 1 and 2

2004-07-15 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
> > What document class is this? (This does not happen with standard book nor
> > with KOMA book).
>
> I use standard book

I cannot reproduce the problem with standard book and the settings you 
described.

Jürgen.


Re: bibliography-question 1 and 2

2004-07-11 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
 1-
 how do I avoid getting the header from the last chapter of my book in the
 bibliography header?
 I asked this before, but forgot the answer and to note it down. Sorry.
 I am using in the preamble
 \usepackage{fancyhdr}\pagestyle{fancyplain}
 and
 \AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}}
 in the German version of the book, but I have the same problem in the
 English version without this.

What document class is this? (This does not happen with standard book nor with 
KOMA book). Probably you have to redefine thebibliography.

 2-
 I get in the German Version Author1 and Author2
  instead of   Author 1 und Author2
   ^
 in the Text- and Bibliography citations.
 I am using \usepackage[round,comma]{natbib}
 in the preamble
 Is there a style file which takes care of it?

http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST

Jürgen.

 Wolfgang


Re: bibliography-question 1 and 2

2004-07-11 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
 1-
 how do I avoid getting the header from the last chapter of my book in the
 bibliography header?
 I asked this before, but forgot the answer and to note it down. Sorry.
 I am using in the preamble
 \usepackage{fancyhdr}\pagestyle{fancyplain}
 and
 \AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}}
 in the German version of the book, but I have the same problem in the
 English version without this.

What document class is this? (This does not happen with standard book nor with 
KOMA book). Probably you have to redefine thebibliography.

 2-
 I get in the German Version Author1 and Author2
  instead of   Author 1 und Author2
   ^
 in the Text- and Bibliography citations.
 I am using \usepackage[round,comma]{natbib}
 in the preamble
 Is there a style file which takes care of it?

http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST

Jürgen.

 Wolfgang


Re: bibliography-question 1 and 2

2004-07-11 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
> 1-
> how do I avoid getting the header from the last chapter of my book in the
> bibliography header?
> I asked this before, but forgot the answer and to note it down. Sorry.
> I am using in the preamble
> \usepackage{fancyhdr}\pagestyle{fancyplain}
> and
> \AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}}
> in the German version of the book, but I have the same problem in the
> English version without this.

What document class is this? (This does not happen with standard book nor with 
KOMA book). Probably you have to redefine thebibliography.

> 2-
> I get in the German Version Author1 and Author2
>  instead of   Author 1 und Author2
>   ^
> in the Text- and Bibliography citations.
> I am using \usepackage[round,comma]{natbib}
> in the preamble
> Is there a style file which takes care of it?

http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST

Jürgen.

> Wolfgang