LyX ⇒ How to change the bibliography language?
-
- Posts: 94
- Joined: Wed Sep 07, 2011 3:14 pm
How to change the bibliography language?
Thanks,
EE
PS- I can't actually search for posts relating to this topic because "bibliography" and "bibtex" get automatically ignored by the forum search. How can I force their inclusion to avoid potential dupes?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: How to change the bibliography language?
the forum search feature ignores too common words, such as "and", "this", "that", your tested keywords occured too often. So I reindexed the forum with relaxed conditions. Now "bibtex" and "bibliography" work as keywords.
Stefan
-
- Posts: 94
- Joined: Wed Sep 07, 2011 3:14 pm
How to change the bibliography language?
Now, is "try biblatex" still a valid solution to this problem? If so, using biblatex gives me the following errors when I try to render a document:
Code: Select all
\newlength{\bibhang}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
...
\bibliographystyle{plain}
Use the package option 'style' instead.
I'm ignoring this command.
am I missing something?
Thanks,
EE
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
How to change the bibliography language?
\bibliographystyle
is not used with biblatex. The error message tells that. Use a style option in this way:Code: Select all
\usepackage[style=numeric]{biblatex}
-
- Posts: 94
- Joined: Wed Sep 07, 2011 3:14 pm
How to change the bibliography language?
Code: Select all
! LaTeX Error: Command \bibhang already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.398 \newlength{\bibhang}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
...
! LaTeX Error: Command \citename already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.7933 ...d*{\citename}{\blx@citexpunct{citename}}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
This is my current preamble.
Code: Select all
\setkomafont{sectioning}{\rmfamily \bfseries}
\KOMAoptions{headings=small}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\usepackage{bidi}
\usepackage[style=numeric]{biblatex}
\usepackage[doublespacing]{setspace}
\deffootnote[0.75em]{0.5em}{1.25em}{\textsuperscript{\thefootnotemark}}
\setmainfont[Ligatures={Historic,Rare,Discretionary,TeX},Contextuals=Swash]{Linux Libertine}
\newfontfamily{\latinfont}[Script=Latin,Ligatures={Historic,Rare,Discretionary,TeX},Contextuals=Swash,Alternate=0,Style=Historic]{Linux Libertine}
\newfontfamily{\hebrewfont}[Script=Hebrew]{SBLHebrew}
\newfontfamily{\arabicfont}[Script=Arabic]{Lateef}
\errorcontextlines=10
Cheers,
EE
-
- Posts: 94
- Joined: Wed Sep 07, 2011 3:14 pm
Re: How to change the bibliography language?
Cheers,
EE
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
How to change the bibliography language?

Stefan
-
- Posts: 94
- Joined: Wed Sep 07, 2011 3:14 pm
Re: How to change the bibliography language?
Cheers,
EE
- Attachments
-
- exposee-testfile.lyx
- test file
- (5.84 KiB) Downloaded 712 times
-
- Posts: 94
- Joined: Wed Sep 07, 2011 3:14 pm
Re: How to change the bibliography language?
Thanks,
EE
-
- Posts: 94
- Joined: Wed Sep 07, 2011 3:14 pm
How to change the bibliography language?
This is a very handy package to use, with some very powerful features (and thus an attractive module to add); the fact that the process for using it is nontrivial would suggest that the instructions for doing so should be made more explicit.
Anyway, I've solved this particular problem, and now I have a 200+-page guide to read to make my citations all fancy.
Cheers,
EE