Re: Snow Leopard, Auto-save, Etc: Binary for Testing

2009-11-05 Thread Christian Brodbeck

I've been running it for a few hours and it works fine here, thanks!

It continually uses a few per mills CPU even when hidden, but not more  
than 1.6.4.1 .



Cheers!
Christian


Solution: APA citation style in Lyx with Biblatex

2009-10-25 Thread Christian Brodbeck

Hello,

Ages ago I asked this list about how to do APA references for my  
thesis, and since with rgheck's help I ended up with a method that  
seems to be working properly I figured it might be useful for someone  
else:


install Biblatex: 
http://amychr.wordpress.com/2007/08/07/how-to-install-biblatex/
install biblatex-apa: 
http://tug.ctan.org/tex-archive/help/Catalogue/entries/biblatex-apa.html
look in the documentation for instructions, section 2 of  
http://dante.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/biblatex-apa/biblatex-apa.pdf
step 1 of http://wiki.lyx.org/BibTeX/Biblatex
texhash
reconfigure Lyx

In the document you want to use APA for:
steps 4 & 5 of http://wiki.lyx.org/BibTeX/Biblatex
add the following to your preamble:

\usepackage[style=apa]{biblatex}
\bibliography{/path/to/your/bibliography}   %without the .bib ending;
%   multiple \bibliograpy entries are possible for several bib files
% the following command transform the natbib citation commands into  
apa/biblatex

% citation commands:
\def\citet{\textcite}   
\def\citep{\parencite}
\def\citealp{\nptextcite}


now you can use the normal Lyx natbib interface to add citations.

Re: Apacite and Lyx

2009-07-21 Thread Christian Brodbeck
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





Apacite and Lyx

2009-07-21 Thread Christian Brodbeck

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