Re: Citation and reference style

2013-08-24 Thread Wolfgang Engelmann
Am Friday, 23. August 2013, 20:41:37 schrieb Csikos Bela:
 Wolfgang Engelmann engelm...@uni-tuebingen.de írta:
 
 I haven't tried 2.1 beta yet. 2.0.6 should work in your case perfectly.
 
 For clarification I include a small lyx file and bib file with which I
 tried out your authdate.bst file you had sent, but it did not work (??
 instead of citations, no references, no error message.
 
 It works perfectly. In your sample lyx file you have loaded natbib
 twice, probably that was the reason for fail. If you load natbib
 through lyx GUI you must not load it again in your preamble.
 
 I modified your sample lyx file and I attach it here with the output
 pdf.
 
 bcsikos

Thanks again, Csikos. 

I do not quite understand 
documentbibliography

there are only 3 citation styles:

default (numerical)
Natbib with style Author-year and numerical
and 
Jurabib

How would I modify Natbib with something else besides Author-year (eg 
round, comma)? In the preamble, and would this overwrite the bibliography 
setting? (eg with your \setcitestyle{comma,aysep={}}? 
Why is default only numerical? What if I want Kluwer style or something 
else? I can't leave everything unchecked in Bibliography, I have to check 
one. 

Wolfgang


LyX and the Windows 8 Reader for PDFs

2013-08-24 Thread Michael Maltenfort


I have used LyX for a year or two, but I have recently started using it on my 
news Windows 8 machine.  Windows 8 has a PDF Reader built in, which I prefer to 
the Adobe Reader.  Is there a way of using LyX (2.0.6) with that reader?

I did look at Tools  Preferences  File Formats, and then choosing File Format 
 PDF (pdflatex), and under Viewer choosing Custom.  It was in that way that I 
got Adobe Reader working (and I only downloaded Adobe Reader so I could use it 
with LyX until I figured out how to use the Windows 8 Reader).

It seems that this same technique could be used (Viewer  Custom) to use the 
Windows 8 Reader.  However, I don't know the program name to enter here, or the 
path that I might need to enter in Preferences  Paths  Path Prefixes.  It 
appears that these things are hidden away from the user in Windows 8.  At least 
my online research didn't answers these questions.

My technical knowledge is somewhat limited, but I would think a solution 
wouldn't be too complicated.

Any help would be appreciated.

Thanks.

---Michael Maltenfort


Re: Citation and reference style

2013-08-24 Thread Julien Rioux

On 24/08/2013 3:13 AM, Wolfgang Engelmann wrote:

Am Friday, 23. August 2013, 20:41:37 schrieb Csikos Bela:

  Wolfgang Engelmann engelm...@uni-tuebingen.de írta:

 

  I haven't tried 2.1 beta yet. 2.0.6 should work in your case perfectly.

 

  For clarification I include a small lyx file and bib file with which I

  tried out your authdate.bst file you had sent, but it did not work (??

  instead of citations, no references, no error message.

 

  It works perfectly. In your sample lyx file you have loaded natbib

  twice, probably that was the reason for fail. If you load natbib

  through lyx GUI you must not load it again in your preamble.

 

  I modified your sample lyx file and I attach it here with the output

  pdf.

 

  bcsikos

Thanks again, Csikos.

I do not quite understand

documentbibliography

there are only 3 citation styles:

default (numerical)

Natbib with style Author-year and numerical

and

Jurabib

How would I modify Natbib with something else besides Author-year (eg
round, comma)? In the preamble, and would this overwrite the
bibliography setting? (eg with your \setcitestyle{comma,aysep={}}?

Why is default only numerical? What if I want Kluwer style or something
else? I can't leave everything unchecked in Bibliography, I have to
check one.



The file kluwer.bst is used with harvard.sty or natbib.sty. If you watn 
to use harvard.sty, select the default bibliography and put


\usepackage{harvard}

in your document preamble. If you want to use natbib.sty instead 
(recommended), select the natbib author-year setting. If you need 
additional customization of natbib options, do it in the document 
preamble as Csikos explained.


kluwer.bst supports full author citation, so you're good to use it with 
all the natbib features.


Cheers,
Julien



Re: Citation and reference style

2013-08-24 Thread Julien Rioux

On 23/08/2013 3:08 AM, Wolfgang Engelmann wrote:

Am Thursday, 22. August 2013, 20:46:14 schrieb Csikos Bela:

  So I select under toolsoutputlatex Bibliography Processor  bibtex

  (or custom? or bibtex8?)

 

  It seems you are using an older lyx version. It should work with it,

  still I suggest upgrading lyx to version 2.x.

###Thanks for your answer.

I am using 2.0.6

May be I should upgrade, but I am always afraid I do something wrong and
can't work with it afterward. There is a deadline for a book chapter
waiting...

 

  Set bibliography processor to bibtex. bibtex8 might work as well, I

  never tried it. If you select bibtex, make sure those fields in the bib

  database file that will be in the output do have only ASCII or latin-1

  encoded characters. Special characters should be replaced by latex

  commands (eg. ö is \{o} etc.).

 

  Since I have over 700 citations, I used Jabref for my bibliography and

  clicked the references via the lyx-export of jabref to the

  corresponding places of my document. If I use \setcitestyle{aysep={}}

  instead of your proposed \setcitestyle{round,aysep={}}, and if I put

  () around the citation, I get what I need.

 

  Do not add manually '(' and ')' around citations. The opening and

  closing braces (rounded, square, or other) are part of the citation.

  And it is better to add the citations within lyx.

 

  I don't know if jabref can handle the two different types of citations:

  ' and 'text (Author year) text'. Can it make a

  difference? If you insert the citations within lyx you can select which

  type you want. If you look at the source you can see that the latex

  command for the two types are different, \citet and \citep.

 

  Also, if you have several citations in a group, lyx can handle it.

  Can jabref handle that?

###I do it via lyx (add)

 

  Unfortunately you have to go through all the citations and adjust them

  manually. Or you can work on the .lyx source file directly using a text

  editor and replacing all cite* command with citep. (Make a backup

  of the original file before editing!) After this open your edited file

  in lyx, find the few (I suppose) occasions of 'text Author (year) text'

  type citations and adjust them manually.

 

  The \setcitestyle{round,aysep={}} and \setcitestyle{aysep={}}

  commands in the preamble have the same effect, as round is the

  default option in case of author-year citation. Removing or adding it

  does not make any difference.

 

  But what about eg: (Praschak-Rieder and Willeit 2012) and in case

  of three authors and more (Crosthwait et al. 1997)?

 

  I don't understand what your question is.

### here I meant the 'et al' after more then 2 authors in a (one!)
reference:

author 1

author 1 and author 2

author 1 et all (3 authors or more)

  Unfortunately latex handles citations in goups. One group is all

  the citations selected and added at the same time. All these citations

  will be between the same pair of parentheses. If you add neighboring

  citations separately, they will be within different parentheses pairs.

 

  The source also shows the difference. For example.

 

  3 citations in one group:

 

  \citep{citation1,citation2,citaton3}

 

  The output will be:

 

  (author1 year1, author2 year2, author3 year3)

 

  However if you add them separately, like this:

 

  \citep{citation1} \citep{citation2} \cite{citaton3}

 

  the output will be:

 

  (author1 year1) (author2 year2) (author3 year3)

 

  You can adjust the opening and closing braces and the seperators

  between authors etc using \setcitestyle.

 

  Read the natbib manual (available at CTAN) section 2.9 Selecting

  citation punctuation.

 

  Where in the .lyx file (or elsewhere) would I place the authdate.bst

  file you kindly supplied?

 

  You can put it anywhere you want, but the best place is the directory

  where your .lyx file is. You select the bst file by clicking 'BibTeX

  Generated Bibliography' and browse for it.

### I guess there is a 'normal' place? I have it now in .lyx/layouts



The .bst file has to be found by *bibtex*, so .lyx/layouts isn't a 
particularly good choice (unless you additionally tell bibtex to look 
there). The document directory, as suggested by Csikos, works just fine.


Cheers,
Julien



Re: Citation and reference style

2013-08-24 Thread Csikos Bela
Wolfgang Engelmann engelm...@uni-tuebingen.de írta:


I do not quite understand
documentbibliography

there are only 3 citation styles:


OK, I try to explain.
These 3 options are not citation styles.

LaTex has its own default command set and what it can do. 
However this set is limited. Therefore your can load packages 
(you could call them modules or plugins as well) which add 
further options (possibilities) to what you can do with LaTeX. 
That is loading packages increase the capabilities of LaTeX. 
These packages add new commands and/or modify basic 
commands. 

default (numerical) 
Natbib with style Author-year and numerical 
and Jurabib

When you select default, LyX does not load any package. 
In this case you can use only the default LaTeX bibliography 
capabilities, which is very limited. It only support numeric type 
citations (if I am correct).

If you want different citation/bibliography types you can load
packages (sty files). There are many of them, one is  jurabib, 
another one is  natbib package. These packages change 
LaTex default behavior and add new commands. 
All these packages are different. If you want to use one of them 
you have to learn how to use that specific one. The package manuals
describe how to use the given package. I only use the natbib 
package because it is very flexible.

Along with the package (sty file) bibliography generation requires 
a .bst file which defines the style (look) of the citations and the
bibliography (references). The bst style file has to support a given
package. Generally the sty files are accompanied with different
bst files you can use with them. For example the natbib package
comes with abbrvnat.bst, plainnat.bst, and unsrtnat.bst styles,
which are guaranteed to work with natbib package.


What if I want Kluwer style or something else?

In optimal case there should be a Kluwer.sty file and a Kluwer.bst 
file which  together make the correct output. If there are no such 
files you have to find another pair which makes the same output.


How would I modify Natbib with something else besides Author-year (eg 
round, comma)?

When you select natbib in Document-Settings-Bibliography, lyx
loads natbib package in the preamble:

\usepackage[authoryear]{natbib}

or

\usepackage[numbers]{natbib}

depending on your selection.

Turn on source view (View-View Source), set it to showing
Preamble Only. Note that you have to insert at least one citation 
for the command to be inserted.


In the preamble, and would this overwrite the bibliography 
setting? (eg with your \setcitestyle{comma,aysep={}}?

Yes. Since the package is already loaded, you can not load it
again, or you'll get errors.

Instead modify the package options (without loading it again)
by  \setcitestyle command. Options and keywords are described 
in the natbib manual.


Why is default only numerical?

This is how LaTeX was written. It is not a problem, since there
are many packages that extends it.


I can't leave everything unchecked in Bibliography, I have to check 
one.

Yes, but if you check default (numerical) no additional package is 
 loaded. It equals to not selecting anything.

bcsikos



The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread John Kane
I was poking around the Zotero site trying to see if there was a way to get a 
specific APA citation format [Author (date)] which is easy enough in LyX or 
LaTeX to work in a word processor such as AOO Writer or MS Word[1]. Well 
actually  I was finding that Zotero inserts the citation in (Author, Date) 
format without allowing modifications as one can when inserting from a bibtex 
file and hoped to find a way to avoid having to go back and edit later if it 
could be done in a word processor.

I found a discussion of exactly that issue on a Zotero forum and came across a 
reference to the American Psychology Association blog that, as far as I can 
see, is almost exclusively devoted to advice on how to deal with the 
Publication Manual of the American Psychological Association. As they say, “The 
APA Style Blog is the official companion to the Publication Manual of the 
American Psychological Association, Sixth Edition”.

I know, from personal experience, that everyone from undergraduates to tenured 
professors obsess over proper referencing but a blog? Does anyone know of the 
existence of something like this for any other style manual?

I don't have the slightest idea of how many APA Manual users use LyX or LaTeX 
but I think it's very nice that LyX offers it. Well that's partially just me 
being selfish but a lack of the APA6 document class would be a complete 
deal-breaker for anyone wanting to use LyX. Oh, and while poking along I ran 
over a note that the Manual was being translated into Arabic, Simple Chinese, 
Italian, Nepalese, Polish, Romanian, Portuguese, and Spanish among other 
languages.

1. The answer was no, Zotero does not do this but there is a reasonable work 
around: Just type the Author part and insert the reference with author 
suppressed. 


Re: Citation and reference style

2013-08-24 Thread Wolfgang Engelmann
Am Saturday, 24. August 2013, 16:01:01 schrieb Csikos Bela:

Thanks for this very illustrative and comprehensive explanation. I was not 
aware of this possibility: 
 Turn on source view (View-View Source), set it to showing
 Preamble Only. Note that you have to insert at least one citation
 for the command to be inserted.
good to know. Thanks.

One more question:
I found Elsarticle-harv the style which comes quite close to what the 
editor/Springer wants, except

it gives me for citations
(Author, 2004)
instead of 
(Author 2004)
in the \citep case.
There is no offer for 
(Author 2004) (i.e. no comma)
in the citation style selection.

For \citealt there is a selection for Author 2004 (no comma).

How could I get this right?

Wolfgang


Re: Citation and reference style

2013-08-24 Thread John Kane





 From: Csikos Bela bcsikos...@freemail.hu
To: lyx-users@lists.lyx.org 
Sent: Saturday, August 24, 2013 10:01:01 AM
Subject: Re: Citation and reference style
 



Turn on source view (View-View Source), set it to showing
Preamble Only. Note that you have to insert at least one citation 
for the command to be inserted.


bcsikos

Ah thank you. I have been wondering how to do that and kept forgetting to ask.

Re: The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread Jacob Bishop
On Sat, Aug 24, 2013 at 8:13 AM, John Kane jrkrid...@yahoo.ca wrote:

 I was poking around the Zotero site trying to see if there was a way to
 get a specific APA citation format [Author (date)] which is easy enough in
 LyX or LaTeX to work in a word processor such as AOO Writer or MS Word[1].
 Well actually


I don't know if you are aware, but there is a project called Docear4word.
See http://www.docear.org/category/docear4word/ Now, I use LyX for writing
papers, along with JabRef, which uses BibTeX. If I had to use Word, though,
I would probably use Docear4word, because it also works nicely with JabRef.


 I was finding that Zotero inserts the citation in (Author, Date) format
 without allowing modifications as one can when inserting from a bibtex file
 and hoped to find a way to avoid having to go back and edit later if it
 could be done in a word processor.

 I found a discussion of exactly that issue on a Zotero forum and came
 across a reference to the American Psychology Association blog that, as far
 as I can see, is almost exclusively devoted to advice on how to deal with
 the Publication Manual of the American Psychological Association. As they
 say, “The APA Style Blog is the official companion to the Publication
 Manual of the American Psychological Association, Sixth Edition”.

 I know, from personal experience, that everyone from undergraduates to
 tenured professors obsess over proper referencing but a blog?


Why not? I think things like this help people pull together and deal with
the difficult circumstances. You know, when they feel trapped. It sounds
sort of like an alcoholics anonymous group, but for academics in the social
sciences, who, for one reason or another, just can't stop using APA.


 Does anyone know of the existence of something like this for any other
 style manual?

I don't have the slightest idea of how many APA Manual users use LyX or
 LaTeX but I think it's very nice that LyX offers it. Well that's partially
 just me being selfish but a lack of the APA6 document class would be a
 complete deal-breaker for anyone wanting to use LyX. Oh, and while poking
 along I ran over a note that the Manual was being translated into Arabic,
 Simple Chinese, Italian, Nepalese, Polish, Romanian, Portuguese, and
 Spanish among other languages.


I agree, APA use is widespread,and it probably will not slowing down any
time soon. I think it will be best if we just try to learn to cope with it.


 1. The answer was no, Zotero does not do this but there is a reasonable
 work around: Just type the Author part and insert the reference with author
 suppressed.


Jacob


list of figures and table overlapping with title

2013-08-24 Thread luke jones
Hi guys

I'm using Lyx for my PhD thesis. Unfortunately I do not know how to use Latex, 
but I have been very happy with Lyx.

When I generate the PDF output, in the list of figures and tables when I get 
to 

5.5.10
5.5.11

then the 0 overlaps with the first letter of the title of the table or figure.

I have been reading online about changing Latex codes but I don't know how to 
do this.

Is there an easy way to get round this problem?

If not, could you advise me how to change the code for dummys!

Thanks in advance

LJ





Re: The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread John Kane




 From: Jacob Bishop bishop.ja...@gmail.com
To: John Kane jrkrid...@yahoo.ca 
Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org 
Sent: Saturday, August 24, 2013 1:38:15 PM
Subject: Re: The tyranny of the APA Manual (more or less on topic)
 




On Sat, Aug 24, 2013 at 8:13 AM, John Kane jrkrid...@yahoo.ca wrote:

I was poking around the Zotero site trying to see if there was a way to get a 
specific APA citation format [Author (date)] which is easy enough in LyX or 
LaTeX to work in a word processor such as AOO Writer or MS Word[1]. Well 
actually  

I don't know if you are aware, but there is a project called Docear4word. See 
http://www.docear.org/category/docear4word/ Now, I use LyX for writing papers, 
along with JabRef, which uses BibTeX. If I had to use Word, though, I would 
probably use Docear4word, because it also works nicely with JabRef. 

No I had not heard of it. Seems a bit interesting though I detest Word. I was 
one of the beta tester for Excel--my university was a site and I liked it but I 
have never liked the design or philosophy of Word.

I use OpenOffice and occasionally LibreOffice but if I were to do all my 
writing in them I'd stick with Zotero. Bibtex with JabRef is okay but it really 
is just a way to hanle references. 

Zotero is a pretty complete bibliographic management system which allows the 
storage of articles, etc, within the data base--heck I've got 2 or 3 pdf books 
from various places stored there, tagging, linking, and the maintanance of 
elaborate notes. 

It looks like it was designed by working scholars for working scholars and it 
seems to interface pretty smoothly with Word and OpenOffice with that Author 
alone problem being one exception

 
I was finding that Zotero inserts the citation in (Author, Date) format without 
allowing modifications as one can when inserting from a bibtex file and hoped 
to find a way to avoid having to go back and edit later if it could be done in 
a word processor.

I found a discussion of exactly that issue on a Zotero forum and came across a 
reference to the American Psychology Association blog that, as far as I can 
see, is almost exclusively devoted to advice on how to deal with the 
Publication Manual of the American Psychological Association. As they say, 
“The APA Style Blog is the
 official companion to the Publication Manual of the American Psychological 
Association, Sixth Edition”.

I know, from personal experience, that everyone from undergraduates to tenured 
professors obsess over proper referencing but a blog? 

Why not? I think things like this help people pull together and deal with the 
difficult circumstances. You know, when they feel trapped. It sounds sort of 
like an alcoholics anonymous group, but for academics in the social sciences, 
who, for one reason or another, just can't stop using APA.

No, no, no, This is not a self-help blog. You need to have a look at the blog. 
http://blog.apastyle.org/apastyle/. It is written by what 12 full-time APA 
experts in publications 
http://blog.apastyle.org/apastyle/apa-style-experts.html. This means by the 
experts  by the people who turn out all the major APA journals , books and who 
maintain or help maintain PsycINFO

It's not some kind of self-help group but a high-powered group of experts 
providing advice. As a rough analogy, think of having the R Core Development 
team plus a few major package maintainers running a blog.

It speaks to the importance of APA style overall. I think I mentioned in the 
earlier discussion of the importance of having an APA6 document class and this 
blog seems to strengthen that idea. I believe I mentioned that the APA5 manual 
states that over 1000 journals, and students ranging from nursing to nuclear 
technology (Personal communication Oct. 2012) use it.

In fact, in poking around the APA site I got the impression that publishing and 
supporting APA style is a major industry.

In spite of some of the Manual's insane pickiness, it does provide a common 
language and format for reporting a lot of things. You know where to look for 
information and exactly in what format to expect it. One does not have to worry 
if the authors are reporting measurements in Babylonian cubits or whatever--you 
know it's IS0.

Also, come to think of it, in overall form it may well speak to its importance 
from a legal perspective as well. If you are a nuclear engineering report on an 
accident, a nurse drafting a patient report for official consideration, or a 
clinical psychologist preparing for a custody hearing, you all have a stable 
template to work from: no one has to re-invent the wheel and everyone receiving 
the information knows what they are getting.In many cases it is difficult to 
overstate the importance of standardization. 

As an aside I worked on a project a few years ago where we were dealing with 
data from all across Canada. At the time, when building one of our data bases 
we discovered that 

Re: The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread Jacob Bishop
On Sat, Aug 24, 2013 at 4:56 PM, John Kane jrkrid...@yahoo.ca wrote:


 It's not some kind of self-help group but a high-powered group of experts
 providing advice. As a rough analogy, think of having the R Core
 Development team plus a few major package maintainers running a blog.

 It speaks to the importance of APA style overall. I think I mentioned in
 the earlier discussion of the importance of having an APA6 document class
 and this blog seems to strengthen that idea. I believe I mentioned that the
 APA5 manual states that over 1000 journals, and students ranging from
 nursing to nuclear technology (Personal communication Oct. 2012) use it.


Okay, so I actually looked at it this time. I agree that the blog
strengthens the case for APA being important. I find it interesting that
you make that comment. Many times I find that when people refer to
something as (merely) a blog, it is to discredit the source. Here, you are
making the opposite case. Like I said, I agree with your point. It's like
it adds another dimension to it. They're not the only ones, either. As an
actual example of your analogy to the R Core Development team, the
Mathworks (who develops Matlab) have at least a half-dozen regularly
maintained blogs.

Jacob


Re: Citation and reference style

2013-08-24 Thread Wolfgang Engelmann
Am Friday, 23. August 2013, 20:41:37 schrieb Csikos Bela:
 Wolfgang Engelmann engelm...@uni-tuebingen.de írta:
 
 I haven't tried 2.1 beta yet. 2.0.6 should work in your case perfectly.
 
 For clarification I include a small lyx file and bib file with which I
 tried out your authdate.bst file you had sent, but it did not work (??
 instead of citations, no references, no error message.
 
 It works perfectly. In your sample lyx file you have loaded natbib
 twice, probably that was the reason for fail. If you load natbib
 through lyx GUI you must not load it again in your preamble.
 
 I modified your sample lyx file and I attach it here with the output
 pdf.
 
 bcsikos

Thanks again, Csikos. 

I do not quite understand 
documentbibliography

there are only 3 citation styles:

default (numerical)
Natbib with style Author-year and numerical
and 
Jurabib

How would I modify Natbib with something else besides Author-year (eg 
round, comma)? In the preamble, and would this overwrite the bibliography 
setting? (eg with your \setcitestyle{comma,aysep={}}? 
Why is default only numerical? What if I want Kluwer style or something 
else? I can't leave everything unchecked in Bibliography, I have to check 
one. 

Wolfgang


LyX and the Windows 8 Reader for PDFs

2013-08-24 Thread Michael Maltenfort


I have used LyX for a year or two, but I have recently started using it on my 
news Windows 8 machine.  Windows 8 has a PDF Reader built in, which I prefer to 
the Adobe Reader.  Is there a way of using LyX (2.0.6) with that reader?

I did look at Tools  Preferences  File Formats, and then choosing File Format 
 PDF (pdflatex), and under Viewer choosing Custom.  It was in that way that I 
got Adobe Reader working (and I only downloaded Adobe Reader so I could use it 
with LyX until I figured out how to use the Windows 8 Reader).

It seems that this same technique could be used (Viewer  Custom) to use the 
Windows 8 Reader.  However, I don't know the program name to enter here, or the 
path that I might need to enter in Preferences  Paths  Path Prefixes.  It 
appears that these things are hidden away from the user in Windows 8.  At least 
my online research didn't answers these questions.

My technical knowledge is somewhat limited, but I would think a solution 
wouldn't be too complicated.

Any help would be appreciated.

Thanks.

---Michael Maltenfort


Re: Citation and reference style

2013-08-24 Thread Julien Rioux

On 24/08/2013 3:13 AM, Wolfgang Engelmann wrote:

Am Friday, 23. August 2013, 20:41:37 schrieb Csikos Bela:

  Wolfgang Engelmann engelm...@uni-tuebingen.de írta:

 

  I haven't tried 2.1 beta yet. 2.0.6 should work in your case perfectly.

 

  For clarification I include a small lyx file and bib file with which I

  tried out your authdate.bst file you had sent, but it did not work (??

  instead of citations, no references, no error message.

 

  It works perfectly. In your sample lyx file you have loaded natbib

  twice, probably that was the reason for fail. If you load natbib

  through lyx GUI you must not load it again in your preamble.

 

  I modified your sample lyx file and I attach it here with the output

  pdf.

 

  bcsikos

Thanks again, Csikos.

I do not quite understand

documentbibliography

there are only 3 citation styles:

default (numerical)

Natbib with style Author-year and numerical

and

Jurabib

How would I modify Natbib with something else besides Author-year (eg
round, comma)? In the preamble, and would this overwrite the
bibliography setting? (eg with your \setcitestyle{comma,aysep={}}?

Why is default only numerical? What if I want Kluwer style or something
else? I can't leave everything unchecked in Bibliography, I have to
check one.



The file kluwer.bst is used with harvard.sty or natbib.sty. If you watn 
to use harvard.sty, select the default bibliography and put


\usepackage{harvard}

in your document preamble. If you want to use natbib.sty instead 
(recommended), select the natbib author-year setting. If you need 
additional customization of natbib options, do it in the document 
preamble as Csikos explained.


kluwer.bst supports full author citation, so you're good to use it with 
all the natbib features.


Cheers,
Julien



Re: Citation and reference style

2013-08-24 Thread Julien Rioux

On 23/08/2013 3:08 AM, Wolfgang Engelmann wrote:

Am Thursday, 22. August 2013, 20:46:14 schrieb Csikos Bela:

  So I select under toolsoutputlatex Bibliography Processor  bibtex

  (or custom? or bibtex8?)

 

  It seems you are using an older lyx version. It should work with it,

  still I suggest upgrading lyx to version 2.x.

###Thanks for your answer.

I am using 2.0.6

May be I should upgrade, but I am always afraid I do something wrong and
can't work with it afterward. There is a deadline for a book chapter
waiting...

 

  Set bibliography processor to bibtex. bibtex8 might work as well, I

  never tried it. If you select bibtex, make sure those fields in the bib

  database file that will be in the output do have only ASCII or latin-1

  encoded characters. Special characters should be replaced by latex

  commands (eg. ö is \{o} etc.).

 

  Since I have over 700 citations, I used Jabref for my bibliography and

  clicked the references via the lyx-export of jabref to the

  corresponding places of my document. If I use \setcitestyle{aysep={}}

  instead of your proposed \setcitestyle{round,aysep={}}, and if I put

  () around the citation, I get what I need.

 

  Do not add manually '(' and ')' around citations. The opening and

  closing braces (rounded, square, or other) are part of the citation.

  And it is better to add the citations within lyx.

 

  I don't know if jabref can handle the two different types of citations:

  ' and 'text (Author year) text'. Can it make a

  difference? If you insert the citations within lyx you can select which

  type you want. If you look at the source you can see that the latex

  command for the two types are different, \citet and \citep.

 

  Also, if you have several citations in a group, lyx can handle it.

  Can jabref handle that?

###I do it via lyx (add)

 

  Unfortunately you have to go through all the citations and adjust them

  manually. Or you can work on the .lyx source file directly using a text

  editor and replacing all cite* command with citep. (Make a backup

  of the original file before editing!) After this open your edited file

  in lyx, find the few (I suppose) occasions of 'text Author (year) text'

  type citations and adjust them manually.

 

  The \setcitestyle{round,aysep={}} and \setcitestyle{aysep={}}

  commands in the preamble have the same effect, as round is the

  default option in case of author-year citation. Removing or adding it

  does not make any difference.

 

  But what about eg: (Praschak-Rieder and Willeit 2012) and in case

  of three authors and more (Crosthwait et al. 1997)?

 

  I don't understand what your question is.

### here I meant the 'et al' after more then 2 authors in a (one!)
reference:

author 1

author 1 and author 2

author 1 et all (3 authors or more)

  Unfortunately latex handles citations in goups. One group is all

  the citations selected and added at the same time. All these citations

  will be between the same pair of parentheses. If you add neighboring

  citations separately, they will be within different parentheses pairs.

 

  The source also shows the difference. For example.

 

  3 citations in one group:

 

  \citep{citation1,citation2,citaton3}

 

  The output will be:

 

  (author1 year1, author2 year2, author3 year3)

 

  However if you add them separately, like this:

 

  \citep{citation1} \citep{citation2} \cite{citaton3}

 

  the output will be:

 

  (author1 year1) (author2 year2) (author3 year3)

 

  You can adjust the opening and closing braces and the seperators

  between authors etc using \setcitestyle.

 

  Read the natbib manual (available at CTAN) section 2.9 Selecting

  citation punctuation.

 

  Where in the .lyx file (or elsewhere) would I place the authdate.bst

  file you kindly supplied?

 

  You can put it anywhere you want, but the best place is the directory

  where your .lyx file is. You select the bst file by clicking 'BibTeX

  Generated Bibliography' and browse for it.

### I guess there is a 'normal' place? I have it now in .lyx/layouts



The .bst file has to be found by *bibtex*, so .lyx/layouts isn't a 
particularly good choice (unless you additionally tell bibtex to look 
there). The document directory, as suggested by Csikos, works just fine.


Cheers,
Julien



Re: Citation and reference style

2013-08-24 Thread Csikos Bela
Wolfgang Engelmann engelm...@uni-tuebingen.de írta:


I do not quite understand
documentbibliography

there are only 3 citation styles:


OK, I try to explain.
These 3 options are not citation styles.

LaTex has its own default command set and what it can do. 
However this set is limited. Therefore your can load packages 
(you could call them modules or plugins as well) which add 
further options (possibilities) to what you can do with LaTeX. 
That is loading packages increase the capabilities of LaTeX. 
These packages add new commands and/or modify basic 
commands. 

default (numerical) 
Natbib with style Author-year and numerical 
and Jurabib

When you select default, LyX does not load any package. 
In this case you can use only the default LaTeX bibliography 
capabilities, which is very limited. It only support numeric type 
citations (if I am correct).

If you want different citation/bibliography types you can load
packages (sty files). There are many of them, one is  jurabib, 
another one is  natbib package. These packages change 
LaTex default behavior and add new commands. 
All these packages are different. If you want to use one of them 
you have to learn how to use that specific one. The package manuals
describe how to use the given package. I only use the natbib 
package because it is very flexible.

Along with the package (sty file) bibliography generation requires 
a .bst file which defines the style (look) of the citations and the
bibliography (references). The bst style file has to support a given
package. Generally the sty files are accompanied with different
bst files you can use with them. For example the natbib package
comes with abbrvnat.bst, plainnat.bst, and unsrtnat.bst styles,
which are guaranteed to work with natbib package.


What if I want Kluwer style or something else?

In optimal case there should be a Kluwer.sty file and a Kluwer.bst 
file which  together make the correct output. If there are no such 
files you have to find another pair which makes the same output.


How would I modify Natbib with something else besides Author-year (eg 
round, comma)?

When you select natbib in Document-Settings-Bibliography, lyx
loads natbib package in the preamble:

\usepackage[authoryear]{natbib}

or

\usepackage[numbers]{natbib}

depending on your selection.

Turn on source view (View-View Source), set it to showing
Preamble Only. Note that you have to insert at least one citation 
for the command to be inserted.


In the preamble, and would this overwrite the bibliography 
setting? (eg with your \setcitestyle{comma,aysep={}}?

Yes. Since the package is already loaded, you can not load it
again, or you'll get errors.

Instead modify the package options (without loading it again)
by  \setcitestyle command. Options and keywords are described 
in the natbib manual.


Why is default only numerical?

This is how LaTeX was written. It is not a problem, since there
are many packages that extends it.


I can't leave everything unchecked in Bibliography, I have to check 
one.

Yes, but if you check default (numerical) no additional package is 
 loaded. It equals to not selecting anything.

bcsikos



The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread John Kane
I was poking around the Zotero site trying to see if there was a way to get a 
specific APA citation format [Author (date)] which is easy enough in LyX or 
LaTeX to work in a word processor such as AOO Writer or MS Word[1]. Well 
actually  I was finding that Zotero inserts the citation in (Author, Date) 
format without allowing modifications as one can when inserting from a bibtex 
file and hoped to find a way to avoid having to go back and edit later if it 
could be done in a word processor.

I found a discussion of exactly that issue on a Zotero forum and came across a 
reference to the American Psychology Association blog that, as far as I can 
see, is almost exclusively devoted to advice on how to deal with the 
Publication Manual of the American Psychological Association. As they say, “The 
APA Style Blog is the official companion to the Publication Manual of the 
American Psychological Association, Sixth Edition”.

I know, from personal experience, that everyone from undergraduates to tenured 
professors obsess over proper referencing but a blog? Does anyone know of the 
existence of something like this for any other style manual?

I don't have the slightest idea of how many APA Manual users use LyX or LaTeX 
but I think it's very nice that LyX offers it. Well that's partially just me 
being selfish but a lack of the APA6 document class would be a complete 
deal-breaker for anyone wanting to use LyX. Oh, and while poking along I ran 
over a note that the Manual was being translated into Arabic, Simple Chinese, 
Italian, Nepalese, Polish, Romanian, Portuguese, and Spanish among other 
languages.

1. The answer was no, Zotero does not do this but there is a reasonable work 
around: Just type the Author part and insert the reference with author 
suppressed. 


Re: Citation and reference style

2013-08-24 Thread Wolfgang Engelmann
Am Saturday, 24. August 2013, 16:01:01 schrieb Csikos Bela:

Thanks for this very illustrative and comprehensive explanation. I was not 
aware of this possibility: 
 Turn on source view (View-View Source), set it to showing
 Preamble Only. Note that you have to insert at least one citation
 for the command to be inserted.
good to know. Thanks.

One more question:
I found Elsarticle-harv the style which comes quite close to what the 
editor/Springer wants, except

it gives me for citations
(Author, 2004)
instead of 
(Author 2004)
in the \citep case.
There is no offer for 
(Author 2004) (i.e. no comma)
in the citation style selection.

For \citealt there is a selection for Author 2004 (no comma).

How could I get this right?

Wolfgang


Re: Citation and reference style

2013-08-24 Thread John Kane





 From: Csikos Bela bcsikos...@freemail.hu
To: lyx-users@lists.lyx.org 
Sent: Saturday, August 24, 2013 10:01:01 AM
Subject: Re: Citation and reference style
 



Turn on source view (View-View Source), set it to showing
Preamble Only. Note that you have to insert at least one citation 
for the command to be inserted.


bcsikos

Ah thank you. I have been wondering how to do that and kept forgetting to ask.

Re: The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread Jacob Bishop
On Sat, Aug 24, 2013 at 8:13 AM, John Kane jrkrid...@yahoo.ca wrote:

 I was poking around the Zotero site trying to see if there was a way to
 get a specific APA citation format [Author (date)] which is easy enough in
 LyX or LaTeX to work in a word processor such as AOO Writer or MS Word[1].
 Well actually


I don't know if you are aware, but there is a project called Docear4word.
See http://www.docear.org/category/docear4word/ Now, I use LyX for writing
papers, along with JabRef, which uses BibTeX. If I had to use Word, though,
I would probably use Docear4word, because it also works nicely with JabRef.


 I was finding that Zotero inserts the citation in (Author, Date) format
 without allowing modifications as one can when inserting from a bibtex file
 and hoped to find a way to avoid having to go back and edit later if it
 could be done in a word processor.

 I found a discussion of exactly that issue on a Zotero forum and came
 across a reference to the American Psychology Association blog that, as far
 as I can see, is almost exclusively devoted to advice on how to deal with
 the Publication Manual of the American Psychological Association. As they
 say, “The APA Style Blog is the official companion to the Publication
 Manual of the American Psychological Association, Sixth Edition”.

 I know, from personal experience, that everyone from undergraduates to
 tenured professors obsess over proper referencing but a blog?


Why not? I think things like this help people pull together and deal with
the difficult circumstances. You know, when they feel trapped. It sounds
sort of like an alcoholics anonymous group, but for academics in the social
sciences, who, for one reason or another, just can't stop using APA.


 Does anyone know of the existence of something like this for any other
 style manual?

I don't have the slightest idea of how many APA Manual users use LyX or
 LaTeX but I think it's very nice that LyX offers it. Well that's partially
 just me being selfish but a lack of the APA6 document class would be a
 complete deal-breaker for anyone wanting to use LyX. Oh, and while poking
 along I ran over a note that the Manual was being translated into Arabic,
 Simple Chinese, Italian, Nepalese, Polish, Romanian, Portuguese, and
 Spanish among other languages.


I agree, APA use is widespread,and it probably will not slowing down any
time soon. I think it will be best if we just try to learn to cope with it.


 1. The answer was no, Zotero does not do this but there is a reasonable
 work around: Just type the Author part and insert the reference with author
 suppressed.


Jacob


list of figures and table overlapping with title

2013-08-24 Thread luke jones
Hi guys

I'm using Lyx for my PhD thesis. Unfortunately I do not know how to use Latex, 
but I have been very happy with Lyx.

When I generate the PDF output, in the list of figures and tables when I get 
to 

5.5.10
5.5.11

then the 0 overlaps with the first letter of the title of the table or figure.

I have been reading online about changing Latex codes but I don't know how to 
do this.

Is there an easy way to get round this problem?

If not, could you advise me how to change the code for dummys!

Thanks in advance

LJ





Re: The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread John Kane




 From: Jacob Bishop bishop.ja...@gmail.com
To: John Kane jrkrid...@yahoo.ca 
Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org 
Sent: Saturday, August 24, 2013 1:38:15 PM
Subject: Re: The tyranny of the APA Manual (more or less on topic)
 




On Sat, Aug 24, 2013 at 8:13 AM, John Kane jrkrid...@yahoo.ca wrote:

I was poking around the Zotero site trying to see if there was a way to get a 
specific APA citation format [Author (date)] which is easy enough in LyX or 
LaTeX to work in a word processor such as AOO Writer or MS Word[1]. Well 
actually  

I don't know if you are aware, but there is a project called Docear4word. See 
http://www.docear.org/category/docear4word/ Now, I use LyX for writing papers, 
along with JabRef, which uses BibTeX. If I had to use Word, though, I would 
probably use Docear4word, because it also works nicely with JabRef. 

No I had not heard of it. Seems a bit interesting though I detest Word. I was 
one of the beta tester for Excel--my university was a site and I liked it but I 
have never liked the design or philosophy of Word.

I use OpenOffice and occasionally LibreOffice but if I were to do all my 
writing in them I'd stick with Zotero. Bibtex with JabRef is okay but it really 
is just a way to hanle references. 

Zotero is a pretty complete bibliographic management system which allows the 
storage of articles, etc, within the data base--heck I've got 2 or 3 pdf books 
from various places stored there, tagging, linking, and the maintanance of 
elaborate notes. 

It looks like it was designed by working scholars for working scholars and it 
seems to interface pretty smoothly with Word and OpenOffice with that Author 
alone problem being one exception

 
I was finding that Zotero inserts the citation in (Author, Date) format without 
allowing modifications as one can when inserting from a bibtex file and hoped 
to find a way to avoid having to go back and edit later if it could be done in 
a word processor.

I found a discussion of exactly that issue on a Zotero forum and came across a 
reference to the American Psychology Association blog that, as far as I can 
see, is almost exclusively devoted to advice on how to deal with the 
Publication Manual of the American Psychological Association. As they say, 
“The APA Style Blog is the
 official companion to the Publication Manual of the American Psychological 
Association, Sixth Edition”.

I know, from personal experience, that everyone from undergraduates to tenured 
professors obsess over proper referencing but a blog? 

Why not? I think things like this help people pull together and deal with the 
difficult circumstances. You know, when they feel trapped. It sounds sort of 
like an alcoholics anonymous group, but for academics in the social sciences, 
who, for one reason or another, just can't stop using APA.

No, no, no, This is not a self-help blog. You need to have a look at the blog. 
http://blog.apastyle.org/apastyle/. It is written by what 12 full-time APA 
experts in publications 
http://blog.apastyle.org/apastyle/apa-style-experts.html. This means by the 
experts  by the people who turn out all the major APA journals , books and who 
maintain or help maintain PsycINFO

It's not some kind of self-help group but a high-powered group of experts 
providing advice. As a rough analogy, think of having the R Core Development 
team plus a few major package maintainers running a blog.

It speaks to the importance of APA style overall. I think I mentioned in the 
earlier discussion of the importance of having an APA6 document class and this 
blog seems to strengthen that idea. I believe I mentioned that the APA5 manual 
states that over 1000 journals, and students ranging from nursing to nuclear 
technology (Personal communication Oct. 2012) use it.

In fact, in poking around the APA site I got the impression that publishing and 
supporting APA style is a major industry.

In spite of some of the Manual's insane pickiness, it does provide a common 
language and format for reporting a lot of things. You know where to look for 
information and exactly in what format to expect it. One does not have to worry 
if the authors are reporting measurements in Babylonian cubits or whatever--you 
know it's IS0.

Also, come to think of it, in overall form it may well speak to its importance 
from a legal perspective as well. If you are a nuclear engineering report on an 
accident, a nurse drafting a patient report for official consideration, or a 
clinical psychologist preparing for a custody hearing, you all have a stable 
template to work from: no one has to re-invent the wheel and everyone receiving 
the information knows what they are getting.In many cases it is difficult to 
overstate the importance of standardization. 

As an aside I worked on a project a few years ago where we were dealing with 
data from all across Canada. At the time, when building one of our data bases 
we discovered that 

Re: The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread Jacob Bishop
On Sat, Aug 24, 2013 at 4:56 PM, John Kane jrkrid...@yahoo.ca wrote:


 It's not some kind of self-help group but a high-powered group of experts
 providing advice. As a rough analogy, think of having the R Core
 Development team plus a few major package maintainers running a blog.

 It speaks to the importance of APA style overall. I think I mentioned in
 the earlier discussion of the importance of having an APA6 document class
 and this blog seems to strengthen that idea. I believe I mentioned that the
 APA5 manual states that over 1000 journals, and students ranging from
 nursing to nuclear technology (Personal communication Oct. 2012) use it.


Okay, so I actually looked at it this time. I agree that the blog
strengthens the case for APA being important. I find it interesting that
you make that comment. Many times I find that when people refer to
something as (merely) a blog, it is to discredit the source. Here, you are
making the opposite case. Like I said, I agree with your point. It's like
it adds another dimension to it. They're not the only ones, either. As an
actual example of your analogy to the R Core Development team, the
Mathworks (who develops Matlab) have at least a half-dozen regularly
maintained blogs.

Jacob


Re: Citation and reference style

2013-08-24 Thread Wolfgang Engelmann
Am Friday, 23. August 2013, 20:41:37 schrieb Csikos Bela:
> Wolfgang Engelmann  írta:
> 
> I haven't tried 2.1 beta yet. 2.0.6 should work in your case perfectly.
> 
> >For clarification I include a small lyx file and bib file with which I
> >tried out your authdate.bst file you had sent, but it did not work (??
> >instead of citations, no references, no error message.
> 
> It works perfectly. In your sample lyx file you have loaded natbib
> twice, probably that was the reason for fail. If you load natbib
> through lyx GUI you must not load it again in your preamble.
> 
> I modified your sample lyx file and I attach it here with the output
> pdf.
> 
> bcsikos

Thanks again, Csikos. 

I do not quite understand 
document>bibliography

there are only 3 citation styles:

default (numerical)
Natbib with style Author-year and numerical
and 
Jurabib

How would I modify Natbib with something else besides Author-year (eg 
round, comma)? In the preamble, and would this overwrite the bibliography 
setting? (eg with your \setcitestyle{comma,aysep={}}? 
Why is default only numerical? What if I want Kluwer style or something 
else? I can't leave everything unchecked in Bibliography, I have to check 
one. 

Wolfgang


LyX and the Windows 8 Reader for PDFs

2013-08-24 Thread Michael Maltenfort


I have used LyX for a year or two, but I have recently started using it on my 
news Windows 8 machine.  Windows 8 has a PDF Reader built in, which I prefer to 
the Adobe Reader.  Is there a way of using LyX (2.0.6) with that reader?

I did look at Tools > Preferences > File Formats, and then choosing File Format 
> PDF (pdflatex), and under Viewer choosing Custom.  It was in that way that I 
got Adobe Reader working (and I only downloaded Adobe Reader so I could use it 
with LyX until I figured out how to use the Windows 8 Reader).

It seems that this same technique could be used (Viewer > Custom) to use the 
Windows 8 Reader.  However, I don't know the program name to enter here, or the 
path that I might need to enter in Preferences > Paths > Path Prefixes.  It 
appears that these things are hidden away from the user in Windows 8.  At least 
my online research didn't answers these questions.

My technical knowledge is somewhat limited, but I would think a solution 
wouldn't be too complicated.

Any help would be appreciated.

Thanks.

---Michael Maltenfort


Re: Citation and reference style

2013-08-24 Thread Julien Rioux

On 24/08/2013 3:13 AM, Wolfgang Engelmann wrote:

Am Friday, 23. August 2013, 20:41:37 schrieb Csikos Bela:

 > Wolfgang Engelmann  írta:

 >

 > I haven't tried 2.1 beta yet. 2.0.6 should work in your case perfectly.

 >

 > >For clarification I include a small lyx file and bib file with which I

 > >tried out your authdate.bst file you had sent, but it did not work (??

 > >instead of citations, no references, no error message.

 >

 > It works perfectly. In your sample lyx file you have loaded natbib

 > twice, probably that was the reason for fail. If you load natbib

 > through lyx GUI you must not load it again in your preamble.

 >

 > I modified your sample lyx file and I attach it here with the output

 > pdf.

 >

 > bcsikos

Thanks again, Csikos.

I do not quite understand

document>bibliography

there are only 3 citation styles:

default (numerical)

Natbib with style Author-year and numerical

and

Jurabib

How would I modify Natbib with something else besides Author-year (eg
round, comma)? In the preamble, and would this overwrite the
bibliography setting? (eg with your \setcitestyle{comma,aysep={}}?

Why is default only numerical? What if I want Kluwer style or something
else? I can't leave everything unchecked in Bibliography, I have to
check one.



The file kluwer.bst is used with harvard.sty or natbib.sty. If you watn 
to use harvard.sty, select the "default" bibliography and put


\usepackage{harvard}

in your document preamble. If you want to use natbib.sty instead 
(recommended), select the "natbib author-year" setting. If you need 
additional customization of natbib options, do it in the document 
preamble as Csikos explained.


kluwer.bst supports full author citation, so you're good to use it with 
all the natbib features.


Cheers,
Julien



Re: Citation and reference style

2013-08-24 Thread Julien Rioux

On 23/08/2013 3:08 AM, Wolfgang Engelmann wrote:

Am Thursday, 22. August 2013, 20:46:14 schrieb Csikos Bela:

 > >So I select under tools>output>latex> Bibliography Processor > bibtex

 > >(or custom? or bibtex8?)

 >

 > It seems you are using an older lyx version. It should work with it,

 > still I suggest upgrading lyx to version 2.x.

###Thanks for your answer.

I am using 2.0.6

May be I should upgrade, but I am always afraid I do something wrong and
can't work with it afterward. There is a deadline for a book chapter
waiting...

 >

 > Set bibliography processor to bibtex. bibtex8 might work as well, I

 > never tried it. If you select bibtex, make sure those fields in the bib

 > database file that will be in the output do have only ASCII or latin-1

 > encoded characters. Special characters should be replaced by latex

 > commands (eg. ö is \"{o} etc.).

 >

 > >Since I have over 700 citations, I used Jabref for my bibliography and

 > >clicked the references via the lyx-export of jabref to the

 > >corresponding places of my document. If I use \setcitestyle{aysep={}}

 > >instead of your proposed \setcitestyle{round,aysep={}}, and if I put

 > >() around the citation, I get what I need.

 >

 > Do not add manually '(' and ')' around citations. The opening and

 > closing braces (rounded, square, or other) are part of the citation.

 > And it is better to add the citations within lyx.

 >

 > I don't know if jabref can handle the two different types of citations:

 > ' and 'text (Author year) text'. Can it make a

 > difference? If you insert the citations within lyx you can select which

 > type you want. If you look at the source you can see that the latex

 > command for the two types are different, \citet and \citep.

 >

 > Also, if you have several citations in a group, lyx can handle it.

 > Can jabref handle that?

###I do it via lyx (add)

 >

 > Unfortunately you have to go through all the citations and adjust them

 > manually. Or you can work on the .lyx source file directly using a text

 > editor and replacing all cite* command with citep. (Make a backup

 > of the original file before editing!) After this open your edited file

 > in lyx, find the few (I suppose) occasions of 'text Author (year) text'

 > type citations and adjust them manually.

 >

 > The \setcitestyle{round,aysep={}} and \setcitestyle{aysep={}}

 > commands in the preamble have the same effect, as round is the

 > default option in case of author-year citation. Removing or adding it

 > does not make any difference.

 >

 > >But what about eg: (Praschak-Rieder and Willeit 2012) and in case

 > >of three authors and more (Crosthwait et al. 1997)?

 >

 > I don't understand what your question is.

### here I meant the 'et al' after more then 2 authors in a (one!)
reference:

author 1

author 1 and author 2

author 1 et all (3 authors or more)

 > Unfortunately latex handles citations in goups. One group is all

 > the citations selected and added at the same time. All these citations

 > will be between the same pair of parentheses. If you add neighboring

 > citations separately, they will be within different parentheses pairs.

 >

 > The source also shows the difference. For example.

 >

 > 3 citations in one group:

 >

 > \citep{citation1,citation2,citaton3}

 >

 > The output will be:

 >

 > (author1 year1, author2 year2, author3 year3)

 >

 > However if you add them separately, like this:

 >

 > \citep{citation1} \citep{citation2} \cite{citaton3}

 >

 > the output will be:

 >

 > (author1 year1) (author2 year2) (author3 year3)

 >

 > You can adjust the opening and closing braces and the seperators

 > between authors etc using \setcitestyle.

 >

 > Read the natbib manual (available at CTAN) section 2.9 Selecting

 > citation punctuation.

 >

 > >Where in the .lyx file (or elsewhere) would I place the authdate.bst

 > >file you kindly supplied?

 >

 > You can put it anywhere you want, but the best place is the directory

 > where your .lyx file is. You select the bst file by clicking 'BibTeX

 > Generated Bibliography' and browse for it.

### I guess there is a 'normal' place? I have it now in .lyx/layouts



The .bst file has to be found by *bibtex*, so .lyx/layouts isn't a 
particularly good choice (unless you additionally tell bibtex to look 
there). The document directory, as suggested by Csikos, works just fine.


Cheers,
Julien



Re: Citation and reference style

2013-08-24 Thread Csikos Bela
Wolfgang Engelmann  írta:


>I do not quite understand
>document>bibliography
>
>there are only 3 citation styles:


OK, I try to explain.
These 3 options are not citation styles.

LaTex has its own default command set and what it can do. 
However this set is limited. Therefore your can load packages 
(you could call them modules or plugins as well) which add 
further options (possibilities) to what you can do with LaTeX. 
That is loading packages increase the capabilities of LaTeX. 
These packages add new commands and/or modify basic 
commands. 

>default (numerical) 
>Natbib with style Author-year and numerical 
>and Jurabib

When you select default, LyX does not load any package. 
In this case you can use only the default LaTeX bibliography 
capabilities, which is very limited. It only support numeric type 
citations (if I am correct).

If you want different citation/bibliography types you can load
packages (sty files). There are many of them, one is  jurabib, 
another one is  natbib package. These packages change 
LaTex default behavior and add new commands. 
All these packages are different. If you want to use one of them 
you have to learn how to use that specific one. The package manuals
describe how to use the given package. I only use the natbib 
package because it is very flexible.

Along with the package (sty file) bibliography generation requires 
a .bst file which defines the style (look) of the citations and the
bibliography (references). The bst style file has to support a given
package. Generally the sty files are accompanied with different
bst files you can use with them. For example the natbib package
comes with abbrvnat.bst, plainnat.bst, and unsrtnat.bst styles,
which are guaranteed to work with natbib package.


>What if I want Kluwer style or something else?

In optimal case there should be a Kluwer.sty file and a Kluwer.bst 
file which  together make the correct output. If there are no such 
files you have to find another pair which makes the same output.


>How would I modify Natbib with something else besides Author-year (eg 
>round, comma)?

When you select natbib in Document->Settings->Bibliography, lyx
loads natbib package in the preamble:

\usepackage[authoryear]{natbib}

or

\usepackage[numbers]{natbib}

depending on your selection.

Turn on source view (View->View Source), set it to showing
Preamble Only. Note that you have to insert at least one citation 
for the command to be inserted.


>In the preamble, and would this overwrite the bibliography 
>setting? (eg with your \setcitestyle{comma,aysep={}}?

Yes. Since the package is already loaded, you can not load it
again, or you'll get errors.

Instead modify the package options (without loading it again)
by  \setcitestyle command. Options and keywords are described 
in the natbib manual.


>Why is default only numerical?

This is how LaTeX was written. It is not a problem, since there
are many packages that extends it.


>I can't leave everything unchecked in Bibliography, I have to check 
>one.

Yes, but if you check default (numerical) no additional package is 
 loaded. It equals to not selecting anything.

bcsikos



The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread John Kane
I was poking around the Zotero site trying to see if there was a way to get a 
specific APA citation format [Author (date)] which is easy enough in LyX or 
LaTeX to work in a word processor such as AOO Writer or MS Word[1]. Well 
actually  I was finding that Zotero inserts the citation in (Author, Date) 
format without allowing modifications as one can when inserting from a bibtex 
file and hoped to find a way to avoid having to go back and edit later if it 
could be done in a word processor.

I found a discussion of exactly that issue on a Zotero forum and came across a 
reference to the American Psychology Association blog that, as far as I can 
see, is almost exclusively devoted to advice on how to deal with the 
Publication Manual of the American Psychological Association. As they say, “The 
APA Style Blog is the official companion to the Publication Manual of the 
American Psychological Association, Sixth Edition”.

I know, from personal experience, that everyone from undergraduates to tenured 
professors obsess over proper referencing but a blog? Does anyone know of the 
existence of something like this for any other style manual?

I don't have the slightest idea of how many APA Manual users use LyX or LaTeX 
but I think it's very nice that LyX offers it. Well that's partially just me 
being selfish but a lack of the APA6 document class would be a complete 
deal-breaker for anyone wanting to use LyX. Oh, and while poking along I ran 
over a note that the Manual was being translated into Arabic, Simple Chinese, 
Italian, Nepalese, Polish, Romanian, Portuguese, and Spanish among other 
languages.

1. The answer was no, Zotero does not do this but there is a reasonable work 
around: Just type the Author part and insert the reference with author 
suppressed. 


Re: Citation and reference style

2013-08-24 Thread Wolfgang Engelmann
Am Saturday, 24. August 2013, 16:01:01 schrieb Csikos Bela:

Thanks for this very illustrative and comprehensive explanation. I was not 
aware of this possibility: 
> Turn on source view (View->View Source), set it to showing
> Preamble Only. Note that you have to insert at least one citation
> for the command to be inserted.
good to know. Thanks.

One more question:
I found Elsarticle-harv the style which comes quite close to what the 
editor/Springer wants, except

it gives me for citations
(Author, 2004)
instead of 
(Author 2004)
in the \citep case.
There is no offer for 
(Author 2004) (i.e. no comma)
in the citation style selection.

For \citealt there is a selection for Author 2004 (no comma).

How could I get this right?

Wolfgang


Re: Citation and reference style

2013-08-24 Thread John Kane





 From: Csikos Bela 
To: lyx-users@lists.lyx.org 
Sent: Saturday, August 24, 2013 10:01:01 AM
Subject: Re: Citation and reference style
 



Turn on source view (View->View Source), set it to showing
Preamble Only. Note that you have to insert at least one citation 
for the command to be inserted.


bcsikos

Ah thank you. I have been wondering how to do that and kept forgetting to ask.

Re: The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread Jacob Bishop
On Sat, Aug 24, 2013 at 8:13 AM, John Kane  wrote:

> I was poking around the Zotero site trying to see if there was a way to
> get a specific APA citation format [Author (date)] which is easy enough in
> LyX or LaTeX to work in a word processor such as AOO Writer or MS Word[1].
> Well actually
>

I don't know if you are aware, but there is a project called Docear4word.
See http://www.docear.org/category/docear4word/ Now, I use LyX for writing
papers, along with JabRef, which uses BibTeX. If I had to use Word, though,
I would probably use Docear4word, because it also works nicely with JabRef.


> I was finding that Zotero inserts the citation in (Author, Date) format
> without allowing modifications as one can when inserting from a bibtex file
> and hoped to find a way to avoid having to go back and edit later if it
> could be done in a word processor.
>
> I found a discussion of exactly that issue on a Zotero forum and came
> across a reference to the American Psychology Association blog that, as far
> as I can see, is almost exclusively devoted to advice on how to deal with
> the Publication Manual of the American Psychological Association. As they
> say, “The APA Style Blog is the official companion to the Publication
> Manual of the American Psychological Association, Sixth Edition”.
>
> I know, from personal experience, that everyone from undergraduates to
> tenured professors obsess over proper referencing but a blog?
>

Why not? I think things like this help people pull together and deal with
the difficult circumstances. You know, when they feel trapped. It sounds
sort of like an alcoholics anonymous group, but for academics in the social
sciences, who, for one reason or another, just can't stop using APA.


> Does anyone know of the existence of something like this for any other
> style manual?
>
I don't have the slightest idea of how many APA Manual users use LyX or
> LaTeX but I think it's very nice that LyX offers it. Well that's partially
> just me being selfish but a lack of the APA6 document class would be a
> complete deal-breaker for anyone wanting to use LyX. Oh, and while poking
> along I ran over a note that the Manual was being translated into Arabic,
> Simple Chinese, Italian, Nepalese, Polish, Romanian, Portuguese, and
> Spanish among other languages.
>

I agree, APA use is widespread,and it probably will not slowing down any
time soon. I think it will be best if we just try to learn to cope with it.

>
> 1. The answer was no, Zotero does not do this but there is a reasonable
> work around: Just type the Author part and insert the reference with author
> suppressed.
>

Jacob


list of figures and table overlapping with title

2013-08-24 Thread luke jones
Hi guys

I'm using Lyx for my PhD thesis. Unfortunately I do not know how to use Latex, 
but I have been very happy with Lyx.

When I generate the PDF output, in the list of figures and tables when I get 
to 

5.5.10
5.5.11

then the 0 overlaps with the first letter of the title of the table or figure.

I have been reading online about changing Latex codes but I don't know how to 
do this.

Is there an easy way to get round this problem?

If not, could you advise me how to change the code "for dummys"!

Thanks in advance

LJ





Re: The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread John Kane




 From: Jacob Bishop 
To: John Kane  
Cc: "lyx-users@lists.lyx.org"  
Sent: Saturday, August 24, 2013 1:38:15 PM
Subject: Re: The tyranny of the APA Manual (more or less on topic)
 




On Sat, Aug 24, 2013 at 8:13 AM, John Kane  wrote:

I was poking around the Zotero site trying to see if there was a way to get a 
specific APA citation format [Author (date)] which is easy enough in LyX or 
LaTeX to work in a word processor such as AOO Writer or MS Word[1]. Well 
actually  

I don't know if you are aware, but there is a project called Docear4word. See 
http://www.docear.org/category/docear4word/ Now, I use LyX for writing papers, 
along with JabRef, which uses BibTeX. If I had to use Word, though, I would 
probably use Docear4word, because it also works nicely with JabRef. 

No I had not heard of it. Seems a bit interesting though I detest Word. I was 
one of the beta tester for Excel--my university was a site and I liked it but I 
have never liked the design or philosophy of Word.

I use OpenOffice and occasionally LibreOffice but if I were to do all my 
writing in them I'd stick with Zotero. Bibtex with JabRef is okay but it really 
is just a way to hanle references. 

Zotero is a pretty complete bibliographic management system which allows the 
storage of articles, etc, within the data base--heck I've got 2 or 3 pdf books 
from various places stored there, tagging, linking, and the maintanance of 
elaborate notes. 

It looks like it was designed by working scholars for working scholars and it 
seems to interface pretty smoothly with Word and OpenOffice with that Author 
alone problem being one exception

 
I was finding that Zotero inserts the citation in (Author, Date) format without 
allowing modifications as one can when inserting from a bibtex file and hoped 
to find a way to avoid having to go back and edit later if it could be done in 
a word processor.
>
>I found a discussion of exactly that issue on a Zotero forum and came across a 
>reference to the American Psychology Association blog that, as far as I can 
>see, is almost exclusively devoted to advice on how to deal with the 
>Publication Manual of the American Psychological Association. As they say, 
>“The APA Style Blog is the
 official companion to the Publication Manual of the American Psychological 
Association, Sixth Edition”.
>
>I know, from personal experience, that everyone from undergraduates to tenured 
>professors obsess over proper referencing but a blog? 

Why not? I think things like this help people pull together and deal with the 
difficult circumstances. You know, when they feel trapped. It sounds sort of 
like an alcoholics anonymous group, but for academics in the social sciences, 
who, for one reason or another, just can't stop using APA.

No, no, no, This is not a self-help blog. You need to have a look at the blog. 
http://blog.apastyle.org/apastyle/. It is written by what 12 full-time APA 
experts in publications 
http://blog.apastyle.org/apastyle/apa-style-experts.html. This means by the 
experts  by the people who turn out all the major APA journals , books and who 
maintain or help maintain PsycINFO

It's not some kind of self-help group but a high-powered group of experts 
providing advice. As a rough analogy, think of having the R Core Development 
team plus a few major package maintainers running a blog.

It speaks to the importance of APA style overall. I think I mentioned in the 
earlier discussion of the importance of having an APA6 document class and this 
blog seems to strengthen that idea. I believe I mentioned that the APA5 manual 
states that over 1000 journals, and students ranging from nursing to nuclear 
technology (Personal communication Oct. 2012) use it.

In fact, in poking around the APA site I got the impression that publishing and 
supporting APA style is a major industry.

In spite of some of the Manual's insane pickiness, it does provide a common 
language and format for reporting a lot of things. You know where to look for 
information and exactly in what format to expect it. One does not have to worry 
if the authors are reporting measurements in Babylonian cubits or whatever--you 
know it's IS0.

Also, come to think of it, in overall form it may well speak to its importance 
from a legal perspective as well. If you are a nuclear engineering report on an 
accident, a nurse drafting a patient report for official consideration, or a 
clinical psychologist preparing for a custody hearing, you all have a stable 
template to work from: no one has to re-invent the wheel and everyone receiving 
the information knows what they are getting.In many cases it is difficult to 
overstate the importance of standardization. 

As an aside I worked on a project a few years ago where we were dealing with 
data from all across Canada. At the time, when building one of our data bases 
we 

Re: The tyranny of the APA Manual (more or less on topic)

2013-08-24 Thread Jacob Bishop
On Sat, Aug 24, 2013 at 4:56 PM, John Kane  wrote:

>
> It's not some kind of self-help group but a high-powered group of experts
> providing advice. As a rough analogy, think of having the R Core
> Development team plus a few major package maintainers running a blog.
>
> It speaks to the importance of APA style overall. I think I mentioned in
> the earlier discussion of the importance of having an APA6 document class
> and this blog seems to strengthen that idea. I believe I mentioned that the
> APA5 manual states that over 1000 journals, and students ranging from
> nursing to nuclear technology (Personal communication Oct. 2012) use it.
>

Okay, so I actually looked at it this time. I agree that the blog
strengthens the case for APA being important. I find it interesting that
you make that comment. Many times I find that when people refer to
something as (merely) a blog, it is to discredit the source. Here, you are
making the opposite case. Like I said, I agree with your point. It's like
it adds another dimension to it. They're not the only ones, either. As an
actual example of your analogy to the R Core Development team, the
Mathworks (who develops Matlab) have at least a half-dozen regularly
maintained blogs.

Jacob