Re: citation style

2014-10-04 Thread Jürgen Spitzmüller
Am Samstag 04 Oktober 2014, 08:01:14 schrieb Wolfgang Engelmann:
 Hello,
 
 a nice feature of recent lyx versions is that one can choose the type of
 citation by right-clicking on the citation. What I am missing here is,
 however, this type:
 authors et al. 2010 (no comma!)
 there is only
 authors et al., 2010

Works here. Pleae post a minimal example file.

Jürgen






Re: citation style

2014-10-04 Thread Jürgen Spitzmüller
Wolfgang Engelmann wrote:
 Here are the examples. 

Please send a _minimal_ example file. This one has over 60 pages, and I would 
need to delete a dozens of unavailable graphics first.
http://wiki.lyx.org/FAQ/MinimalExample

Jürgen


Re: citation style

2014-10-04 Thread Wolfgang Engelmann

I am awful sorry, I sent the wrong file. Wolfgang

Am 04.10.2014 um 10:47 schrieb Jürgen Spitzmüller:

Wolfgang Engelmann wrote:

Here are the examples.

Please send a _minimal_ example file. This one has over 60 pages, and I would
need to delete a dozens of unavailable graphics first.
http://wiki.lyx.org/FAQ/MinimalExample

Jürgen




TestA.lyx
Description: application/lyx


Re: citation style

2014-10-04 Thread Wolfgang Engelmann
This was indeed something which should not happen: to send the original 
file from which

I had prepared the short one. It should at least not have gone to the list!
There is no excuse, but the publisher wants the proof reading done in 
such a short time,

that I was too nervous (and too old, by the way).
Must donate to the LyX people...

 Wolfgang, full of shame

Am 04.10.2014 um 11:08 schrieb Wolfgang Engelmann:

I am awful sorry, I sent the wrong file. Wolfgang

Am 04.10.2014 um 10:47 schrieb Jürgen Spitzmüller:

Wolfgang Engelmann wrote:

Here are the examples.
Please send a _minimal_ example file. This one has over 60 pages, and 
I would

need to delete a dozens of unavailable graphics first.
http://wiki.lyx.org/FAQ/MinimalExample

Jürgen






Re: citation style

2014-10-04 Thread Jürgen Spitzmüller
Wolfgang Engelmann wrote:
 I am awful sorry, I sent the wrong file. Wolfgang

By default, natbib does not provide a citation command with author-year in 
parathesis and no comma between author and year.

An workaround is to use the citation command with comma and pass the following 
to the preamble:

\setcitestyle{aysep={}}

This will remove the comma between author and year globally in the output.

If you want the comma to be omitted in the LyX view as well, paste the 
following to Document  Local Format, hit Validate and OK (you might need 
to restart to see the effect):


CiteFormat authoryear
!open (
!sep ;
!close )

!citet %!startlink%%!abbrvauthor%%!endlink% 
%!open%%!textbefore%%!year%%!nextcitet%
!citealt %!startlink%%!abbrvauthor% 
%!textbefore%%!year%%!endlink%%!nextcitealt%
!citealp %!startlink%%!abbrvauthor% %!year%%!endlink%%!nextcitealp%

!nextcitet {%next%[[%!close%%!sep% %!citet%]]}
!nextcitealt {%next%[[%!sep% %!citealt%]]}
!nextcitealp {%next%[[%!sep% %!citealp%]]}

cite %!citet%%!textafter%%!close%
citep %!open%%!textbefore%%!citealp%%!textafter%%!close%
citealp %!textbefore%%!citealp%%!textafter%
citeauthor %!startlink%%!abbrvauthor%%!endlink%%!nextauthor%%!textafter%
citeyear %!startlink%%!year%%!endlink%%!nextyear%%!textafter%
End




HTH,
Jürgen



Re: citation style

2014-10-04 Thread Wolfgang Engelmann

Thanks, Jürgen,
for the workaround. Since this will remove the commata between author 
and year globally,
I decided to leave is to the Publisher. I am not willing to wreck my 
nerves and spill my time

for the shareholders.
But I appreciated your help very much,
Yours
Wolfgang


Am 04.10.2014 um 11:34 schrieb Jürgen Spitzmüller:

Wolfgang Engelmann wrote:

I am awful sorry, I sent the wrong file. Wolfgang

By default, natbib does not provide a citation command with author-year in
parathesis and no comma between author and year.

An workaround is to use the citation command with comma and pass the following
to the preamble:

\setcitestyle{aysep={}}

This will remove the comma between author and year globally in the output.

If you want the comma to be omitted in the LyX view as well, paste the
following to Document  Local Format, hit Validate and OK (you might need
to restart to see the effect):


CiteFormat authoryear
!open (
!sep ;
!close )

!citet %!startlink%%!abbrvauthor%%!endlink%
%!open%%!textbefore%%!year%%!nextcitet%
!citealt %!startlink%%!abbrvauthor%
%!textbefore%%!year%%!endlink%%!nextcitealt%
!citealp %!startlink%%!abbrvauthor% %!year%%!endlink%%!nextcitealp%

!nextcitet {%next%[[%!close%%!sep% %!citet%]]}
!nextcitealt {%next%[[%!sep% %!citealt%]]}
!nextcitealp {%next%[[%!sep% %!citealp%]]}

cite %!citet%%!textafter%%!close%
citep %!open%%!textbefore%%!citealp%%!textafter%%!close%
citealp %!textbefore%%!citealp%%!textafter%
citeauthor %!startlink%%!abbrvauthor%%!endlink%%!nextauthor%%!textafter%
citeyear %!startlink%%!year%%!endlink%%!nextyear%%!textafter%
End




HTH,
Jürgen





Re: citation style

2014-10-04 Thread Jürgen Spitzmüller
Am Samstag 04 Oktober 2014, 08:01:14 schrieb Wolfgang Engelmann:
 Hello,
 
 a nice feature of recent lyx versions is that one can choose the type of
 citation by right-clicking on the citation. What I am missing here is,
 however, this type:
 authors et al. 2010 (no comma!)
 there is only
 authors et al., 2010

Works here. Pleae post a minimal example file.

Jürgen






Re: citation style

2014-10-04 Thread Jürgen Spitzmüller
Wolfgang Engelmann wrote:
 Here are the examples. 

Please send a _minimal_ example file. This one has over 60 pages, and I would 
need to delete a dozens of unavailable graphics first.
http://wiki.lyx.org/FAQ/MinimalExample

Jürgen


Re: citation style

2014-10-04 Thread Wolfgang Engelmann

I am awful sorry, I sent the wrong file. Wolfgang

Am 04.10.2014 um 10:47 schrieb Jürgen Spitzmüller:

Wolfgang Engelmann wrote:

Here are the examples.

Please send a _minimal_ example file. This one has over 60 pages, and I would
need to delete a dozens of unavailable graphics first.
http://wiki.lyx.org/FAQ/MinimalExample

Jürgen




TestA.lyx
Description: application/lyx


Re: citation style

2014-10-04 Thread Wolfgang Engelmann
This was indeed something which should not happen: to send the original 
file from which

I had prepared the short one. It should at least not have gone to the list!
There is no excuse, but the publisher wants the proof reading done in 
such a short time,

that I was too nervous (and too old, by the way).
Must donate to the LyX people...

 Wolfgang, full of shame

Am 04.10.2014 um 11:08 schrieb Wolfgang Engelmann:

I am awful sorry, I sent the wrong file. Wolfgang

Am 04.10.2014 um 10:47 schrieb Jürgen Spitzmüller:

Wolfgang Engelmann wrote:

Here are the examples.
Please send a _minimal_ example file. This one has over 60 pages, and 
I would

need to delete a dozens of unavailable graphics first.
http://wiki.lyx.org/FAQ/MinimalExample

Jürgen






Re: citation style

2014-10-04 Thread Jürgen Spitzmüller
Wolfgang Engelmann wrote:
 I am awful sorry, I sent the wrong file. Wolfgang

By default, natbib does not provide a citation command with author-year in 
parathesis and no comma between author and year.

An workaround is to use the citation command with comma and pass the following 
to the preamble:

\setcitestyle{aysep={}}

This will remove the comma between author and year globally in the output.

If you want the comma to be omitted in the LyX view as well, paste the 
following to Document  Local Format, hit Validate and OK (you might need 
to restart to see the effect):


CiteFormat authoryear
!open (
!sep ;
!close )

!citet %!startlink%%!abbrvauthor%%!endlink% 
%!open%%!textbefore%%!year%%!nextcitet%
!citealt %!startlink%%!abbrvauthor% 
%!textbefore%%!year%%!endlink%%!nextcitealt%
!citealp %!startlink%%!abbrvauthor% %!year%%!endlink%%!nextcitealp%

!nextcitet {%next%[[%!close%%!sep% %!citet%]]}
!nextcitealt {%next%[[%!sep% %!citealt%]]}
!nextcitealp {%next%[[%!sep% %!citealp%]]}

cite %!citet%%!textafter%%!close%
citep %!open%%!textbefore%%!citealp%%!textafter%%!close%
citealp %!textbefore%%!citealp%%!textafter%
citeauthor %!startlink%%!abbrvauthor%%!endlink%%!nextauthor%%!textafter%
citeyear %!startlink%%!year%%!endlink%%!nextyear%%!textafter%
End




HTH,
Jürgen



Re: citation style

2014-10-04 Thread Wolfgang Engelmann

Thanks, Jürgen,
for the workaround. Since this will remove the commata between author 
and year globally,
I decided to leave is to the Publisher. I am not willing to wreck my 
nerves and spill my time

for the shareholders.
But I appreciated your help very much,
Yours
Wolfgang


Am 04.10.2014 um 11:34 schrieb Jürgen Spitzmüller:

Wolfgang Engelmann wrote:

I am awful sorry, I sent the wrong file. Wolfgang

By default, natbib does not provide a citation command with author-year in
parathesis and no comma between author and year.

An workaround is to use the citation command with comma and pass the following
to the preamble:

\setcitestyle{aysep={}}

This will remove the comma between author and year globally in the output.

If you want the comma to be omitted in the LyX view as well, paste the
following to Document  Local Format, hit Validate and OK (you might need
to restart to see the effect):


CiteFormat authoryear
!open (
!sep ;
!close )

!citet %!startlink%%!abbrvauthor%%!endlink%
%!open%%!textbefore%%!year%%!nextcitet%
!citealt %!startlink%%!abbrvauthor%
%!textbefore%%!year%%!endlink%%!nextcitealt%
!citealp %!startlink%%!abbrvauthor% %!year%%!endlink%%!nextcitealp%

!nextcitet {%next%[[%!close%%!sep% %!citet%]]}
!nextcitealt {%next%[[%!sep% %!citealt%]]}
!nextcitealp {%next%[[%!sep% %!citealp%]]}

cite %!citet%%!textafter%%!close%
citep %!open%%!textbefore%%!citealp%%!textafter%%!close%
citealp %!textbefore%%!citealp%%!textafter%
citeauthor %!startlink%%!abbrvauthor%%!endlink%%!nextauthor%%!textafter%
citeyear %!startlink%%!year%%!endlink%%!nextyear%%!textafter%
End




HTH,
Jürgen





Re: citation style

2014-10-04 Thread Jürgen Spitzmüller
Am Samstag 04 Oktober 2014, 08:01:14 schrieb Wolfgang Engelmann:
> Hello,
> 
> a nice feature of recent lyx versions is that one can choose the type of
> citation by right-clicking on the citation. What I am missing here is,
> however, this type:
> authors et al. 2010 (no comma!)
> there is only
> authors et al., 2010

Works here. Pleae post a minimal example file.

Jürgen






Re: citation style

2014-10-04 Thread Jürgen Spitzmüller
Wolfgang Engelmann wrote:
> Here are the examples. 

