Re: Formatting Article for PLoS One

2013-09-05 Thread Julien Rioux

On 05/09/2013 5:59 AM, Csikos Bela wrote:

Julien Rioux  írta:


On 05/09/2013 5:08 AM, Csikos Bela wrote:

Jane Shevtsov  írta:


Hello:

I'm trying to format an article for submission to PLoS One.
I'm using their BiBTeX style sheet (http://www.plosone.org/static/
plos2009.bst) and the bibliography works fine but I get "
(author?)" errors in the text when trying to cite an article as
Author [ID]. Apparently, this is because their style file isn't a
Natbib style,


No, this is not correct. That style is a natbib style. It was made by
custom bib which supports natbib. The beginning  of the bst file indicates
this:

"%%

%% This is file `PLoS.bst',

%% generated with the docstrip utility.

%%

%% The original source files were:

%%

%% merlin.mbs  (with options: ..."




Hmm? The fact that it is generated by a tool that /can/ produce fully
compatible natbib styles does not make this style a natbib style. It is
a plain LaTeX style, with no additional packages required, just like
plain.bst or unsrt.bst, so let's not call it something else. Natbib
/will/ be able to use it to produce purely numerical citations, but the
same is true for the standard plain.bst or unsrt.bst, and one wouldn't
call those "natbib" styles.


OK, of course you're right in that sense. I only wanted to emphasize
that this bst works with natbib package. It is a natbib compatible
style.

Let me ask which styles would you call then natib style? Only those
ones which come packed with the natbib package?



Rough answer: those that require \usepackage{natbib} (and nothing else 
will do).


Technical answer: those that produce \bibitem in natbib's syntax:

\bibitem[Author 1 et al.(2013)Author 1, Author 2 and Author 3]{...}

That includes not only the styles shipped with the natbib package, also 
generated ones.


There are many other syntaxes for \bibitem, invented by other packages: 
natbib will understand most of them, but it then might be feature-limited.


Cheers,
Julien



Re: Formatting Article for PLoS One

2013-09-05 Thread Csikos Bela
Julien Rioux  írta:

>On 05/09/2013 5:08 AM, Csikos Bela wrote:
>> Jane Shevtsov  írta:
>>>
>>> Hello:
>>>
>>>I'm trying to format an article for submission to PLoS One.
>>>I'm using their BiBTeX style sheet (http://www.plosone.org/static/
>>>plos2009.bst) and the bibliography works fine but I get "
>>>(author?)" errors in the text when trying to cite an article as
>>>Author [ID]. Apparently, this is because their style file isn't a
>>>Natbib style,
>>>
>>No, this is not correct. That style is a natbib style. It was made by
>>custom bib which supports natbib. The beginning  of the bst file indicates
>>this:
>>
>>"%%
>>
>>%% This is file `PLoS.bst',
>>
>> %% generated with the docstrip utility.
>>
>> %%
>>
>> %% The original source files were:
>>
>> %%
>>
>> %% merlin.mbs  (with options: ..."
>>

>Hmm? The fact that it is generated by a tool that /can/ produce fully 
>compatible natbib styles does not make this style a natbib style. It is 
>a plain LaTeX style, with no additional packages required, just like 
>plain.bst or unsrt.bst, so let's not call it something else. Natbib 
>/will/ be able to use it to produce purely numerical citations, but the 
>same is true for the standard plain.bst or unsrt.bst, and one wouldn't 
>call those "natbib" styles. 

OK, of course you're right in that sense. I only wanted to emphasize
that this bst works with natbib package. It is a natbib compatible
style. 

Let me ask which styles would you call then natib style? Only those
ones which come packed with the natbib package?

bcsikos425





Re: Formatting Article for PLoS One

2013-09-05 Thread Julien Rioux

On 05/09/2013 5:08 AM, Csikos Bela wrote:

Jane Shevtsov  írta:

Hello:


I'm trying to format an article for submission to PLoS One.
I'm using their BiBTeX style sheet (http://www.plosone.org/static/
plos2009.bst) and the bibliography works fine but I get "
(author?)" errors in the text when trying to cite an article as
Author [ID]. Apparently, this is because their style file isn't a
Natbib style,


No, this is not correct. That style is a natbib style. It was made by
custom bib which supports natbib. The beginning  of the bst file indicates
this:

"%%

