creating a Bibtex bibliography for copernicus publication

2012-01-13 Thread Christopher Steele (ENV)
Hi,

I'm writing a journal for submission to copernicus for publication. I have the 
style files and the template working on lyx but as soon I add a citation for 
the bibliography and attempt to create a pdf with it, lyx stops responding. 
There is a note on the template stating that bibtex will not work for 
copernicus version 2.3, yet I've been using 2.5 with no luck. 

can anyone help?

Chris


Christopher Steele,
School of Environmental Sciences
University of East Anglia
Norwich

Re: Completely removing BibTeX bibliography header

2011-11-22 Thread Richard Heck

On 11/22/2011 12:21 PM, Mark Messner wrote:

Hello,

I'd like to completely remove the automatic header placed before a
BibTex bibliography.

I know that by inserting \renewcommand\refname{} I can redefine the
header to be "blank" but that still leaves a blank line and (in the
style I am using) a "bar" which is inserted before top level sections.
The only way to do this, I believe, is to redefine the bibliography 
environment to omit that stuff. Basically, what you want to do is copy 
the definition of the \thebibliography environment to your preamble and 
then modify it. E.g., this is the definition in article.cls:


\newenvironment{thebibliography}[1]
 {\section*{\refname}%
  \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
  \list{\@biblabel{\@arabic\c@enumiv}}%
   {\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
  \sloppy
  \clubpenalty4000
  \@clubpenalty \clubpenalty
  \widowpenalty4000%
  \sfcode`\.\@m}
 {\def\@noitemerr
   {\@latex@warning{Empty `thebibliography' environment}}%
  \endlist}

So we would change it to "renewenvironment" and then remove the 
\section* part. You'd probably want to replace it, though, with 
something like \vspace{1cm}, or some such thing, to get a bit of some 
vertical space there. Otherwise, the bibliography will look like the 
next paragraph of the paper. If you're using a book-like class, and 
what's there is \chapter*, then probably you would want to force a new 
page with \clearpage or \cleardoublepage.


Richard



Completely removing BibTeX bibliography header

2011-11-22 Thread Mark Messner
Hello,

I'd like to completely remove the automatic header placed before a
BibTex bibliography.

I know that by inserting \renewcommand\refname{} I can redefine the
header to be "blank" but that still leaves a blank line and (in the
style I am using) a "bar" which is inserted before top level sections.

Thanks,
Mark


Re: Can't insert BibTeX Bibliography; TeXFiles.py fails.

2011-01-30 Thread Paul A . Rubin
What happens if you open a DOS window in the \Resources\scripts directory
and run TeXFiles.py there?  (If Python files are properly registered -- meaning
they show up in Explorer with a Python icon, which I won't even attempt to
describe -- you can just type 'TeXFiles.py ' to run it; otherwise,
you'll need to run 'python TeXFiles.py', and maybe supply the path to 
python.exe.)

Also, when you click Tools > TeX Information, is the file list empty?

/Paul



Re: Can't insert BibTeX Bibliography; TeXFiles.py fails.

2011-01-28 Thread Gabriel Kniffin
Thanks Richard,

I just reinstalled LyX using LyX-1.6.8-2-Installer.exe but I'm still having
the same problem.

I also checked to make sure TeXFiles.py file is there, which it is.

I also noticed the same error happens when I go to Tools > TeX Information.

Any suggestions? Should I try installing a full version of python?

Thanks again,
-Gabe

On Fri, Jan 28, 2011 at 5:49 AM, Richard Heck  wrote:

> On 01/27/2011 07:16 PM, Gabe wrote:
>
>> Hello,
>>
>> I'm running LyX 1.6.8 on Windows 7 and I can't seem to insert my BibTeX
>> bibliography into my LyX document. 'Insert>  List / TOC>  BibTeX
>> Bibliography...' causes an error window to open that says "The script
>> '> LyX>/LyX/bin/../Resources/scripts/TeXFiles.py' failed". When I click "OK"
>> the
>> error window opens again a few more times before an empty 'LyX: BibTeX
>> Bibliography' window opens up.
>>
>>
>>
> It looks to me as if something is wrong with your Python installation, but
> I am not on Windows, so do not know for sure. You might want to check that
> the mentioned file is actually there. Probably the solution is to re-install
> LyX.
>
>  I'm also using JabRef (2.6) to push BibTeX entries to LyX which seems to
>> work
>> except I get a [?] in the resulting .pdf wherever I have a citation. My
>> understanding is that I need to insert a BibTeX bibliography in the LyX
>> document
>> to fix this and actually have the bibliography included in the .pdf, is
>> this
>> correct?
>>
>>
>>
> Yes.
>
> Richard
>
>


Re: Can't insert BibTeX Bibliography; TeXFiles.py fails.

2011-01-28 Thread Richard Heck

On 01/27/2011 07:16 PM, Gabe wrote:

Hello,

I'm running LyX 1.6.8 on Windows 7 and I can't seem to insert my BibTeX
bibliography into my LyX document. 'Insert>  List / TOC>  BibTeX
Bibliography...' causes an error window to open that says "The script '/LyX/bin/../Resources/scripts/TeXFiles.py' failed". When I click "OK" the
error window opens again a few more times before an empty 'LyX: BibTeX
Bibliography' window opens up.

   
It looks to me as if something is wrong with your Python installation, 
but I am not on Windows, so do not know for sure. You might want to 
check that the mentioned file is actually there. Probably the solution 
is to re-install LyX.



I'm also using JabRef (2.6) to push BibTeX entries to LyX which seems to work
except I get a [?] in the resulting .pdf wherever I have a citation. My
understanding is that I need to insert a BibTeX bibliography in the LyX document
to fix this and actually have the bibliography included in the .pdf, is this
correct?

   

Yes.

Richard



Can't insert BibTeX Bibliography; TeXFiles.py fails.

2011-01-27 Thread Gabe
Hello,

I'm running LyX 1.6.8 on Windows 7 and I can't seem to insert my BibTeX
bibliography into my LyX document. 'Insert > List / TOC > BibTeX
Bibliography...' causes an error window to open that says "The script '/LyX/bin/../Resources/scripts/TeXFiles.py' failed". When I click "OK" the
error window opens again a few more times before an empty 'LyX: BibTeX
Bibliography' window opens up.

I'm also using JabRef (2.6) to push BibTeX entries to LyX which seems to work
except I get a [?] in the resulting .pdf wherever I have a citation. My
understanding is that I need to insert a BibTeX bibliography in the LyX document
to fix this and actually have the bibliography included in the .pdf, is this
correct?

Thanks!



Re: bibtex bibliography insertions in lyx 1.62

2009-05-01 Thread Jürgen Spitzmüller
sensen wrote:
> I used IEEEtran template, if no bibtex bibliography, works well.
> but now i want to insert the reference using bibtex.
> after insert and citation, i checked the dvi, get error like bellow

Please post an example file.

Jürgen


bibtex bibliography insertions in lyx 1.62

2009-04-29 Thread sensen

Hello all:

I used IEEEtran template, if no bibtex bibliography, works well.
but now i want to insert the reference using bibtex.
after insert and citation, i checked the dvi, get error like bellow

*LaTeX Error: Something's wrong--perhaps a missing \item.
LaTeX Error: Something's wrong--perhaps a missing \item.
TeX capacity exceeded, sorry [main memory size=150].*

how to fix this prolem. thanks.

ps: i used the miktex 2.7 with lyx.


Re: Greek and latin accented characters in a TOX BibTex bibliography

2009-04-02 Thread Manveru
2009/4/3 Konstantinos Kopanias :
> For quite a long time I am trying to use my bibtex (bib) bibliography in
> LyX. My bibliography contains references in many different languages, e.g.
> greek, english, german, french and other north european languages. When I
> import it in Lyx through Insert - List/TOK - BibTex Bibliography only the
> english text is displayed corrected in the pdf file I then create. The
> non-english characters are displayed in jumbled characters and greek as
> empty spaces! I have tried to use different encodings, I have also followed
> the instruction in the LyX wiki for XeTex but with no luck.
> Does someone know what's the problem?
>
> I am using LyX 1.6.2, TeX Live with XeTex installed in windows XP.

I know one solution but I don't know whether is may help in your case.
I am maintaining national characters as \command (you have to refer to
proper reference documents) where I want character in .bib files. Then
LaTeX know what you want to render without taking codepage into
account.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Greek and latin accented characters in a TOX BibTex bibliography

2009-04-02 Thread Konstantinos Kopanias
For quite a long time I am trying to use my bibtex (bib) bibliography in 
LyX. My bibliography contains references in many different languages, 
e.g. greek, english, german, french and other north european languages. 
When I import it in Lyx through Insert - List/TOK - BibTex Bibliography 
only the english text is displayed corrected in the pdf file I then 
create. The non-english characters are displayed in jumbled characters 
and greek as empty spaces! I have tried to use different encodings, I 
have also followed the instruction in the LyX wiki for XeTex but with no 
luck.

Does someone know what's the problem?

I am using LyX 1.6.2, TeX Live with XeTex installed in windows XP.


Re: Bibtex bibliography

2008-03-31 Thread Jean-Michel Bouffard

Bob Lounsbury wrote:

On Mon, Mar 31, 2008 at 12:21 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:

Bob, Babel matters because the person asking the question seems to be
 french. Or at least he speaks french.
 --
 -
 Julio Rojas
 [EMAIL PROTECTED]



Good to know. Thanks. Would be nice if the people posting would
clarify their needs. Also, if they would contribute once they post a
question to let us know if a solution worked or if they are having
further trouble. Since the poster hasn't responded to anything in this
thread.

Cheers,
/Bob


Thanks a lot for your help. I must say that after seeing the first 
answer yesterday I tried it and it worked so I didn't check again my 
email until now. I couldn't imagine that it would start such a discussion :)


So the solution I used was:
"\usepackage[english]{babel} \addto\captionsenglish 
{\renewcommand{\bibname}{References}}"


And it worked as expected. Julio was right, I speak french but in this 
case I'm writing my thesis in english but the general solution is 
appreciated since I may need to use french sometime.


Regards.

Jean-Michel


Re: Bibtex bibliography

2008-03-31 Thread Bob Lounsbury
On Mon, Mar 31, 2008 at 12:21 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:
> Bob, Babel matters because the person asking the question seems to be
>  french. Or at least he speaks french.
>  --
>  -
>  Julio Rojas
>  [EMAIL PROTECTED]
>

Good to know. Thanks. Would be nice if the people posting would
clarify their needs. Also, if they would contribute once they post a
question to let us know if a solution worked or if they are having
further trouble. Since the poster hasn't responded to anything in this
thread.

Cheers,
/Bob


Re: Bibtex bibliography

2008-03-31 Thread Julio Rojas
Bob, Babel matters because the person asking the question seems to be
french. Or at least he speaks french. You cannot hope everybody writes in
english. Dominik solution is for a general case, while yours only work for
the specific case the document is in english.

On Mon, Mar 31, 2008 at 1:35 PM, Bob Lounsbury <[EMAIL PROTECTED]>
wrote:

> On Mon, Mar 31, 2008 at 11:52 AM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> > Dominik Waßenhoven schrieb:
> >
> >
> >  > Sorry, I didn't read thoroughly enough. But still, your suggested
> >  > '\renewcommand\bibname{References}' will not work with an article
> >  > class.[1] See the new example I attached.
> >
> >  I don't understand this discussion. My post explains how this can be
> done. You solution doesn't work
> >  because you don't take care of babel.
> >
> >  regards Uwe
> >
>
> I was just offering another way to 'skin a cat'. But, yes the solution
> I offered *DOES* work.
>
> Aren't the babel steps only necessary if you need to directly specify
> a language other than English? As the babel package is loaded by
> default in LyX and I don't need to specify language options for
> English documents.
>
> Cheers,
> /Bob
>



-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: Bibtex bibliography

2008-03-31 Thread Bob Lounsbury
On Mon, Mar 31, 2008 at 11:52 AM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Dominik Waßenhoven schrieb:
>
>
>  > Sorry, I didn't read thoroughly enough. But still, your suggested
>  > '\renewcommand\bibname{References}' will not work with an article
>  > class.[1] See the new example I attached.
>
>  I don't understand this discussion. My post explains how this can be done. 
> You solution doesn't work
>  because you don't take care of babel.
>
>  regards Uwe
>

I was just offering another way to 'skin a cat'. But, yes the solution
I offered *DOES* work.

Aren't the babel steps only necessary if you need to directly specify
a language other than English? As the babel package is loaded by
default in LyX and I don't need to specify language options for
English documents.

Cheers,
/Bob


Re: Bibtex bibliography

2008-03-31 Thread Uwe Stöhr

Dominik Waßenhoven schrieb:


Sorry, I didn't read thoroughly enough. But still, your suggested
'\renewcommand\bibname{References}' will not work with an article
class.[1] See the new example I attached.


I don't understand this discussion. My post explains how this can be done. You solution doesn't work 
because you don't take care of babel.


regards Uwe


Re: Bibtex bibliography

2008-03-31 Thread David Hewitt

In a Koma-Script report, adding these two lines in ERT just before the
Bibliography widget works for me. It also adds the References page number to
the Table of Contents at the Section size and indentation level. The first
line is slightly different from what Rich suggested, and I did not test his
suggestion.

\renewcommand\bibname{References}
\addcontentsline{toc}{section}{References}

As Uwe noted, whether this works may vary depending on what document class
you are using.



>> My problem is that I need to name this section 
>> "References" instead of "Bibliography". Is there a way to remove to 
>> automatic header so I could use my own?
> 
> When you are using a book or report class, add this to your document
> preamble:
> 
> \usepackage[english]{babel}
> \addto\captionsenglish {\renewcommand{\bibname}{References}}
> 
> When you are using an article clas, use
> 
> \usepackage[english]{babel}
> \addto\captionsenglish {\renewcommand{\refname}{References}}
> 
> When your document language is e.g. Frech, replace "english" by "french"
> in the above commands.
> 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Bibtex-bibliography-tp16389666p16397723.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Bibtex bibliography

2008-03-31 Thread Dominik Waßenhoven
Bob Lounsbury schrieb:

> However, changing it to:
> 
> \renewcommand\refname{Test}
> 
> works for article classes. And
> 
> \renewcommand\bibname{Test}
> 
> works for report and book classes. Which is what I think you were
> trying to point out in the first place :-}.

