Re: no URL line-breaks in the reference list

2015-07-29 Thread Jürgen Spitzmüller
Am Mittwoch 29 Juli 2015, 12:06:45 schrieb Michael Berger:
> BTW instead of writing "Retrieved May 2015 from:" into the pages field,
> consider using biblatex's urldate field.
> 
> I can find no 'urldate field' in my biblatex application (KBibTeX). Do I
> have to create one?

It should be in the "Misc" pane if you use the "biblatex" style of kbibtex. 
But you can also use the "other fields" tab.

> Additional tip: In order to get the German references broken/hyphenated
> correctly, add the "autolang=hyphen" option to biblatex and use the LangID
> field in the entries, e.g.
> 
> I created the field 'LangID' in the "Other Fields" tab of KBibTeX and it
> appears in the entry's source as 'langid = {german}'.
> 
> Then I added 'autolang=hyphen' in the preamble like this:
> 
> \usepackage[style=alphabetic,natbib=true,backref=true,backend=biber,autolang
> =hyphen]{biblatex}

What biblatex version? Autolang was introduced in biblatex 2.8. In older 
versions, use "babel=hyphen" instead.

Jürgen




Re: no URL line-breaks in the reference list

2015-07-29 Thread Michael Berger

On 07/28/2015 03:32 PM, Jürgen Spitzmüller wrote:

Am Dienstag 28 Juli 2015, 15:22:14 schrieb Jürgen Spitzmüller:

The URLs break rather nicely here except for one (Nom10), which is however
difficult to break automatically. It gets significantly better if I put the
following commands in the preamble (these basically instruct LaTeX not to
run lines into the margins whatsoever):

\tolerance 1414
\hbadness 1414
\emergencystretch 1.5em
\hfuzz 0.3pt
\widowpenalty = 1
\vfuzz \hfuzz
\raggedbottom


Hello Jürgen,
The seven lines of above code work equally well for URLs and 
veryveryverylongWords!


BTW instead of writing "Retrieved May 2015 from:" into the pages field,
consider using biblatex's urldate field.

I can find no 'urldate field' in my biblatex application (KBibTeX). Do I 
have to create one?


Additional tip: In order to get the German references broken/hyphenated
correctly, add the "autolang=hyphen" option to biblatex and use the LangID
field in the entries, e.g.

I created the field 'LangID' in the "Other Fields" tab of KBibTeX and it 
appears in the entry's source as 'langid = {german}'.


Then I added 'autolang=hyphen' in the preamble like this:

\usepackage[style=alphabetic,natbib=true,backref=true,backend=biber,autolang=hyphen]{biblatex}

but was rewarded "package xkeyval Error: autolang undefined in families 
'blx@opt@pre"



But then, where else should I have added it?

Can you please help again?

Michael



Re: no URL line-breaks in the reference list

2015-07-28 Thread Michael Berger

On 07/28/2015 03:32 PM, Jürgen Spitzmüller wrote:

Am Dienstag 28 Juli 2015, 15:22:14 schrieb Jürgen Spitzmüller:

Am Dienstag 28 Juli 2015, 14:31:07 schrieb Michael Berger:

Ha! There you are, thanks!
Jürgen, I stripped down the attached LyX-file to the minimum I could.
You will probably need the bibtex-file too.
Hope you have all you need now and thanks in advance,

The URLs break rather nicely here except for one (Nom10), which is however
difficult to break automatically. It gets significantly better if I put the
following commands in the preamble (these basically instruct LaTeX not to
run lines into the margins whatsoever):

\tolerance 1414
\hbadness 1414
\emergencystretch 1.5em
\hfuzz 0.3pt
\widowpenalty = 1
\vfuzz \hfuzz
\raggedbottom

See attached PDF.

BTW instead of writing "Retrieved May 2015 from:" into the pages field,
consider using biblatex's urldate field.

Additional tip: In order to get the German references broken/hyphenated
correctly, add the "autolang=hyphen" option to biblatex and use the LangID
field in the entries, e.g.

@book{Woh03,
author = {Jan Wohlgemuth},
location = {Berlin},
publisher = {Wei{\ss}ensee Verlag},
title = {{Das Diathesesystem der Bahasa Indonesia}},
year = {2003},
LangID = {german}
}

Jürgen

Hi Jürgen,
thank you so much for sharing your vast knowledge and expertise with the 
LyX community!
And I am looking forward to experience the number of new features 
(especially in the linguistics) you have developed and to be implemented 
in LyX version 2.2.x.

Hut ab!

Michael



Re: no URL line-breaks in the reference list

2015-07-28 Thread Jürgen Spitzmüller
Am Dienstag 28 Juli 2015, 15:22:14 schrieb Jürgen Spitzmüller:
> Am Dienstag 28 Juli 2015, 14:31:07 schrieb Michael Berger:
> > Ha! There you are, thanks!
> > Jürgen, I stripped down the attached LyX-file to the minimum I could.
> > You will probably need the bibtex-file too.
> > Hope you have all you need now and thanks in advance,
> 
> The URLs break rather nicely here except for one (Nom10), which is however
> difficult to break automatically. It gets significantly better if I put the
> following commands in the preamble (these basically instruct LaTeX not to
> run lines into the margins whatsoever):
> 
> \tolerance 1414
> \hbadness 1414
> \emergencystretch 1.5em
> \hfuzz 0.3pt
> \widowpenalty = 1
> \vfuzz \hfuzz
> \raggedbottom
> 
> See attached PDF.
> 
> BTW instead of writing "Retrieved May 2015 from:" into the pages field,
> consider using biblatex's urldate field.

Additional tip: In order to get the German references broken/hyphenated 
correctly, add the "autolang=hyphen" option to biblatex and use the LangID 
field in the entries, e.g.

@book{Woh03,
author = {Jan Wohlgemuth},
location = {Berlin},
publisher = {Wei{\ss}ensee Verlag},
title = {{Das Diathesesystem der Bahasa Indonesia}},
year = {2003},
LangID = {german}
}

Jürgen





Re: no URL line-breaks in the reference list

2015-07-28 Thread Jürgen Spitzmüller
Am Dienstag 28 Juli 2015, 14:31:07 schrieb Michael Berger:
> Ha! There you are, thanks!
> Jürgen, I stripped down the attached LyX-file to the minimum I could.
> You will probably need the bibtex-file too.
> Hope you have all you need now and thanks in advance,

The URLs break rather nicely here except for one (Nom10), which is however 
difficult to break automatically. It gets significantly better if I put the 
following commands in the preamble (these basically instruct LaTeX not to run 
lines into the margins whatsoever):

\tolerance 1414
\hbadness 1414
\emergencystretch 1.5em
\hfuzz 0.3pt
\widowpenalty = 1
\vfuzz \hfuzz
\raggedbottom

See attached PDF.

BTW instead of writing "Retrieved May 2015 from:" into the pages field, 
consider using biblatex's urldate field.

HTH
Jürgen

> Cheers
> Michael


MaHome_url_biblatex.pdf
Description: Adobe PDF document


Re: no URL line-breaks in the reference list

2015-07-28 Thread Michael Berger

On 07/28/2015 08:19 AM, Jürgen Spitzmüller wrote:

Am Montag 27 Juli 2015, 19:51:48 schrieb Michael Berger:

the response to my request so far is very poor with no clue in sight.
I take it that my switch to biblatex was too hasty and I am considering
to revert back to using bibtex.

Can you provide a small example file?

Jürgen


Michael

Ha! There you are, thanks!
Jürgen, I stripped down the attached LyX-file to the minimum I could.
You will probably need the bibtex-file too.
Hope you have all you need now and thanks in advance,
Cheers
Michael





