[OS X TeX] Simple Cyrillic Example

Josep Maria Font jmfont at ub.edu
Sun Feb 22 10:04:31 CET 2015


On 22/02/2015, at 6.22, Victor Ivrii <vivrii at gmail.com> wrote:

> On Sat, Feb 21, 2015 at 9:46 PM, Robert Love <rblove_lists at comcast.net> wrote:
>> I would love to see a simple example of Russian text working.   My goal is to make a simple list of Russian technical terms with the english definition beside it but getting any cyrillic to show is just not working.  My first attempt looks like this:
>>
>>
>> \documentclass{article}
>> \usepackage[T2A,T1]{fontenc}
>> \usepackage[utf8]{inputenc}
>> \usepackage[russian,english]{babel}
>>
>> \begin{document}
>> The word for word is \foreignlanguage{russian}{слово}
>> \end{document}
>>
>> When typeset with LaTeX slovo shows up as ?????.   There are no error messages.   I entered the cyrillic letters using the Mac keyboard set to Russian.  I’m using the current TeXShop and current TexLive contents.
>
>
> This example perfectly works but you need to make sure that the editor uses utf8 encoding.

In TeXShop this is ensured by putting

% !TEX encoding = UTF-8 Unicode

as the first line of the .tex document.



JMaF



Aquest correu electrònic i els annexos poden contenir informació confidencial o protegida legalment i està adreçat exclusivament a la persona o entitat destinatària. Si no sou el destinatari final o la persona encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electrònic per error, us preguem que n’informeu al remitent i que elimineu del sistema el missatge i el material annex que pugui contenir. Gràcies per la vostra col·laboració.

Este correo electrónico y sus anexos pueden contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no es el destinatario final o la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico por error, le rogamos que informe al remitente y elimine del sistema el mensaje y el material anexo que pueda contener. Gracias por su colaboración.

This email message and any documents attached to it may contain confidential or legally protected material and are intended solely for the use of the individual or organization to whom they are addressed. We remind you that if you are not the intended recipient of this email message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any of its contents. If you have received this email message by mistake, we kindly ask you to inform the sender of this and to eliminate both the message and any attachments it carries from your account. Thank you for your collaboration.


More information about the macostex-archives mailing list