Exactly.
 
> Thanks for the correction.

Thanks for your patience (c;

Regards,
Dominik.-



Re: Bibtex bibliography

2008-03-31 Thread Bob Lounsbury
On Mon, Mar 31, 2008 at 10:31 AM, Dominik Waßenhoven <[EMAIL PROTECTED]> wrote:
>  Sorry, I didn't read thoroughly enough. But still, your suggested
>  '\renewcommand\bibname{References}' will not work with an article
>  class.[1] See the new example I attached.

You're right. This must have been left over code from when I was
trying to format my thesis using different classes.

However, changing it to:

\renewcommand\refname{Test}

works for article classes. And

\renewcommand\bibname{Test}

works for report and book classes. Which is what I think you were
trying to point out in the first place :-}.

Thanks for the correction.

Cheers,
/Bob


Re: Bibtex bibliography

2008-03-31 Thread Dominik Waßenhoven
Bob Lounsbury schrieb:

> On Mon, Mar 31, 2008 at 10:10 AM, Dominik Waßenhoven <[EMAIL PROTECTED]> 
> wrote:
>  >  Well, it's no technical issue. It just doesn't work the way you
>>  described it, and I don't know how you made it work, but surely not that
>>  way.
> 
> As stated in my first post, "Just put this in ERT somewhere before
> your bibliography within the document". Highlighting "within the
> document" not the "Preamble".