MaHome_url_biblatex.lyx
Description: application/lyx
@inproceedings{Nom10,
	abstract = {bare passive},
	author = {Hiroki Nomoto},
	booktitle = {{Making sense of the optionality of voice marking in Malay / Indonesian.}},
	pages = {Talk held at the Workshop on Indonesian--type Voice Systems from July 17--18, 2010. Retrieved May 2015 from:},
	url = {http://repository.tufs.ac.jp/bitstream/10108/64497/1/Proceedings_Indonesiatype04.pdf},
	year = {2010}
}

@inproceedings{Nom08,
	abstract = {related to modality},
	author = {Hiroki Nomoto},
	booktitle = {{A unified analysis of funny control.}},
	pages = {Talk held at the ISML 12 in Leiden from June 26 to 27. Handout retrieved May 2015 from:},
	url = {http://www.tufs.ac.jp/ts/personal/nomoto/ISMIL08_handout.pdf},
	year = {2008}
}

@inproceedings{HeTi,
	author = {Peter Cole \& Gabriela Hermon and Yanti {Timothy Mckinnon}},
	booktitle = {{Voice in Malayic: The Development of Agent-demoting passives.}},
	pages = {Talk held at the closing conference Diversity Linguistics at the MPI EVA on 3. May, 2015},
	year = {(to appear)}
}

@book{Kan99,
	author = {Vamarasi \& Marit Kana},
	location = {Canberra},
	publisher = {Pacific Linguistics},
	title = {{Grammatical Relations in Bahasa Indonesia}},
	year = {1999}
}

@book{Woh03,
	author = {Jan Wohlgemuth},
	location = {Berlin},
	publisher = {Wei{\ss}ensee Verlag},
	title = {{Das Diathesesystem der Bahasa Indonesia}},
	year = {2003}
}

@book{Pot08,
	author = {Maria Polinsky \& Eric Potsdam},
	publisher = {Lingua 118 (10): 1617-1639},
	title = {{The Syntax and Semanticsof Wanting in Indonesian.}},
	year = {2008}
}

@inbook{Gil02,
	author = {David Gil},
	booktitle = {{The History and Typology of West Austronesian Voice Systems.}},
	editor = {F. Wouk and M. Ross},
	location = {Canberra},
	pages = {241--283},
	title = {{The prefixes in di- and n- Malay/Indonesian dialekts.}},
	year = {2002}
}

@article{Chu76,
	author = {Sandra Chung},
	edition = {Subject and topic},
	editor = {{Charles N. Li,}},
	location = {New York},
	note = {Subject and topic},
	pages = {57--99},
	publisher = {Academic Press},
	title = {{On the subject of two passives in Indonesian.}},
	year = {1976}
}

@article{Her98,
	author = {Peter Cole \& Gabriela Hermon},
	note = {Syntax 1 (3)},
	pages = {221--258},
	title = {{The Typology of wh-movement. Wh-questions in Malay.}},
	year = {1998}
}

@inproceedings{Fort06:,
	author = {Catherine R. Fortin},
	booktitle = {{Reconciling meng- and NP-Movement in Indonesian}},
	pages = {Talk held at the 32nd Annual Meeting of the Berkeley Linguistics Society. Handout retrieved June 2015 from:},
	url = {http://sitemaker.umich.edu/fortinc/files/bls_2006_handout.pdf},
	year = {2006}
}



Re: no URL line-breaks in the reference list

2015-07-27 Thread Jürgen Spitzmüller
Am Montag 27 Juli 2015, 19:51:48 schrieb Michael Berger:
> the response to my request so far is very poor with no clue in sight.
> I take it that my switch to biblatex was too hasty and I am considering
> to revert back to using bibtex.

Can you provide a small example file?

Jürgen

> Michael




Re: no URL line-breaks in the reference list

2015-07-27 Thread Richard Heck

On 07/27/2015 01:51 PM, Michael Berger wrote:

On 07/27/2015 04:12 PM, Charles de Miramon wrote:

Michael Berger wrote:



Needles to say that I have studied all issue related comments I could
find. Is somebody out there with a resolution?


Biblatex uses the package url to format and print urls. In the file
biblatex.def, you will find options made by biblatex to break long 
urls. The
code is rather complex and I don't really understand it. Maybe by 
changing

some parameters you can achieve what you want.

Charles



Thanks Charles,
the response to my request so far is very poor with no clue in sight.
I take it that my switch to biblatex was too hasty and I am 
considering to revert back to using bibtex.


Have you tried asking on comp.text.tex? This is really a LaTeX issue, 
not a LyX issue, and while there are some people here who know a lot 
about LaTeX, there are a lot more there.


Richard



Re: no URL line-breaks in the reference list

2015-07-27 Thread Michael Berger

On 07/27/2015 04:12 PM, Charles de Miramon wrote:

Michael Berger wrote:



Needles to say that I have studied all issue related comments I could
find. Is somebody out there with a resolution?


Biblatex uses the package url to format and print urls. In the file
biblatex.def, you will find options made by biblatex to break long urls. The
code is rather complex and I don't really understand it. Maybe by changing
some parameters you can achieve what you want.

Charles



Thanks Charles,
the response to my request so far is very poor with no clue in sight.
I take it that my switch to biblatex was too hasty and I am considering 
to revert back to using bibtex.

Michael


Re: no URL line-breaks in the reference list

2015-07-27 Thread Charles de Miramon
Michael Berger wrote:


> Needles to say that I have studied all issue related comments I could
> find. Is somebody out there with a resolution?
> 

Biblatex uses the package url to format and print urls. In the file 
biblatex.def, you will find options made by biblatex to break long urls. The 
code is rather complex and I don't really understand it. Maybe by changing 
some parameters you can achieve what you want.

Charles



no URL line-breaks in the reference list

2015-07-27 Thread Michael Berger

Dear Friends of LyX,
I have a KOMA-Script document with two different Bibliography Settings 
but otherwise identical.
LyX Preferences > Output > LateX = bibtex8, identical as well in both 
documents.


Document 1
jurabib; processor = bibtex8
in PDF: URLs with proper line-wrapping in the bibliograpy
No LateX errors

Document 2
natbib; processor= biber; backend = biber; package = biblatex
in PDF: no line-wrapping, neither for long words nor for URLs
No LateX errors

It appears to me that switching from bibtex to biblatex is the reason 
for failing to wrap URLs (and long words).


Needles to say that I have studied all issue related comments I could find.
Is somebody out there with a resolution?

Thanks and cheers


Michael Berger, Dipl. Ing.
Im Borngrund 7a
D-35606 Solms
id...@online.de
Fon: +49 6442 706509
Fax: 032121247536
Linux member


Re: breaking lines in the reference list

2015-07-26 Thread Rich Shepard

On Sun, 26 Jul 2015, Michael Berger wrote:


but I am using a bibtex generated bibliography for my references. So, how
/ where to use an ERT ?


I know there commands to break lines with URLs in reference lists but they 
slipped my memory.


Michael,

  I assume that your preamble contains /usepackage{url}; I've found that
correctly correctly breaks long addresses. However, I've not had any URL in
a bibtex reference list so that might be a special case. If so, I've no idea
and someone with more specific knowledge will need to help you.

Rich


Re: breaking lines in the reference list

2015-07-26 Thread Michael Berger

On 07/26/2015 04:38 PM, Rich Shepard wrote:

On Sun, 26 Jul 2015, Michael Berger wrote:

I do not recall anymore how to force long words, urls, and lines 
break in

the bibliography / reference.


Michael,

  Where you want to suggest where long words can be hyphenated, open 
an ERT
box and enter '\-' (without the quotation marks, of course. This 
indicates

where TeX can place a hyphen when formatting a paragraph.

HTH,

Rich


Thanks Rich,
but I am using a bibtex generated bibliography for my references.
So, how / where to use an ERT ?

I know there commands to break lines with URLs in reference lists but 
they slipped my memory.

Michael


Re: breaking lines in the reference list

2015-07-26 Thread Rich Shepard

On Sun, 26 Jul 2015, Michael Berger wrote:


I do not recall anymore how to force long words, urls, and lines break in
the bibliography / reference.


Michael,

  Where you want to suggest where long words can be hyphenated, open an ERT
box and enter '\-' (without the quotation marks, of course. This indicates
where TeX can place a hyphen when formatting a paragraph.

HTH,

Rich


breaking lines in the reference list

2015-07-26 Thread Michael Berger

Dear Friends of LyX,
I do not recall anymore how to force long words, urls, and lines break 
in the bibliography / reference.

Please, help.


Michael Berger, Dipl. Ing.
Im Borngrund 7a
D-35606 Solms
id...@online.de
Fon: +49 6442 706509
Fax: 032121247536
Linux member


Re: Two reference list

2013-09-21 Thread Jacob Bishop
On Fri, Sep 20, 2013 at 7:00 AM, Patrick Dupre  wrote:

> Hello,
>
> I would like to generate 2 reference lists. Let say one take the citations
> upto the list. Then I have an appendix where I would like to start new
> citations to generate a new list at the very end of the Appendix.
>

I think "Sectioned Bibliography" is the keyword you are interested in.
There is documentation for this in the
"Additional Features" manual (help->additional features), and also on the
wiki, see:
http://wiki.lyx.org/BibTeX/Tips#secbib
In addition, you can also check the list archives. I used a sectioned
bibliography for a paper I recently submitted,
so if you run into trouble with this, feel free to ask questions.

Jacob

>
> Thank.
>
> Regards.
>
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire de Physico-Chimie de l'Atmosphère | |
>  Université du Littoral-Côte d'Opale   | |
>  Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
>  189A, avenue Maurice Schumann | | 59140 Dunkerque, France
> ===
>


Two reference list

2013-09-20 Thread Patrick Dupre
Hello,

I would like to generate 2 reference lists. Let say one take the citations
upto the list. Then I have an appendix where I would like to start new
citations to generate a new list at the very end of the Appendix.

Thank.

Regards.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: Aw: Re: Reference list without numbers before the entries

2013-06-02 Thread Jürgen Spitzmüller
Am Sonntag 02 Juni 2013, 14:47:07 schrieb Lukas Zoller:
> Dear Jürgen. I hope its ok that I contact you directly.

Please always use (or at least CC: the lyx-users list, so others can 
participate as well).

> Your expampe is exactly what I want. I was able to make the quatations in
> the text of my document like in your example. I also changed the entries in
> my bibliography, so they seem to be like in your expample. But when I want
> to make a pdf, there is an error message (see attachment). 
> I attached the biblography so perhaps you can see what the problem is, if
> you like to. 

There were several problems in your file:

* You had "Indent paragraph" unchecked for the bibliography. This does not 
work (and generates the error). [this is a known LyX bug]

* You need to select "Natbib" in Document > Settings > Bibliography

* You need at least one citation in your document in order to get Natbib 
loaded automatically. If you do not want that, you have to enter
\usepackage{natbib}
in Document > Settings > Preamble
The reason is that LyX only loads the natbib package when you actually cite 
something.

See the attached corrected example, where I also demonstrate how to adjust the 
indendation and vertical space in the bibliography.

HTH
Jürgen

> Thanks and regards, Lukas


first problem solved.lyx
Description: application/lyx


Re: Reference list without numbers before the entries

2013-06-01 Thread Ray Rashif
On 1 June 2013 22:14, Jürgen Spitzmüller  wrote:

> Uwe Stöhr wrote:
> > I did but maybe I completely misunderstood the task. In your example the
> bib
> > entry has the key "bratmann" and the label is "Bratmann(1999)". In the
> > footnote you referenced it via the label. I understand it so that the
> user
> > don't want to have a label because I already proposed the author-year
> style
> > you used. I'll be quiet now.
>
> Huh? But this is only the technical ID of the label. In the output, it
> will be
> "Bratmann (1999)" in the citation and it will not ppear at all in the
> bibliography. You refered to [Bra99] which is not author-year style, but
> alphanumeric.
>
> Maybe the OP should export our example to PDF, then he'll see that this is
> exactly what he wants.
>

I finally see what could be confusing OP. Using author-year would not work
without adding in a label, and a label with the correct formatting:
Author(YEAR)

Attached two files to demonstrate what OP wants and what he needs (I hope),
which is basically what Jürgen posted.


--
GPG/PGP ID: C0711BF1


WrongUsage.lyx
Description: Binary data


CorrectUsage.lyx
Description: Binary data


Re: Reference list without numbers before the entries

2013-06-01 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
> I did but maybe I completely misunderstood the task. In your example the bib
> entry has the key "bratmann" and the label is "Bratmann(1999)". In the
> footnote you referenced it via the label. I understand it so that the user
> don't want to have a label because I already proposed the author-year style
> you used. I'll be quiet now.

Huh? But this is only the technical ID of the label. In the output, it will be 
"Bratmann (1999)" in the citation and it will not ppear at all in the 
bibliography. You refered to [Bra99] which is not author-year style, but 
alphanumeric.

Maybe the OP should export our example to PDF, then he'll see that this is 
exactly what he wants.

Jürgen

> regards Uwe



Re: Reference list without numbers before the entries

2013-06-01 Thread Ray Rashif
On 1 June 2013 22:02, Jürgen Spitzmüller  wrote:

> Ray Rashif wrote:
> > OK so it's like this:
> >
> > 
> > Those using LaTeX are more productive than their traditional
> counterparts.¹
> >
> > ---
> > ¹ John, 1999
> >
> > ...
> >
> > References
> > -
> > John, D. (1999). Proceedings of the ...
> > 
> >
> > If so, I've seen this in quite a few organisational publications, though
> > they use per-chapter bibliography.
>
> Well, sure, this is completely common in the humanities. This is the usual
> author-year ("harvard") style which you can produce with natbib, jurabib or
> biblatex. I do not understand what should be so special about it.
>
> Jürgen
>

Ahh, then I got it all wrong. But I guess you guys know what he's talking
about more or less. I think he just wants to cite in his chosen style and
enter bibliography items manually at the end of the document. But I still
don't get why the "label" should be a problem since it's internal to LyX --
he can choose to ignore it since it won't show up in the output.


--
GPG/PGP ID: C0711BF1


Re: Reference list without numbers before the entries

2013-06-01 Thread Uwe Stöhr

Am 01.06.2013 15:55, schrieb Jürgen Spitzmüller:

Uwe Stöhr wrote:

The user wants to use LyX's bibliography environment to create the list of
references, but he don't  like that this way every reference gets a label
(not [1] and not [Ar1999] or whatever).


And he does not get this with my proposal. Didn't you try it?


I did but maybe I completely misunderstood the task. In your example the bib entry has the key 
"bratmann" and the label is "Bratmann(1999)". In the footnote you referenced it via the label. I 
understand it so that the user don't want to have a label because I already proposed the author-year 
style you used. I'll be quiet now.


regards Uwe


Re: Reference list without numbers before the entries

2013-06-01 Thread Jürgen Spitzmüller
Ray Rashif wrote:
> OK so it's like this:
> 
> 
> Those using LaTeX are more productive than their traditional counterparts.¹
> 
> ---
> ¹ John, 1999
> 
> ...
> 
> References
> -
> John, D. (1999). Proceedings of the ...
> 
> 
> If so, I've seen this in quite a few organisational publications, though
> they use per-chapter bibliography.

Well, sure, this is completely common in the humanities. This is the usual 
author-year ("harvard") style which you can produce with natbib, jurabib or 
biblatex. I do not understand what should be so special about it.

Jürgen


Re: Reference list without numbers before the entries

2013-06-01 Thread Ray Rashif
On 1 June 2013 21:45, Uwe Stöhr  wrote:

> Am 01.06.2013 15:41, schrieb Jürgen Spitzmüller:
>
>
>  Maybe I got it completely wrong, but don't you just want to use
>> author-year,
>> i.e. "harvard" style (via Natbib or BibLaTeX), which works with and
>> without
>> BibTeX? See attached for a simple natbib example.
>>
>
> I already proposed this but the user wants to have _no_ label in the
> bibliography list. The reason is that he wants to cite within a footnote.
> At the end of the document he therefore wants to have only the list of
> cites used in the document without a label.
> (Personally I have never see such a citing style and therefore doubt that
> this follows a common citing rule.
>

OK so it's like this:


Those using LaTeX are more productive than their traditional counterparts.¹

---
¹ John, 1999

...

References
-
John, D. (1999). Proceedings of the ...


If so, I've seen this in quite a few organisational publications, though
they use per-chapter bibliography.

--
GPG/PGP ID: C0711BF1


Re: Reference list without numbers before the entries

2013-06-01 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
> The user wants to use LyX's bibliography environment to create the list of
> references, but he don't  like that this way every reference gets a label
> (not [1] and not [Ar1999] or whatever).

And he does not get this with my proposal. Didn't you try it?

Jürgen


Re: Reference list without numbers before the entries

2013-06-01 Thread Uwe Stöhr

Am 01.06.2013 15:52, schrieb Jürgen Spitzmüller:


I already proposed this but the user wants to have _no_ label in the
bibliography list. The reason  is that he wants to cite within a footnote.
At the end of the document he therefore wants to have only the list of
cites used in the document without a label.


Well, I see no difference between his hand-typed reference entry of  "Bratmann
(1999)" and my bibliography-generated, except for the indetation, which can be
adjusted.

What do you mean with "no label"? You certainly need to give the authors
names.


The user wants to use LyX's bibliography environment to create the list of references, but he don't 
like that this way every reference gets a label (not [1] and not [Ar1999] or whatever).


regards Uwe


Re: Reference list without numbers before the entries

2013-06-01 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
> I already proposed this but the user wants to have _no_ label in the
> bibliography list. The reason  is that he wants to cite within a footnote.
> At the end of the document he therefore wants to have only the list of
> cites used in the document without a label.

Well, I see no difference between his hand-typed reference entry of  "Bratmann 
(1999)" and my bibliography-generated, except for the indetation, which can be 
adjusted.

What do you mean with "no label"? You certainly need to give the authors 
names.

Jürgen


Re: Reference list without numbers before the entries

2013-06-01 Thread Uwe Stöhr

Am 01.06.2013 15:41, schrieb Jürgen Spitzmüller:


Maybe I got it completely wrong, but don't you just want to use author-year,
i.e. "harvard" style (via Natbib or BibLaTeX), which works with and without
BibTeX? See attached for a simple natbib example.


I already proposed this but the user wants to have _no_ label in the bibliography list. The reason 
is that he wants to cite within a footnote. At the end of the document he therefore wants to have 
only the list of cites used in the document without a label.
(Personally I have never see such a citing style and therefore doubt that this follows a common 
citing rule.)



thanks and regards
Uwe


Re: Reference list without numbers before the entries

2013-06-01 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
> I understand what you want but there are some citing rules. LaTeX offers
> ways to follow these citing  rules. If you set up a new rule you have to
> take care manually that everything is in place. I don't think that LaTeX
> offers you some tools to do exactly what you want. I CCed an expert to this
> mail who can perhaps tell you more about citing rules and if your way of
> citing is OK and how can this be achieved.

Maybe I got it completely wrong, but don't you just want to use author-year, 
i.e. "harvard" style (via Natbib or BibLaTeX), which works with and without 
BibTeX? See attached for a simple natbib example.

Jürgen

Citation problem.lyx
Description: application/lyx


Re: Reference list without numbers before the entries

2013-06-01 Thread Uwe Stöhr

Am 01.06.2013 12:46, schrieb Lukas Zoller:

> I read sec. 4.2.2 in embedded objects but there wasn't an answer to my 
problem.
> I don't want to have endnotes.
> I read sec. 4.2.2 in embedded objects but there wasn't an answer to my 
problem.
> I don't want to have endnotes.
> If I quote something I make a footnote which is displayed on the same side 
like
> the quotation. At the end of my document im listing all the used articles and
> books and this list should look like a bibliography (see attachment).

I understand what you want but there are some citing rules. LaTeX offers ways to follow these citing 
rules. If you set up a new rule you have to take care manually that everything is in place. I don't 
think that LaTeX offers you some tools to do exactly what you want.
I CCed an expert to this mail who can perhaps tell you more about citing rules and if your way of 
citing is OK and how can this be achieved.


regards Uwe



Citation problem.lyx
Description: application/lyx


Re: Reference list without numbers before the entries

2013-05-31 Thread Uwe Stöhr

Am 31.05.2013 19:43, schrieb Lukas Zoller:


If I have to quote something in the Text I make that with a footnote. In this
footnote for example there is written: "Bratman (1999): S.35."


So you want to have endnotes. (Note that endnotes are contrary to the citation 
norms.)
To get endnotes, see sec. 4.2.2 of the EmbeddedObjects manual that you find in LyX's Help menu. 
Attached is a small example file.



Unfortunately I don't know what you mean with your last sentence.


I meant that you can change they style of the label (from [1] to e.g. [Brat99]] but you must use a 
label (except of endnotes).


regards Uwe


Citation-example.lyx
Description: application/lyx


Re: Reference list without numbers before the entries

2013-05-31 Thread John Kane





 From: Lukas Zoller 
To: lyx-users@lists.lyx.org 
Sent: Thursday, May 30, 2013 4:13:05 PM
Subject: Reference list without numbers before the entries
 


Hi
 

I varied all the posibilities in: Document/Settings/Bibliography, but there was 
no different output. Furthermore I dont want to make my bibliography with 
BibTex, because i made quotations in the document about footnotes like in a 
word document.
 
Lukas Zoller

Can you explain what you are doing here? I don't understand why making 
quotations or using footnotes means that you  cannot use BibTex

Re: Reference list without numbers before the entries

2013-05-30 Thread Uwe Stöhr

Am 30.05.2013 22:13, schrieb Lukas Zoller:


I only want my bibliography without the numbers, like
Aune, Bruce (1977): Reason and Action. Dordrecht.


This is somewhat contrary to the idea of having a reference list. As the name implies, they are used 
as reference but without any label you cannot reference them and then they are quite useless. Take 
for example the case that you have a book in your list, how should the reader know that this book is 
the reference of a certain statement in your text?


If you don't like numbers as label you can use years in combination of author codes, but you need to 
use a label.


regards Uwe


Reference list without numbers before the entries

2013-05-30 Thread Lukas Zoller
Hi

 

Sorry to bother you with I suppose an easy solvable problem. However, I'm not capable to solve it.

 

My reference list at the end of my document produces entries with numbers before them. Like

 

"[1] Aune, Bruce (1977): Reason and Action. Dordrecht.

[2] Bentham, Jeremy (1996): An introduction to the principles of morals and
legislation. Oxford.

[3] Bratman, Michael E. (1999): Intention, Plans, and Practical Reason. Stan-
ford."

 

I only want my bibliography without the numbers, like

 

Aune, Bruce (1977): Reason and Action. Dordrecht.
Bentham, Jeremy (1996): An introduction to the principles of morals and
legislation. Oxford.
Bratman, Michael E. (1999): Intention, Plans, and Practical Reason. Stan-
ford.

 

I varied all the posibilities in: Document/Settings/Bibliography, but there was no different output. Furthermore I dont want to make my bibliography with BibTex, because i made quotations in the document about footnotes like in a word document.

 

I'm using LyX 2.0.6 with Windows XP. If there are some more parameters of my system which are required for a proper answer to my problem, let me know.

 

I hope somebody is willing to help me and remain

very grateful,

 

Lukas Zoller


Re: vertical distance between \setbibpreamble and reference list not working?

2013-05-19 Thread Julien Rioux

On 08/03/2013 12:17 PM, Wolfgang Engelmann wrote:

Thanks, Richard,
did you mean something like
\setbibpreamble{Die Zahl(en) hinter der Referenz (und auch den Einträgen
der Nomenklatur) beziehen sich auf die Seite(n). Mit einem geeigneten pdf-
Leseprogramm springt man nach einem Mausklick auf die Zahl an die Seite}
\protect\bigskip



The \protect\bigskip part should be inside your call to the 
\setbibpreamble{} macro.


\setbibpreamble{Die Zahl(en) hinter der Referenz (und auch den Einträgen 
der Nomenklatur) beziehen sich auf die Seite(n). Mit einem geeigneten 
pdf-Leseprogramm springt man nach einem Mausklick auf die Zahl an die 
Seite\protect\bigskip}


Does it help then?

--
Julien



Re: vertical distance between \setbibpreamble and reference list not working?

2013-03-09 Thread Wolfgang Engelmann
Am Freitag, 8. März 2013, 15:07:58 schrieb Richard Heck:
> On 03/08/2013 04:18 AM, Wolfgang Engelmann wrote:
> > Hi,
> > 
> > at the end of my document (Koma book) I inserted in a TeX box
> > \setbibpreamble{blablabla}
> > and added
> > vertical distance
> > from >insert>vertical distance before the
> > bibtex-produced reference list
> > 
> > but vertical distance does not seem to become effective.
> > Any idea, why not?
> 
> Sometimes LaTeX decides to absorb this sort of thing. Try checking the
> "protect" box. That can work.
> 
> rh
Thanks, Richard,
did you mean something like
\setbibpreamble{Die Zahl(en) hinter der Referenz (und auch den Einträgen 
der Nomenklatur) beziehen sich auf die Seite(n). Mit einem geeigneten pdf-
Leseprogramm springt man nach einem Mausklick auf die Zahl an die Seite}
\protect\bigskip

but this did still not lead to a skip between the bibpreamble and the first 
citation

I also tried the koma book ONE column. No cure


Wolfgang


Re: vertical distance between \setbibpreamble and reference list not working?

2013-03-08 Thread Richard Heck

On 03/08/2013 04:18 AM, Wolfgang Engelmann wrote:

Hi,

at the end of my document (Koma book) I inserted in a TeX box
\setbibpreamble{blablabla}
and added
vertical distance
from >insert>vertical distance before the
bibtex-produced reference list

but vertical distance does not seem to become effective.
Any idea, why not?
Sometimes LaTeX decides to absorb this sort of thing. Try checking the 
"protect" box. That can work.


rh



vertical distance between \setbibpreamble and reference list not working?

2013-03-08 Thread Wolfgang Engelmann
Hi,

at the end of my document (Koma book) I inserted in a TeX box
\setbibpreamble{blablabla}
and added 
vertical distance
from >insert>vertical distance before the
bibtex-produced reference list

but vertical distance does not seem to become effective.
Any idea, why not?

Wolfgang


Re: URL appearing in reference list with apa6

2013-02-21 Thread John Kane
Thank you very much.  I will





 From: stefano franchi 
To: John Kane  
Cc: Ray Rashif ; Users LyX  
Sent: Tuesday, February 19, 2013 3:38:26 PM
Subject: Re: URL appearing in reference list with apa6
 






On Tue, Feb 19, 2013 at 1:58 PM, John Kane  wrote:


>That command is good to know but I usually would have a mixture of on-line and 
>journal/book refs so it looks like I'm stuck with manual editing.
>
>
>Thanks
>
>
>

John, if and when you switch to biblatex send me the style file and I'll take a 
look at removing url for non-online sources. I've done it in the past for my 
own styles and I may still remember how to do it.


Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org 

Re: URL appearing in reference list with apa6

2013-02-19 Thread stefano franchi
On Tue, Feb 19, 2013 at 1:58 PM, John Kane  wrote:

>
> That command is good to know but I usually would have a mixture of on-line
> and journal/book refs so it looks like I'm stuck with manual editing.
>
> Thanks
>
>
John, if and when you switch to biblatex send me the style file and I'll
take a look at removing url for non-online sources. I've done it in the
past for my own styles and I may still remember how to do it.


Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: URL appearing in reference list with apa6

2013-02-19 Thread John Kane





 From: stefano franchi 
To: John Kane  
Cc: Ray Rashif ; Users LyX  
Sent: Tuesday, February 19, 2013 11:24:18 AM
Subject: Re: URL appearing in reference list with apa6
 

John,

are you using biblatex (I remember you were trying it out)? If so, you can 
remove the url with a single line in your preamble:

\DeclareFieldFormat{url}{}

No plain bibtex at the moment since I managed to mess up my settings enough 
that nothing bibliographic worked for a while.  I still have a headache from 
pounding my head againt a wall.
I think I'll try biblatex again next week.


Notice, however, that this will may preempt the urls you do want from being 
printed (---> if you have online only sources and you put their url in a filed 
called "url"). In that case I am afraid manual editing is unavoiadable---unless 
you want to hack the biblatex style, that is.

Cheers,

Stefano

That command is good to know but I usually would have a mixture of on-line and 
journal/book refs so it looks like I'm stuck with manual editing.

Thanks

Re: URL appearing in reference list with apa6

2013-02-19 Thread stefano franchi
John,

are you using biblatex (I remember you were trying it out)? If so, you can
remove the url with a single line in your preamble:

\DeclareFieldFormat{url}{}

Notice, however, that this will may preempt the urls you do want from being
printed (---> if you have online only sources and you put their url in a
filed called "url"). In that case I am afraid manual editing is
unavoiadable---unless you want to hack the biblatex style, that is.

Cheers,

Stefano


Re: URL appearing in reference list with apa6

2013-02-19 Thread John Kane





 From: Ray Rashif 
To: John Kane  
Cc: Users LyX  
Sent: Tuesday, February 19, 2013 1:11:04 AM
Subject: Re: URL appearing in reference list with apa6
 

On 19 February 2013 02:39, John Kane  wrote:

I seem to have gotten LyX back in action for the moment with apa6. However  am 
having a minor problem with a bibliography item.  For some reason it is 
including a URL which I don't want.
>
>
>The URL is correct, in that I did download the reference from someplace, 
but I don't want it in a journal entry since it is not a website,  etc and the 
download time and date are not relevant.  
>
>
>
>I am handling my references with Zotero and it is creating a nice little bib 
>file as I play around but why am I getting the URL in the reference. Or 
>perhaps more correctly --how do I turn it off?  I can easily edit the bibtex 
>entry but I suspect a lot of my references in real life willl have this and it 
>might mean a lot of hand editing.
>
>
>Zotero and OpenOffice.org handle the reference correctly, BTW.
>
>
>Examples attached
>
>
>
>Thanks
>(and to paraphrase S. Pepys  "so to a late lunch".
>
>
>
This is dictated by your BibTeX style. The .bst file has all the logic to deal 
with your .bib file - including what to parse and what not to parse, and what 
to show when. I have yet to find a BibTeX editor that offers a little bit of 
intuitive style handling as well.

If you're familiar with sed, you can manipulate your .bib file to your liking 
(remove the url keys so they do not get parsed by your style, or use a 
different style).


Thanks. 

I was afraid that would be the case. I have never used  sed so I'll just have 
to do some hand editing I guess.  A quick hand edit of the example bib file 
shows that it works easily enough, I just had hoped for a slightly more general 
approach. 

Re: URL appearing in reference list with apa6

2013-02-18 Thread Ray Rashif
On 19 February 2013 02:39, John Kane  wrote:

> I seem to have gotten LyX back in action for the moment with apa6.
> However  am having a minor problem with a bibliography item.  For some
> reason it is including a URL which I don't want.
>
> The URL is correct, in that I did download the reference from someplace,
> but I don't want it in a journal entry since it is not a website,  etc and
> the download time and date are not relevant.
>
> I am handling my references with Zotero and it is creating a nice little
> bib file as I play around but why am I getting the URL in the reference. Or
> perhaps more correctly --how do I turn it off?  I can easily edit the
> bibtex entry but I suspect a lot of my references in real life willl have
> this and it might mean a lot of hand editing.
>
> Zotero and OpenOffice.org handle the reference correctly, BTW.
>
> Examples attached
>
> Thanks
> (and to paraphrase S. Pepys  "so to a late lunch".
>
>
This is dictated by your BibTeX style. The .bst file has all the logic to
deal with your .bib file - including what to parse and what not to parse,
and what to show when. I have yet to find a BibTeX editor that offers a
little bit of intuitive style handling as well.

If you're familiar with sed, you can manipulate your .bib file to your
liking (remove the url keys so they do not get parsed by your style, or use
a different style).


--
GPG/PGP ID: C0711BF1


URL appearing in reference list with apa6

2013-02-18 Thread John Kane
I seem to have gotten LyX back in action for the moment with apa6. However  am 
having a minor problem with a bibliography item.  For some reason it is 
including a URL which I don't want.

The URL is correct, in that I did download the reference from someplace, 
but I don't want it in a journal entry since it is not a website,  etc and the 
download time and date are not relevant.  


I am handling my references with Zotero and it is creating a nice little bib 
file as I play around but why am I getting the URL in the reference. Or perhaps 
more correctly --how do I turn it off?  I can easily edit the bibtex entry but 
I suspect a lot of my references in real life willl have this and it might mean 
a lot of hand editing.

Zotero and OpenOffice.org handle the reference correctly, BTW.

Examples attached


Thanks
(and to paraphrase S. Pepys  "so to a late lunch".

apa6.1.knitr.lyx
Description: application/lyx
% This file was created with JabRef 2.7b.
% Encoding: UTF8

@ARTICLE{adams2001therisk,
  author = {Adams, J. and Hillman, M.},
  title = {The risk compensation theory and bicycle helmets},
  journal = {Injury Prevention},
  year = {2001},
  volume = {7},
  pages = {89{\textendash}90; discussion 90{\textendash}91},
  number = {2},
  month = jun,
  abstract = {[Comment, Journal Article, Review; 14 Refs; In English; England; {MEDLINE]}},
  url = {http://www.sciencedirect.com/science/article/B6WVB-45GNBD0-3G6/2/c4885e756af9e39fd3ad671f12830fd5}
}

@ARTICLE{cameron1994mandatory,
  author = {Cameron, M. H. and Vulcan, A. P. and Finch, C. F. and Newstead, S.
	V.},
  title = {Mandatory bicycle helmet use following a decade of helmet promotion
	in {V}ictoria, {A}ustralia{\textendash}an evaluation.},
  journal = {Accident Analysis and Prevention},
  year = {1994},
  volume = {26},
  pages = {325{\textendash}337},
  number = {3},
  month = jun,
  abstract = {On July 1, 1990, a law requiring wearing of an approved safety helmet
	by all bicyclists (unless exempted) came into effect in Victoria,
	Australia. Some of the more important steps that paved the way for
	this important initiative (believed to be the first statewide legislation
	of its type in the world) are described, and the initiative's effects
	are analysed. There was an immediate increase in average helmet-wearing
	rates from 31\% in March 1990 to 75\% in March 1991, although teenagers
	continued to show lower rates than younger children and adults. The
	number of insurance claims from bicyclists killed or admitted to
	hospital after sustaining a head injury decreased by 48\% and 70\%
	in the first and second years after the law, respectively. Analysis
	of the injury data also showed a 23\% and 28\% reduction in the number
	of bicyclists killed or admitted to hospital who did not sustain
	head injuries in the first and second post-law years, respectively.
	For Melbourne, where regular annual surveys of helmet wearing have
	been conducted, it was possible to fit a logistic regression model
	that related the reduction in head injuries to increased helmet wearing.
	Surveys in Melbourne also indicated a 36\% reduction in bicycle use
	by children during the first year of the law and an estimated increase
	in adult use of 44\%.},
  keywords = {Adolescent;, Adult;, Bicycling;, Child;, Devices;, Evaluation, Head,
	Humans;, Protective, Studies;, Victoria}
}



Re: How to remove a citation from the reference list without deleting it from BibTeX?

2012-06-30 Thread Richard Heck

On 06/30/2012 03:32 PM, Roey Angel wrote:

Hi Richard thanks for your answer.
Yes, the BibTeX bibliography settings is set for 'all cited references'.
I also tried to rescan the database before running latex but that did 
not change anything.
I should mention that I am using biber-natbib for my references (maybe 
that's the reason).


In my preamble I have:

\usepackage[style=geb,natbib=true, backend=biber]{biblatex}


Then in the document:
Note: BibTeX Generated Bibliography
\printbibliography

Any ideas?

Well, something's being cached somewhere, and it's probably got to do 
with biber-natbib or biblatex. I don't use either, however, so won't be 
any more help.


rh



Re: How to remove a citation from the reference list without deleting it from BibTeX?

2012-06-30 Thread Roey Angel
Hi Richard thanks for your answer.
Yes, the BibTeX bibliography settings is set for 'all cited references'.
I also tried to rescan the database before running latex but that did not
change anything.
I should mention that I am using biber-natbib for my references (maybe
that's the reason).

In my preamble I have:

\usepackage[style=geb,natbib=true, backend=biber]{biblatex}

Then in the document:
Note: BibTeX Generated Bibliography
\printbibliography

Any ideas?
Roey

On Sat, Jun 30, 2012 at 8:42 PM, Richard Heck  wrote:

> On 06/29/2012 07:44 PM, Roey Angel wrote:
>
>> Hi,
>> If I want to remove a citation from a document in Lyx I typically simply
>> delete
>> the field.
>> Trouble is that doesn't prevent the citation from appearing in the
>> reference
>> list (although it's no longer cited anywhere in the document).
>> Instead I also have to edit my BibTeX file and delete it there as well.
>>
>> Why is it behaving like this? shouldn't LaTeX only include in the
>> reference list
>> those entries in the BibTeX record that were actually cited in the paper?
>> Isn't
>> that one of the major reasons why reference managers exist?
>>
> Here's a guess. Click on the bibliography inset (which lists the BibTeX
> databases you are using). Toward the bottom, there is a combo box that
> is labelled "content". There are two choices: (i) All cited references;
> (ii) All
> references. The former does what you want; the latter prints all citations
> from the BibTeX file, whether they are used or not.
>
> If that's not the problem, then we'll talk more.
>
> Richard
>
>


Re: How to remove a citation from the reference list without deleting it from BibTeX?

2012-06-30 Thread Richard Heck

On 06/29/2012 07:44 PM, Roey Angel wrote:

Hi,
If I want to remove a citation from a document in Lyx I typically simply delete
the field.
Trouble is that doesn't prevent the citation from appearing in the reference
list (although it's no longer cited anywhere in the document).
Instead I also have to edit my BibTeX file and delete it there as well.

Why is it behaving like this? shouldn't LaTeX only include in the reference list
those entries in the BibTeX record that were actually cited in the paper? Isn't
that one of the major reasons why reference managers exist?

Here's a guess. Click on the bibliography inset (which lists the BibTeX
databases you are using). Toward the bottom, there is a combo box that
is labelled "content". There are two choices: (i) All cited references; 
(ii) All

references. The former does what you want; the latter prints all citations
from the BibTeX file, whether they are used or not.

If that's not the problem, then we'll talk more.

Richard



How to remove a citation from the reference list without deleting it from BibTeX?

2012-06-29 Thread Roey Angel
Hi,
If I want to remove a citation from a document in Lyx I typically simply delete
the field.
Trouble is that doesn't prevent the citation from appearing in the reference
list (although it's no longer cited anywhere in the document).
Instead I also have to edit my BibTeX file and delete it there as well.

Why is it behaving like this? shouldn't LaTeX only include in the reference list
those entries in the BibTeX record that were actually cited in the paper? Isn't
that one of the major reasons why reference managers exist?

Thanks in advance,
Roey





RE: [SOLVED] Changing captions and order in reference list

2012-04-20 Thread Hannu Vuolasaho


Hello!

I found solution for this problem. It might not be the prettiest one, but 
changing citation delimiter and list of references number delimiter I added to 
preamble:
 

p, li { white-space: pre-wrap; }

\makeatletter % @ is now a letter

p, li { white-space: pre-wrap; }

\def\bibleftdelim{/}
\def\bibrightdelim{/}
\def\@biblabel#1{\bibleftdelim #1\bibrightdelim}
\makeatother % @ is a symbol
That is from Tame the BeaST PDF file. 
http://mirrors.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf

However I wasn't able to get the cite working and after all I am using natbib

And from http://mirrors.ctan.org/macros/latex/contrib/natbib/natbib.pdfoneliner 
ERT\setcitestyle{open={/},close={/}}

Which probably can be put to preamble somehow.

best regards,
Hannu Vuolasaho


> From: vuo...@msn.com
> To: lyx-users@lists.lyx.org
> Subject: Changing captions and order in reference list
> Date: Fri, 20 Apr 2012 01:19:31 +0300
>
>
> Hello everybody!
>
> I have on problem with reference list. I havenly five references. So this 
> isn't that bad problem. It can be done also some ugly manual way.
> I want to get list as
>
> /1/ reference
>
> /2/ reference
> instead Lyx always generates
>
> [1] reference
>
> [2] reference
>
> So how that is changed?
>
> Another problem is that the appear in same order as in text and I want them 
> in alphabetically ordered by last name. And the format is
> Last name, First name, Title, [doctype], URL, date of retrieval
>
> Is there any style that does this or what is the right way to do this?
>
> Best regards,
> Hannu Vuolasaho
>
  

Changing captions and order in reference list

2012-04-19 Thread Hannu Vuolasaho

Hello everybody!

I have on problem with reference list. I havenly five references. So this isn't 
that bad problem. It can be done also some ugly manual way.
I want to get list as 

/1/ reference

/2/ reference
instead Lyx always generates 

[1] reference

[2] reference

So how that is changed?

Another problem is that the appear in same order as in text and I want them in 
alphabetically ordered by last name. And the format is 
Last name, First name, Title, [doctype], URL, date of retrieval 

Is there any style that does this or what is the right way to do this?

Best regards,
Hannu Vuolasaho
  

Re: Saving with version 2.0beta3 / reference list w/ version 2.0beta3

2011-03-01 Thread Jürgen Spitzmüller
Christoph wrote:
> 2. 
> I created a reference list with 2.0beta3 (bibtex) 
> and all the reference titles are
> "decapitalized" although theya are correct in bibtex...

This is a bibtex "feature" (not active in all bibtex styles, though).
See http://www.tex.ac.uk/cgi-bin/texfaq2html?label=capbibtex

Jürgen


Re: Saving with version 2.0beta3 / reference list w/ version 2.0beta3

2011-02-28 Thread Richard Heck

On 02/28/2011 06:45 AM, Christoph wrote:

Hi there,
1.
I saved a document with version 2.0beta3 and tried to
open it with 1.6.9. it says
unable to open - lyx2lyx could not convert the document...


This is normal. If you want to open in 1.6.x, then File>Export>LyX 1.6.


2.
I created a reference list with 2.0beta3 (bibtex)
and all the reference titles are
"decapitalized" although theya are correct in bibtex...
thanks for your help...


Example file?

rh




Saving with version 2.0beta3 / reference list w/ version 2.0beta3

2011-02-28 Thread Christoph
Hi there,
1. 
I saved a document with version 2.0beta3 and tried to 
open it with 1.6.9. it says
unable to open - lyx2lyx could not convert the document...

2. 
I created a reference list with 2.0beta3 (bibtex) 
and all the reference titles are
"decapitalized" although theya are correct in bibtex...
thanks for your help...




Re: limit in number of reference entries in *.bib coming from jabref and used in lyx ? entries in reference list are cut off

2010-12-03 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/02/2010 05:21 PM, Paul Rubin wrote:
> Birte Schoettker  gmail.com> writes:
> 
>   Rainer: I would love to know that, too, how to identify non-ASCII
> characters in a bibtex file.
> 
> On Linux (or probably most POSIX-compatible systems), you have the iconv
> command.  So
> 
> iconv -t ASCII myfile.bib | grep iconv

Tanks for pointing this out - did not know about it. Thanks a lot.

Rainer

> 
> will try to convert your .bib file to ASCII and, if it fails, print the error
> message iconv generated (which includes the position of the offending
> character).  The position is a character count, not a line/column pair, so it
> might be easier to go with
> 
> iconv -t ASCII myfile.bib
> 
> (which writes the converted file to the display) and see where in the file 
> iconv
> died.
> 
> There are ports of iconv to Windows as well (I use the MinGW port at home).
> 
> /Paul
> 


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

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz4siUACgkQoYgNqgF2egrxWgCeOoIBvDny6tyGBPXZIbQn+arC
KxUAn2J7hFZ2Elx/pRJVCdLcECT0X3XE
=E2P4
-END PGP SIGNATURE-


Re: limit in number of reference entries in *.bib coming from jabref and used in lyx ? entries in reference list are cut off

2010-12-02 Thread Paul Rubin
Birte Schoettker  gmail.com> writes:

  Rainer: I would love to know that, too, how to identify non-ASCII
characters in a bibtex file.

On Linux (or probably most POSIX-compatible systems), you have the iconv
command.  So

iconv -t ASCII myfile.bib | grep iconv

will try to convert your .bib file to ASCII and, if it fails, print the error
message iconv generated (which includes the position of the offending
character).  The position is a character count, not a line/column pair, so it
might be easier to go with

iconv -t ASCII myfile.bib

(which writes the converted file to the display) and see where in the file iconv
died.

There are ports of iconv to Windows as well (I use the MinGW port at home).

/Paul



Re: limit in number of reference entries in *.bib coming from jabref and used in lyx ? entries in reference list are cut off

2010-12-02 Thread stephen's mailinglist account
>
> 2. I found a 'dodgy' reference in my list at "Wa..." (alphabetical order).
> After that was removed, everything worked fine:).

I have ended up doing this - usually more than once until all problem
characters are removed.

>
> @ Uwe: I thank you very much for your relevant comment; and you are right.
> My list has resulted from the merger of a five year, multi-disciplinary
> project. So, yes, I won't need all of them and should have 'cleaned out
> earlier' for the sake of overview at least. And I do my best not to torture
> the reviewer with inadequate referencing, though I might have been quite
> thorough.

I also tend to use an enormous bibtex file primarily for managing my
references, and secondarily for inserting into documents.


>
> @ Rainer: I would love to know that, too, how to identify non-ASCII
> characters in a bibtex file.
>

The main culprits I have found are 'smart-quotes' and n-and m-dashes.
Some non-english accents are easier to spot, and occasionally symbols
can cause problems too. The problem characters are often in abstracts
or review fields.
Jabref works quite happily for looking references up though even with
all the illegal characters.

-- 
Stephen


Re: limit in number of reference entries in *.bib coming from jabref and used in lyx ? entries in reference list are cut off

2010-12-02 Thread Birte Schoettker
Hi all,

thank you very much for your quick and useful responses.

1. To cut the file in two did not make a difference.
2. I found a 'dodgy' reference in my list at "Wa..." (alphabetical order).
After that was removed, everything worked fine:).

@ Richard: Great hints. It must have been an illegal character, which I
could not immediately identify when looking at that reference and it was not
the first one that didn't appear. I will next time rather launch LyX from a
terminal and I will try ASCII encoding, but have to see how I go with my
special characters. Thank you for the kind offer of help.

@ Uwe: I thank you very much for your relevant comment; and you are right.
My list has resulted from the merger of a five year, multi-disciplinary
project. So, yes, I won't need all of them and should have 'cleaned out
earlier' for the sake of overview at least. And I do my best not to torture
the reviewer with inadequate referencing, though I might have been quite
thorough.

@ Rainer: I would love to know that, too, how to identify non-ASCII
characters in a bibtex file.


Delighted that things have progressed thanks to you all and I learned s.th.
again.
Cheers,
Birte

On 1 December 2010 19:18, Uwe Stöhr  wrote:

> Am 01.12.2010 14:00, schrieb Birte Schoettker:
>
>
>  However, the last times I tried to use my added bibliography in Lyx via
>> "Insert> Citation" it has been missing all entries in my *.bib file or
>> jabref library alphabetically onwards from Wi*** to Z.
>> The number of my references in my library is 1898 (!). Is there a
>> cut-off I am not aware off?
>>
>
> That there is a cutoff is new to me. Does it help if you split your
> bib-file into 2 files and include them both to LyX?
> If not, does it help if you are using another citation style file (not
> harvard)?
>
> 
> Just for my curiosity:
>
>
>  Any help would be highly appreciated (my thesis is due in 4 weeks...yet
>> again good timing, isn't it?:)).
>>
>
> Respect! 1900s citation in one document is tough. Are you sure anybody
> will/can have a look at so many citations? I mean its the duty of the
> professors reviewing/supervising your thesis to look that the citations you
> made are correct. This already a lot of work for 100 citations. How do they
> do this for more than 1000?
>
> regards Uwe
>


Re: limit in number of reference entries in *.bib coming from jabref and used in lyx ? entries in reference list are cut off

2010-12-02 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/01/2010 07:55 PM, Richard Heck wrote:
> On 12/01/2010 08:00 AM, Birte Schoettker wrote:
>> Hi all,
>>
>> I run Lyx 1.6.6.1 under Windows and use Jabref 2.6 to create my *.bib
>> file for the references I use in Lyx via Insert>List/TOC>BiBTex
>> Bibliography'.
>> That all worked fine so far for the last 2 years, gaining insights
>> about coding in jabref and dabandoning endnote for good on this way so
>> far.
>>
>> What confuses me these days, is that I cannot recall to have changed
>> anything relevant from last week to this in my *.bib reference file. I
>> might have added about 10 more references or deleted a couple.
>> However, the last times I tried to use my added bibliography in Lyx
>> via "Insert> Citation" it has been missing all entries in my *.bib
>> file or jabref library alphabetically onwards from Wi*** to Z.
>> The number of my references in my library is 1898 (!). Is there a
>> cut-off I am not aware off?
>>
> No, there's no cutoff. What's probably happening is that you have an
> illegal character in one of your entries, probably the first one that
> doesn't appear, and LyX is aborting the read when it sees it. This is a
> pretty common problem. It often happens when people cut and paste
> material from the web into JabRef and they get a funny quote or
> something in there. If you can manage to launch LyX from a terminal,
> then you will probably see the error message, which may also help. If
> not, you can send me the file privately, and I'll figure it out.
> 
>> Information that might be important:
>> - coding of my library: Cp1252
>>
> I don't know if that is an issue or not, but, ideally, BibTeX files
> should always be pure ASCII. If you need non-ASCII characters, then use
> the LaTeX equivalent.

That directly leads me to a question I asked earlier, but did not find
an answer to:

How can I easily identify non-ASCII characters in the bibtex file?

I struggled with this quite a lot (as I moved from a home made ACCESS
database to Reference Manager database to bibtex), and I THINK my bibtex
is now clean, but, I am not sure.

Is there a script which I could run to identify non-ASCII characters in
the bibtex file?


I am running Linux.

Cheers,

Rainer

> 
> Richard
> 


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

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz3Z9cACgkQoYgNqgF2egqHbgCfeNVuMEQkFiHOEKiP+wRfEQDr
4JcAoICYpdiUWWoguCl/2CBAxmZQZIZY
=QwTs
-END PGP SIGNATURE-


Re: limit in number of reference entries in *.bib coming from jabref and used in lyx ? entries in reference list are cut off

2010-12-01 Thread Richard Heck

On 12/01/2010 08:00 AM, Birte Schoettker wrote:

Hi all,

I run Lyx 1.6.6.1 under Windows and use Jabref 2.6 to create my *.bib 
file for the references I use in Lyx via Insert>List/TOC>BiBTex 
Bibliography'.
That all worked fine so far for the last 2 years, gaining insights 
about coding in jabref and dabandoning endnote for good on this way so 
far.


What confuses me these days, is that I cannot recall to have changed 
anything relevant from last week to this in my *.bib reference file. I 
might have added about 10 more references or deleted a couple.
However, the last times I tried to use my added bibliography in Lyx 
via "Insert> Citation" it has been missing all entries in my *.bib 
file or jabref library alphabetically onwards from Wi*** to Z.
The number of my references in my library is 1898 (!). Is there a 
cut-off I am not aware off?


No, there's no cutoff. What's probably happening is that you have an 
illegal character in one of your entries, probably the first one that 
doesn't appear, and LyX is aborting the read when it sees it. This is a 
pretty common problem. It often happens when people cut and paste 
material from the web into JabRef and they get a funny quote or 
something in there. If you can manage to launch LyX from a terminal, 
then you will probably see the error message, which may also help. If 
not, you can send me the file privately, and I'll figure it out.



Information that might be important:
- coding of my library: Cp1252

I don't know if that is an issue or not, but, ideally, BibTeX files 
should always be pure ASCII. If you need non-ASCII characters, then use 
the LaTeX equivalent.


Richard



Re: limit in number of reference entries in *.bib coming from jabref and used in lyx ? entries in reference list are cut off

2010-12-01 Thread Uwe Stöhr

Am 01.12.2010 14:00, schrieb Birte Schoettker:


However, the last times I tried to use my added bibliography in Lyx via
"Insert> Citation" it has been missing all entries in my *.bib file or
jabref library alphabetically onwards from Wi*** to Z.
The number of my references in my library is 1898 (!). Is there a
cut-off I am not aware off?


That there is a cutoff is new to me. Does it help if you split your 
bib-file into 2 files and include them both to LyX?
If not, does it help if you are using another citation style file (not 
harvard)?



Just for my curiosity:


Any help would be highly appreciated (my thesis is due in 4 weeks...yet
again good timing, isn't it?:)).


Respect! 1900s citation in one document is tough. Are you sure anybody 
will/can have a look at so many citations? I mean its the duty of the 
professors reviewing/supervising your thesis to look that the citations 
you made are correct. This already a lot of work for 100 citations. How 
do they do this for more than 1000?


regards Uwe


limit in number of reference entries in *.bib coming from jabref and used in lyx ? entries in reference list are cut off

2010-12-01 Thread Birte Schoettker
Hi all,

I run Lyx 1.6.6.1 under Windows and use Jabref 2.6 to create my *.bib file
for the references I use in Lyx via Insert>List/TOC>BiBTex Bibliography'.
That all worked fine so far for the last 2 years, gaining insights about
coding in jabref and dabandoning endnote for good on this way so far.

What confuses me these days, is that I cannot recall to have changed
anything relevant from last week to this in my *.bib reference file. I might
have added about 10 more references or deleted a couple.
However, the last times I tried to use my added bibliography in Lyx via
"Insert> Citation" it has been missing all entries in my *.bib file or
jabref library alphabetically onwards from Wi*** to Z.
The number of my references in my library is 1898 (!). Is there a cut-off I
am not aware off?

Information that might be important:
- coding of my library: Cp1252
- BiBTexbibliography style in Lyx: elsarticle-harv

I will cut the bibliography in two shorter lists and save them separately as
*.bib and try to use them together in lyx (a new and my old files) for
starters.
Any other suggestions?

Any help would be highly appreciated (my thesis is due in 4 weeks...yet
again good timing, isn't it?:)).
Thanks a lot!

Kind regards,
Birte


Re: Question on fonts of reference list and citations using jurabib

2010-04-07 Thread Julien Rioux

Hi Susanne,

The style of the list of citations that appear at the end of your 
document can be customized by one of two options:


1. Changing BibTeX style file.
2. Using jurabib specific commands in your preamble.

For option 1., click on the "BibTeX Generated Bibliography" in your LyX 
file, select a different style from the drop-down menu "Style"; the 
various styles are documented in many places. One such place is here:


http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html

See if you can find a style that matches your need. However, a quick 
look did not reveal a style with italic authors.


For option 2. above, you can consult the jurabib documentation. One 
option which might please you is


\jurabibsetup{biblikecite}

This will attempt to typeset the list just like the citation. I found 
this trick here:


http://web.mit.edu/texsrc/source/latex/jurabib/jb-opt-ref.html

Certainly more customization is possible. Best of luck!

Julien


Question on fonts of reference list and citations using jurabib

2010-04-07 Thread Susanne Rücker

Dear Users,
I am working on a german document with LyX 1.6 and I admit it is my 
first one. So please forgive me for absolute non-knowledge.
I managed to produce a list of literature with JabRef 2.5 and I managed 
to get this list into LyX.

I also managed to produce my first citation.
The problem is, that I need a special format for the list and the 
citations, mainly the authors should be italic, but not bold.

A friend gave me the following lines, which I entered to the preamble:

\usepackage[]{jurabib}
\jurabibsetup{
authorformat=italic,
authorformat=abbrv,
%ibidem=name,
superscriptedition=all,
titleformat=commasep,
citefull=first,
}
\bibliographystyle{jurabib}
\bibliography{H:/Eigene_Susanne/MM-Jus/Susanne}

According to other advice I additionally entered those lines as a tex 
command immediately before the reference list. I also entered them in 
the preamble section of JabRef.
Result: The citations look as they should, authors are not bold but 
italic. BUT: In the list, the authors stay bold.


Question: How do I change the fonts of the authors in the reference list 
to not bold but italic?


Best thanks in advance for your help!

Susanne Rücker


bibliography dialog reference list is incomplete

2009-05-19 Thread Alexandru Cabuz
Hello,

I have a relatively large document (~70 pages) which contains a relatively
large number of references (138). I have not modified it in a few weeks, and
it compiles just fine.

However, I have now tried to add a reference (the 139th) and when I open the
bibliography window the list on the left side, which is supposed to contain
all of the references in the bib file, is incomplete. I can see all the
references beginning with A, some of the ones beginning with B, one C, one D
and two references starting with P. What is even stranger is that if i click
on an existing reference in the document (say in the Gs), I can see the
reference on the right side of the window, but not in the left side.
Consequently if I remove it, I cannot add it back.

I am running debian stable amd64, with lyx 1.6.1.

The workaround I use is simple: Ctrl-A, Ctrl-C, open new file, Ctrl-V.

But there is a slight panic reaction at first, when I remove a reference and
can't add it back...

So this seems to be a bug, and I thought someone should take a look at it.

Thanks.

-- 
Alexandru I. Cabuz
Tel: +33 (0)6.70.70.46.41

--- Please no Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Reference list appears in middle of text

2007-11-09 Thread Graham Smith

Mirko,

Thanks, but I think I may have solved this. The last item in the 
document (other than the code for the reference list) was a figure set 
to "default" placement, By changing this to the "here if possible" 
option, the text that was being moved from above the figure to below the 
reference list, now seems to be staying where it should be.


Graham



Mirko Briemle wrote:

Graham,

I do this to accomplish having the reference list at the end:
1. remove references and list
2. go to the very end of the lyx document
3. if you want the references appear on a separate page - instert -> Formatting 
-> Page
Break
4. Below the Page Break: insert -> List/TOC -> Bibtext/Bibliography
5. Add you reference(s) in your text again.

I hope that helps,
Mirko

 


On Fri, 09 Nov 2007 21:24:09 +
Graham Smith <[EMAIL PROTECTED]> wrote:

I am using the article (paper) Class with several figures and 22 pages 
long, all was fine until I added a BibTex reference list (with only one 
reference)


Now the final paragraph and a half of text appears "after" the reference 
list.


Is there something obvious I am doing wrong

WINXPPro Lyx 1.5.2

many thanks,

Graham




--


Graham M Smith


Station Cottage Tel:01749 840631
Station RoadFax:0870 1322773
Binegar Mobile: 07971 177623
nr Radstock
Somerset
BA3 4UQ

Mailto:[EMAIL PROTECTED]
www.myotis.co.uk



Information contained in this e-mail is intended for the use of the
addressee(s) only, and may be confidential or privileged.

If you receive this message in error, please advise me immediately.

If you are not the intended recipient(s), any form of distribution,
copying, or use of information gained as a result of this communication
is strictly prohibited, and may be unlawful.

Attachments to this e-mail may contain software viruses that could  damage
your systems. I have taken reasonable precautions to minimise this
risk, but you are advised that any attachments should be virus checked
before opening.

 


Re: Reference list appears in middle of text

2007-11-09 Thread Mirko Briemle
Graham,

I do this to accomplish having the reference list at the end:
1. remove references and list
2. go to the very end of the lyx document
3. if you want the references appear on a separate page - instert -> Formatting 
-> Page
Break
4. Below the Page Break: insert -> List/TOC -> Bibtext/Bibliography
5. Add you reference(s) in your text again.

I hope that helps,
Mirko

 

On Fri, 09 Nov 2007 21:24:09 +
Graham Smith <[EMAIL PROTECTED]> wrote:

> I am using the article (paper) Class with several figures and 22 pages 
> long, all was fine until I added a BibTex reference list (with only one 
> reference)
> 
> Now the final paragraph and a half of text appears "after" the reference 
> list.
> 
> Is there something obvious I am doing wrong
> 
> WINXPPro Lyx 1.5.2
> 
> many thanks,
> 
> Graham


Reference list appears in middle of text

2007-11-09 Thread Graham Smith
I am using the article (paper) Class with several figures and 22 pages 
long, all was fine until I added a BibTex reference list (with only one 
reference)


Now the final paragraph and a half of text appears "after" the reference 
list.


Is there something obvious I am doing wrong

WINXPPro Lyx 1.5.2

many thanks,

Graham
--


Graham M Smith


Station Cottage Tel:01749 840631
Station RoadFax:0870 1322773
Binegar Mobile: 07971 177623
nr Radstock
Somerset
BA3 4UQ

Mailto:[EMAIL PROTECTED]
www.myotis.co.uk



Information contained in this e-mail is intended for the use of the
addressee(s) only, and may be confidential or privileged.

If you receive this message in error, please advise me immediately.

If you are not the intended recipient(s), any form of distribution,
copying, or use of information gained as a result of this communication
is strictly prohibited, and may be unlawful.

Attachments to this e-mail may contain software viruses that could  damage
your systems. I have taken reasonable precautions to minimise this
risk, but you are advised that any attachments should be virus checked
before opening.

 


Re: restricted reference list

2006-07-31 Thread Wolfgang Engelmann
Am Montag, 31. Juli 2006 08:51 schrieb Juergen Spitzmueller:
> Wolfgang Engelmann wrote:
> > I use a larger bibfile (jabref created) for inserting references in a
> > document. Is there an easy way to produce a new bibfile which contains
> > only the references of the aux-file?
>
> http://wiki.lyx.org/BibTeX/Programs#toc8
> (aux2bib)
>
Thanks,  Jürgen!

Wolfgang


Re: restricted reference list

2006-07-30 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
> I use a larger bibfile (jabref created) for inserting references in a
> document. Is there an easy way to produce a new bibfile which contains only
> the references of the aux-file?

http://wiki.lyx.org/BibTeX/Programs#toc8
(aux2bib)

Jürgen


restricted reference list

2006-07-30 Thread Wolfgang Engelmann
I use a larger bibfile (jabref created) for inserting references in a 
document. Is there an easy way to produce a new bibfile which contains only 
the references of the aux-file? 

Wolfgang


Re: reference list

2006-05-17 Thread Paul A. Rubin

Wolfgang Engelmann wrote:

I am using natbib and the references are given in the reference list as
A.B. Author
it should, however, be
Author AB

Do I need to dig into the art of using Bibtex or is there an easy solution?

Wolfgang



This is controlled by the BibTeX style file (.bst) that you're using. 
If you cannot find a style file that matches what you want, you can use 
the makebst utility to build one fairly easily.


/Paul



reference list

2006-05-16 Thread Wolfgang Engelmann
I am using natbib and the references are given in the reference list as
A.B. Author
it should, however, be
Author AB

Do I need to dig into the art of using Bibtex or is there an easy solution?

Wolfgang


Re: period after author in reference list

2005-10-27 Thread Martin A. Hansen
thanks for the explanation.

to generate a bst file from a dbj file just:

latex whatever.dbj

martin

On 27/10/05, K. Elo <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Martin A. Hansen wrote (27.10.2005 10:50):
> > excellent! that did it!
>
> Good to know ;-)
>
> > i had this feeling that tweaking of the bst file was required, since
> > there unfortunately isnt a way to fix this in the makebst dbj file -
> > at least i havnt been able to figure it out.
>
> I don't know a way to rebuild a .bst file from a .dbj file, either. But
> I could imagine there is a way...
>
> > i am impressed that you found the spot in the bst file (so fast).
>
> Well, actually, I am myself working on a .bst for the finnish political
> science association. So I have tried to "tame the beast"...
>
> But, the .bst file has some logic in it. How I figured out the solution
> for Your problem was as follows:
>
> 1) E.g. the function "article" is defined from the line #843 onwards.
> The _author-date_ (!!) block is formatted as follows:
> FUNCTION {article}
> { output.bibitem
> format.authors "author" output.check
> author format.key output
> format.date "year" output.check
> date.block
>
> The function "output.bibitem" sets the output.state variable to a value
> representing the beginning of a block. The function "date.block" sets
> this variable to a value representing the end of a block.
>
> 2) When compared with the function "output.check" (because it "closes"
> the formatting of the authors) defined as follows (lines 115-121):
> FUNCTION {output.check}
> { 't :=
> duplicate$ empty$
> { pop$ "empty " t * " in " * cite$ * warning$ }
> 'output.nonnull
> if$
> }
>
> we can see, if there are authors, the function "output.nonnull" will be
> executed.
>
> 3) This function is defined from the line 89 onwards:
> FUNCTION {output.nonnull}
> { 's :=
> output.state mid.sentence =
> { ". " * write$ }
> { output.state after.block =
> { add.period$ write$
> newline$
> "\newblock " write$
> }
> { output.state before.all =
> 'write$
> { add.period$ " " * write$ }
> if$
> }
> if$
> mid.sentence 'output.state :=
> }
> [...]
>
> Now, when excecuted the first time after the "output.bibitem", the
> output.state variable is set to the value of the constant
> "mid.sentence" (because the test "output.state mid.sentence =" results
> false). This means, because this happens when the _authors_ are
> formatted, that the autor and year (or whatever is defined to follow
> the authors' names _before_ the block ends) are separated by a
> mid-sentence punctuation (which was originally defined as ",")! When
> the function "output.nonnull" is once again executed when the date is
> formatted, the test "output.state mid.sentence =" will be true and the
> next command "{ ". " * write$ }" is executed.
>
> Hope this a bit clarified the logic of a .bst file...
>
> > thanks
>
> You're welcome - var så god!
>
> > martin
>
> Kimmo
>


Re: period after author in reference list

2005-10-27 Thread K. Elo
Hi,

Martin A. Hansen wrote (27.10.2005 10:50):
> excellent! that did it!

Good to know ;-)

> i had this feeling that tweaking of the bst file was required, since
> there unfortunately isnt a way to fix this in the makebst dbj file -
> at least i havnt been able to figure it out.

I don't know a way to rebuild a .bst file from a .dbj file, either. But 
I could imagine there is a way...

> i am impressed that you found the spot in the bst file (so fast).

Well, actually, I am myself working on a .bst for the finnish political 
science association. So I have tried to "tame the beast"...

But, the .bst file has some logic in it. How I figured out the solution 
for Your problem was as follows:

1) E.g. the function "article" is defined from the line #843 onwards. 
The _author-date_ (!!) block is formatted as follows:
FUNCTION {article}
{ output.bibitem
  format.authors "author" output.check
  author format.key output
  format.date "year" output.check
  date.block

The function "output.bibitem" sets the output.state variable to a value 
representing the beginning of a block. The function "date.block" sets 
this variable to a value representing the end of a block. 

2) When compared with the function "output.check" (because it "closes" 
the formatting of the authors) defined as follows (lines 115-121):
FUNCTION {output.check}
{ 't :=
  duplicate$ empty$
{ pop$ "empty " t * " in " * cite$ * warning$ }
'output.nonnull
  if$
}

we can see, if there are authors, the function "output.nonnull" will be 
executed.

3) This function is defined from the line 89 onwards:
FUNCTION {output.nonnull}
{ 's :=
  output.state mid.sentence =
{ ". " * write$ }
{ output.state after.block =
{ add.period$ write$
  newline$
  "\newblock " write$
}
{ output.state before.all =
'write$
{ add.period$ " " * write$ }
  if$
}
  if$
  mid.sentence 'output.state :=
}
[...]

Now, when excecuted the first time after the "output.bibitem", the 
output.state variable is set to the value of the constant 
"mid.sentence" (because the test "output.state mid.sentence =" results 
false). This means, because this happens when the _authors_ are 
formatted, that the autor and year (or whatever is defined to follow 
the authors' names _before_ the block ends) are separated by a 
mid-sentence punctuation (which was originally defined as ",")! When 
the function "output.nonnull" is once again executed when the date is 
formatted, the test "output.state mid.sentence =" will be true and the 
next command "{ ". " * write$ }" is executed.

Hope this a bit clarified the logic of a .bst file...

> thanks

You're welcome - var så god!

> martin

Kimmo


Re: period after author in reference list

2005-10-27 Thread Martin A. Hansen
excellent! that did it!

i had this feeling that tweaking of the bst file was required, since there
unfortunately isnt a way to fix this in the makebst dbj file - at least i
havnt been able to figure it out.

i am impressed that you found the spot in the bst file (so fast).


thanks


martin

On 27/10/05, K. Elo <[EMAIL PROTECTED]> wrote:
>
> Hi again,
>
> Martin A. Hansen kirjoitti viestissään (torstai, 27. lokakuuta 2005
> 10:24):
> > unfortunately, this is not it.
> >
> > The layout of the reference list entry should look like this:
> >
> > Shima JE, McLean DJ, McCarrey JR, Griswold MD. 2004. The murine
> > testicular transcriptome: characterizing gene expression in the
> > testis during the progression of spermatogenesis. Biol Reprod
> > 71:319--­330.
> >
> > and not like:
> >
> > Shima JE, McLean DJ, McCarrey JR, Griswold MD, 2004. The murine
> > testicular transcriptome: characterizing gene expression in the
> > testis during the progression of spermatogenesis. Biol Reprod
> > 71:319--­330.
> >
> >
> > Note the period after the author block.
>
> Well, then, replace the line 92 in the .bst file, currently being:
> { ", " * write$ }
> with
> { ". " * write$ }
>
> This should work. Hope it does (at least it worked when tested with a
> test file) :-)
>
> Kind regards
> Kimmo
>


Re: period after author in reference list

2005-10-27 Thread K. Elo
Hi again,

Martin A. Hansen kirjoitti viestissään (torstai, 27. lokakuuta 2005 
10:24):
> unfortunately, this is not it.
>
> The layout of the reference list entry should look like this:
>
> Shima JE, McLean DJ, McCarrey JR, Griswold MD. 2004. The murine
> testicular transcriptome: characterizing gene expression in the
> testis during the progression of spermatogenesis. Biol Reprod
> 71:319--­330.
>
> and not like:
>
> Shima JE, McLean DJ, McCarrey JR, Griswold MD, 2004. The murine
> testicular transcriptome: characterizing gene expression in the
> testis during the progression of spermatogenesis. Biol Reprod
> 71:319--­330.
>
>
> Note the period after the author block.

Well, then, replace the line 92 in the .bst file, currently being:
{ ", " * write$ }
with
{ ". " * write$ }

This should work. Hope it does (at least it worked when tested with a 
test file) :-)

Kind regards
Kimmo


Re: period after author in reference list

2005-10-27 Thread Martin A. Hansen
unfortunately, this is not it.

The layout of the reference list entry should look like this:

Shima JE, McLean DJ, McCarrey JR, Griswold MD. 2004. The murine testicular
transcriptome: characterizing gene expression in the testis during the
progression of spermatogenesis. Biol Reprod 71:319--­330.

and not like:

Shima JE, McLean DJ, McCarrey JR, Griswold MD, 2004. The murine testicular
transcriptome: characterizing gene expression in the testis during the
progression of spermatogenesis. Biol Reprod 71:319--­330.


Note the period after the author block.

the given example entry looks like this in the bibtex file:

@article{Shima2004,
author = {Shima, J. E. and McLean, D. J. and McCarrey, J. R. and
Griswold, M. D.},
title = {The murine testicular transcriptome: characterizing gene
expression in the testis during the progression of
spermatogenesis.},
journal = {Biol Reprod},
year = {2004},
volume = {71},
number = {1},
pages = {319-330},
abstract = {One of the most promising applications of microarrays is
the study of changes in gene expression associated with the
growth and development of mammalian tissues. The testis
provides an excellent model to determine the ability of
microarrays to effectively characterize the changes in gene
expression as an organ develops from birth to adulthood. To
this end, a developmental testis gene expression time
course profiling the expression patterns of approximately
36 000 transcripts on the Affymetrix MGU74v2 GeneChip
platform at 11 distinct time points was created to gain a
greater understanding of the molecular changes necessary
for and elicited by the development of the testis.
Additionally, gene expression profiles of isolated
testicular cell types were created that can aid in the
further characterization of the specific functional actions
of each cell type in the testis. Statistical analysis of
the data revealed 11 252 transcripts (9846 unique)
expressed differentially in a significant manner.
Subsequent cluster analysis produced five distinct
expressional patterns within the time course. These
patterns of expression are present at distinct
chronological periods during testis development and often
share similarities with cell-specific expression profiles.
Analysis of cell-specific expression patterns produced
unique and characteristic groups of transcripts that
provide greater insight into the activities, biological and
chronological, of testicular cell types during the
progression of spermatogenesis. Further analysis of this
time course can provide a distinct and more definitive view
into the genes implicated, known and unknown, in the
maturation, maintenance, and function of the testis and the
integrated process of spermatogenesis.},
authoraddress = {Center for Reproductive Biology, School of Molecular
Biosciences, Washington State University, Pullman,
Washington 99164, USA.},
keywords = {Animals ; *Gene Expression Profiling ; Male ; Mice ; Mice,
Inbred Strains ; Multigene Family ; Oligonucleotide Array
Sequence Analysis ; Research Support, U.S. Gov't, P.H.S. ;
Spermatogenesis/*genetics ; Testis/metabolism/*physiology ;
*Transcription, Genetic},
language = {eng},
medline-aid = {10.1095/biolreprod.103.026880 [doi] ; biolreprod.103.026880
[pii]},
medline-da = {20040622},
medline-dcom = {20050105},
medline-dep = {20040317},
medline-edat = {2004/03/19 05:00},
medline-fau = {Shima, James E ; McLean, Derek J ; McCarrey, John R ;
Griswold, Michael D},
medline-gr = {ES09136/ES/NIEHS ; HD 10808/HD/NICHD ; U54 HD42454/HD/NICHD},
medline-is = {0006-3363},
medline-jid = {0207224},
medline-mhda = {2005/01/06 09:00},
medline-own = {NLM},
medline-phst = {2004/03/17 [aheadofprint]},
medline-pl = {United States},
medline-pmid = {15028632},
medline-pst = {ppublish},
medline-pt = {Journal Article},
medline-pubm = {Print-Electronic},
medline-sb = {IM},
medline-so = {Biol Reprod 2004 Jul;71(1):319-30. Epub 2004 Mar 17.},
medline-stat = {MEDLINE},
}






On 27/10/05, K. Elo <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Martin A. Hansen wrote (27.10.2005 00:00):
> > hello
> >
> >
> > i have this irritating problem that i cannot figure out why i get a
> > comma instead of a period between the author block and the date block
> > in my reference list.
> >
> > the bst file is custom made with makebst:
> >
> > http://130.226.106.174/~paste/cgi-bin/mol_reprod_dev.bst
> > http://130.226.106.174/~paste/cgi-bin/mol_reprod_dev.dbj
> >
> > if anyone is good at this, i would dearly like some advice!
> >
>
> In the .dbj file you have selected the following (lines 233-239):
> %>>DATE FORMAT (if author-year citations)
> %< %: (def) Date with standard block punctuation (comma or period)
> % ,yrp-col%: Colon after date as 1994:
> % ,yrp-semi%: Semi-colon after date as 1994;
> % ,yrp-per%: Period after date even when blocks use commas
> % ,yrp-x%: No punct. after date
&

Re: period after author in reference list

2005-10-26 Thread K. Elo
Hi,

Martin A. Hansen wrote (27.10.2005 00:00):
> hello
>
>
> i have this irritating problem that i cannot figure out why i get a
> comma instead of a period between the author block and the date block
> in my reference list.
>
> the bst file is custom made with makebst:
>
> http://130.226.106.174/~paste/cgi-bin/mol_reprod_dev.bst
> http://130.226.106.174/~paste/cgi-bin/mol_reprod_dev.dbj
>
> if anyone is good at this, i would dearly like some advice!
>

In the .dbj file you have selected the following (lines 233-239):
%>>DATE FORMAT (if author-year citations)
%<>DATE FORMAT (if author-year citations)
%<

period after author in reference list

2005-10-26 Thread Martin A. Hansen
hello


i have this irritating problem that i cannot figure out why i get a comma
instead of a period between the author block and the date block in my
reference list.

the bst file is custom made with makebst:

http://130.226.106.174/~paste/cgi-bin/mol_reprod_dev.bst
http://130.226.106.174/~paste/cgi-bin/mol_reprod_dev.dbj

if anyone is good at this, i would dearly like some advice!


sincerely


martin


Re: how to change the bibtex reference list?

2000-08-11 Thread Tony Dancer

On 11 Aug, R. Lahaye wrote:
> 
> Hello,
> 
> I use a bibtex file, that has all the fields filled in,
> such as the journal title.
> 
> Now I don't want the titles (and some other fields) to
> go into the reference list of my current document.
> 
> Is there a way to set the style of the reference list
> in my document, without editing the bibtex file?


Something you might find helpful here is the utility called makebst. It
allows you to make a bst file, which is used to extract info from your
bib files and format the bibliography in an appropriate style (in this
case, without the titles and other fields). It is the BST file which
does the work. You should find it in your tex distribution, or via
CTAN, and full documentation is supplied.

Hope this helps.

Tony




Re: how to change the bibtex reference list?

2000-08-11 Thread Herbert Voss

"R. Lahaye" wrote:
> 
> Hello,
> 
> I use a bibtex file, that has all the fields filled in,
> such as the journal title.
> 
> Now I don't want the titles (and some other fields) to
> go into the reference list of my current document.
> 
> Is there a way to set the style of the reference list
> in my document, without editing the bibtex file?

you have to define your own bst-file for bibtex.
if you use the plain-style you have to modify the
file 
/usr/share/texmf/bibtex/bst/base/plain.bst

other style files are in /usr/share/texmf/bibtex/bst/

look in your *.bst for the following lines

FUNCTION {article}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
...

comment the line for title with a % and it will
never appear in your bib-list.

%  format.title "title" output.check

this is possible too for all the other ones, like
book, techreport ...

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/voss




how to change the bibtex reference list?

2000-08-11 Thread R. Lahaye


Hello,

I use a bibtex file, that has all the fields filled in,
such as the journal title.

Now I don't want the titles (and some other fields) to
go into the reference list of my current document.

Is there a way to set the style of the reference list
in my document, without editing the bibtex file?

Thanks,

Rob.