[XeTeX] Howto "mark" languages / BiBTeX / and more :-)

Bruno Voisin bvoisin at mac.com
Wed Jan 18 12:53:20 CET 2006


Le 18 janv. 06 à 12:39, Martin Henning a écrit :

> if i import one of the babel packages, it will be used globally for  
> the document, but how do i import more than one and use them on  
> different 'marked' parts of the document?

Among several possibilities:

\documentclass[a4paper]{scrartcl}
\usepackage[english,german,russian]{babel}

\begin{document}

\selectlanguage{russian} % superfluous, last one in the above list  
used by default

blah blah

\selectlanguage{german}

blah blah \foreignlanguage{english}{some text with English  
hyphenation and style rules}

\end{document}

See /Library/teTeX/share/texmf.tetex/doc/generic/babel/user.dvi or,  
even better, <ftp://ftp.cam.ctan.org/tex-archive/macros/latex/ 
required/babel/babel.pdf> which contains useful info, excluded from  
user.dvi, on the specifics of each language setting.

And don't forget to select all the appropriate languages in the  
corresponding stage when installing and configuring the TeX i-Package  
(Expert mode possibly required).

Bruno Voisin



More information about the XeTeX mailing list