Sorry, I didn't read thoroughly enough. But still, your suggested
'\renewcommand\bibname{References}' will not work with an article
class.[1] See the new example I attached.

Regards,
Dominik.-

refname-test.lyx
Description: Attached file: refname-test.lyx


Re: Bibtex bibliography

2008-03-31 Thread Bob Lounsbury
On Mon, Mar 31, 2008 at 10:10 AM, Dominik Waßenhoven <[EMAIL PROTECTED]> wrote:
 >  Well, it's no technical issue. It just doesn't work the way you
>  described it, and I don't know how you made it work, but surely not that
>  way.

As stated in my first post, "Just put this in ERT somewhere before
your bibliography within the document". Highlighting "within the
document" not the "Preamble".

Bob


Re: Bibtex bibliography

2008-03-31 Thread Dominik Waßenhoven
Bob Lounsbury schrieb:

> On Mon, Mar 31, 2008 at 9:20 AM, Dominik Waßenhoven <[EMAIL PROTECTED]> wrote:
>> Bob Lounsbury schrieb:
>>
>>> I needed the same thing for my thesis and I used (this works for any
>>  > class; article, book, etc.):
>>  >
>>  > \renewcommand\bibname{References}
>>
>>  No, that's not true, the article class has \refname, whereas report and
>>  book have \bibname.
> 
> I'm just giving Jean-Michel advise as to what worked for me and that
> command works for:
> 
> article
> article (AMS)
> article (KOMA-Script)
> article (APA)
> report
> report (KOMA-Script)
> book
> book (KOMA-Script)
> book (Memoir)

