diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2007-01-23 22:41:12 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2007-01-23 22:41:12 +0000 |
commit | 08d43046e99307628f43faeb0aba612f914a044c (patch) | |
tree | 663ec584f2b2e566d3a7b28f123c05be09dcc891 /Master/texmf-dist/source/xelatex | |
parent | ce6f8e83ef4295eb3c9f3d8141f2cc3b65e9a73a (diff) |
euenc update from Will R
git-svn-id: svn://tug.org/texlive/trunk@3737 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r-- | Master/texmf-dist/source/xelatex/euenc/euenc.dtx | 94 | ||||
-rw-r--r-- | Master/texmf-dist/source/xelatex/euenc/euenc.ins | 2 |
2 files changed, 80 insertions, 16 deletions
diff --git a/Master/texmf-dist/source/xelatex/euenc/euenc.dtx b/Master/texmf-dist/source/xelatex/euenc/euenc.dtx index 92af56fa0f0..96396f00be6 100644 --- a/Master/texmf-dist/source/xelatex/euenc/euenc.dtx +++ b/Master/texmf-dist/source/xelatex/euenc/euenc.dtx @@ -14,7 +14,7 @@ % This work consists of the file euenc.dtx and various derived files. % %<*dtxinfo> -\ProvidesFile{euenc.dtx}[2006/08/22 v0.1 Experimental unicode font encodings] +\ProvidesFile{euenc.dtx}[2006/08/22 v0.1a Experimental unicode font encodings] %</dtxinfo> % %<*internalbatchfile> @@ -52,8 +52,10 @@ This work consists of the file \jobname.dtx and various derived files. \generate{\file{eu1enc.def}{\from{\jobname.dtx}{eu1}}} \generate{\file{test-eu1lm.ltx}{\from{\jobname.dtx}{lmtest}}} \nopreamble\nopostamble +\generate{\file{README.txt}{\from{\jobname.dtx}{readme}}} \generate{\file{convert-lmfd.sh}{\from{\jobname.dtx}{lmscript}}} \generate{\file{sed-eu1lmr.sed}{\from{\jobname.dtx}{sedlmr}}} +\generate{\file{sed-eu1lmdh.sed}{\from{\jobname.dtx}{sedlmdh}}} \generate{\file{sed-eu1lmss.sed}{\from{\jobname.dtx}{sedlmss}}} \generate{\file{sed-eu1lmssq.sed}{\from{\jobname.dtx}{sedlmssq}}} \generate{\file{sed-eu1lmtt.sed}{\from{\jobname.dtx}{sedlmtt}}} @@ -62,6 +64,7 @@ This work consists of the file \jobname.dtx and various derived files. %<batchfile>\endbatchfile %<*internalbatchfile> \endgroup +\immediate\write18{sh convert-lmfd.sh}% %</internalbatchfile> % %<*driver> @@ -163,7 +166,7 @@ This work consists of the file \jobname.dtx and various derived files. %<*eu1> % \fi % \begin{macrocode} -\ProvidesFile{eu1enc.def}[2006/08/13 v0.1 Experimental unicode font encoding] +\ProvidesFile{eu1enc.def}[2006/08/13 v0.1a Experimental unicode font encoding] \DeclareFontEncoding{EU1}{}{} \DeclareErrorFont{EU1}{lmr}{m}{n}{10} \DeclareFontSubstitution{EU1}{lmr}{m}{n} @@ -190,6 +193,7 @@ This work consists of the file \jobname.dtx and various derived files. % \fi % \begin{macrocode} sed -E -f sed-eu1lmr.sed `kpsewhich t1lmr.fd` > eu1lmr.fd +sed -E -f sed-eu1lmdh.sed `kpsewhich t1lmdh.fd` > eu1lmdh.fd sed -E -f sed-eu1lmss.sed `kpsewhich t1lmss.fd` > eu1lmss.fd sed -E -f sed-eu1lmssq.sed `kpsewhich t1lmssq.fd` > eu1lmssq.fd sed -E -f sed-eu1lmtt.sed `kpsewhich t1lmtt.fd` > eu1lmtt.fd @@ -227,6 +231,22 @@ s/(>.[ ]*)(lm[a-z0-9\-]*)/\1"[\2]"/g % \iffalse %</sedlmr> % \fi +% \paragraph{Dunhill} +% \iffalse +%<*sedlmdh> +% \fi +% \begin{macrocode} +s/ec-//g +s/lm([a-z]+)([0-9]+)/lmroman\2-\1/g +s/([0-9]+)-dunh/\1-dunhill/g +s/([0-9]+)-duno/\1-dunhilloblique/g +s/t1/eu1/g +s/T1/EU1/g +s/(>.[ ]*)(lm[a-z0-9\-]*)/\1"[\2]"/g +% \end{macrocode} +% \iffalse +%</sedlmdh> +% \fi % \paragraph{Sans} % \iffalse %<*sedlmss> @@ -236,8 +256,8 @@ s/ec-//g s/lm([a-z]+)([0-9]+)/lmsans\2-\1/g s/([0-9]+)-ssbo/\1-boldoblique/g s/([0-9]+)-ssbx/\1-bold/g -s/([0-9]+)-ssdc\}/\1-demicondensedoblique\}/g -s/([0-9]+)-ssdo\}/\1-demicondensed\}/g +s/([0-9]+)-ssdc\}/\1-demicondensed\}/g +s/([0-9]+)-ssdo\}/\1-demicondensedoblique\}/g s/([0-9]+)-ssi/\1-italic/g s/([0-9]+)-sso/\1-oblique/g s/([0-9]+)-ss/\1-regular/g @@ -245,6 +265,7 @@ s/t1/eu1/g s/T1/EU1/g s/(>.[ ]*)(lm[a-z0-9\-]*)/\1"[\2]"/g % \end{macrocode} +% \changes{v0.1}{2007/01/18}{`ssdc' and `ssdo' were switched with the upright for some reason.} % \iffalse %</sedlmss> % \fi @@ -355,6 +376,14 @@ s/(>.[ ]*)(lm[a-z0-9\-]*)/\1"[\2]"/g | \fontseries{b}\slshape| & {\fontseries{b}\slshape Latin Modern Roman Bold Oblique} \\ \end{vrb} +\section*{Dunhill} + +\fontfamily{lmdh}\selectfont +\begin{vrb} +|\fontfamily{lmdh}\selectfont| & {Latin Modern Dunhill} \\ +| \slshape| & {\slshape Latin Modern Dunhill Oblique} \\ +\end{vrb} + \section*{Sans} \fontfamily{lmss}\selectfont @@ -370,12 +399,12 @@ s/(>.[ ]*)(lm[a-z0-9\-]*)/\1"[\2]"/g \section*{Sans Quotation} \fontfamily{lmssq}\selectfont -\begin{vrb} +\begin{vrb} |\renewcommand\sfdefault{lmssq}| \\ |\sffamily | & {\selectfont Latin Modern Sans Extended} \\ -| \slshape | & {\slshape Latin Modern Sans Extended} \\ -| \bfseries | & {\bfseries Latin Modern Sans Extended} \\ -| \slshape | & {\bfseries\slshape Latin Modern Sans Extended} \\ +| \slshape | & {\slshape Latin Modern Sans Extended Oblique} \\ +| \bfseries | & {\bfseries Latin Modern Sans Bold Extended} \\ +| \slshape | & {\bfseries\slshape Latin Modern Sans Bold Extended Oblique} \\ \end{vrb} \section*{Typewriter} @@ -389,10 +418,10 @@ s/(>.[ ]*)(lm[a-z0-9\-]*)/\1"[\2]"/g | \scshape\slshape | & {\scshape\slshape Latin Modern Typewriter Oblique Small Caps} \\ | \bfseries | & {\bfseries Latin Modern Typewriter Dark} \\ | \slshape | & {\bfseries\slshape Latin Modern Typewriter Dark Oblique} \\ -| \fontseries{dk}\selectfont | & {\fontfamily{lmtt}\fontseries{dk}\selectfont Latin Modern Typewriter Dark} \\ -| \fontseries{dk}\slshape | & {\fontfamily{lmtt}\fontseries{dk}\slshape Latin Modern Typewriter Dark Oblique} \\ -| \fontseries{lt}\selectfont | & {\fontfamily{lmtt}\fontseries{lt}\selectfont Latin Modern Typewriter Light} \\ -| \fontseries{lt}\slshape | & {\fontfamily{lmtt}\fontseries{lt}\slshape Latin Modern Typewriter Light Oblique} \\ +| \fontseries{b}\selectfont | & {\fontfamily{lmtt}\fontseries{b}\selectfont Latin Modern Typewriter Dark} \\ +| \fontseries{b}\slshape | & {\fontfamily{lmtt}\fontseries{b}\slshape Latin Modern Typewriter Dark Oblique} \\ +| \fontseries{l}\selectfont | & {\fontfamily{lmtt}\fontseries{l}\selectfont Latin Modern Typewriter Light} \\ +| \fontseries{l}\slshape | & {\fontfamily{lmtt}\fontseries{l}\slshape Latin Modern Typewriter Light Oblique} \\ | \fontseries{lc}\selectfont | & {\fontfamily{lmtt}\fontseries{lc}\selectfont Latin Modern Typewriter Light Condensed} \\ | \fontseries{lc}\slshape | & {\fontfamily{lmtt}\fontseries{lc}\slshape Latin Modern Typewriter Light Condensed Oblique} \\ \end{vrb} @@ -405,10 +434,10 @@ s/(>.[ ]*)(lm[a-z0-9\-]*)/\1"[\2]"/g |\renewcommand\ttdefault{lmvtt}| \\ |\ttfamily | & {\selectfont \fixedspacing Latin Modern Typewriter Proportional} \\ | \slshape | & {\slshape \fixedspacing Latin Modern Typewriter Proportional Oblique} \\ -| \fontseries{lt}\selectfont | & {\fontseries{lt}\selectfont \fixedspacing Latin Modern Typewriter Proportional Light} \\ -| \fontseries{lt}\slshape | & \mbox{\fontseries{lt}\slshape \fixedspacing Latin Modern Typewriter Proportional Light Oblique} \\ -| \fontseries{dk}\selectfont | & {\fontseries{dk}\selectfont \fixedspacing Latin Modern Typewriter Proportional Dark} \\ -| \fontseries{dk}\slshape | & \mbox{\fontseries{dk}\slshape \fixedspacing Latin Modern Typewriter Proportional Dark Oblique} \\ +| \fontseries{l}\selectfont | & {\fontseries{l}\selectfont \fixedspacing Latin Modern Typewriter Proportional Light} \\ +| \fontseries{l}\slshape | & \mbox{\fontseries{l}\slshape \fixedspacing Latin Modern Typewriter Proportional Light Oblique} \\ +| \fontseries{b}\selectfont | & {\fontseries{b}\selectfont \fixedspacing Latin Modern Typewriter Proportional Dark} \\ +| \fontseries{b}\slshape | & \mbox{\fontseries{b}\slshape \fixedspacing Latin Modern Typewriter Proportional Dark Oblique} \\ \end{vrb} \end{document} @@ -427,6 +456,38 @@ s/(>.[ ]*)(lm[a-z0-9\-]*)/\1"[\2]"/g % \Finale % %\iffalse +% +%<*readme> +% \begin{macrocode} +_______________________ +THE EU ENCODING(S) v0.1a + +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. + +Example of use: +\documentclass{article} +\usepackage[EU1]{fontenc} +\usepackage{lmodern} +\begin{document} +... +\end{document} + +See the accompanying file <test-eu1lm.ltx> for a complete example. + +______________ +Will Robertson +2007 +% \end{macrocode} +%</readme> +% %<*dtx-style> % \begin{macrocode} \ProvidesPackage{euenc-style} @@ -536,6 +597,7 @@ s/(>.[ ]*)(lm[a-z0-9\-]*)/\1"[\2]"/g %</dtx-style> %\fi % +% \makeatother % \typeout{*************************************************************} % \typeout{*} % \typeout{* To finish the installation you have to move the following} diff --git a/Master/texmf-dist/source/xelatex/euenc/euenc.ins b/Master/texmf-dist/source/xelatex/euenc/euenc.ins index 9053b90c66f..269c69fc367 100644 --- a/Master/texmf-dist/source/xelatex/euenc/euenc.ins +++ b/Master/texmf-dist/source/xelatex/euenc/euenc.ins @@ -41,8 +41,10 @@ This work consists of the file \jobname.dtx and various derived files. \generate{\file{eu1enc.def}{\from{\jobname.dtx}{eu1}}} \generate{\file{test-eu1lm.ltx}{\from{\jobname.dtx}{lmtest}}} \nopreamble\nopostamble +\generate{\file{README.txt}{\from{\jobname.dtx}{readme}}} \generate{\file{convert-lmfd.sh}{\from{\jobname.dtx}{lmscript}}} \generate{\file{sed-eu1lmr.sed}{\from{\jobname.dtx}{sedlmr}}} +\generate{\file{sed-eu1lmdh.sed}{\from{\jobname.dtx}{sedlmdh}}} \generate{\file{sed-eu1lmss.sed}{\from{\jobname.dtx}{sedlmss}}} \generate{\file{sed-eu1lmssq.sed}{\from{\jobname.dtx}{sedlmssq}}} \generate{\file{sed-eu1lmtt.sed}{\from{\jobname.dtx}{sedlmtt}}} |