summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/euenc/README
blob: d0233a21295609b49377f7ddc5cef8a05d94ffb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
________________________
THE EU ENCODING(S) v0.1d

Warning: don't install this package with Latin Modern fonts prior to
version 1.106, which was released in Feb 2008.

This package is the first release of the first step towards offering a
LaTeX font encoding based on unicode. XeTeX is the only engine currently
utilising it to the best of my knowledge. No macro support is offered (the
encoding is just a placeholder for now) but an EU1 Latin Modern encoding is
offered in order to access the OpenType versions of those fonts.

N.B. This will only work when xdvipdfmx is used as the output driver for
XeTeX; xdv2pdf (Mac OS X only) does not support OpenType fonts that aren't
installed in the system itself. As of XeTeX v0.997, xdv2pdf is no longer
the default driver in Mac OS X.

Usually you'll just want to use fontspec:
\documentclass{article}
\usepackage{fontspec}
\begin{document}
...
\end{document}

Example of use without fontspec:
\documentclass{article}
\usepackage[EU1]{fontenc}
\usepackage{lmodern}
\begin{document}
...
\end{document}

See the accompanying file <test-eu1lm.ltx> for a complete example.

____________
INSTALLATION

CTAN contains the necessary files to install for this package:
  - eu1enc.def
  - lm/eu1lm*.fd (* is a wild card: six files in all)
These should be placed in $TEXMF/tex/xelatex/euenc .

To generate these files from the euenc.dtx file, first run `latex eu1enc.ins`.
This will extract the eu1enc.def file and a slew of shell scripts that
create the lm/eu1lm*.fd files. These .fd files are generated by executing
`sh convert-lmfd.sh`.

______________
Will Robertson
2007