Well, that's astonishing, because it shouldn't work. And it doesn't for
me. I've attached a .lyx file with your suggestion and the report class
(KOMA-Script), and it does not work here, i.e. the bibliography still is
named 'Bibliography'. 

> So, I think it will be sufficient to accomplish the task for him.
> Whether it's technically the correct way of approaching the solution
> is another topic and he can choose how he would like to solve it.

Well, it's no technical issue. It just doesn't work the way you
described it, and I don't know how you made it work, but surely not that
way.

Regards,
Dominik.-

refname-test.lyx
Description: Attached file: refname-test.lyx


Re: Bibtex bibliography

2008-03-31 Thread Bob Lounsbury
On Mon, Mar 31, 2008 at 9:20 AM, Dominik Waßenhoven <[EMAIL PROTECTED]> wrote:
> Bob Lounsbury schrieb:
>
>
>  > On Sun, Mar 30, 2008 at 6:20 PM, Jean-Michel Bouffard
>  > <[EMAIL PROTECTED]> wrote:
>  >>
>
> >>  I am currently writing my Master thesis with Lyx. I have a simple
>  >>  problem with Lyx and my bibliography. I inserted a Bibtex bibliography
>  >>  in my document and it automatically creates a header with the title
>  >>  "Bibliography". My problem is that I need to name this section
>  >>  "References" instead of "Bibliography". Is there a way to remove to
>  >>  automatic header so I could use my own?
>  >
>
> > I needed the same thing for my thesis and I used (this works for any
>  > class; article, book, etc.):
>  >
>  > \renewcommand\bibname{References}
>
>  No, that's not true, the article class has \refname, whereas report and
>  book have \bibname.

I'm just giving Jean-Michel advise as to what worked for me and that
command works for:

article
article (AMS)
article (KOMA-Script)
article (APA)
report
report (KOMA-Script)
book
book (KOMA-Script)
book (Memoir)

So, I think it will be sufficient to accomplish the task for him.
Whether it's technically the correct way of approaching the solution
is another topic and he can choose how he would like to solve it.

Bob


Re: Bibtex bibliography

2008-03-31 Thread Dominik Waßenhoven
Bob Lounsbury schrieb:

> On Sun, Mar 30, 2008 at 6:20 PM, Jean-Michel Bouffard
> <[EMAIL PROTECTED]> wrote:
>>
>>  I am currently writing my Master thesis with Lyx. I have a simple
>>  problem with Lyx and my bibliography. I inserted a Bibtex bibliography
>>  in my document and it automatically creates a header with the title
>>  "Bibliography". My problem is that I need to name this section
>>  "References" instead of "Bibliography". Is there a way to remove to
>>  automatic header so I could use my own?
> 
> I needed the same thing for my thesis and I used (this works for any
> class; article, book, etc.):
> 
> \renewcommand\bibname{References}

No, that's not true, the article class has \refname, whereas report and
book have \bibname.

Regards,
Dominik.-



Re: Bibtex bibliography

2008-03-31 Thread Bob Lounsbury
On Sun, Mar 30, 2008 at 6:20 PM, Jean-Michel Bouffard
<[EMAIL PROTECTED]> wrote:
> Hello,
>
>  I am currently writing my Master thesis with Lyx. I have a simple
>  problem with Lyx and my bibliography. I inserted a Bibtex bibliography
>  in my document and it automatically creates a header with the title
>  "Bibliography". My problem is that I need to name this section
>  "References" instead of "Bibliography". Is there a way to remove to
>  automatic header so I could use my own?
>
>  Thanks
>
>
>  J-M

I needed the same thing for my thesis and I used (this works for any
class; article, book, etc.):

\renewcommand\bibname{References}

Just put this in ERT somewhere before your bibliography within the document.

Cheers,
/Bob


Re: Bibtex bibliography

2008-03-30 Thread Rich Shepard

On Sun, 30 Mar 2008, Jean-Michel Bouffard wrote:


I am currently writing my Master thesis with Lyx. I have a simple problem
with Lyx and my bibliography. I inserted a Bibtex bibliography in my
document and it automatically creates a header with the title
"Bibliography". My problem is that I need to name this section
"References" instead of "Bibliography". Is there a way to remove to
automatic header so I could use my own?


