thank you!
In the meantime, I fixed some of my problems and I'm pretty happy with
the results.
- part of my problem apparently was a bad bib-file, which I fixed now.
- I found a good solution for deleting the short titles from my
reference list: \renewcomma...@biblabel[1]{} in the LateX preamble did
the trick. I found the suggestion here:
http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=bibtex/bibtex#nolabel
- I did manage to change the square brackets around the citations in
the text to round ones with:
\renewcomman...@cite}[2]{({#1...@tempswa , #2\fi})} in the preambleI am still looking for a way to get rid of the brackets around the year in my citations. Right now, they look like this: (Talos(2008)), and I want them to look like (Talos 2008). so, if anybody has suggestions, that would be great! apart from that though, I'm very happy with the results for now. 2009/7/1 李猛 <[email protected]>: > I chose the elsarticle-harv and changed every citation using formatting > ->citation style in document. > can you please provide a _small_ LyX example file to be able to reproduce > the problem? > > > 2009/7/1 Lea Rennert <[email protected]> >> >> thank you very much for your reply! >> what style did you choose for the bibliography itself? (when you right >> click on "BibTeX Generated Bibliography" -> Settings... to choose the >> bib-file and the citation style from the list) >> >> I ask because, unfortunately, the preamble produced two error messages >> for me (see below). but maybe it depends on what corresponding style >> you choose? (I did choose natbib in Document -> Settings -> >> Bibliography...) >> >> The error messages: >> >> Undefined control sequence. >> \bibpunct >> {(}{)}{,}{a}{,}{,} >> The control sequence at the end of the top line >> of your error message was never \def'ed. If you have >> misspelled it (e.g., `\hobx'), type `I' and the correct >> spelling (e.g., `I\hbox'). Otherwise just continue, >> and I'll forget about whatever was undefined. >> >> LaTeX Error: Missing \begin{document}. >> \bibpunct{( >> }{)}{,}{a}{,}{,} >> You're in trouble here. Try typing <return> to proceed. >> If that doesn't work, type X <return> to quit. >> >> >> >> >> 2009/6/26 李猛 <[email protected]>: >> > The solution works for me. >> > >> > See http://wiki.lyx.org/LyX/HumanitiesLyX >> > >> > Using Natbib >> > >> > To set up LyX to use natbib, go to Document→Settings→Bibliography and >> > check >> > natbib. >> > >> > Add the following line to your LaTeX preamble: >> > >> > \bibpunct{(}{)}{,}{a}{,}{,} >> > >> > This specifies in-text punctuation options for citations, i.e., Author >> > (Year), commas between citations, and so on. See the natbib >> > documentation >> > for details. >> > >> > -- >> > Albert >> > Lab of Complex System and Artificial Intelligence, >> > Institute of Automation,Chinese Academy of Sciences(CASIA) >> > Beijing, 100190,P.R.CHINA >> > >> > >> > > > > > -- > Albert > Lab of Complex System and Artificial Intelligence, > Institute of Automation,Chinese Academy of Sciences(CASIA) > Beijing, 100190,P.R.CHINA > > >
