How to use Type 1 fonts in a multilingual LaTeX document

Recently I had to deal with a font encoding issue in our MobileHCI’14 paper about phrase sampling methods. The thing is that we wrote some example sentences in 10 different languages, and LaTeX seemed not to like the Russian ones to begin with.

The first approach was to put this in the preamble:

\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian,english]{babel}

This generated a “valid” PDF via pdflatex, although it was using Type 3 fonts. So I received a kind email from Sheridan Printing (Lisa M. Tolles, we miss you!) saying that Type 3 fonts are not allowed in material appearing in the ACM DL. The paper must use exclusively Type 1 fonts.

Therefore I had to google for a while until finding the following solution. BTW, this was tested on Ubuntu 14.04 with Tex Live 2013.

First, install the UCS package:

sudo apt-get install texlive-latex-extra

Then put this in the preamble:

\usepackage[T2A,T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage[russian,english]{babel}
\usepackage{pslatex}

And enclose with \textcyrillic{} the corresponding text.

Finally, you can proceed this way:

latex file.tex
dvips -P pdf -o file.ps file.dvi
ps2pdf file.ps

That’s all, folks!

Advertisements