J-M,

  Have you tried \renewcommand{Bibliography}{References}?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
<http://www.appl-ecosys.com> Voice: 503-667-4517  Fax: 503-667-8863


Re: Bibtex bibliography

2008-03-30 Thread Uwe Stöhr

Jean-Michel Bouffard schrieb:

My problem is that I need to name this section 
"References" instead of "Bibliography". Is there a way to remove to 
automatic header so I could use my own?


When you are using a book or report class, add this to your document preamble:

\usepackage[english]{babel}
\addto\captionsenglish {\renewcommand{\bibname}{References}}

When you are using an article clas, use

\usepackage[english]{babel}
\addto\captionsenglish {\renewcommand{\refname}{References}}


When your document language is e.g. Frech, replace "english" by "french" in the 
above commands.

regards Uwe


Bibtex bibliography

2008-03-30 Thread Jean-Michel Bouffard

Hello,

I am currently writing my Master thesis with Lyx. I have a simple 
problem with Lyx and my bibliography. I inserted a Bibtex bibliography 
in my document and it automatically creates a header with the title 
"Bibliography". My problem is that I need to name this section 
"References" instead of "Bibliography". Is there a way to remove to 
automatic header so I could use my own?


Thanks


J-M


Re: Content box grayed out in bibtex bibliography window (RESOLVED)

2007-10-01 Thread Andrew Morrison
On 10/1/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote:
> Andrew Morrison wrote:
> > On 9/28/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote:
> >
> >> Did you try clicking on the bibliography inset in the LyX doc, deleting
> >> the .bib file, and then reselecting it?  Or just deleting the
> >> bibliography inset and recreating it? Also, if you View->Source, do you
> >> see \ref commands with correct keys?
> >
> > I've done both types of deleting and reinserting.  I've also tried
> > creating a completely new file with only the list of citations in it.
> > Still no dice.  No matter what combo of things I try (including trying
> > most of the styles) I cannot get the Content option to be anything
> > other than grayed out.
>
> You mentioned working through an example from the wiki.  That means you
> created a document in 1.5.1 (?) where all the bibliography stuff worked,
> right?  If so, given your failure with a new file and your old .bib
> file, perhaps something is up with either the .bib file or the path to it.
> >
> > Also, I have no option in the View menu for Source.  Does that
> > indicate I am missing some options?
>
> Is this in 1.5.1 or 1.4.3?  View -> View Source was added in 1.5.x, so
> you won't have it in 1.4.x (although it's easy to add somewhat
> comparable functionality).  If you don't have it in 1.5.1, that's a
> mystery; it should be there automatically, no setting required, and I
> can't think of any setting that one could mung in a way to cause it to
> disappear.
>
> As far as the bibliography issue, can you post the .lyx and .bib files
> for your CV here, or alternatively send them to me off list?
>
> /Paul
>
>

My thanks to Paul for helping me on this, first of all.

The solution is to go to to Document --> Settings ... --> Bibliography
and then check "Sectioned bibliography".  The Content line in the
bibliography settings box then becomes active and I can choose to
include all references.

Thanks for the help!

Andrew


Re: Content box grayed out in bibtex bibliography window

2007-10-01 Thread Andrew Morrison
On 10/1/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote:
> Andrew Morrison wrote:
> > On 9/28/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote:
> >
> >> Did you try clicking on the bibliography inset in the LyX doc, deleting
> >> the .bib file, and then reselecting it?  Or just deleting the
> >> bibliography inset and recreating it? Also, if you View->Source, do you
> >> see \ref commands with correct keys?
> >
> > I've done both types of deleting and reinserting.  I've also tried
> > creating a completely new file with only the list of citations in it.
> > Still no dice.  No matter what combo of things I try (including trying
> > most of the styles) I cannot get the Content option to be anything
> > other than grayed out.
>
> You mentioned working through an example from the wiki.  That means you
> created a document in 1.5.1 (?) where all the bibliography stuff worked,
> right?  If so, given your failure with a new file and your old .bib
> file, perhaps something is up with either the .bib file or the path to it.
> >
> > Also, I have no option in the View menu for Source.  Does that
> > indicate I am missing some options?
>
> Is this in 1.5.1 or 1.4.3?  View -> View Source was added in 1.5.x, so
> you won't have it in 1.4.x (although it's easy to add somewhat
> comparable functionality).  If you don't have it in 1.5.1, that's a
> mystery; it should be there automatically, no setting required, and I
> can't think of any setting that one could mung in a way to cause it to
> disappear.
>

Ah!  I see...it was in 1.4.3 that there was no view source.  It is
there in 1.5.1.  Sorry for the confusion.


> As far as the bibliography issue, can you post the .lyx and .bib files
> for your CV here, or alternatively send them to me off list?
>

Sure, I'll send them to you off list.

Thanks!

Andrew


Re: Content box grayed out in bibtex bibliography window

2007-10-01 Thread Paul A. Rubin

Andrew Morrison wrote:

On 9/28/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote:


Did you try clicking on the bibliography inset in the LyX doc, deleting
the .bib file, and then reselecting it?  Or just deleting the
bibliography inset and recreating it? Also, if you View->Source, do you
see \ref commands with correct keys?


I've done both types of deleting and reinserting.  I've also tried
creating a completely new file with only the list of citations in it.
Still no dice.  No matter what combo of things I try (including trying
most of the styles) I cannot get the Content option to be anything
other than grayed out.


