I am writing a document in Greek.
My bibliography, however consists mainly of English entries (along with a few Greek, French and German ones).
If I just add the .bib file all entries are in Greek. If I change language before adding the .bib file entries are in English, so is the chapter title, which is not prefered in my case.
I tried using
\selectlanguage{english}
on the very first line of my .bib file but it didn't work.
I also tried
\LANGUAGE=english
as a field in the bibliography entry, but it didn't work either... Any ideas?
Here follows my .tex files (I am using subfiles) and the .bib file.
main.tex
\documentclass[11pt,a4paper]{book}
\usepackage[english,greek]{babel}
\usepackage[iso-8859-7]{inputenc}
\usepackage{kerkis}
\usepackage{subfiles}
\usepackage[Glenn]{fncychap}
\usepackage{fancyhdr}
%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
\usepackage{tocloft}
\makeatletter
\newcommand*{\tocwithouttitle}{\@starttoc{toc}}
\makeatother
%--------------------------------------------------------------------------------
\makeatletter
\newcommand*{\lofwithouttitle}{\@starttoc{lof}}
\makeatother
%--------------------------------------------------------------------------------
\makeatletter
\newcommand*{\lotwithouttitle}{\@starttoc{lot}}
\makeatother
%--------------------------------------------------------------------------------
%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
\parskip 3mm
\footskip = 15mm
\begin{document}
%~~~~~~~~~~~~~~~~~~~~~~~Front-Page~~~~~~~~~~~~~~~~~~~~~~~~~~
\begin{titlepage}
Frontpage
\end{titlepage}
\pagenumbering{roman}
\textcolor{Darkblue}{\chapter*{\contentsname}}
\markboth{\MakeUppercase{\contentsname}}{\MakeUppercase{\contentsname}}
\textcolor{Darkblue}{\tocwithouttitle}
\addcontentsline{toc}{chapter}{Περιεχόμενα}
\newpage
\textcolor{Darkblue}{\chapter*{Κατάλογος Σχημάτων}}
\markboth{\MakeUppercase{Κατάλογος Σχημάτων}}{\MakeUppercase{Κατάλογος Σχημάτων}}
\textcolor{Darkblue}{\lofwithouttitle}
\addcontentsline{toc}{chapter}{Κατάλογος Σχημάτων}
\newpage
\textcolor{Darkblue}{\chapter*{Κατάλογος Πινάκων}}
\markboth{\MakeUppercase{Κατάλογος Πινάκων}}{\MakeUppercase{Κατάλογος Πινάκων}}
\textcolor{Darkblue}{\lotwithouttitle}
\addcontentsline{toc}{chapter}{Κατάλογος Πινάκων}
\newpage
\pagenumbering{arabic}
\subfile{introductionGR.tex}
\clearpage
\addcontentsline{toc}{chapter}{Βιβλιογραφία}
%\selectlanguage{english}
\textcolor{Darkblue}{\bibliography{test}}
\bibliographystyle{plain}
\end{document}
This is my subfile (named introductionGR.tex) with citations...
\documentclass[main.tex]{subfiles}
\begin{document}
\textcolor{Darkblue}{\chapter{Εισαγωγή}}
Ο κόσμος στον οποίο ζούμε είναι αποτέλεσμα βίαιων διεργασιών που έλαβαν χώρα πριν από περίπου $14$ δισεκατομύρια χρόνια\cite{UniverseAge}. Η φυσική υψηλών ενεργειών ή σωματιδιακή φυσικής βρίσκεται\cite{bar2} στο προσκήνιο
\end{document}
Last but not least my .bib file (named test.bib)
\selectlanguage{english}
@article{UniverseAge,
author = "N. Jarosik et al",
title = "Seven-year Wilkinson Microwave Anisotropy Probe (WMAP) Observations: Sky Maps, Systematic Errors, and Basic Results",
journal = "The Astrophysical Journal Supplement Series",
volume = "192",
number = "14",
pages = "15",
year = "2011",
month = "February",
}
@BOOK{bar2,
AUTHOR = "Astar, R. M.",
TITLE = "Foo Bar Baz",
PUBLISHER = {MIT Press},
ADDRESS = {Cambridge, MA},
YEAR = 1989}
I have also tried package babellib but it's not working either...
The code I used:
\usepackage{babelbib}
\selectbiblanguage{english}
Note: I don't want to use XeLaTeX. Isn't it possible?
Error #1:
LaTeX Error:Command \c@lofdepth already defined.
Or name \end...illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
The line that has a problem is
\newcounter{lofdeth}
which is in a subfigure file!(?)
Error #2:
LaTeX Error:Command \c@lofdepth already defined.
Or name \end...illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
The line that has a problem is
\newcounter{lotdeth}
which is in a subfigure file!(?)
Error #3:
LaTeX Error:Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
The line that has a problem is
\contentsline {chapter}{Perieq'omena}{\textlatin {iii}}{chapter*.1}
which is in main.toc
Note: Perieq'omena is the Greeklish word for Contents. The correct word would be Περιεχόμενα.
Error #4:
LaTeX Error:Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
The line that has a problem is
\addvspace {10\p@ }
which is in main.lof
Error #5:
LaTeX Error:Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
The line that has a problem is
\addvspace {10\p@ }
which is in main.lot
I think that Error #3 might have a connection to my issue. I am using kerkis font. But the problems remains even if I use the default babel one.
Warnings for MWE
Warning #1:
LaTeX Font Warnig:Some font shapes were not available,defaults substituded.
Warning #2:
LaTeX Font Warnig: Font shape 'OT1/MAK/m/n' undefined
using 'OT1/cmr/m/n' instead on input line 1
Warning #3:
LaTeX Warnig: Overwriting file './test.bib'
\renewcommand\bibname{Βιβλιογραφία}where "Βιβλιογραφία" is the name I want, along with\selectlanguage{english}before adding the.bibfile but it didn't work... – Thanos Sep 02 '12 at 08:59