%% This is file `PLoS.bst',

%% generated with the docstrip utility.

%%

%% The original source files were:

%%

%% merlin.mbs  (with options: ..."



Hmm? The fact that it is generated by a tool that /can/ produce fully 
compatible natbib styles does not make this style a natbib style. It is 
a plain LaTeX style, with no additional packages required, just like 
plain.bst or unsrt.bst, so let's not call it something else. Natbib 
/will/ be able to use it to produce purely numerical citations, but the 
same is true for the standard plain.bst or unsrt.bst, and one wouldn't 
call those "natbib" styles.


Regards,
Julien



Re: Formatting Article for PLoS One

2013-09-05 Thread Csikos Bela
Jane Shevtsov  írta:

Hello:

>I'm trying to format an article for submission to PLoS One.
>I'm using their BiBTeX style sheet (http://www.plosone.org/static/ 
>plos2009.bst) and the bibliography works fine but I get " 
>(author?)" errors in the text when trying to cite an article as 
>Author [ID]. Apparently, this is because their style file isn't a 
>Natbib style,

No, this is not correct. That style is a natbib style. It was made by
custom bib which supports natbib. The beginning  of the bst file indicates
this:

"%%

%% This is file `PLoS.bst',

%% generated with the docstrip utility.

%%

%% The original source files were:

%%

