[texhax] unicode

William F. Adams wadams at atlis.com
Tue Aug 2 18:58:08 CEST 2005


On Aug 2, 2005, at 10:25 AM, Alexander Grahn wrote:

> in order to extend my package I need to write name strings into PDF or
> intermediate DVI (depending on whether pdfLaTeX or latex is being used)
> for name <-> object mappings within PDF name trees. The problem is that
> some of these name strings must have Unicode encoding to work properly.
>
> Does there exist a TeX/pdfTeX primitive or a suitable package to 
> translate
> arbitrary strings [A-Za-z0-9_]+ from ASCII to Unicode?

Have you checked out the ucs package and the utf8 option for inputenc?

 From a message recently posted to the Mac OS X TeX list by Johan 
Almqvist:

\documentclass{article}
\usepackage{ucs}
\usepackage[utf8] {inputenc}
% WFA deleted one line
\usepackage[greek,french]{babel} %% note that the last langauge listed 
is the document default


Alternately, you might need to make use of Omega or xetex.

William

-- 
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



More information about the texhax mailing list