Re: Problems with BibTex and LyX
Janus Sandsgaard wrote: > I agree. But if if I do like that "technical report" will be written in my > bibliography. That's what 'type' field is for. See this: @techreport{bewley:FRW-2002-1383, author = {Truman Bewley}, title = {Fairness, Reciprocity, and Wage Rigidity}, institution = {Cowles Foundation for Research in Economics at Yale University}, year = {2002}, type = {Discussion Paper}, number = {1383}, url = {http://ssrn.com/abstract=348140} } Works like a charm for me (except that this whole reciprocity group of people leads to nowhere for me, but that is not problem of LyX :-). Matej -- Matej Cepl, http://www.ceplovi.cz/matej/blog/ GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 A nuclear war can ruin your whole day.
Re: Problems with BibTex and LyX
Janus Sandsgaard wrote: > 1) When trying to compile the Lyx-doc (show as PDF); I get an error > message if the title or author fields contain Danish characters such as æ, > ø and å. How can I work around this issue? IIRC you have to put them in braces in these fields (like {å}), because bibtex processes the fields for key extraction etc. Georg
Re: Problems with BibTex and LyX
On Wednesday 22 June 2005 06:25, Matej Cepl wrote: > Check that in your LyX document Layout/Document/Language/Encoding you have > lain1. It was set on "auto", but changing to "latin1" did not fix my problem. > Alternatively you can type (in your .bib file) \ae{} instead of ?, > \o{} instead of ? and \r{a} instead of ?. Thanks. That worked - with "auto" as well as "latin1". > This seems to me that you are using somehow incorrectly information in > BibTeX database. Can you send please an example of whole BibTeX record? Here is an example of a record where I solved the problem by putting {The Danish Board of Technology} in brackets (thank you, Sam Lewis) - both as author and publisher using the @book: @BOOK{DBT2005-GMP-rapporten, title = {Nye GM-planter - ny debat. Borgerjury afholdt af Teknologiraadet}, publisher = {{The Danish Board of Technology}}, year = {2005}, author = {{The Danish Board of Technology}}, institution = {{The Danish Board of Technology}}, owner = {Janus Sandsgaard}, } > For > example, IMHO the author of the report shouldn't be an institution, but > some person. Institution is then just in the field institution of > @techreport. I agree. But if if I do like that "technical report" will be written in my bibliography. Janus -- Roskilde University, Denmark. Department of Technology and Social Science. International Development Studies. ESST - Society, Science and Technology in Europe.
Re: Problems with BibTex and LyX - Danish chracters
Ekkehart Schlicht wrote: When trying to compile the Lyx-doc (show as PDF); I get an error message if the title or author fields contain Danish characters such as æ, ø and å. How can I work around this issue? With Windows, you may use Bibedit. That has an option (Edit -> Option) "Translate extended ASCII" that does the necessary conversions automatically. Ekkehart Not sure if this will work for all but: I added a touch of LaTeX code directly into the .bib file entry. i.e. Freds{\o}e in the bib file entry will produce Fredsøe in the output. Rob S -- R D Saunders Hydraulic Research Group Department of Civil and Environmental Engineering University of Southampton UK
Problems with BibTex and LyX - Danish chracters
When trying to compile the Lyx-doc (show as PDF); I get an error message if the title or author fields contain Danish characters such as æ, ø and å. How can I work around this issue? With Windows, you may use Bibedit. That has an option (Edit -> Option) "Translate extended ASCII" that does the necessary conversions automatically. Ekkehart
Problems with BibTex and LyX - Danish chracters
When trying to compile the Lyx-doc (show as PDF); I get an error message if the title or author fields contain Danish characters such as æ, ø and å. How can I work around this issue? With Windows, you may use Bibedit. That has an option (Edit -> Option) "Translate extended ASCII" that does the necessary conversions automatically. Ekkehart
Re: Problems with BibTex and LyX
Janus Sandsgaard wrote: > 1) When trying to compile the Lyx-doc (show as PDF); I get an error > message if the title or author fields contain Danish characters such as ?, > ? and ?. How can I work around this issue? Check that in your LyX document Layout/Document/Language/Encoding you have lain1. Alternatively you can type (in your .bib file) \ae{} instead of ?, \o{} instead of ? and \r{a} instead of ?. Does it help? Check out the attached files > 2) Am an not happy with the way my bibliography looks if I use literature > published by an organisations. Example: I refer to a report by "The Danish > Board of Technology" and in my reference section it becomes "of > technology, T. D. B.". This is fine if I refer to a person, but not if I > refer to an organisation, a ministry etc. This seems to me that you are using somehow incorrectly information in BibTeX database. Can you send please an example of whole BibTeX record? For example, IMHO the author of the report shouldn't be an institution, but some person. Institution is then just in the field institution of @techreport. Does it help? Matej -- Matej Cepl, http://www.ceplovi.cz/matej/blog/ GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 Of all tyrannies, a tyranny exercised for the good of its victims may be the most oppressive. It may be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end, for they do so with the approval of their consciences. -- C. S. Lewis test.dvi Description: TeX dvi file test.lyx Description: application/lyx
Problems with BibTex and LyX
Hi, the easiest way may be to find a journal in your field with a reference style you like and download the style file from the instructions for authors. American Economic Review has the style file aer.bst, for instance, or the Journal of Institutional and Theoretical Economics has the style file jite.bst. The authordate style files (to be found on the net) are also useful. Ekkehart
Re: Problems with BibTex and LyX
On Tue, 21 Jun 2005 18:14:57 +0200 Janus Sandsgaard wrote: > > Still a little puzzled with the difference between apalike.bst and > apalike.bst (for Natbib). ;-) There has been postings mealier with a > guy who experienced near-deadline problems as the numbers of > references grew to a certain number. Maybe because he used a style > not compatible with natbib. I use natbib with autor-year style right > now (and it is working), but I am am afraid that I am also using an > apalike.bst which was not written for NatBib. Good question! I'm not sure here either, but I think NatBib covers Harvard style of reference, which is common for social science. So far as I understand this means you only need to use a BST that was written for the \usepackage {harvard} . I personally would like to see a greater range of Harvard style BSTs, as the existing ones are often only for a few Journals that involve mathematics or statistics. Of course, is this understandable from the sociotechnical history of the coming together of artifacts like LaTex, Tex, or LyX, but it makes it less accessible for people who don't work in these fields or don't have the skills to revamp a BST from scratch. Any comprehensive list of BSTs somewhere? Cheers, Sam
Re: Problems with BibTex and LyX
On Tuesday 21 June 2005 17:33, Sam Lewis wrote: > Try to enter {the name of the author} in brackets, as in the following > example. This should ensure that the output in your reference section > and throughout the text will be in the desired format. Thanks! That did the trick. :-) > produces the effect you have described. Depending on your bibtex data > management application this might not need to done in code, but could > possibly be achieved in via an interface, or even automatically by the > application itself. I simply entered the {brackets} in the interface of JabRef. > LyX is perfectly fine for social scientists and in conjunction with a > reasonable bibtext application pre-deadline problems might > be even further reducible :-) :-) Still a little puzzled with the difference between apalike.bst and apalike.bst (for Natbib). ;-) There has been postings mealier with a guy who experienced near-deadline problems as the numbers of references grew to a certain number. Maybe because he used a style not compatible with natbib. I use natbib with autor-year style right now (and it is working), but I am am afraid that I am also using an apalike.bst which was not written for NatBib. Janus -- Roskilde University, Denmark. Department of Technology and Social Science. International Development Studies. ESST - Society, Science and Technology in Europe.
Re: Problems with BibTex and LyX
Hi, On Tue, 21 Jun 2005 16:13:00 +0200 Janus Sandsgaard wrote: > 2) Am an not happy with the way my bibliography looks if I use > literature > published by an organisations. Example: I refer to a report by "The > Danish > Board of Technology" and in my reference section it becomes "of > technology, > T. D. B.". This is fine if I refer to a person, but not if I refer to > an > organisation, a ministry etc. Try to enter {the name of the author} in brackets, as in the following example. This should ensure that the output in your reference section and throughout the text will be in the desired format. @Article{BMJ56, Author = {{British Medical Journal}}, Whereas this @Article{BMJ56, Author = {British Medical Journal}, produces the effect you have described. Depending on your bibtex data management application this might not need to done in code, but could possibly be achieved in via an interface, or even automatically by the application itself. > Remember: I am from social science (I am not a hacker or a LaTeX > pro), so I > prefer clear cut, main stream solutions (in contrast to strange hacks > I do > not understand and will cause me problems in the middle of the night > just > before deadline) :-) > > I am using LyX 1.3.4 and JabRef to do my bib file. LyX is perfectly fine for social scientists and in conjunction with a reasonable bibtext application pre-deadline problems might be even further reducible :-) Cheers, Sam
Problems with BibTex and LyX
Hi there I am writing my master thesis using Lyx. So far I am happy about it, except from a few BibTex-related problems that are quite critical: 1) When trying to compile the Lyx-doc (show as PDF); I get an error message if the title or author fields contain Danish characters such as æ, ø and å. How can I work around this issue? 2) Am an not happy with the way my bibliography looks if I use literature published by an organisations. Example: I refer to a report by "The Danish Board of Technology" and in my reference section it becomes "of technology, T. D. B.". This is fine if I refer to a person, but not if I refer to an organisation, a ministry etc. Thanks! Remember: I am from social science (I am not a hacker or a LaTeX pro), so I prefer clear cut, main stream solutions (in contrast to strange hacks I do not understand and will cause me problems in the middle of the night just before deadline) :-) I am using LyX 1.3.4 and JabRef to do my bib file. Janus -- Roskilde University, Denmark. Department of Technology and Social Science. International Development Studies. ESST - Society, Science and Technology in Europe.