Please send a _minimal_ example file. This one has over 60 pages, and I would 
need to delete a dozens of unavailable graphics first.
http://wiki.lyx.org/FAQ/MinimalExample

Jürgen


Re: citation style

2014-10-04 Thread Wolfgang Engelmann

I am awful sorry, I sent the wrong file. Wolfgang

Am 04.10.2014 um 10:47 schrieb Jürgen Spitzmüller:

Wolfgang Engelmann wrote:

Here are the examples.

Please send a _minimal_ example file. This one has over 60 pages, and I would
need to delete a dozens of unavailable graphics first.
http://wiki.lyx.org/FAQ/MinimalExample

Jürgen




TestA.lyx
Description: application/lyx


Re: citation style

2014-10-04 Thread Wolfgang Engelmann
This was indeed something which should not happen: to send the original 
file from which

I had prepared the short one. It should at least not have gone to the list!
There is no excuse, but the publisher wants the proof reading done in 
such a short time,

that I was too nervous (and too old, by the way).
Must donate to the LyX people...

 Wolfgang, full of shame

Am 04.10.2014 um 11:08 schrieb Wolfgang Engelmann:

I am awful sorry, I sent the wrong file. Wolfgang

Am 04.10.2014 um 10:47 schrieb Jürgen Spitzmüller:

Wolfgang Engelmann wrote:

Here are the examples.
Please send a _minimal_ example file. This one has over 60 pages, and 
I would

need to delete a dozens of unavailable graphics first.
http://wiki.lyx.org/FAQ/MinimalExample

Jürgen






Re: citation style

2014-10-04 Thread Jürgen Spitzmüller
Wolfgang Engelmann wrote:
> I am awful sorry, I sent the wrong file. Wolfgang

By default, natbib does not provide a citation command with author-year in 
parathesis and no comma between author and year.

An workaround is to use the citation command with comma and pass the following 
to the preamble:

\setcitestyle{aysep={}}

This will remove the comma between author and year globally in the output.

If you want the comma to be omitted in the LyX view as well, paste the 
following to Document > Local Format, hit "Validate" and "OK" (you might need 
to restart to see the effect):


CiteFormat authoryear
!open (
!sep ;
!close )

!citet %!startlink%%!abbrvauthor%%!endlink% 
%!open%%!textbefore%%!year%%!nextcitet%
!citealt %!startlink%%!abbrvauthor% 
%!textbefore%%!year%%!endlink%%!nextcitealt%
!citealp %!startlink%%!abbrvauthor% %!year%%!endlink%%!nextcitealp%

!nextcitet {%next%[[%!close%%!sep% %!citet%]]}
!nextcitealt {%next%[[%!sep% %!citealt%]]}
!nextcitealp {%next%[[%!sep% %!citealp%]]}

cite %!citet%%!textafter%%!close%
citep %!open%%!textbefore%%!citealp%%!textafter%%!close%
citealp %!textbefore%%!citealp%%!textafter%
citeauthor %!startlink%%!abbrvauthor%%!endlink%%!nextauthor%%!textafter%
citeyear %!startlink%%!year%%!endlink%%!nextyear%%!textafter%
End




HTH,
Jürgen



Re: citation style

2014-10-04 Thread Wolfgang Engelmann

Thanks, Jürgen,
for the workaround. Since this will remove the commata between author 
and year globally,
I decided to leave is to the Publisher. I am not willing to wreck my 
nerves and spill my time

for the shareholders.
But I appreciated your help very much,
Yours
Wolfgang


Am 04.10.2014 um 11:34 schrieb Jürgen Spitzmüller:

Wolfgang Engelmann wrote:

I am awful sorry, I sent the wrong file. Wolfgang

By default, natbib does not provide a citation command with author-year in
parathesis and no comma between author and year.

An workaround is to use the citation command with comma and pass the following
to the preamble:

\setcitestyle{aysep={}}

This will remove the comma between author and year globally in the output.

If you want the comma to be omitted in the LyX view as well, paste the
following to Document > Local Format, hit "Validate" and "OK" (you might need
to restart to see the effect):


CiteFormat authoryear
!open (
!sep ;
!close )

!citet %!startlink%%!abbrvauthor%%!endlink%
%!open%%!textbefore%%!year%%!nextcitet%
!citealt %!startlink%%!abbrvauthor%
%!textbefore%%!year%%!endlink%%!nextcitealt%
!citealp %!startlink%%!abbrvauthor% %!year%%!endlink%%!nextcitealp%

!nextcitet {%next%[[%!close%%!sep% %!citet%]]}
!nextcitealt {%next%[[%!sep% %!citealt%]]}
!nextcitealp {%next%[[%!sep% %!citealp%]]}

cite %!citet%%!textafter%%!close%
citep %!open%%!textbefore%%!citealp%%!textafter%%!close%
citealp %!textbefore%%!citealp%%!textafter%
citeauthor %!startlink%%!abbrvauthor%%!endlink%%!nextauthor%%!textafter%
citeyear %!startlink%%!year%%!endlink%%!nextyear%%!textafter%
End




HTH,
Jürgen





Re: Citation style

2013-08-18 Thread Wolfgang Engelmann
Am Friday, 16. August 2013, 19:38:09 schrieb Richard Heck:

Thanks for the responses. What I actually would like to have is an example 
template of the Springer publisher (sv) svmult (multiple authors), which 
hopefully contains also the required citing and referencing style. This is 
not provided. I guess, there are people on the list who used it before and 
I would appreciate a short example showing the required features.

Wolfgang


Re: Citation style

2013-08-18 Thread Wolfgang Engelmann
Am Friday, 16. August 2013, 19:38:09 schrieb Richard Heck:

Thanks for the responses. What I actually would like to have is an example 
template of the Springer publisher (sv) svmult (multiple authors), which 
hopefully contains also the required citing and referencing style. This is 
not provided. I guess, there are people on the list who used it before and 
I would appreciate a short example showing the required features.

Wolfgang


Re: Citation style

2013-08-18 Thread Wolfgang Engelmann
Am Friday, 16. August 2013, 19:38:09 schrieb Richard Heck:

Thanks for the responses. What I actually would like to have is an example 
template of the Springer publisher (sv) svmult (multiple authors), which 
hopefully contains also the required citing and referencing style. This is 
not provided. I guess, there are people on the list who used it before and 
I would appreciate a short example showing the required features.

Wolfgang


Re: Citation style

2013-08-16 Thread Richard Heck

On 08/15/2013 01:39 PM, Wolfgang Engelmann wrote:


Am Thursday, 15. August 2013, 17:10:22 schrieb Wolfgang Engelmann:

 Am Thursday, 15. August 2013, 15:18:04 schrieb Richard Heck:

  On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:

   I get this error:

  

   ! Package natbib Error: Bibliography not compatible with author-year

   citations.

  

   Check the bibliography entries for non-compliant syntax,

  

   or select author-year BibTeX style, e.g. plainnat

  

   Where do I choose the proposed style?

 

  The style is chosen from a dialog you will get if you click on the

  bibliography inset itself.



 Thanks, Richard.



 If I choose vancouver (which is shown in the dropdown dialog)



 I get:

 ##

 I'm skipping whatever remI'm skipping whatever remains of this command

 Illegal, another \bibstyle command---line 1699 of file

 PBR-20130815A.20.aux



 : \bibstyle

 :

 : {vancouver}



 I'm skipping whatever remains of this command

 I found no style file---while reading file PBR-20130815A.20.aux

 ains of this command

 Illegal, another \bibstyle command---line 1699 of file

 PBR-20130815A.20.aux



 : \bibstyle

 :

 : {vancouver}



 I'm skipping whatever remains of this command

 I found no style file---while reading file PBR-20130815A.20.aux

 ###



 and the references in the pdf output are shown as ???



 What have I done wrongly? Do I have to remove the .aux file first,

 because lyx might have taken an older aux file? And where would I find

 this aux-file?



 If I export the document as .tex and run latex on it 3 times and

 afterward bibtex, I get:



 



 This is BibTeX, Version 0.99d (TeX Live 2012)

 The top-level auxiliary file: PBR-20130815A.20.aux

 I couldn't open style file srtnat.bst

 ---line 19 of file PBR-20130815A.20.aux



 : \bibstyle{srtnat

 :

 : }

I am sorry, I just noticed that I forgot to remove

\bibliographystyle{srtnat}

from the preamble. Removing it, gives me now the vancouver style in 
the bibliography,


but where do I determine the citation style in the book text?

In DocumentsettingBibliography

I find only default (numerical), Natbib style Author-year and numerical.

I do not want numerical, but need actually the citation style also in 
vancouver. How do I achieve this?




I am not sure this is possible. The documentation for the Vancouver 
style says explicitly that it is a numerical style. You could try 
selecting Natbib and then selecting Author-year. It might work, but 
then it might not.


Richard



Re: Citation style

2013-08-16 Thread Richard Heck

On 08/15/2013 01:39 PM, Wolfgang Engelmann wrote:


Am Thursday, 15. August 2013, 17:10:22 schrieb Wolfgang Engelmann:

 Am Thursday, 15. August 2013, 15:18:04 schrieb Richard Heck:

  On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:

   I get this error:

  

   ! Package natbib Error: Bibliography not compatible with author-year

   citations.

  

   Check the bibliography entries for non-compliant syntax,

  

   or select author-year BibTeX style, e.g. plainnat

  

   Where do I choose the proposed style?

 

  The style is chosen from a dialog you will get if you click on the

  bibliography inset itself.



 Thanks, Richard.



 If I choose vancouver (which is shown in the dropdown dialog)



 I get:

 ##

 I'm skipping whatever remI'm skipping whatever remains of this command

 Illegal, another \bibstyle command---line 1699 of file

 PBR-20130815A.20.aux



 : \bibstyle

 :

 : {vancouver}



 I'm skipping whatever remains of this command

 I found no style file---while reading file PBR-20130815A.20.aux

 ains of this command

 Illegal, another \bibstyle command---line 1699 of file

 PBR-20130815A.20.aux



 : \bibstyle

 :

 : {vancouver}



 I'm skipping whatever remains of this command

 I found no style file---while reading file PBR-20130815A.20.aux

 ###



 and the references in the pdf output are shown as ???



 What have I done wrongly? Do I have to remove the .aux file first,

 because lyx might have taken an older aux file? And where would I find

 this aux-file?



 If I export the document as .tex and run latex on it 3 times and

 afterward bibtex, I get:



 



 This is BibTeX, Version 0.99d (TeX Live 2012)

 The top-level auxiliary file: PBR-20130815A.20.aux

 I couldn't open style file srtnat.bst

 ---line 19 of file PBR-20130815A.20.aux



 : \bibstyle{srtnat

 :

 : }

I am sorry, I just noticed that I forgot to remove

\bibliographystyle{srtnat}

from the preamble. Removing it, gives me now the vancouver style in 
the bibliography,


but where do I determine the citation style in the book text?

In DocumentsettingBibliography

I find only default (numerical), Natbib style Author-year and numerical.

I do not want numerical, but need actually the citation style also in 
vancouver. How do I achieve this?




I am not sure this is possible. The documentation for the Vancouver 
style says explicitly that it is a numerical style. You could try 
selecting Natbib and then selecting Author-year. It might work, but 
then it might not.


Richard



Re: Citation style

2013-08-16 Thread Richard Heck

On 08/15/2013 01:39 PM, Wolfgang Engelmann wrote:


Am Thursday, 15. August 2013, 17:10:22 schrieb Wolfgang Engelmann:

> Am Thursday, 15. August 2013, 15:18:04 schrieb Richard Heck:

> > On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:

> > > I get this error:

> > >

> > > ! Package natbib Error: Bibliography not compatible with author-year

> > > citations.

> > >

> > > Check the bibliography entries for non-compliant syntax,

> > >

> > > or select author-year BibTeX style, e.g. plainnat

> > >

> > > Where do I choose the proposed style?

> >