You mentioned working through an example from the wiki.  That means you 
created a document in 1.5.1 (?) where all the bibliography stuff worked, 
right?  If so, given your failure with a new file and your old .bib 
file, perhaps something is up with either the .bib file or the path to it.


Also, I have no option in the View menu for Source.  Does that
indicate I am missing some options?


Is this in 1.5.1 or 1.4.3?  View -> View Source was added in 1.5.x, so 
you won't have it in 1.4.x (although it's easy to add somewhat 
comparable functionality).  If you don't have it in 1.5.1, that's a 
mystery; it should be there automatically, no setting required, and I 
can't think of any setting that one could mung in a way to cause it to 
disappear.


As far as the bibliography issue, can you post the .lyx and .bib files 
for your CV here, or alternatively send them to me off list?


/Paul



Re: Content box grayed out in bibtex bibliography window

2007-09-30 Thread Andrew Morrison
On 9/28/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote:

>
> Did you try clicking on the bibliography inset in the LyX doc, deleting
> the .bib file, and then reselecting it?  Or just deleting the
> bibliography inset and recreating it? Also, if you View->Source, do you
> see \ref commands with correct keys?

I've done both types of deleting and reinserting.  I've also tried
creating a completely new file with only the list of citations in it.
Still no dice.  No matter what combo of things I try (including trying
most of the styles) I cannot get the Content option to be anything
other than grayed out.

Also, I have no option in the View menu for Source.  Does that
indicate I am missing some options?

Thanks for the help!

Andrew


Re: Content box grayed out in bibtex bibliography window

2007-09-28 Thread Paul A. Rubin

Andrew Morrison wrote:

On 9/28/07, Richard Heck <[EMAIL PROTECTED]> wrote:

Andrew Morrison wrote:

Hi all,

I used lyx 1.3 a few years ago to create my CV and inserted the list
of publications using a bibtex bibliography.  I have the same bib
file, but have now upgraded to lyx 1.4.3 and lyx 1.5.1.  Now when I
try to get a pdf, none of the publications are listed.  I tried
working through the example that is on the wiki, and it works, but
when I use my bib file the "Content" box is grayed out and will not
let me select "all citations" from the bib file.

Any suggestions?


Presumably LyX is not seeing the bib file. Try putting it in the same
directory as the LyX file and rechoosing it in the bibliography dialog.

Richard



I tried that with the same result.  Here is the output from the command line:

This is BibTeX, Version 0.99c (Web2C 7.5.4)
The top-level auxiliary file:
morris_Koma-article_academic-revise-newest-Fall2007.aux
The style file: 2_home_morris_cv_jspublist-en.bst
I found no \citation commands---while reading file
morris_Koma-article_academic-revise-newest-Fall2007.aux
Database file #1: 0_home_morris_cv_cv.bib
 -- I selected 0 entries out of 0. --
(There was 1 error message)


It seems like it is seeing it, I just can't tell it to take all the citations.





Did you try clicking on the bibliography inset in the LyX doc, deleting 
the .bib file, and then reselecting it?  Or just deleting the 
bibliography inset and recreating it? Also, if you View->Source, do you 
see \ref commands with correct keys?


/Paul



Re: Content box grayed out in bibtex bibliography window

2007-09-28 Thread Andrew Morrison
On 9/28/07, Richard Heck <[EMAIL PROTECTED]> wrote:
> Andrew Morrison wrote:
> > Hi all,
> >
> > I used lyx 1.3 a few years ago to create my CV and inserted the list
> > of publications using a bibtex bibliography.  I have the same bib
> > file, but have now upgraded to lyx 1.4.3 and lyx 1.5.1.  Now when I
> > try to get a pdf, none of the publications are listed.  I tried
> > working through the example that is on the wiki, and it works, but
> > when I use my bib file the "Content" box is grayed out and will not
> > let me select "all citations" from the bib file.
> >
> > Any suggestions?
> >
> Presumably LyX is not seeing the bib file. Try putting it in the same
> directory as the LyX file and rechoosing it in the bibliography dialog.
>
> Richard
>
>
I tried that with the same result.  Here is the output from the command line:

This is BibTeX, Version 0.99c (Web2C 7.5.4)
The top-level auxiliary file:
morris_Koma-article_academic-revise-newest-Fall2007.aux
The style file: 2_home_morris_cv_jspublist-en.bst
I found no \citation commands---while reading file
morris_Koma-article_academic-revise-newest-Fall2007.aux
Database file #1: 0_home_morris_cv_cv.bib
 -- I selected 0 entries out of 0. --
(There was 1 error message)


It seems like it is seeing it, I just can't tell it to take all the citations.



-- 
Andrew Morrison
Visiting Assistant Professor of Physics
Illinois Wesleyan University
309-556-3888


Re: Content box grayed out in bibtex bibliography window

2007-09-28 Thread Richard Heck

Andrew Morrison wrote:

Hi all,

I used lyx 1.3 a few years ago to create my CV and inserted the list
of publications using a bibtex bibliography.  I have the same bib
file, but have now upgraded to lyx 1.4.3 and lyx 1.5.1.  Now when I
try to get a pdf, none of the publications are listed.  I tried
working through the example that is on the wiki, and it works, but
when I use my bib file the "Content" box is grayed out and will not
let me select "all citations" from the bib file.

Any suggestions?
  
Presumably LyX is not seeing the bib file. Try putting it in the same 
directory as the LyX file and rechoosing it in the bibliography dialog.


