I have written latex document in English. Now I want to rewrite the same document in Slovak.
What I found is this:
instead:
\usepackage[utf8]{inputenc}
just use this:
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[slovak,english]{babel}
\newcommand\sktxt[1]{\foreignlanguage{slovak}{#1}}
Text written in Slovak would start: \sktxt{<Slovak text>}.
It simply doesn't work with this simple makeover. The pdf output doesn't build.
I'm using Windows/MiKTeX 2.9/TeXnicCenter and I usually build the Latex file (output as pdf) via shift-Ctrl-F5 or just simply in top panel - build.
ucsandutf8x-option ininputenc. And side question: Is this intentionally, that English is the main language and not Slovak? – Speravir Jan 29 '13 at 18:20<Slovak text>that fails? – egreg Jan 29 '13 at 18:28\documentclass{...}and ending with\end{document}. – Martin Schröder Feb 02 '13 at 21:50