%% merlin.mbs  (with options: ..."

The problem is it is a numerical style file, you cannot use author [ID]
with it. Select Document->Settings->Bibliopgraphy->Citation Style:
Natbib->Natbib style: Numerical.

Make sure your are not loading natbib in your (custom) preamble again.

When adding a citation you have to select sitations syle:
[ID] or ID.

> but changing the bibliography style to default or Jurabib doesn't 
>work.

Because this bst style file is a numerical style file.

>Is there anything I can do short of typing authors' names by hand?

Not, if you want to use plos bst.

bcsikos



Re: Formatting Article for PLoS One

2013-09-05 Thread Julien Rioux
Hi,

On Wed, Sep 4, 2013 at 11:08 PM, Jane Shevtsov  wrote:

> Hi Julien,
>
> On Wed, Sep 4, 2013 at 5:33 PM, Julien Rioux  wrote:
>
>> On 03/09/2013 11:54 PM, Jane Shevtsov wrote:
>>
>>> Also, PLoS provides a template for LaTeX users.
>>> (http://www.plosone.org/**static/plos_template.tex)
>>> What do I do with that
>>> thing? I tried just importing the template into LyX and copying my text
>>> into it, but it's not at all clear what to do with the figure legends
>>> and tables. Do I edit the ERT directly?
>>>
>>>
>> These probably shouldn't come out as ERT. The reason is probably because
>> there is no .layout file for this LaTeX class. Creating a layout file is
>> explained in the Customization manual and might be as simple as copying the
>> standard article.layout. With a layout in place, the import from LaTeX
>> should do a better job.
>>
>
> The file that PLoS provides is just a template, NOT a class. (Click the
> link.) How do I make a layout from a template?
>

Sorry, I should have had a look. It i using the article class, so that's
fine. In the template, the LaTeX code for inserting figure and table floats
are commented out with % characters at the beginning of the lines, that's
why it gets imported as ERT. Just insert figure and table floats in the
usual way using the LyX frontend, it will generate the LaTeX code for you.
LyX generates standard LaTeX for this, and the template also uses standard
LaTeX here (as opposed to their formatting for the title and authors), so
this should not be a problem.

Cheers,
Julien



>
> Thanks,
> Jane
>
> --
> -
> Jane Shevtsov, Ph.D.
> Mathematical Biology Curriculum Writer, UCLA
> co-founder, www.worldbeyondborders.org
>
> “Those who say it cannot be done should not interfere with those who are
> doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others
>


Re: Formatting Article for PLoS One

2013-09-04 Thread Jane Shevtsov
Hi Julien,

On Wed, Sep 4, 2013 at 5:33 PM, Julien Rioux  wrote:

> On 03/09/2013 11:54 PM, Jane Shevtsov wrote:
>
>> Also, PLoS provides a template for LaTeX users.
>> (http://www.plosone.org/**static/plos_template.tex)
>> What do I do with that
>> thing? I tried just importing the template into LyX and copying my text
>> into it, but it's not at all clear what to do with the figure legends
>> and tables. Do I edit the ERT directly?
>>
>>
> These probably shouldn't come out as ERT. The reason is probably because
> there is no .layout file for this LaTeX class. Creating a layout file is
> explained in the Customization manual and might be as simple as copying the
> standard article.layout. With a layout in place, the import from LaTeX
> should do a better job.
>

The file that PLoS provides is just a template, NOT a class. (Click the
link.) How do I make a layout from a template?

Thanks,
Jane

-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others


Re: Formatting Article for PLoS One

2013-09-04 Thread Julien Rioux

On 03/09/2013 11:54 PM, Jane Shevtsov wrote:

I'm trying to format an article for submission to PLoS One. I'm using
their BiBTeX style sheet (http://www.plosone.org/static/plos2009.bst)
and the bibliography works fine but I get "(author?)" errors in the text
when trying to cite an article as Author [ID]. Apparently, this is
because their style file isn't a Natbib style, but changing the
bibliography style to default or Jurabib doesn't work. Is there anything
I can do short of typing authors' names by hand?



Ask them to provide a natbib-compatible style, or create one yourself. 
As it is, their style is meant to be used with the "default" 
bibliography mode. You can use it with natbib, but you won't be able to 
use natbib's features.



Also, PLoS provides a template for LaTeX users.
(http://www.plosone.org/static/plos_template.tex) What do I do with that
thing? I tried just importing the template into LyX and copying my text
into it, but it's not at all clear what to do with the figure legends
and tables. Do I edit the ERT directly?



These probably shouldn't come out as ERT. The reason is probably because 
there is no .layout file for this LaTeX class. Creating a layout file is 
explained in the Customization manual and might be as simple as copying 
the standard article.layout. With a layout in place, the import from 
LaTeX should do a better job.



Thanks,
Jane



Cheers,
Julien



Re: Formatting Article for PLoS One

2013-09-03 Thread Jane Shevtsov
On Tue, Sep 3, 2013 at 10:16 PM, Alan L Tyree  wrote:

> Jane Shevtsov writes:
> > I'm trying to format an article for submission to PLoS One. I'm using
> their
> > BiBTeX style sheet (http://www.plosone.org/static/plos2009.bst) and the
> > bibliography works fine but I get "(author?)" errors in the text when
> > trying to cite an article as Author [ID]. Apparently, this is because
> their
> > style file isn't a Natbib style, but changing the bibliography style to
> > default or Jurabib doesn't work. Is there anything I can do short of
> typing
> > authors' names by hand?
>


> I usually get that when LyX can't find the .bib files. Can you check
> that out?
>

It finds the .bib files just fine and the bibliography itself is all right.
The only problem is with the in-text citations.

Best,
Jane



-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others


Re: Formatting Article for PLoS One

2013-09-03 Thread Alan L Tyree

Jane Shevtsov writes:

> I'm trying to format an article for submission to PLoS One. I'm using their
> BiBTeX style sheet (http://www.plosone.org/static/plos2009.bst) and the
> bibliography works fine but I get "(author?)" errors in the text when
> trying to cite an article as Author [ID]. Apparently, this is because their
> style file isn't a Natbib style, but changing the bibliography style to
> default or Jurabib doesn't work. Is there anything I can do short of typing
> authors' names by hand?
Hi Jane,
I usually get that when LyX can't find the .bib files. Can you check
that out?

Cheers,
Alan

>
> Also, PLoS provides a template for LaTeX users. (
> http://www.plosone.org/static/plos_template.tex) What do I do with that
> thing? I tried just importing the template into LyX and copying my text
> into it, but it's not at all clear what to do with the figure legends and
> tables. Do I edit the ERT directly?
>
> Thanks,
> Jane


-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Formatting Article for PLoS One

2013-09-03 Thread Jane Shevtsov
I'm trying to format an article for submission to PLoS One. I'm using their
BiBTeX style sheet (http://www.plosone.org/static/plos2009.bst) and the
bibliography works fine but I get "(author?)" errors in the text when
trying to cite an article as Author [ID]. Apparently, this is because their
style file isn't a Natbib style, but changing the bibliography style to
default or Jurabib doesn't work. Is there anything I can do short of typing
authors' names by hand?

Also, PLoS provides a template for LaTeX users. (
http://www.plosone.org/static/plos_template.tex) What do I do with that
thing? I tried just importing the template into LyX and copying my text
into it, but it's not at all clear what to do with the figure legends and
tables. Do I edit the ERT directly?

Thanks,
Jane

-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others