Re: Apacite and Lyx
On 07/21/2009 08:27 PM, Christian Brodbeck wrote: Thanks, that's a good start. Now Apacite also uses different brackets for comments on the reference (like "e.g.") than Lyx's natbib ( \citeA[post]{ref} vs. \cite[pre][post] ). Is there a way to redefine these as well? Yes, but that's going to be a lot more complicated, I'm afraid. To fix that you'd have to redefine \cite and friends. It's probably going to be easier to run the tex output through a script (python, sed, whatever). You could do most of the work with apalike, then switch over at the very end. rh
Re: Apacite and Lyx
Thanks, that's a good start. Now Apacite also uses different brackets for comments on the reference (like "e.g.") than Lyx's natbib ( \citeA[post]{ref} vs. \cite[pre][post] ). Is there a way to redefine these as well? The problem with apalike is that it does not quote all authors the first time an article with >2 authors is quoted. Cheers, Christian On Jul 22, 2009, at 12:33 AM, rgheck wrote: On 07/21/2009 05:02 PM, Christian Brodbeck wrote: Hello, I need citations according to APA standard for a thesis. Does anyone have experience with that? From what information I could find, apacite would do it, but I could not find any information online on how to get it to work with Lyx. Specifically, apacite seems to use different latex comands. Apacite requires \cite for notmal citation and \citeA for citation in text (parentheses only around year). However, Lyx generates either only \cite command (default bibliography) or \citet and \citep for natbib, and uses a different parenthesis structure for additional arguments. Does anybody know a way to work around this? In principe it seems like it should not be difficult to add the option to Lyx to write \citeA instead of \citep commands. I myself can only program python though (if that function would actually be acessible in python could anyone point me to where I coud find it?). If that's all it would take, you could put \let\citep=\citeA in your preamble. That makes \citep a kind of alias for \citeA. If that doesn't work, maybe you could produce some slightly more complicated redefinition of \citep that would work. That said, did you try choosing apalike as your citation style? I don't know how close that will get you Right now, producing new bibliography formats is kind of complicated. I have been meaning to work on that, but have had too much else to do. rh
Re: Apacite and Lyx
On 07/21/2009 05:02 PM, Christian Brodbeck wrote: Hello, I need citations according to APA standard for a thesis. Does anyone have experience with that? From what information I could find, apacite would do it, but I could not find any information online on how to get it to work with Lyx. Specifically, apacite seems to use different latex comands. Apacite requires \cite for notmal citation and \citeA for citation in text (parentheses only around year). However, Lyx generates either only \cite command (default bibliography) or \citet and \citep for natbib, and uses a different parenthesis structure for additional arguments. Does anybody know a way to work around this? In principe it seems like it should not be difficult to add the option to Lyx to write \citeA instead of \citep commands. I myself can only program python though (if that function would actually be acessible in python could anyone point me to where I coud find it?). If that's all it would take, you could put \let\citep=\citeA in your preamble. That makes \citep a kind of alias for \citeA. If that doesn't work, maybe you could produce some slightly more complicated redefinition of \citep that would work. That said, did you try choosing apalike as your citation style? I don't know how close that will get you Right now, producing new bibliography formats is kind of complicated. I have been meaning to work on that, but have had too much else to do. rh
Apacite and Lyx
Hello, I need citations according to APA standard for a thesis. Does anyone have experience with that? From what information I could find, apacite would do it, but I could not find any information online on how to get it to work with Lyx. Specifically, apacite seems to use different latex comands. Apacite requires \cite for notmal citation and \citeA for citation in text (parentheses only around year). However, Lyx generates either only \cite command (default bibliography) or \citet and \citep for natbib, and uses a different parenthesis structure for additional arguments. Does anybody know a way to work around this? In principe it seems like it should not be difficult to add the option to Lyx to write \citeA instead of \citep commands. I myself can only program python though (if that function would actually be acessible in python could anyone point me to where I coud find it?). Best, Christian
Re: (new) problem with apacite and Lyx 1.4.X
sun daze wrote: > Can anyone tell me how to get apacite to work well with Lyx 1.4.X? > If anyone has some examples of manuscripts, books,thesis that uses > apacite and Lyx, Can you describe the error a bit more precisely, or even better, submit a short example file showing the problem? Jürgen
(new) problem with apacite and Lyx 1.4.X
Hi, I'm new to Lyx and this list. I'd like to use Lyx for writing a Phd dissertation or articles that have to adhere to APA. I was considering apacite for this purpose, but I'm getting the notorious questionmarks rendered in my DVI output. From the archive I found that this has to do with a conflicting package, and could be solved by putting this in the preamble \usepackage{babel} \usepackage{apacite} However, this does not work. I noticed the archived mail with this solution is already a year old, so probably this solution is outdated in newer Lyx versions. Can anyone tell me how to get apacite to work well with Lyx 1.4.X? If anyone has some examples of manuscripts, books,thesis that uses apacite and Lyx, that could be very usefull as well many thanks, Simon