[texworks] problem with typesetting in Ukrainian

Paul A Norman paul.a.norman at gmail.com
Mon Feb 14 00:23:36 CET 2011


Hi Peter,

For long-term stability of document perhaps try:

% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode

\documentclass[12pt, ukrainian]{article}

\usepackage[X2]{fontenc}

\usepackage[utf8]{inputenc}

\usepackage[ukrainian]{babel}

\begin{document}

Мале є прикрасним.

\end{document}

Paul

On 14 February 2011 10:51, Peter Basarab-Horwath <peter_bh at yahoo.co.uk>wrote:

> Hello Herbert,
>
> It works for me as well. Many thanks.
>
> Best wishes
>
> Peter
>
> --- On *Sun, 13/2/11, Herbert Schulz <herbs at wideopenwest.com>* wrote:
>
>
> From: Herbert Schulz <herbs at wideopenwest.com>
> Subject: Re: [texworks] problem with typesetting in Ukrainian
> To: "Discuss the TeXworks front end." <texworks at tug.org>
> Date: Sunday, 13 February, 2011, 22:24
>
>
>
> 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)
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20110214/e0df4171/attachment.html>


More information about the texworks mailing list