Richard



Content box grayed out in bibtex bibliography window

2007-09-28 Thread Andrew Morrison
Hi all,

I used lyx 1.3 a few years ago to create my CV and inserted the list
of publications using a bibtex bibliography.  I have the same bib
file, but have now upgraded to lyx 1.4.3 and lyx 1.5.1.  Now when I
try to get a pdf, none of the publications are listed.  I tried
working through the example that is on the wiki, and it works, but
when I use my bib file the "Content" box is grayed out and will not
let me select "all citations" from the bib file.

Any suggestions?

Thanks!


Andrew Morrison


Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Juergen Spitzmueller
Rainer M Krug wrote:
> Hi
>
> I couldn't reproduce it with a different document either. Could you
> email me the rpm incl the patch for SuSE 10.1 to try it out?

I don't think I manage to build one before my holidays. Could you send me the 
problematic file privately?

Jürgen


Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Rainer M Krug
Hi

I couldn't reproduce it with a different document either. Could you
email me the rpm incl the patch for SuSE 10.1 to try it out?

Rainer



Juergen Spitzmueller wrote:
> Rainer M Krug wrote:
>> Sorry - LyX 1.4.2, SuSe 10.1, installed from rpm via www.lyx.org.
> 
> It doesn't crash for me (SuSe 10.1, self-compiled), but I assume that the 
> attached patch will help.
> 
> Jürgen
> 
> 
> 
> 
> Index: src/insets/insetcite.C
> ===
> --- src/insets/insetcite.C(Revision 14801)
> +++ src/insets/insetcite.C(Arbeitskopie)
> @@ -68,7 +68,9 @@ string const getNatbibLabel(Buffer const
>   for (vector::const_iterator it = bibfilesCache.begin();
>   it != bibfilesCache.end(); ++ it) {
>   string const f = *it;
> - if (bibfileStatus[f] != fs::last_write_time(f)) {
> + if (!fs::exists(f))
> + changed = true;
> + else if (bibfileStatus[f] != fs::last_write_time(f)) {
>   changed = true;
>   bibfileStatus[f] = fs::last_write_time(f);
>   }


-- 
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Juergen Spitzmueller
Rainer M Krug wrote:
> Sorry - LyX 1.4.2, SuSe 10.1, installed from rpm via www.lyx.org.

It doesn't crash for me (SuSe 10.1, self-compiled), but I assume that the 
attached patch will help.

Jürgen
Index: src/insets/insetcite.C
===
--- src/insets/insetcite.C	(Revision 14801)
+++ src/insets/insetcite.C	(Arbeitskopie)
@@ -68,7 +68,9 @@ string const getNatbibLabel(Buffer const
 	for (vector::const_iterator it = bibfilesCache.begin();
 			it != bibfilesCache.end(); ++ it) {
 		string const f = *it;
-		if (bibfileStatus[f] != fs::last_write_time(f)) {
+		if (!fs::exists(f))
+			changed = true;
+		else if (bibfileStatus[f] != fs::last_write_time(f)) {
 			changed = true;
 			bibfileStatus[f] = fs::last_write_time(f);
 		}


Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Rainer M Krug
Georg Baum wrote:
> Rainer M Krug wrote:
> 
>> I'll check if it is already in bugzilla and will log it if not there yet
> 
> Please note the version of LyX, the OS and whether it was self compiled or
> not in the report, and if it was not self compiled, where you got it from.
> 
> 
> Georg
> 

Sorry - LyX 1.4.2, SuSe 10.1, installed from rpm via www.lyx.org.

-- 
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Georg Baum
Rainer M Krug wrote:

> I'll check if it is already in bugzilla and will log it if not there yet

Please note the version of LyX, the OS and whether it was self compiled or
not in the report, and if it was not self compiled, where you got it from.


Georg



Crash when BibTex Bibliography file not accessible

2006-08-17 Thread Rainer M Krug
Hi

I just found a bug which causes a crash.
I created a document with a bibtex bibliography on one computer and send
it for review to somebody else. But LyX crashed as soon as she scrolled
over the first page (last lines of debug output below).
Solution: By changing the bib file to the one on her computer, it worked.
I'll check if it is already in bugzilla and will log it if not there yet

Rainer



Paint inset fully
#Looking for 78,165 in 0,166of type 0
.
terminate called after throwing an instance of
'boost::filesystem::filesystem_error'
  what():  boost::filesystem::last_write_time:
"/home/rkrug/Documents/Publications/ReprintCollection.bib": Permission
denied

-- 
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: Bibtex bibliography formatting

2005-06-22 Thread Angus Leeming
Bradley Ford wrote:

> That is useful, but it did not solve my problem.  This
> utility allows for the formatting of bibliography
> entries, but nowhere was there an option to put a
> blank line between single-spaced bibliography entries.
>  Any other ideas?  Thanks,

Herbert Voß's pages are an incredible compendium of LaTeX magic:
http://www.texnik.de/list/lists.phtml#biblio

Angus




Re: Bibtex bibliography formatting

2005-06-22 Thread Bradley Ford
Thanks to Jürgen: the way to achive what I was looking
for was to highlight the "BibTeX Generated References"
box in Lyx and set it to single spacing through Layout
> Paragraph > Line Spacing.  Then, adding: 

\setlength\bibsep{\baselineskip}

to the preamble took care of the space between
entries.  Thanks for the help to everyone who replied.

--Brad

--- Juergen Spitzmueller <[EMAIL PROTECTED]>
wrote:

> Bradley Ford wrote:
> 
> > Between
> > each entry in the bibliography, which is single
> > spaced, I need a single blank space.
> > 
> > The bibliography uses Bibtex (at the end, there is
> a
> > gray box labeled "BibTeX Generated References"),
> the
> > authordate2 style, and Natbib.
> 
> Have a look at the \bibsep length (natbib
> documentation). E.g., add to your
> preamble:
> \setlength\bibsep{\baselineskip}
> 
> HTH,
> Jürgen
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Bibtex bibliography formatting

2005-06-22 Thread Bradley Ford
That is useful, but it did not solve my problem.  This
utility allows for the formatting of bibliography
entries, but nowhere was there an option to put a
blank line between single-spaced bibliography entries.
 Any other ideas?  Thanks,

Brad

--- "Martin A. Hansen" <[EMAIL PROTECTED]> wrote:

> you can make your own .bst file with the program
> called makebst:
> 
> latex makebst
> 
> 
> 
> martin
> 
> 
> 
> On Tue, Jun 21, 2005 at 08:33:02PM -0700, Bradley
> Ford wrote:
> > Hi,
> > 
> > I need a specific type of formatting for my
> > bibliography (non-negotiable, required for my
> > dissertation, which is due --right now--). 
> Between
> > each entry in the bibliography, which is single
> > spaced, I need a single blank space.
> > 
> > The bibliography uses Bibtex (at the end, there is
> a
> > gray box labeled "BibTeX Generated References"),
> the
> > authordate2 style, and Natbib.  The bibliography
> comes
> > out fine; I can make it single-spaced,
> double-spaced,
> > etc. by highlighting the gray box and selecting
> layout
> > > paragraph > (spacing).  However, I haven't been
> able
> > to get spaces between the single-spaced entries.
> > 
> > Layout > Document > Layout > (single spacing,
> "skip"
> > button checked) gets me the right look in the
> > document, but the bibliography remains untouched.
> > 
> > Any advice?  Ugly hacks welcome.
> > 
> > Thanks,
> > Brad
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> 




__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 


Re: Bibtex bibliography formatting

2005-06-22 Thread Juergen Spitzmueller
Bradley Ford wrote:

> Between
> each entry in the bibliography, which is single
> spaced, I need a single blank space.
> 
> The bibliography uses Bibtex (at the end, there is a
> gray box labeled "BibTeX Generated References"), the
> authordate2 style, and Natbib.

Have a look at the \bibsep length (natbib documentation). E.g., add to your
preamble:
\setlength\bibsep{\baselineskip}

HTH,
Jürgen



Re: Bibtex bibliography formatting

2005-06-22 Thread Martin A. Hansen
you can make your own .bst file with the program called makebst:

latex makebst



martin



On Tue, Jun 21, 2005 at 08:33:02PM -0700, Bradley Ford wrote:
> Hi,
> 
> I need a specific type of formatting for my
> bibliography (non-negotiable, required for my
> dissertation, which is due --right now--).  Between
> each entry in the bibliography, which is single
> spaced, I need a single blank space.
> 
> The bibliography uses Bibtex (at the end, there is a
> gray box labeled "BibTeX Generated References"), the
> authordate2 style, and Natbib.  The bibliography comes
> out fine; I can make it single-spaced, double-spaced,
> etc. by highlighting the gray box and selecting layout
> > paragraph > (spacing).  However, I haven't been able
> to get spaces between the single-spaced entries.
> 
> Layout > Document > Layout > (single spacing, "skip"
> button checked) gets me the right look in the
> document, but the bibliography remains untouched.
> 
> Any advice?  Ugly hacks welcome.
> 
> Thanks,
> Brad
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 


Bibtex bibliography formatting

2005-06-21 Thread Bradley Ford
Hi,

I need a specific type of formatting for my
bibliography (non-negotiable, required for my
dissertation, which is due --right now--).  Between
each entry in the bibliography, which is single
spaced, I need a single blank space.

The bibliography uses Bibtex (at the end, there is a
gray box labeled "BibTeX Generated References"), the
authordate2 style, and Natbib.  The bibliography comes
out fine; I can make it single-spaced, double-spaced,
etc. by highlighting the gray box and selecting layout
> paragraph > (spacing).  However, I haven't been able
to get spaces between the single-spaced entries.

Layout > Document > Layout > (single spacing, "skip"
button checked) gets me the right look in the
document, but the bibliography remains untouched.

Any advice?  Ugly hacks welcome.

Thanks,
Brad

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: bibtex bibliography in TOC

2002-03-10 Thread Herbert Voss

Matt Zeidenberg wrote:


> How do I insert a reference to a Bibtex bibliography in the 
> Table of Contents of a report. I tried using an \addcontentsline
> command (with the proper arguments) right before the icon for
> the Bibtex generated references, but that inserted a reference
> in the table of contents with a page number which was the last
> page of the final chapter.


-- 
http://www.lyx.org/help/tocloft/TOC.php#bib

Herbert




bibtex bibliography in TOC

2002-03-10 Thread Matt Zeidenberg


Hi,

How do I insert a reference to a Bibtex bibliography in the 
Table of Contents of a report. I tried using an \addcontentsline
command (with the proper arguments) right before the icon for
the Bibtex generated references, but that inserted a reference
in the table of contents with a page number which was the last
page of the final chapter.

Thanks.
Matt Zeidenberg
University of Wisconsin