[texhax] Please don't feed the birds

Oleg Katsitadze olegkat at gmail.com
Fri Mar 28 04:39:10 CET 2008

On Thu, Mar 27, 2008 at 09:10:32AM -0400, Victor Ivrii wrote:
> \documentclass[12pt]{article}
> \usepackage{cmap}
> \usepackage[T2A]{fontenc} %tells to use Russian fonts
> \usepackage[utf8]{inputenc}

If the purpose of the exercise is the result, not the process, it
might be the easiest and the most robust to use plain TeX and type
non-Latin characters as ^^xx, where xx is the hexadecimal position of
the glyph in the font.  Something like this:

\font\birds=t2a-anttr \birds

% Russian
% Пожалуйста, не кормите птиц!

% Ukrainian
% Будь ласка, не годуйте птахів!


Actually, this method has its own advantages -- it shows how to type
in various languages without having to switch keyboard layouts!

> \begin{document}
> Те, кто кормят птичек будут скормлены стервятникам!
> \end{document}
> which is the stern warning which (may be)  will prevent Russian
> speakers from feeding the birds :-)

I'm afraid this will be more of an encouragement than a determent :).


More information about the texhax mailing list