[texworks] problem with typesetting in Ukrainian

Herbert Schulz herbs at wideopenwest.com
Sun Feb 13 22:24:15 CET 2011


On Feb 13, 2011, at 2:58 PM, Peter Basarab-Horwath wrote:

> Hello,
> 
> I have tried to typeset the following test article in TeXworks:
> 
> \documentclass[12pt, ukrainian]{article}
> \usepackage[X2]{fontenc}
> \usepackage[cp1251]{inputenc}
> \usepackage[ukrainian]{babel}
> \begin{document}
> Мале є прикрасним.
> 
> \end{document}
> but I obtain the following error message:
> ("C:\Documents and Settings\Peter\My Documents\Ukrainian Latex File.aux")
> ! Missing $ inserted.
> <inserted text> 
>                $
> l.6 Мале
>             є прикрасним.
> ? 
> 
> 
> Can anyone please advise me on what is going wrong and how to remedy this problem?
> My computer uses Windows XP and the cyrillic keyboard I use is a Samsung Pleomax with Ukrainian characters.
> Peter Basarab-Horwath

Howdy,

Copied your document, changed the [cp1251] to [utf8] and saved it as UTF-8 (the default with TeXworks) and it compiled with pdflatex just fine. (Well LaTeX had to build a Cyrillic font from mf on the fly.)

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the texworks mailing list