LyXChange "et al." to different Language

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Abdul
Posts: 7
Joined: Tue Jun 26, 2012 11:11 am

Change "et al." to different Language

Post by Abdul »

Hello,

I'm using LyX to write my thesis in Indonesian language. The problem is I can't change the word 'et al.' when citing references to 'dkk'. What should I do?

Thanks for any help.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Change "et al." to different Language

Post by kaiserkarl13 »

(1) What is "dkk"?
(2) The words "et al." aren't English either...they're Latin, and stand for "and others"; it's actually an abbreviation for several Latin phrases (et alia, et alii, and et alibi; meaning "and other people," "and other things," and "and other places"; respectively).
(3) If you're using BibTeX, there is often a command defined in the .bbl file that prints "et al."; you can edit this file and change it. If it's declared with \providecommand, simply declare your OWN command in, say your document's preamble, and it will use that definition. If it doesn't do that, you may have to tweak your .bst file by hand, which is hard. However, the words "et al." usually show up in a search, so you may only need to change one line.

But consider (in light of #2) whether you actually need to change the Latin to Indonesian.
Abdul
Posts: 7
Joined: Tue Jun 26, 2012 11:11 am

Re: Change "et al." to different Language

Post by Abdul »

Thanks. "dkk" means "dan kawan-kawan" (with friends). I'm using BibTeX from LyX. Where can I find the .bbl file? I don't see it in my working folder.
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Change "et al." to different Language

Post by kaiserkarl13 »

The .bbl is probably deleted by LyX (or it's stored in an internal location). If you run BibTeX manually, it will be in the current directory---the .bbl file is the LaTeX markup that BibTeX actually generates (i.e., the file that is inserted by the \bibliography command).

How \etal or a similar construct is defined depends on your bibliography style file. Which one are you using?
Abdul
Posts: 7
Joined: Tue Jun 26, 2012 11:11 am

Re: Change "et al." to different Language

Post by Abdul »

Thanks. I'm using agufull04. Btw, I've got the .bbl file. Below is one of the sample:
\bibitem[{\textit{Belov et~al.}(2004)\textit{Belov, Dorman, Lucci, Kryakunova,
and Ptitsya}}]{Belov2004}
Can I just replace the "et~al." with "dkk" using standard text editor and input the resulting .bbl file into Lyx or TexWorks?
Abdul
Posts: 7
Joined: Tue Jun 26, 2012 11:11 am

Re: Change "et al." to different Language

Post by Abdul »

I've just found the answer in the agufull04.bst file. I simply change the "et~al." to "dkk." in FUNCTION {bbl.etal} and save as the file to other name to be used as bibliography style in LyX.

Although I find the above solution is effective (at least now), I think there ought to be more elegant solution so I don't have to make another file.
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Change "et al." to different Language

Post by kaiserkarl13 »

What you did is the best solution available. This style file is now specific to your document, but so are your preferences on word choice. Why is it inelegant?
Abdul
Posts: 7
Joined: Tue Jun 26, 2012 11:11 am

Re: Change "et al." to different Language

Post by Abdul »

Simply because I mix mine and others in one file. I wonder if I can call them separately in LyX.
Post Reply