BibTeX, biblatex and biberProblem with APA style in Bibtex4word

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
dreadypelicang
Posts: 10
Joined: Fri Nov 30, 2012 9:24 pm

Problem with APA style in Bibtex4word

Post by dreadypelicang »

Hi there,

I am using

Word + Bibtex4word as editor, and Jabref as reference manager.
I installed natbib, apacite, mslapa.

I have a problem with using apacite/mslapa. I have to use one of those styles because they are the only ones doing something close to APA6 which i have to use. But they don't seem to be working properly.

I am getting
[[Sander Scherer (Sander Scherer)2009]

instead of
(Sander & Scherer, 2009)
in the text and
[[Sander Scherer (Sander Scherer)2009] Blablabla reference 2012 blablabla
instead of
Blablabla reference 2012 blablabla
in the references section.

So it does not look right at all. I tried adding flags by typing for example "mslapa /[" hoping to get it right eventually but then I started getting a "Bad magic character" error. I have been looking for other .bst files that do the APA style but could not find other ones on the Miktek package manager. I don't have administrator rights so I could not install other .bst to give it another try with another .bst except through Miktek.

I have a deadline and am starting to grow desperate and seriously regret giving a try at Bibtex. :(

Thank you for any help at al...

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

dreadypelicang
Posts: 10
Joined: Fri Nov 30, 2012 9:24 pm

Problem with APA style in Bibtex4word

Post by dreadypelicang »

Sorry I got my first mistake which was the space between the name of the style and the flags. So now citations are correct in the text but they are still weird in the reference list.

I am now getting
James et al., 1982James, T., Woodson, R., Greenberg, R., Cohen, D., et al. (1982). Bibtex is getting on my nerves. Science, 218(4568):179–181
instead of
James, T., Woodson, R., Greenberg, R., Cohen, D., et al. (1982). Bibtex is getting on my nerves. Science, 218(4568):179–181
in the references list.

Better than before, but still not quite there yet. What am I missing now ?
dreadypelicang
Posts: 10
Joined: Fri Nov 30, 2012 9:24 pm

Re: Problem with APA style in Bibtex4word

Post by dreadypelicang »

My G.. am I stupid. It was the "all" box in the "hidden text" options in Word. Hurray !

So now I have only one question left :
To get it to work I had to use apalike instead of mslapa (citation in the text did not look right with mslapa). apalike does not seem to understand the "&" flags (eg 0& to get it to write "&" instead of "and" in the authors section).

Can I do something (like modify the style) to easily change this small detail ? I have to write stuff both in English and French so I need this little option.

Thank you and sorry for my ranting about Bibtex :-)
dreadypelicang
Posts: 10
Joined: Fri Nov 30, 2012 9:24 pm

Re: Problem with APA style in Bibtex4word

Post by dreadypelicang »

Hi

I found a solution for my remaining problem : the style called apalike-fr (http://www.lsv.ens-cachan.fr/~markey/Bi ... ike-fr.bst)

At first I had some troubles installing it because it is not listed under the Miktek Package installer. If this can help anyone, I had to 1) place apalike-fr.bst in the folder C:User/AppData/Roaming/Miktek/bst 2) Run "texhash" then "kpsewhich apalike-fr.bst" the command window 3) At this point the path to apalike-fr.bst was written in the command window. First I tried doing the same with a path situated in "my documents" folder and it did not work for some reason.


Now when I ask Bibtex4word to use apalike-fr it works like a charm. All I have to do is switch back to apalike when writing in English.

(painful) VICTORY :twisted: thank you Latex.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Problem with APA style in Bibtex4word

Post by Stefan Kottwitz »

Thank you for explaining how you solved it! So the solution may help further readers when they use forum search (or google) for a similar problem.

I would just place additions like this in my texmf home directory. You can get it also via kpsewhich, such as

Code: Select all

kpsewhich -var-value=TEXMFHOME
and use a local texmf structure for subfolders. I.e. with TeX Live, the user home directory may be C:/Users/username/texmf, so I would place the file as

Code: Select all

C:/Users/username/texmf/bibtex/bst/apalike-fr.bst
Stefan
LaTeX.org admin
joeran
Posts: 1
Joined: Fri Jan 18, 2013 10:48 am

Re: Problem with APA style in Bibtex4word

Post by joeran »

in case you run into more problems with bibtex4word you might also want to try our add-on for word docear4word
http://www.docear.org/software/add-ons/ ... /overview/

it's much easier to use than bibtex4word and uses the citation style language which enables the easy installation (and creation) of citation styles.

best,
joeran
dreadypelicang
Posts: 10
Joined: Fri Nov 30, 2012 9:24 pm

Problem with APA style in Bibtex4word

Post by dreadypelicang »

joeran wrote:in case you run into more problems with bibtex4word you might also want to try our add-on for word docear4word
http://www.docear.org/software/add-ons/ ... /overview/

it's much easier to use than bibtex4word and uses the citation style language which enables the easy installation (and creation) of citation styles.

best,
joeran
thanks I'll think about it if i run into more problems though now that i have this workflow into place i won't touch anything unless it is needed ;)
Post Reply