> > The style is chosen from a dialog you will get if you click on the

> > bibliography inset itself.

>

> Thanks, Richard.

>

> If I choose vancouver (which is shown in the dropdown dialog)

>

> I get:

> ##

> I'm skipping whatever remI'm skipping whatever remains of this command

> Illegal, another \bibstyle command---line 1699 of file

> PBR-20130815A.20.aux

>

> : \bibstyle

> :

> : {vancouver}

>

> I'm skipping whatever remains of this command

> I found no style file---while reading file PBR-20130815A.20.aux

> ains of this command

> Illegal, another \bibstyle command---line 1699 of file

> PBR-20130815A.20.aux

>

> : \bibstyle

> :

> : {vancouver}

>

> I'm skipping whatever remains of this command

> I found no style file---while reading file PBR-20130815A.20.aux

> ###

>

> and the references in the pdf output are shown as ???

>

> What have I done wrongly? Do I have to remove the .aux file first,

> because lyx might have taken an older aux file? And where would I find

> this aux-file?

>

> If I export the document as .tex and run latex on it 3 times and

> afterward bibtex, I get:

>

> 

>

> This is BibTeX, Version 0.99d (TeX Live 2012)

> The top-level auxiliary file: PBR-20130815A.20.aux

> I couldn't open style file srtnat.bst

> ---line 19 of file PBR-20130815A.20.aux

>

> : \bibstyle{srtnat

> :

> : }

I am sorry, I just noticed that I forgot to remove

\bibliographystyle{srtnat}

from the preamble. Removing it, gives me now the vancouver style in 
the bibliography,


but where do I determine the citation style in the book text?

In Document>setting>Bibliography

I find only default (numerical), Natbib style Author-year and numerical.

I do not want numerical, but need actually the citation style also in 
vancouver. How do I achieve this?




I am not sure this is possible. The documentation for the Vancouver 
style says explicitly that it is a numerical style. You could try 
selecting "Natbib" and then selecting "Author-year". It might work, but 
then it might not.


Richard



Re: Citation style

2013-08-15 Thread Richard Heck

On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:


I get this error:

! Package natbib Error: Bibliography not compatible with author-year 
citations.


Check the bibliography entries for non-compliant syntax,

or select author-year BibTeX style, e.g. plainnat

Where do I choose the proposed style?



The style is chosen from a dialog you will get if you click on the 
bibliography inset itself.


Richard



Re: Citation style

2013-08-15 Thread Wolfgang Engelmann
Am Thursday, 15. August 2013, 15:18:04 schrieb Richard Heck:
 On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:
  I get this error:
  
  ! Package natbib Error: Bibliography not compatible with author-year
  citations.
  
  Check the bibliography entries for non-compliant syntax,
  
  or select author-year BibTeX style, e.g. plainnat
  
  Where do I choose the proposed style?
 
 The style is chosen from a dialog you will get if you click on the
 bibliography inset itself.

Thanks, Richard. 

If I choose vancouver (which is shown in the dropdown dialog) 

I get:
##
I'm skipping whatever remI'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :  {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
ains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :  {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
###

and the references in the pdf output are shown as ???

What have I done wrongly? Do I have to remove the .aux file first, because 
lyx might have taken an older aux file? And where would I find this aux-file?

If I export the document as .tex and run latex on it 3 times and afterward 
bibtex, I get:



This is BibTeX, Version 0.99d (TeX Live 2012)
The top-level auxiliary file: PBR-20130815A.20.aux
I couldn't open style file srtnat.bst
---line 19 of file PBR-20130815A.20.aux
 : \bibstyle{srtnat
 : }

this is strange, I tried srtnat before, but in the current run used 
vancouver

continued error output:
I'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :  {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux


Wolfgang


Re: Citation style

2013-08-15 Thread Wolfgang Engelmann
Am Thursday, 15. August 2013, 17:10:22 schrieb Wolfgang Engelmann:
 Am Thursday, 15. August 2013, 15:18:04 schrieb Richard Heck:
  On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:
   I get this error:
   
   ! Package natbib Error: Bibliography not compatible with author-year
   citations.
   
   Check the bibliography entries for non-compliant syntax,
   
   or select author-year BibTeX style, e.g. plainnat
   
   Where do I choose the proposed style?
  
  The style is chosen from a dialog you will get if you click on the
  bibliography inset itself.
 
 Thanks, Richard.
 
 If I choose vancouver (which is shown in the dropdown dialog)
 
 I get:
 ##
 I'm skipping whatever remI'm skipping whatever remains of this command
 Illegal, another \bibstyle command---line 1699 of file
 PBR-20130815A.20.aux
 
  : \bibstyle
  : 
  :  {vancouver}
 
 I'm skipping whatever remains of this command
 I found no style file---while reading file PBR-20130815A.20.aux
 ains of this command
 Illegal, another \bibstyle command---line 1699 of file
 PBR-20130815A.20.aux
 
  : \bibstyle
  : 
  :  {vancouver}
 
 I'm skipping whatever remains of this command
 I found no style file---while reading file PBR-20130815A.20.aux
 ###
 
 and the references in the pdf output are shown as ???
 
 What have I done wrongly? Do I have to remove the .aux file first,
 because lyx might have taken an older aux file? And where would I find
 this aux-file?
 
 If I export the document as .tex and run latex on it 3 times and
 afterward bibtex, I get:
 
 
 
 This is BibTeX, Version 0.99d (TeX Live 2012)
 The top-level auxiliary file: PBR-20130815A.20.aux
 I couldn't open style file srtnat.bst
 ---line 19 of file PBR-20130815A.20.aux
 
  : \bibstyle{srtnat
  : 
  : }
I am sorry, I just noticed that I forgot to remove 
\bibliographystyle{srtnat}
from the preamble. Removing it, gives me now the vancouver style in the 
bibliography,

but where do I determine the citation style in the book text? 

In DocumentsettingBibliography 
I find only default (numerical), Natbib style Author-year and numerical.
I do not want numerical, but need actually the citation style also in 
vancouver. How do I achieve this?

Wolfgang


 
 
 this is strange, I tried srtnat before, but in the current run used
 vancouver
 
 continued error output:
 I'm skipping whatever remains of this command
 Illegal, another \bibstyle command---line 1699 of file
 PBR-20130815A.20.aux
 
  : \bibstyle
  : 
  :  {vancouver}
 
 I'm skipping whatever remains of this command
 I found no style file---while reading file PBR-20130815A.20.aux
 
 
 Wolfgang


-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: Citation style

2013-08-15 Thread Richard Heck

On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:


I get this error:

! Package natbib Error: Bibliography not compatible with author-year 
citations.


Check the bibliography entries for non-compliant syntax,

or select author-year BibTeX style, e.g. plainnat

Where do I choose the proposed style?



The style is chosen from a dialog you will get if you click on the 
bibliography inset itself.


Richard



Re: Citation style

2013-08-15 Thread Wolfgang Engelmann
Am Thursday, 15. August 2013, 15:18:04 schrieb Richard Heck:
 On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:
  I get this error:
  
  ! Package natbib Error: Bibliography not compatible with author-year
  citations.
  
  Check the bibliography entries for non-compliant syntax,
  
  or select author-year BibTeX style, e.g. plainnat
  
  Where do I choose the proposed style?
 
 The style is chosen from a dialog you will get if you click on the
 bibliography inset itself.

Thanks, Richard. 

If I choose vancouver (which is shown in the dropdown dialog) 

I get:
##
I'm skipping whatever remI'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :  {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
ains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :  {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
###

and the references in the pdf output are shown as ???

What have I done wrongly? Do I have to remove the .aux file first, because 
lyx might have taken an older aux file? And where would I find this aux-file?

If I export the document as .tex and run latex on it 3 times and afterward 
bibtex, I get:



This is BibTeX, Version 0.99d (TeX Live 2012)
The top-level auxiliary file: PBR-20130815A.20.aux
I couldn't open style file srtnat.bst
---line 19 of file PBR-20130815A.20.aux
 : \bibstyle{srtnat
 : }

this is strange, I tried srtnat before, but in the current run used 
vancouver

continued error output:
I'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :  {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux


Wolfgang


Re: Citation style

2013-08-15 Thread Wolfgang Engelmann
Am Thursday, 15. August 2013, 17:10:22 schrieb Wolfgang Engelmann:
 Am Thursday, 15. August 2013, 15:18:04 schrieb Richard Heck:
  On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:
   I get this error:
   
   ! Package natbib Error: Bibliography not compatible with author-year
   citations.
   
   Check the bibliography entries for non-compliant syntax,
   
   or select author-year BibTeX style, e.g. plainnat
   
   Where do I choose the proposed style?
  
  The style is chosen from a dialog you will get if you click on the
  bibliography inset itself.
 
 Thanks, Richard.
 
 If I choose vancouver (which is shown in the dropdown dialog)
 
 I get:
 ##
 I'm skipping whatever remI'm skipping whatever remains of this command
 Illegal, another \bibstyle command---line 1699 of file
 PBR-20130815A.20.aux
 
  : \bibstyle
  : 
  :  {vancouver}
 
 I'm skipping whatever remains of this command
 I found no style file---while reading file PBR-20130815A.20.aux
 ains of this command
 Illegal, another \bibstyle command---line 1699 of file
 PBR-20130815A.20.aux
 
  : \bibstyle
  : 
  :  {vancouver}
 
 I'm skipping whatever remains of this command
 I found no style file---while reading file PBR-20130815A.20.aux
 ###
 
 and the references in the pdf output are shown as ???
 
 What have I done wrongly? Do I have to remove the .aux file first,
 because lyx might have taken an older aux file? And where would I find
 this aux-file?
 
 If I export the document as .tex and run latex on it 3 times and
 afterward bibtex, I get:
 
 
 
 This is BibTeX, Version 0.99d (TeX Live 2012)
 The top-level auxiliary file: PBR-20130815A.20.aux
 I couldn't open style file srtnat.bst
 ---line 19 of file PBR-20130815A.20.aux
 
  : \bibstyle{srtnat
  : 
  : }
I am sorry, I just noticed that I forgot to remove 
\bibliographystyle{srtnat}
from the preamble. Removing it, gives me now the vancouver style in the 
bibliography,

but where do I determine the citation style in the book text? 

In DocumentsettingBibliography 
I find only default (numerical), Natbib style Author-year and numerical.
I do not want numerical, but need actually the citation style also in 
vancouver. How do I achieve this?

Wolfgang


 
 
 this is strange, I tried srtnat before, but in the current run used
 vancouver
 
 continued error output:
 I'm skipping whatever remains of this command
 Illegal, another \bibstyle command---line 1699 of file
 PBR-20130815A.20.aux
 
  : \bibstyle
  : 
  :  {vancouver}
 
 I'm skipping whatever remains of this command
 I found no style file---while reading file PBR-20130815A.20.aux
 
 
 Wolfgang


-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: Citation style

2013-08-15 Thread Richard Heck

On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:


I get this error:

! Package natbib Error: Bibliography not compatible with author-year 
citations.


Check the bibliography entries for non-compliant syntax,

or select author-year BibTeX style, e.g. plainnat

Where do I choose the proposed style?



The style is chosen from a dialog you will get if you click on the 
bibliography inset itself.


Richard



Re: Citation style

2013-08-15 Thread Wolfgang Engelmann
Am Thursday, 15. August 2013, 15:18:04 schrieb Richard Heck:
> On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:
> > I get this error:
> > 
> > ! Package natbib Error: Bibliography not compatible with author-year
> > citations.
> > 
> > Check the bibliography entries for non-compliant syntax,
> > 
> > or select author-year BibTeX style, e.g. plainnat
> > 
> > Where do I choose the proposed style?
> 
> The style is chosen from a dialog you will get if you click on the
> bibliography inset itself.

Thanks, Richard. 

If I choose vancouver (which is shown in the dropdown dialog) 

I get:
##
I'm skipping whatever remI'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :  {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
ains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :  {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
###

and the references in the pdf output are shown as ???

What have I done wrongly? Do I have to remove the .aux file first, because 
lyx might have taken an older aux file? And where would I find this aux-file?

If I export the document as .tex and run latex on it 3 times and afterward 
bibtex, I get:



This is BibTeX, Version 0.99d (TeX Live 2012)
The top-level auxiliary file: PBR-20130815A.20.aux
I couldn't open style file srtnat.bst
---line 19 of file PBR-20130815A.20.aux
 : \bibstyle{srtnat
 : }

this is strange, I tried srtnat before, but in the current run used 
vancouver

continued error output:
I'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :  {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux


Wolfgang


Re: Citation style

2013-08-15 Thread Wolfgang Engelmann
Am Thursday, 15. August 2013, 17:10:22 schrieb Wolfgang Engelmann:
> Am Thursday, 15. August 2013, 15:18:04 schrieb Richard Heck:
> > On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:
> > > I get this error:
> > > 
> > > ! Package natbib Error: Bibliography not compatible with author-year
> > > citations.
> > > 
> > > Check the bibliography entries for non-compliant syntax,
> > > 
> > > or select author-year BibTeX style, e.g. plainnat
> > > 
> > > Where do I choose the proposed style?
> > 
> > The style is chosen from a dialog you will get if you click on the
> > bibliography inset itself.
> 
> Thanks, Richard.
> 
> If I choose vancouver (which is shown in the dropdown dialog)
> 
> I get:
> ##
> I'm skipping whatever remI'm skipping whatever remains of this command
> Illegal, another \bibstyle command---line 1699 of file
> PBR-20130815A.20.aux
> 
>  : \bibstyle
>  : 
>  :  {vancouver}
> 
> I'm skipping whatever remains of this command
> I found no style file---while reading file PBR-20130815A.20.aux
> ains of this command
> Illegal, another \bibstyle command---line 1699 of file
> PBR-20130815A.20.aux
> 
>  : \bibstyle
>  : 
>  :  {vancouver}
> 
> I'm skipping whatever remains of this command
> I found no style file---while reading file PBR-20130815A.20.aux
> ###
> 
> and the references in the pdf output are shown as ???
> 
> What have I done wrongly? Do I have to remove the .aux file first,
> because lyx might have taken an older aux file? And where would I find
> this aux-file?
> 
> If I export the document as .tex and run latex on it 3 times and
> afterward bibtex, I get:
> 
> 
> 
> This is BibTeX, Version 0.99d (TeX Live 2012)
> The top-level auxiliary file: PBR-20130815A.20.aux
> I couldn't open style file srtnat.bst
> ---line 19 of file PBR-20130815A.20.aux
> 
>  : \bibstyle{srtnat
>  : 
>  : }
I am sorry, I just noticed that I forgot to remove 
\bibliographystyle{srtnat}
from the preamble. Removing it, gives me now the vancouver style in the 
bibliography,

but where do I determine the citation style in the book text? 

In Document>setting>Bibliography 
I find only default (numerical), Natbib style Author-year and numerical.
I do not want numerical, but need actually the citation style also in 
vancouver. How do I achieve this?

Wolfgang


> 
> 
> this is strange, I tried srtnat before, but in the current run used
> vancouver
> 
> continued error output:
> I'm skipping whatever remains of this command
> Illegal, another \bibstyle command---line 1699 of file
> PBR-20130815A.20.aux
> 
>  : \bibstyle
>  : 
>  :  {vancouver}
> 
> I'm skipping whatever remains of this command
> I found no style file---while reading file PBR-20130815A.20.aux
> 
> 
> Wolfgang


-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: Citation style 'Text after' separator

2012-04-15 Thread Jürgen Spitzmüller
2012/4/13 Anne:
 I'm a bit of a lyx newb and I had the problem Sam Aaron had. So I pasted your
 TeX command (\def\@cite#1#2{[{#1\if at tempswa : #2\fi}]}) into the TeX box 
 at
 the beginning of my lyx document. But I still get the comma instead of the 
 colon
 though and I don't quite know why.

The solution really depends what bibliography style (i.e., standard,
natbib, jurabib or biblatex) you are using. You should give us some
more information about that.

BTW the above (which probably only works for standard) is mangled by
the @-mapping of the mailing list. It really should read
\def\@cite#1#2{[{#1\if@tempswa : #2\fi}]}

Jürgen

 Many thanks!
 Anne


Re: Citation style 'Text after' separator

2012-04-15 Thread Jürgen Spitzmüller
2012/4/13 Anne:
 I'm a bit of a lyx newb and I had the problem Sam Aaron had. So I pasted your
 TeX command (\def\@cite#1#2{[{#1\if at tempswa : #2\fi}]}) into the TeX box 
 at
 the beginning of my lyx document. But I still get the comma instead of the 
 colon
 though and I don't quite know why.

The solution really depends what bibliography style (i.e., standard,
natbib, jurabib or biblatex) you are using. You should give us some
more information about that.

BTW the above (which probably only works for standard) is mangled by
the @-mapping of the mailing list. It really should read
\def\@cite#1#2{[{#1\if@tempswa : #2\fi}]}

Jürgen

 Many thanks!
 Anne


Re: Citation style 'Text after' separator

2012-04-15 Thread Jürgen Spitzmüller
2012/4/13 Anne:
> I'm a bit of a lyx newb and I had the problem Sam Aaron had. So I pasted your
> TeX command (\def\@cite#1#2{[{#1\if  tempswa : #2\fi}]}) into the TeX box 
> at
> the beginning of my lyx document. But I still get the comma instead of the 
> colon
> though and I don't quite know why.

The solution really depends what bibliography style (i.e., standard,
natbib, jurabib or biblatex) you are using. You should give us some
more information about that.

BTW the above (which probably only works for standard) is mangled by
the @-mapping of the mailing list. It really should read
\def\@cite#1#2{[{#1\if@tempswa : #2\fi}]}

Jürgen

> Many thanks!
> Anne


Re: Citation style 'Text after' separator

2012-04-13 Thread Anne
Jürgen Spitzmüller juergen@... writes:

 
 Sam Aaron wrote:
  Any text entered here is then appended to the citation itself  
  separated with a comma. Is there any way to change the separator to be  
  a colon?
 
 \def\@cite#1#2{[{#1\if at tempswa : #2\fi}]}
 
 Jürgen
 
 
Hi Jürgen,
I'm a bit of a lyx newb and I had the problem Sam Aaron had. So I pasted your
TeX command (\def\@cite#1#2{[{#1\if at tempswa : #2\fi}]}) into the TeX box at
the beginning of my lyx document. But I still get the comma instead of the colon
though and I don't quite know why.
Many thanks!
Anne






Re: Citation style 'Text after' separator

2012-04-13 Thread Anne
Jürgen Spitzmüller juergen@... writes:

 
 Sam Aaron wrote:
  Any text entered here is then appended to the citation itself  
  separated with a comma. Is there any way to change the separator to be  
  a colon?
 
 \def\@cite#1#2{[{#1\if at tempswa : #2\fi}]}
 
 Jürgen
 
 
Hi Jürgen,
I'm a bit of a lyx newb and I had the problem Sam Aaron had. So I pasted your
TeX command (\def\@cite#1#2{[{#1\if at tempswa : #2\fi}]}) into the TeX box at
the beginning of my lyx document. But I still get the comma instead of the colon
though and I don't quite know why.
Many thanks!
Anne






Re: Citation style 'Text after' separator

2012-04-13 Thread Anne
Jürgen Spitzmüller  writes:

> 
> Sam Aaron wrote:
> > Any text entered here is then appended to the citation itself  
> > separated with a comma. Is there any way to change the separator to be  
> > a colon?
> 
> \def\@cite#1#2{[{#1\if  tempswa : #2\fi}]}
> 
> Jürgen
> 
> 
Hi Jürgen,
I'm a bit of a lyx newb and I had the problem Sam Aaron had. So I pasted your
TeX command (\def\@cite#1#2{[{#1\if  tempswa : #2\fi}]}) into the TeX box at
the beginning of my lyx document. But I still get the comma instead of the colon
though and I don't quite know why.
Many thanks!
Anne






Re: Citation Style (name year)

2011-10-12 Thread Richard Heck
On 10/12/2011 01:22 PM, christopher sibona wrote:
 I need to use a somewhat non-standard citation style in a document where it is
 of the form (name year) i.e., NO comma between the name and year. The
 bibliography setting citation style is Natbib with Author-year as the 
 parameter.
 The text in the document shows (name, year) currently.

 Is there a way to add a new citation style format? The formatter currently has
 several options including name year but without any parenthesis. 

Look at the natbib documentation. I'm pretty sure there is some option
you can use to control the separator here.

Richard



Re: Citation Style (name year)

2011-10-12 Thread christopher sibona
Richard Heck rgheck at comcast.net writes:

 
 On 10/12/2011 01:22 PM, christopher sibona wrote:
  I need to use a somewhat non-standard citation style in a document where it
 is
  of the form (name year) i.e., NO comma between the name and year. The
  bibliography setting citation style is Natbib with Author-year as the
 parameter.
  The text in the document shows (name, year) currently.
 
  Is there a way to add a new citation style format? The formatter currently
 has
  several options including name year but without any parenthesis. 
 
 Look at the natbib documentation. I'm pretty sure there is some option
 you can use to control the separator here.
 
 Richard
 
 


Thanks - that was the reference I needed. 
I added the following line to the preamble.
\bibpunct{(}{)}{;}{x}{}{,}



Re: Citation Style (name year)

2011-10-12 Thread Richard Heck
On 10/12/2011 01:22 PM, christopher sibona wrote:
 I need to use a somewhat non-standard citation style in a document where it is
 of the form (name year) i.e., NO comma between the name and year. The
 bibliography setting citation style is Natbib with Author-year as the 
 parameter.
 The text in the document shows (name, year) currently.

 Is there a way to add a new citation style format? The formatter currently has
 several options including name year but without any parenthesis. 

Look at the natbib documentation. I'm pretty sure there is some option
you can use to control the separator here.

Richard



Re: Citation Style (name year)

2011-10-12 Thread christopher sibona
Richard Heck rgheck at comcast.net writes:

 
 On 10/12/2011 01:22 PM, christopher sibona wrote:
  I need to use a somewhat non-standard citation style in a document where it
 is
  of the form (name year) i.e., NO comma between the name and year. The
  bibliography setting citation style is Natbib with Author-year as the
 parameter.
  The text in the document shows (name, year) currently.
 
  Is there a way to add a new citation style format? The formatter currently
 has
  several options including name year but without any parenthesis. 
 
 Look at the natbib documentation. I'm pretty sure there is some option
 you can use to control the separator here.
 
 Richard
 
 


Thanks - that was the reference I needed. 
I added the following line to the preamble.
\bibpunct{(}{)}{;}{x}{}{,}



Re: Citation Style (name year)

2011-10-12 Thread Richard Heck
On 10/12/2011 01:22 PM, christopher sibona wrote:
> I need to use a somewhat non-standard citation style in a document where it is
> of the form ( ) i.e., NO comma between the name and year. The
> bibliography setting citation style is Natbib with Author-year as the 
> parameter.
> The text in the document shows (, ) currently.
>
> Is there a way to add a new citation style format? The formatter currently has
> several options including   but without any parenthesis. 
>
Look at the natbib documentation. I'm pretty sure there is some option
you can use to control the separator here.

Richard



Re: Citation Style (name year)

2011-10-12 Thread christopher sibona
Richard Heck  comcast.net> writes:

> 
> On 10/12/2011 01:22 PM, christopher sibona wrote:
> > I need to use a somewhat non-standard citation style in a document where it
 is
> > of the form ( ) i.e., NO comma between the name and year. The
> > bibliography setting citation style is Natbib with Author-year as the
 parameter.
> > The text in the document shows (, ) currently.
> >
> > Is there a way to add a new citation style format? The formatter currently
 has
> > several options including   but without any parenthesis. 
> >
> Look at the natbib documentation. I'm pretty sure there is some option
> you can use to control the separator here.
> 
> Richard
> 
> 


Thanks - that was the reference I needed. 
I added the following line to the preamble.
\bibpunct{(}{)}{;}{x}{}{,}



Re: Citation style

2009-07-18 Thread rgheck

On 07/18/2009 04:43 AM, Maximilian Melcher wrote:

Am 18.07.2009 00:01, schrieb rgheck:

On 07/17/2009 05:46 PM, Maximilian Melcher wrote:

Am 17.07.2009 23:32, schrieb rgheck:

On 07/17/2009 02:57 PM, Maximilian Melcher wrote:

Hello guys,

i have the problem that i cant lyx make my citation look like i 
want them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) 
but it makes my cites look like normal text.
I want a cite appear as [cite] and not without braces - any way to 
do it?


I'm not sure, as I don't read German well enough to read the docs. 
But there may be some package option you can use for that.


That said, are you sure you are choosing the right cite style when 
you insert the citation?


rh


Hello rgheck,

thx for your reply - where you read that ? I only see the one to 
make the TOC bold - no other commands or settings. In lyx i set 
\bibliographystyle{dinat} and in the settings menu i use natbib with 
author-year but no options for the braces.


When you insert a citation, toward the bottom of the dialog is a line 
marked citation style (in English, of course), where you can select 
how you want the citation to appear. See the attached.


Richard


Hello Richard,
when i insert a citation i can choose [online} id] and [#id]. I 
read on the ctan page that they use \citep and lyx uses at least with 
my settings just \cite - could that be the diffrence and if so how to 
change it?


thanks again
Max

You probably need to check DocumentSettingsBibliography, and set it to 
Natbib, Numerical.


Richard

PS Keep it on list, in case someone else has a similar problem. Then 
they can find this thread by searching one of the archives.




Re: Citation style

2009-07-18 Thread rgheck

On 07/18/2009 04:43 AM, Maximilian Melcher wrote:

Am 18.07.2009 00:01, schrieb rgheck:

On 07/17/2009 05:46 PM, Maximilian Melcher wrote:

Am 17.07.2009 23:32, schrieb rgheck:

On 07/17/2009 02:57 PM, Maximilian Melcher wrote:

Hello guys,

i have the problem that i cant lyx make my citation look like i 
want them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) 
but it makes my cites look like normal text.
I want a cite appear as [cite] and not without braces - any way to 
do it?


I'm not sure, as I don't read German well enough to read the docs. 
But there may be some package option you can use for that.


That said, are you sure you are choosing the right cite style when 
you insert the citation?


rh


Hello rgheck,

thx for your reply - where you read that ? I only see the one to 
make the TOC bold - no other commands or settings. In lyx i set 
\bibliographystyle{dinat} and in the settings menu i use natbib with 
author-year but no options for the braces.


When you insert a citation, toward the bottom of the dialog is a line 
marked citation style (in English, of course), where you can select 
how you want the citation to appear. See the attached.


Richard


Hello Richard,
when i insert a citation i can choose [online} id] and [#id]. I 
read on the ctan page that they use \citep and lyx uses at least with 
my settings just \cite - could that be the diffrence and if so how to 
change it?


thanks again
Max

You probably need to check DocumentSettingsBibliography, and set it to 
Natbib, Numerical.


Richard

PS Keep it on list, in case someone else has a similar problem. Then 
they can find this thread by searching one of the archives.




Re: Citation style

2009-07-18 Thread rgheck

On 07/18/2009 04:43 AM, Maximilian Melcher wrote:

Am 18.07.2009 00:01, schrieb rgheck:

On 07/17/2009 05:46 PM, Maximilian Melcher wrote:

Am 17.07.2009 23:32, schrieb rgheck:

On 07/17/2009 02:57 PM, Maximilian Melcher wrote:

Hello guys,

i have the problem that i cant lyx make my citation look like i 
want them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) 
but it makes my cites look like normal text.
I want a cite appear as [cite] and not without braces - any way to 
do it?


I'm not sure, as I don't read German well enough to read the docs. 
But there may be some package option you can use for that.


That said, are you sure you are choosing the right cite style when 
you insert the citation?


rh


Hello rgheck,

thx for your reply - where you read that ? I only see the one to 
make the TOC bold - no other commands or settings. In lyx i set 
\bibliographystyle{dinat} and in the settings menu i use natbib with 
author-year but no options for the braces.


When you insert a citation, toward the bottom of the dialog is a line 
marked "citation style" (in English, of course), where you can select 
how you want the citation to appear. See the attached.


Richard


Hello Richard,
when i insert a citation i can choose "[online} id]" and "[#id]". I 
read on the ctan page that they use \citep and lyx uses at least with 
my settings just \cite - could that be the diffrence and if so how to 
change it?


thanks again
Max

You probably need to check Document>Settings>Bibliography, and set it to 
Natbib, Numerical.


Richard

PS Keep it on list, in case someone else has a similar problem. Then 
they can find this thread by searching one of the archives.




Re: Citation style

2009-07-17 Thread rgheck

On 07/17/2009 02:57 PM, Maximilian Melcher wrote:

Hello guys,

i have the problem that i cant lyx make my citation look like i want 
them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) but 
it makes my cites look like normal text.

I want a cite appear as [cite] and not without braces - any way to do it?

I'm not sure, as I don't read German well enough to read the docs. But 
there may be some package option you can use for that.


That said, are you sure you are choosing the right cite style when you 
insert the citation?


rh



Re: Citation style

2009-07-17 Thread rgheck

On 07/17/2009 02:57 PM, Maximilian Melcher wrote:

Hello guys,

i have the problem that i cant lyx make my citation look like i want 
them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) but 
it makes my cites look like normal text.

I want a cite appear as [cite] and not without braces - any way to do it?

I'm not sure, as I don't read German well enough to read the docs. But 
there may be some package option you can use for that.


That said, are you sure you are choosing the right cite style when you 
insert the citation?


rh



Re: Citation style

2009-07-17 Thread rgheck

On 07/17/2009 02:57 PM, Maximilian Melcher wrote:

Hello guys,

i have the problem that i cant lyx make my citation look like i want 
them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) but 
it makes my cites look like normal text.

I want a cite appear as [cite] and not without braces - any way to do it?

I'm not sure, as I don't read German well enough to read the docs. But 
there may be some package option you can use for that.


That said, are you sure you are choosing the right cite style when you 
insert the citation?


rh



Re: Citation style is wrong!

2009-06-06 Thread Ralf
Maximilian Melcher m...@... writes:
[snip]
 In my document settings im using natbib with author-year selected. How
 can i change the styles of the references? Is that set in the style of
 the bibtex where i set dinat ? I tried to activate biblatex from here
 : http://wiki.lyx.org/BibTeX/Biblatex but that didnt work at all.

Hi Maximilian,

I tried the 'dinat' style and it works with Natbib for 1.6.2 - however I use
plain old BibTex not BibLatex - are you sure you need BibLatex for your purpose?
If you don't, well then stick to BibTex, that way you will get the citation
style you want. If you need BibLatex on the other hand, then forget this post, I
don't know anything about it ...

As for the BibTex thing:
[Insert]-[List/TOC]-[BibTex Bibliography]
  - Add your database
  - Choose your style

Hope this helps
-Ralf





Re: Citation style is wrong!

2009-06-06 Thread Ralf
Maximilian Melcher m...@... writes:
[snip]
 In my document settings im using natbib with author-year selected. How
 can i change the styles of the references? Is that set in the style of
 the bibtex where i set dinat ? I tried to activate biblatex from here
 : http://wiki.lyx.org/BibTeX/Biblatex but that didnt work at all.

Hi Maximilian,

I tried the 'dinat' style and it works with Natbib for 1.6.2 - however I use
plain old BibTex not BibLatex - are you sure you need BibLatex for your purpose?
If you don't, well then stick to BibTex, that way you will get the citation
style you want. If you need BibLatex on the other hand, then forget this post, I
don't know anything about it ...

As for the BibTex thing:
[Insert]-[List/TOC]-[BibTex Bibliography]
  - Add your database
  - Choose your style

Hope this helps
-Ralf





Re: Citation style is wrong!

2009-06-06 Thread Ralf
Maximilian Melcher  writes:
[snip]
> In my document settings im using natbib with author-year selected. How
> can i change the styles of the references? Is that set in the style of
> the bibtex where i set "dinat" ? I tried to activate biblatex from here
> : http://wiki.lyx.org/BibTeX/Biblatex but that didnt work at all.

Hi Maximilian,

I tried the 'dinat' style and it works with Natbib for 1.6.2 - however I use
plain old BibTex not BibLatex - are you sure you need BibLatex for your purpose?
If you don't, well then stick to BibTex, that way you will get the citation
style you want. If you need BibLatex on the other hand, then forget this post, I
don't know anything about it ...

As for the BibTex thing:
[Insert]->[List/TOC]->[BibTex Bibliography]
  - Add your database
  - Choose your style

Hope this helps
-Ralf





Re: citation style does not mention author et. al. as promised

2008-12-05 Thread Manoj Rajagopalan

Hi,

  I am using Bibtex and the bibtex entry is mentioned below. Lyx/latex 
still has trouble figuring out the author for this citation style. Is 
there an error in the way this entry is setup esp. in the author field?




@Article{ qdots-strained-MBE-first-observation,
	title = Growth by molecular beam epitaxy and characterization of 
InAs/GaAs strained-layer superlattices,
	author = L. Goldstein and F. Glas and J.Y. Marzin and M.N. Charasse 
and G. Le Roux,

journal = Applied Physics Letters,
pages = 1099--1101,
volume = 47,
number = 10,
month = nov,
year = 1985,
	abstract = InAs/GaAs superlattices with ultra-thin InAs (few 
monolayer) were grown on GaAs substrates. Nucleation of InAs occurs in a 
two-dimensional or a three-dimensional way depending on the growth 
conditions. The physical properties: x ray, transmission electron 
microscopy, and photoluminescence were used to characterize the 
different growth processes.,

url = http://link.aip.org.proxy.lib.umich.edu/link/?APPLAB/47/1099/1;,
doi = 10.1063/1.96342 ,
	localfile = 
/home/rmanoj/Research/Papers/QDots/Observations/Goldstein-growth-MBE-char-InAs-GaAs-strained-epilayer-superlattices-APL-0085.pdf,
	Summary = Mentioned by QDH book to be the first observation of SK 
growth in strained MBE

}


thanks,
Manoj



rgheck wrote:

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the author et. al. Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form author et. al. [ref#]  However, 
when I view the DVI I only see text like [ref#] ... without the 
author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


The usual reason is that there's an error somewhere in your BibTeX file. 
If BibTeX can't figure out the author and year for some entry, then it 
reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh





Re: citation style does not mention author et. al. as promised

2008-12-05 Thread Richard Heck

Manoj Rajagopalan wrote:

Hi,

  I am using Bibtex and the bibtex entry is mentioned below. Lyx/latex 
still has trouble figuring out the author for this citation style. Is 
there an error in the way this entry is setup esp. in the author field?


I wonder if there is an issue with Le Roux? Try LeRoux and see if 
that helps. If so, maybe you can use Le~Roux (non-breaking space) or 
{Le Roux}. Not sure.


rh



@Article{ qdots-strained-MBE-first-observation,
title = Growth by molecular beam epitaxy and characterization of 
InAs/GaAs strained-layer superlattices,
author = L. Goldstein and F. Glas and J.Y. Marzin and M.N. 
Charasse and G. Le Roux,

journal = Applied Physics Letters,
pages = 1099--1101,
volume = 47,
number = 10,
month = nov,
year = 1985,
abstract = InAs/GaAs superlattices with ultra-thin InAs (few 
monolayer) were grown on GaAs substrates. Nucleation of InAs occurs in 
a two-dimensional or a three-dimensional way depending on the growth 
conditions. The physical properties: x ray, transmission electron 
microscopy, and photoluminescence were used to characterize the 
different growth processes.,
url = 
http://link.aip.org.proxy.lib.umich.edu/link/?APPLAB/47/1099/1;,

doi = 10.1063/1.96342 ,
localfile = 
/home/rmanoj/Research/Papers/QDots/Observations/Goldstein-growth-MBE-char-InAs-GaAs-strained-epilayer-superlattices-APL-0085.pdf, 

Summary = Mentioned by QDH book to be the first observation of SK 
growth in strained MBE

}


thanks,
Manoj



rgheck wrote:

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the author et. al. Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form author et. al. [ref#]  
However, when I view the DVI I only see text like [ref#] ... 
without the author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) 
document class.


The usual reason is that there's an error somewhere in your BibTeX 
file. If BibTeX can't figure out the author and year for some entry, 
then it reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh







Re: citation style does not mention author et. al. as promised

2008-12-05 Thread Manoj Rajagopalan

Hi,

  I am using Bibtex and the bibtex entry is mentioned below. Lyx/latex 
still has trouble figuring out the author for this citation style. Is 
there an error in the way this entry is setup esp. in the author field?




@Article{ qdots-strained-MBE-first-observation,
	title = Growth by molecular beam epitaxy and characterization of 
InAs/GaAs strained-layer superlattices,
	author = L. Goldstein and F. Glas and J.Y. Marzin and M.N. Charasse 
and G. Le Roux,

journal = Applied Physics Letters,
pages = 1099--1101,
volume = 47,
number = 10,
month = nov,
year = 1985,
	abstract = InAs/GaAs superlattices with ultra-thin InAs (few 
monolayer) were grown on GaAs substrates. Nucleation of InAs occurs in a 
two-dimensional or a three-dimensional way depending on the growth 
conditions. The physical properties: x ray, transmission electron 
microscopy, and photoluminescence were used to characterize the 
different growth processes.,

url = http://link.aip.org.proxy.lib.umich.edu/link/?APPLAB/47/1099/1;,
doi = 10.1063/1.96342 ,
	localfile = 
/home/rmanoj/Research/Papers/QDots/Observations/Goldstein-growth-MBE-char-InAs-GaAs-strained-epilayer-superlattices-APL-0085.pdf,
	Summary = Mentioned by QDH book to be the first observation of SK 
growth in strained MBE

}


thanks,
Manoj



rgheck wrote:

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the author et. al. Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form author et. al. [ref#]  However, 
when I view the DVI I only see text like [ref#] ... without the 
author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


The usual reason is that there's an error somewhere in your BibTeX file. 
If BibTeX can't figure out the author and year for some entry, then it 
reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh





Re: citation style does not mention author et. al. as promised

2008-12-05 Thread Richard Heck

Manoj Rajagopalan wrote:

Hi,

  I am using Bibtex and the bibtex entry is mentioned below. Lyx/latex 
still has trouble figuring out the author for this citation style. Is 
there an error in the way this entry is setup esp. in the author field?


I wonder if there is an issue with Le Roux? Try LeRoux and see if 
that helps. If so, maybe you can use Le~Roux (non-breaking space) or 
{Le Roux}. Not sure.


rh



@Article{ qdots-strained-MBE-first-observation,
title = Growth by molecular beam epitaxy and characterization of 
InAs/GaAs strained-layer superlattices,
author = L. Goldstein and F. Glas and J.Y. Marzin and M.N. 
Charasse and G. Le Roux,

journal = Applied Physics Letters,
pages = 1099--1101,
volume = 47,
number = 10,
month = nov,
year = 1985,
abstract = InAs/GaAs superlattices with ultra-thin InAs (few 
monolayer) were grown on GaAs substrates. Nucleation of InAs occurs in 
a two-dimensional or a three-dimensional way depending on the growth 
conditions. The physical properties: x ray, transmission electron 
microscopy, and photoluminescence were used to characterize the 
different growth processes.,
url = 
http://link.aip.org.proxy.lib.umich.edu/link/?APPLAB/47/1099/1;,

doi = 10.1063/1.96342 ,
localfile = 
/home/rmanoj/Research/Papers/QDots/Observations/Goldstein-growth-MBE-char-InAs-GaAs-strained-epilayer-superlattices-APL-0085.pdf, 

Summary = Mentioned by QDH book to be the first observation of SK 
growth in strained MBE

}


thanks,
Manoj



rgheck wrote:

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the author et. al. Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form author et. al. [ref#]  
However, when I view the DVI I only see text like [ref#] ... 
without the author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) 
document class.


The usual reason is that there's an error somewhere in your BibTeX 
file. If BibTeX can't figure out the author and year for some entry, 
then it reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh







Re: citation style does not mention " et. al." as promised

2008-12-05 Thread Manoj Rajagopalan

Hi,

  I am using Bibtex and the bibtex entry is mentioned below. Lyx/latex 
still has trouble figuring out the author for this citation style. Is 
there an error in the way this entry is setup esp. in the author field?




@Article{ qdots-strained-MBE-first-observation,
	title = "Growth by molecular beam epitaxy and characterization of 
InAs/GaAs strained-layer superlattices",
	author = "L. Goldstein and F. Glas and J.Y. Marzin and M.N. Charasse 
and G. Le Roux",

journal = "Applied Physics Letters",
pages = "1099--1101",
volume = "47",
number = "10",
month = nov,
year = "1985",
	abstract = "InAs/GaAs superlattices with ultra-thin InAs (few 
monolayer) were grown on GaAs substrates. Nucleation of InAs occurs in a 
two-dimensional or a three-dimensional way depending on the growth 
conditions. The physical properties: x ray, transmission electron 
microscopy, and photoluminescence were used to characterize the 
different growth processes.",

url = "http://link.aip.org.proxy.lib.umich.edu/link/?APPLAB/47/1099/1;,
doi = "10.1063/1.96342 ",
	localfile = 
"/home/rmanoj/Research/Papers/QDots/Observations/Goldstein-growth-MBE-char-InAs-GaAs-strained-epilayer-superlattices-APL-0085.pdf",
	Summary = "Mentioned by QDH book to be the first observation of SK 
growth in strained MBE"

}


thanks,
Manoj



rgheck wrote:

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the " et. al." Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form " et. al. [ref#] ...". However, 
when I view the DVI I only see text like "[ref#] ..." without the 
author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


The usual reason is that there's an error somewhere in your BibTeX file. 
If BibTeX can't figure out the author and year for some entry, then it 
reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh





Re: citation style does not mention " et. al." as promised

2008-12-05 Thread Richard Heck

Manoj Rajagopalan wrote:

Hi,

  I am using Bibtex and the bibtex entry is mentioned below. Lyx/latex 
still has trouble figuring out the author for this citation style. Is 
there an error in the way this entry is setup esp. in the author field?


I wonder if there is an issue with "Le Roux"? Try "LeRoux" and see if 
that helps. If so, maybe you can use "Le~Roux" (non-breaking space) or 
"{Le Roux}". Not sure.


rh



@Article{ qdots-strained-MBE-first-observation,
title = "Growth by molecular beam epitaxy and characterization of 
InAs/GaAs strained-layer superlattices",
author = "L. Goldstein and F. Glas and J.Y. Marzin and M.N. 
Charasse and G. Le Roux",

journal = "Applied Physics Letters",
pages = "1099--1101",
volume = "47",
number = "10",
month = nov,
year = "1985",
abstract = "InAs/GaAs superlattices with ultra-thin InAs (few 
monolayer) were grown on GaAs substrates. Nucleation of InAs occurs in 
a two-dimensional or a three-dimensional way depending on the growth 
conditions. The physical properties: x ray, transmission electron 
microscopy, and photoluminescence were used to characterize the 
different growth processes.",
url = 
"http://link.aip.org.proxy.lib.umich.edu/link/?APPLAB/47/1099/1;,

doi = "10.1063/1.96342 ",
localfile = 
"/home/rmanoj/Research/Papers/QDots/Observations/Goldstein-growth-MBE-char-InAs-GaAs-strained-epilayer-superlattices-APL-0085.pdf", 

Summary = "Mentioned by QDH book to be the first observation of SK 
growth in strained MBE"

}


thanks,
Manoj



rgheck wrote:

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the " et. al." Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form " et. al. [ref#] ...". 
However, when I view the DVI I only see text like "[ref#] ..." 
without the author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) 
document class.


The usual reason is that there's an error somewhere in your BibTeX 
file. If BibTeX can't figure out the author and year for some entry, 
then it reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh







Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
 Any text entered here is then appended to the citation itself  
 separated with a comma. Is there any way to change the separator to be  
 a colon?

[EMAIL PROTECTED]@tempswa : #2\fi}]}

Jürgen


Re: Citation style 'Text after' separator

2008-11-22 Thread Sam Aaron

Jürgen wrote:
 [EMAIL [EMAIL PROTECTED] : #2\fi}]}

Thanks for replying to my query Jürgen. Is there any way you can help  
me understand your solution? I'm assuming I enter a special code in  
the 'Text after' field, however I can't determine what it is from your  
reply. For example, I've tried:

#2\fi
: #2\fi
#2\fi}]
etc. All seem to throw errors on creation of the pdf. I'm currently  
jusing Jurabib as the citation style. Will that be the issue?

Thanks once again,

Sam

Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
  I'm currently  
 jusing Jurabib as the citation style. Will that be the issue?

Yes, since you wrote nothing I assumed you are using the standard bibliography 
with article.sty. With Jurabib, you can probably customize this differently. 
Have a look at the Jurabib documentation.

Jürgen


Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
 Any text entered here is then appended to the citation itself  
 separated with a comma. Is there any way to change the separator to be  
 a colon?

[EMAIL PROTECTED]@tempswa : #2\fi}]}

Jürgen


Re: Citation style 'Text after' separator

2008-11-22 Thread Sam Aaron

Jürgen wrote:
 [EMAIL [EMAIL PROTECTED] : #2\fi}]}

Thanks for replying to my query Jürgen. Is there any way you can help  
me understand your solution? I'm assuming I enter a special code in  
the 'Text after' field, however I can't determine what it is from your  
reply. For example, I've tried:

#2\fi
: #2\fi
#2\fi}]
etc. All seem to throw errors on creation of the pdf. I'm currently  
jusing Jurabib as the citation style. Will that be the issue?

Thanks once again,

Sam

Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
  I'm currently  
 jusing Jurabib as the citation style. Will that be the issue?

Yes, since you wrote nothing I assumed you are using the standard bibliography 
with article.sty. With Jurabib, you can probably customize this differently. 
Have a look at the Jurabib documentation.

Jürgen


Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
> Any text entered here is then appended to the citation itself  
> separated with a comma. Is there any way to change the separator to be  
> a colon?

[EMAIL PROTECTED]@tempswa : #2\fi}]}

Jürgen


Re: Citation style 'Text after' separator

2008-11-22 Thread Sam Aaron

Jürgen wrote:
> [EMAIL [EMAIL PROTECTED] : #2\fi}]}

Thanks for replying to my query Jürgen. Is there any way you can help  
me understand your solution? I'm assuming I enter a special code in  
the 'Text after' field, however I can't determine what it is from your  
reply. For example, I've tried:

#2\fi
: #2\fi
#2\fi}]
etc. All seem to throw errors on creation of the pdf. I'm currently  
jusing Jurabib as the citation style. Will that be the issue?

Thanks once again,

Sam

Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
>  I'm currently  
> jusing Jurabib as the citation style. Will that be the issue?

Yes, since you wrote nothing I assumed you are using the standard bibliography 
with article.sty. With Jurabib, you can probably customize this differently. 
Have a look at the Jurabib documentation.

Jürgen


Re: citation style does not mention author et. al. as promised

2008-11-18 Thread rgheck

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the author et. al. Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form author et. al. [ref#]  However, 
when I view the DVI I only see text like [ref#] ... without the 
author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


The usual reason is that there's an error somewhere in your BibTeX file. 
If BibTeX can't figure out the author and year for some entry, then it 
reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Jürgen Spitzmüller
rgheck wrote:

 If you're not using BibTeX but are entering the references manually,
 then the problem is that you can only use author-year citations if
 you're using BibTeX.

Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

This is a major regression to LyX 1.5.

Jürgen

natbib.lyx
Description: application/lyx
%% LyX 1.5.7 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[authoryear]{natbib}
\usepackage{babel}

\begin{document}
\citet{doe} \citealt{doe} \citealp{doe} \citeyear{doe}.

\begin{thebibliography}{Doe(2008)}
\bibitem[Doe(2008)]{doe}Doe, John (2008): Foo. Bar.
\end{thebibliography}

\end{document}



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Richard heck

Jürgen Spitzmüller wrote:

rgheck wrote:

  

If you're not using BibTeX but are entering the references manually,
then the problem is that you can only use author-year citations if
you're using BibTeX.



Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

  
Yes, IF you carefully format the label yourself, as you show. (BibTeX 
just does this for you, yes?) Perhaps we should add a note about this to 
the docs. The question often comes up. People expect to be able just to 
enter the reference data and have author-year work.



However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

  

I just loaded the file into 1.6.1svn and it was fine. ???

rh



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Jürgen Spitzmüller
Richard heck wrote:

 Yes, IF you carefully format the label yourself, as you show. (BibTeX
 just does this for you, yes?) Perhaps we should add a note about this to
 the docs. The question often comes up. People expect to be able just to
 enter the reference data and have author-year work.

You just have to use natbib's syntax. The important point is that the round 
brackets in the bibitem optional argument are simply delimiters for the year 
and *not* part of the label, and they must be inserted without space. So

\bibitem[heck(2008)]{foo}

is parsed by natbib as name=heck, year=2008, the brackets are not interpreted 
as brackets (changing the bracket style to [] with \bibpunct thus works).

This is explained in the natbib docs.

 However, I noticed that this has been disabled in 1.6. It even does not
 read old filed correctly (therefore I also attached the *.tex file).

 
 I just loaded the file into 1.6.1svn and it was fine. ???

Can you chose the citation style in the citation dialog? I can't. The list of 
styles is empty, and the combo is disabled. In 1.5, the combo contained all 
necessary styles. Also the label in the LyX window is wrong.

Compare the attached screenshots from 1.5 and 1.6.

Jürgenattachment: natbib-15.pngattachment: natbib-16.png

Re: citation style does not mention author et. al. as promised

2008-11-18 Thread rgheck

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the author et. al. Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form author et. al. [ref#]  However, 
when I view the DVI I only see text like [ref#] ... without the 
author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


The usual reason is that there's an error somewhere in your BibTeX file. 
If BibTeX can't figure out the author and year for some entry, then it 
reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Jürgen Spitzmüller
rgheck wrote:

 If you're not using BibTeX but are entering the references manually,
 then the problem is that you can only use author-year citations if
 you're using BibTeX.

Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

This is a major regression to LyX 1.5.

Jürgen

natbib.lyx
Description: application/lyx
%% LyX 1.5.7 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[authoryear]{natbib}
\usepackage{babel}

\begin{document}
\citet{doe} \citealt{doe} \citealp{doe} \citeyear{doe}.

\begin{thebibliography}{Doe(2008)}
\bibitem[Doe(2008)]{doe}Doe, John (2008): Foo. Bar.
\end{thebibliography}

\end{document}



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Richard heck

Jürgen Spitzmüller wrote:

rgheck wrote:

  

If you're not using BibTeX but are entering the references manually,
then the problem is that you can only use author-year citations if
you're using BibTeX.



Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

  
Yes, IF you carefully format the label yourself, as you show. (BibTeX 
just does this for you, yes?) Perhaps we should add a note about this to 
the docs. The question often comes up. People expect to be able just to 
enter the reference data and have author-year work.



However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

  

I just loaded the file into 1.6.1svn and it was fine. ???

rh



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Jürgen Spitzmüller
Richard heck wrote:

 Yes, IF you carefully format the label yourself, as you show. (BibTeX
 just does this for you, yes?) Perhaps we should add a note about this to
 the docs. The question often comes up. People expect to be able just to
 enter the reference data and have author-year work.

You just have to use natbib's syntax. The important point is that the round 
brackets in the bibitem optional argument are simply delimiters for the year 
and *not* part of the label, and they must be inserted without space. So

\bibitem[heck(2008)]{foo}

is parsed by natbib as name=heck, year=2008, the brackets are not interpreted 
as brackets (changing the bracket style to [] with \bibpunct thus works).

This is explained in the natbib docs.

 However, I noticed that this has been disabled in 1.6. It even does not
 read old filed correctly (therefore I also attached the *.tex file).

 
 I just loaded the file into 1.6.1svn and it was fine. ???

Can you chose the citation style in the citation dialog? I can't. The list of 
styles is empty, and the combo is disabled. In 1.5, the combo contained all 
necessary styles. Also the label in the LyX window is wrong.

Compare the attached screenshots from 1.5 and 1.6.

Jürgenattachment: natbib-15.pngattachment: natbib-16.png

Re: citation style does not mention " et. al." as promised

2008-11-18 Thread rgheck

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the " et. al." Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form " et. al. [ref#] ...". However, 
when I view the DVI I only see text like "[ref#] ..." without the 
author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


The usual reason is that there's an error somewhere in your BibTeX file. 
If BibTeX can't figure out the author and year for some entry, then it 
reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh



Re: citation style does not mention " et. al." as promised

2008-11-18 Thread Jürgen Spitzmüller
rgheck wrote:

> If you're not using BibTeX but are entering the references manually,
> then the problem is that you can only use author-year citations if
> you're using BibTeX.

Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

This is a major regression to LyX 1.5.

Jürgen

natbib.lyx
Description: application/lyx
%% LyX 1.5.7 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[authoryear]{natbib}
\usepackage{babel}

\begin{document}
\citet{doe} \citealt{doe} \citealp{doe} \citeyear{doe}.

\begin{thebibliography}{Doe(2008)}
\bibitem[Doe(2008)]{doe}Doe, John (2008): Foo. Bar.
\end{thebibliography}

\end{document}



Re: citation style does not mention " et. al." as promised

2008-11-18 Thread Richard heck

Jürgen Spitzmüller wrote:

rgheck wrote:

  

If you're not using BibTeX but are entering the references manually,
then the problem is that you can only use author-year citations if
you're using BibTeX.



Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

  
Yes, IF you carefully format the label yourself, as you show. (BibTeX 
just does this for you, yes?) Perhaps we should add a note about this to 
the docs. The question often comes up. People expect to be able just to 
enter the reference data and have author-year work.



However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

  

I just loaded the file into 1.6.1svn and it was fine. ???

rh



Re: citation style does not mention " et. al." as promised

2008-11-18 Thread Jürgen Spitzmüller
Richard heck wrote:

> Yes, IF you carefully format the label yourself, as you show. (BibTeX
> just does this for you, yes?) Perhaps we should add a note about this to
> the docs. The question often comes up. People expect to be able just to
> enter the reference data and have author-year work.

You just have to use natbib's syntax. The important point is that the round 
brackets in the bibitem optional argument are simply delimiters for the year 
and *not* part of the label, and they must be inserted without space. So

\bibitem[heck(2008)]{foo}

is parsed by natbib as name=heck, year=2008, the brackets are not interpreted 
as brackets (changing the bracket style to [] with \bibpunct thus works).

This is explained in the natbib docs.

>> However, I noticed that this has been disabled in 1.6. It even does not
>> read old filed correctly (therefore I also attached the *.tex file).
>>
>> 
> I just loaded the file into 1.6.1svn and it was fine. ???

Can you chose the citation style in the citation dialog? I can't. The list of 
styles is empty, and the combo is disabled. In 1.5, the combo contained all 
necessary styles. Also the label in the LyX window is wrong.

Compare the attached screenshots from 1.5 and 1.6.

Jürgen<><>

Re: citation style

2006-07-28 Thread Wolfgang Engelmann
Am Freitag, 28. Juli 2006 10:56 schrieb Wolfgang Engelmann:
 Good morning

 Is there an easier way to replace
 cite{
 with
 citealt{
 as to run a replace in the lyx document?

 The publisher wants
   (Miller 2001) instead of  (Miller (2001))

 I am thinking of \bibpunct in the preamble, but am not sure whether
 appropriate here and how to use it

 Wolfgang

a ps:
The problem with the replace is, that it does not differentiate between 
 as shown (Miller 2001)
 as shown by Miller (2001)

the replacement gives
 as shown (Miller 2001)
 as shown by Miller 2001

apparently latex decides by the parantheses which one is used. 

So, some global way (\bibpunct?) would be better. Which one?


Wolfgang


Re: citation style

2006-07-28 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
  Is there an easier way to replace
  cite{
  with
  citealt{
  as to run a replace in the lyx document?

How about:
\renewcommand{\cite}{\citealt}

 a ps:
 The problem with the replace is, that it does not differentiate between
  as shown (Miller 2001)
  as shown by Miller (2001)

 the replacement gives
  as shown (Miller 2001)
  as shown by Miller 2001

 apparently latex decides by the parantheses which one is used.

 So, some global way (\bibpunct?) would be better. Which one?

\bibpunct does not differentiate between the brackets around the year and 
those around the whole citation. So you have to use two different cite 
styles, or add the brackets manually.

Jürgen


Re: citation style

2006-07-28 Thread Stephen Harris

Wolfgang Engelmann wrote:

Good morning

Is there an easier way to replace 
cite{ 
with 
citealt{

as to run a replace in the lyx document?

The publisher wants 
  (Miller 2001) instead of  (Miller (2001))


I am thinking of \bibpunct in the preamble, but am not sure whether 
appropriate here and how to use it 


Wolfgang



There is probably a script in a repository which allows
you to specify a find term/replace term, recursively, in
a designated input file. I've seen a recommendation to
use a powerful text editor since the .lyx file is text.
I have used Xemacs on large dictionary text files. But
perhaps it is more convenient to change your package.

I was just reading about this earlier today:

That is, a bibliographical entry like

\bibitem[Donald~E. Knuth 1986]{Knuth–CT–a} Donald~E. Knuth.
\newblock \emph{The {\TeX}book}, volume~A of \emph{Computers and
Typesetting}. \newblock Addison–Wesley, Reading, MA, USA, 1986.

will allow the \cite command to produce (Donald E. Knuth 1986)

but not Donald E. Knuth (1986) or just Knuth or just 1986
as well. You also have to ensure that \bibitem does not display
the label, but that outcome can be fairly easily arranged.

The solution used by all implementations for author-date support
is to introduce a special syntax within the optional argument of
\bibitem. In some implementations this structure is fairly simple.
For instance, chicago requires only

\bibitem[\protect\citeauthoryear{Goossens, Rahtz, and Mittelbach}
{Goossens et~al.}{1997}]{LGC97}

---TLC2,12.3.1

For example, the chicago package, which aimed to implement the
recommendations of The Chicago Manual of Style [38], offers the
following list of commands (plus variants all ending in NP to
omit the parentheses—for example, \citeNP):

\usepackage{chicago}
\bibliographystyle{chicago}

(Goosens, Rahtz, and Mittelback 1997)  \cite{LGC97}   \\


(Goosens, Rahtz, and Mittelback)   \citeA{LGC97}  \\

Goosens, Rahtz, and Mittelback (1997)  \citeN{LGC97}  \\

(Goosens and Rahtz 1999)   \shortcite{LWC99}  \\

(Goosens and Rahtz)   \shortciteA{LWC99}  \\

Goossens and Rahtz (1999) \shortciteN{LWC99}  \\

(1999), \citeyear{LWC99}, \\

1999 \citeyearNP{LWC99}   \\



--

An ambient confluence
of mapped coherence ~

Stephen


Re: citation style

2006-07-28 Thread Wolfgang Engelmann
Am Freitag, 28. Juli 2006 12:13 schrieben Sie:
 Wolfgang Engelmann wrote:
   Is there an easier way to replace
   cite{
   with
   citealt{
   as to run a replace in the lyx document?

 How about:
 \renewcommand{\cite}{\citealt}

Good. And easy. And thanks.


  a ps:
  The problem with the replace is, that it does not differentiate between
   as shown (Miller 2001)
   as shown by Miller (2001)
 
  the replacement gives
   as shown (Miller 2001)
   as shown by Miller 2001
 
  apparently latex decides by the parantheses which one is used.
 
  So, some global way (\bibpunct?) would be better. Which one?

 \bibpunct does not differentiate between the brackets around the year and
 those around the whole citation. So you have to use two different cite
 styles, or add the brackets manually.

so far I have imported the bib file via jabref. But if I click on the 
particular citation box which should give 
 as shown by Miller (2001)
and select this particular style, it is done the way I want it. And since 
there are not many cases where this is needed, it is easily done. Should have 
thought of it before. 
Thanks to all the helpfull people. 

Wolfgang

 Jürgen

-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: citation style

2006-07-28 Thread Wolfgang Engelmann
Am Freitag, 28. Juli 2006 10:56 schrieb Wolfgang Engelmann:
 Good morning

 Is there an easier way to replace
 cite{
 with
 citealt{
 as to run a replace in the lyx document?

 The publisher wants
   (Miller 2001) instead of  (Miller (2001))

 I am thinking of \bibpunct in the preamble, but am not sure whether
 appropriate here and how to use it

 Wolfgang

a ps:
The problem with the replace is, that it does not differentiate between 
 as shown (Miller 2001)
 as shown by Miller (2001)

the replacement gives
 as shown (Miller 2001)
 as shown by Miller 2001

apparently latex decides by the parantheses which one is used. 

So, some global way (\bibpunct?) would be better. Which one?


Wolfgang


Re: citation style

2006-07-28 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
  Is there an easier way to replace
  cite{
  with
  citealt{
  as to run a replace in the lyx document?

How about:
\renewcommand{\cite}{\citealt}

 a ps:
 The problem with the replace is, that it does not differentiate between
  as shown (Miller 2001)
  as shown by Miller (2001)

 the replacement gives
  as shown (Miller 2001)
  as shown by Miller 2001

 apparently latex decides by the parantheses which one is used.

 So, some global way (\bibpunct?) would be better. Which one?

\bibpunct does not differentiate between the brackets around the year and 
those around the whole citation. So you have to use two different cite 
styles, or add the brackets manually.

Jürgen


Re: citation style

2006-07-28 Thread Stephen Harris

Wolfgang Engelmann wrote:

Good morning

Is there an easier way to replace 
cite{ 
with 
citealt{

as to run a replace in the lyx document?

The publisher wants 
  (Miller 2001) instead of  (Miller (2001))


I am thinking of \bibpunct in the preamble, but am not sure whether 
appropriate here and how to use it 


Wolfgang



There is probably a script in a repository which allows
you to specify a find term/replace term, recursively, in
a designated input file. I've seen a recommendation to
use a powerful text editor since the .lyx file is text.
I have used Xemacs on large dictionary text files. But
perhaps it is more convenient to change your package.

I was just reading about this earlier today:

That is, a bibliographical entry like

\bibitem[Donald~E. Knuth 1986]{Knuth–CT–a} Donald~E. Knuth.
\newblock \emph{The {\TeX}book}, volume~A of \emph{Computers and
Typesetting}. \newblock Addison–Wesley, Reading, MA, USA, 1986.

will allow the \cite command to produce (Donald E. Knuth 1986)

but not Donald E. Knuth (1986) or just Knuth or just 1986
as well. You also have to ensure that \bibitem does not display
the label, but that outcome can be fairly easily arranged.

The solution used by all implementations for author-date support
is to introduce a special syntax within the optional argument of
\bibitem. In some implementations this structure is fairly simple.
For instance, chicago requires only

\bibitem[\protect\citeauthoryear{Goossens, Rahtz, and Mittelbach}
{Goossens et~al.}{1997}]{LGC97}

---TLC2,12.3.1

For example, the chicago package, which aimed to implement the
recommendations of The Chicago Manual of Style [38], offers the
following list of commands (plus variants all ending in NP to
omit the parentheses—for example, \citeNP):

\usepackage{chicago}
\bibliographystyle{chicago}

(Goosens, Rahtz, and Mittelback 1997)  \cite{LGC97}   \\


(Goosens, Rahtz, and Mittelback)   \citeA{LGC97}  \\

Goosens, Rahtz, and Mittelback (1997)  \citeN{LGC97}  \\

(Goosens and Rahtz 1999)   \shortcite{LWC99}  \\

(Goosens and Rahtz)   \shortciteA{LWC99}  \\

Goossens and Rahtz (1999) \shortciteN{LWC99}  \\

(1999), \citeyear{LWC99}, \\

1999 \citeyearNP{LWC99}   \\



--

An ambient confluence
of mapped coherence ~

Stephen


Re: citation style

2006-07-28 Thread Wolfgang Engelmann
Am Freitag, 28. Juli 2006 12:13 schrieben Sie:
 Wolfgang Engelmann wrote:
   Is there an easier way to replace
   cite{
   with
   citealt{
   as to run a replace in the lyx document?

 How about:
 \renewcommand{\cite}{\citealt}

Good. And easy. And thanks.


  a ps:
  The problem with the replace is, that it does not differentiate between
   as shown (Miller 2001)
   as shown by Miller (2001)
 
  the replacement gives
   as shown (Miller 2001)
   as shown by Miller 2001
 
  apparently latex decides by the parantheses which one is used.
 
  So, some global way (\bibpunct?) would be better. Which one?

 \bibpunct does not differentiate between the brackets around the year and
 those around the whole citation. So you have to use two different cite
 styles, or add the brackets manually.

so far I have imported the bib file via jabref. But if I click on the 
particular citation box which should give 
 as shown by Miller (2001)
and select this particular style, it is done the way I want it. And since 
there are not many cases where this is needed, it is easily done. Should have 
thought of it before. 
Thanks to all the helpfull people. 

Wolfgang

 Jürgen

-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: citation style

2006-07-28 Thread Wolfgang Engelmann
Am Freitag, 28. Juli 2006 10:56 schrieb Wolfgang Engelmann:
> Good morning
>
> Is there an easier way to replace
> cite{
> with
> citealt{
> as to run a replace in the lyx document?
>
> The publisher wants
>   (Miller 2001) instead of  (Miller (2001))
>
> I am thinking of \bibpunct in the preamble, but am not sure whether
> appropriate here and how to use it
>
> Wolfgang

a ps:
The problem with the replace is, that it does not differentiate between 
 as shown (Miller 2001)
 as shown by Miller (2001)

the replacement gives
 as shown (Miller 2001)
 as shown by Miller 2001

apparently latex decides by the parantheses which one is used. 

So, some global way (\bibpunct?) would be better. Which one?


Wolfgang


Re: citation style

2006-07-28 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
> > Is there an easier way to replace
> > cite{
> > with
> > citealt{
> > as to run a replace in the lyx document?

How about:
\renewcommand{\cite}{\citealt}

> a ps:
> The problem with the replace is, that it does not differentiate between
>  as shown (Miller 2001)
>  as shown by Miller (2001)
>
> the replacement gives
>  as shown (Miller 2001)
>  as shown by Miller 2001
>
> apparently latex decides by the parantheses which one is used.
>
> So, some global way (\bibpunct?) would be better. Which one?

\bibpunct does not differentiate between the brackets around the year and 
those around the whole citation. So you have to use two different cite 
styles, or add the brackets manually.

Jürgen


Re: citation style

2006-07-28 Thread Stephen Harris

Wolfgang Engelmann wrote:

Good morning

Is there an easier way to replace 
cite{ 
with 
citealt{

as to run a replace in the lyx document?

The publisher wants 
  (Miller 2001) instead of  (Miller (2001))


I am thinking of \bibpunct in the preamble, but am not sure whether 
appropriate here and how to use it 


Wolfgang



There is probably a script in a repository which allows
you to specify a find term/replace term, recursively, in
a designated input file. I've seen a recommendation to
use a powerful text editor since the .lyx file is text.
I have used Xemacs on large dictionary text files. But
perhaps it is more convenient to change your package.

I was just reading about this earlier today:

"That is, a bibliographical entry like

\bibitem[Donald~E. Knuth 1986]{Knuth–CT–a} Donald~E. Knuth.
\newblock \emph{The {\TeX}book}, volume~A of \emph{Computers and
Typesetting}. \newblock Addison–Wesley, Reading, MA, USA, 1986.

will allow the \cite command to produce "(Donald E. Knuth 1986)"

but not "Donald E. Knuth (1986)" or just "Knuth" or just "1986"
as well. You also have to ensure that \bibitem does not display
the label, but that outcome can be fairly easily arranged.

The solution used by all implementations for author-date support
is to introduce a special syntax within the optional argument of
\bibitem. In some implementations this structure is fairly simple.
For instance, chicago requires only

\bibitem[\protect\citeauthoryear{Goossens, Rahtz, and Mittelbach}
{Goossens et~al.}{1997}]{LGC97}"

---TLC2,12.3.1

For example, the chicago package, which aimed to implement the
recommendations of The Chicago Manual of Style [38], offers the
following list of commands (plus variants all ending in NP to
omit the parentheses—for example, \citeNP):

\usepackage{chicago}
\bibliographystyle{chicago}

(Goosens, Rahtz, and Mittelback 1997)  \cite{LGC97}   \\


(Goosens, Rahtz, and Mittelback)   \citeA{LGC97}  \\

Goosens, Rahtz, and Mittelback (1997)  \citeN{LGC97}  \\

(Goosens and Rahtz 1999)   \shortcite{LWC99}  \\

(Goosens and Rahtz)   \shortciteA{LWC99}  \\

Goossens and Rahtz (1999) \shortciteN{LWC99}  \\

(1999), \citeyear{LWC99}, \\

1999 \citeyearNP{LWC99}   \\



--

An ambient confluence
of mapped coherence ~

Stephen


Re: citation style

2006-07-28 Thread Wolfgang Engelmann
Am Freitag, 28. Juli 2006 12:13 schrieben Sie:
> Wolfgang Engelmann wrote:
> > > Is there an easier way to replace
> > > cite{
> > > with
> > > citealt{
> > > as to run a replace in the lyx document?
>
> How about:
> \renewcommand{\cite}{\citealt}

Good. And easy. And thanks.

>
> > a ps:
> > The problem with the replace is, that it does not differentiate between
> >  as shown (Miller 2001)
> >  as shown by Miller (2001)
> >
> > the replacement gives
> >  as shown (Miller 2001)
> >  as shown by Miller 2001
> >
> > apparently latex decides by the parantheses which one is used.
> >
> > So, some global way (\bibpunct?) would be better. Which one?
>
> \bibpunct does not differentiate between the brackets around the year and
> those around the whole citation. So you have to use two different cite
> styles, or add the brackets manually.

so far I have imported the bib file via jabref. But if I click on the 
particular citation box which should give 
 as shown by Miller (2001)
and select this particular style, it is done the way I want it. And since 
there are not many cases where this is needed, it is easily done. Should have 
thought of it before. 
Thanks to all the helpfull people. 

Wolfgang
>
> Jürgen

-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325