diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:53:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:53:12 +0000 |
commit | 054e00d3535c6d3f9a3b1384dd02fa29f1d33d37 (patch) | |
tree | 5a31f4b46c001f8d144bd0ae587adb1e133f8bb2 /Master/texmf-dist/tex/latex/cmap | |
parent | 9365f95aa4fda656d9d504c9e62a6849dc904b3b (diff) |
cmap
git-svn-id: svn://tug.org/texlive/trunk@767 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cmap')
-rw-r--r-- | Master/texmf-dist/tex/latex/cmap/cmap.sty | 86 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cmap/t1.cmap | 135 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cmap/t2a.cmap | 134 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cmap/t2b.cmap | 118 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cmap/t2c.cmap | 124 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cmap/t5.cmap | 194 |
6 files changed, 791 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/cmap/cmap.sty b/Master/texmf-dist/tex/latex/cmap/cmap.sty new file mode 100644 index 00000000000..836c8866338 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmap/cmap.sty @@ -0,0 +1,86 @@ +% Copyright (c) 2003-2005 Vladimir Volovich <vvv@vsu.ru> +% cmap package -- download CMap files into PDF +% to make "search" and "cut-n-paste" functions work properly +% You may distribute and/or modify this program under the terms of LPPL +% the program consists of cmap.sty and {t1,t2a,t2b,t2c,t5}.cmap +% Usage: put \usepackage{cmap} immediately after the \documentclass line +% Thanks to: +% Han The Thanh +% Maxim I. Tishin +% Petr Sojka +% Werner Lemberg +% TODO: +% add *.cmap files for other font encodings (contributions are welcome): +% TS1, OT1, OT2, LY1, IL2, OML, OMS, ... +% support dvips? +% History: +% 2003/03/07 private version +% 2003/03/11 version 1.0: first public version +% 2003/03/13 version 1.0a: +% change error to warning for non-pdftex +% added warnings if cmap is loaded after fontenc or babel +% added t5.cmap - thanks to Han The Thanh +% 2003/03/19 version 1.0b: +% minor refinements +% 2003/05/22 version 1.0c: +% fixed a typo due to which the package had no effect at all +% 2004/06/16 version 1.0d (wl): +% add support for subfonts as used in the CJK package +% 2005/05/03 version 1.0e: +% do not fail under pdftex with \pdfoutput=0 (thanks to Robin Fairbairns) + +\ProvidesPackage{cmap}[2004/06/16 v1.0e CMap support: searchable PDF] + +\@ifundefined{pdffontattr}{% +% The cmap package can be used only with pdflatex, +% but not with ordinary latex + \PackageWarningNoLine{cmap}{pdftex not detected - will not do anything}% + \endinput +}\relax +\ifnum\pdfoutput<1 + \PackageWarningNoLine{cmap}{pdftex in DVI mode - will not do anything} + \expandafter\endinput +\fi + +\edef\reserved@a{\noexpand\in@{,fontenc.sty,}{\@filelist}}% enc.def +\reserved@a +\ifin@ +\PackageWarningNoLine{cmap}{fontenc already loaded - some fonts may be unprocessed} +\fi +%\@ifpackageloaded{babel}{% +%\PackageWarningNoLine{cmap}{babel already loaded - some fonts may be unprocessed}% +%}\relax + +\def\extract@font{% + \get@external@font + \global\expandafter\font\font@name\external@font\relax + \font@name\relax + \cmap@hook + \csname\f@encoding+\f@family\endcsname + \csname\curr@fontshape\endcsname + \relax +} +\def\cmap@load{% + \edef\reserved@f{\lowercase{\def\noexpand\reserved@f{\cmap@f@encoding.cmap}}}% + \reserved@f + \IfFileExists{\reserved@f}{% + \immediate\pdfobj stream + %attr {/Type /CIDFile} + file {\reserved@f}% + \expandafter\xdef\csname cmap@set@\cmap@f@encoding\endcsname{% + \noexpand\expandafter\pdffontattr\noexpand\font@name{/ToUnicode \the\pdflastobj\space 0 R}}% + }{% + \global\expandafter\let\csname cmap@set@\cmap@f@encoding\endcsname\empty + }% +} +\def\cmap@hook{% + \@ifundefined{CJK@plane}{% + \edef\cmap@f@encoding{\f@encoding}% + }{% + \edef\cmap@f@encoding{\f@encoding\CJK@plane}% + }% + \@ifundefined{cmap@set@\cmap@f@encoding}{\cmap@load}\relax + \csname cmap@set@\cmap@f@encoding\endcsname +} + +\endinput diff --git a/Master/texmf-dist/tex/latex/cmap/t1.cmap b/Master/texmf-dist/tex/latex/cmap/t1.cmap new file mode 100644 index 00000000000..cd80ebbf86c --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmap/t1.cmap @@ -0,0 +1,135 @@ +%!PS-Adobe-3.0 Resource-CMap +%%DocumentNeededResources: ProcSet (CIDInit) +%%IncludeResource: ProcSet (CIDInit) +%%BeginResource: CMap (TeX-T1-0) +%%Title: (TeX-T1-0 TeX T1 0) +%%Version: 1.000 +%%EndComments +/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (TeX) +/Ordering (T1) +/Supplement 0 +>> def +/CMapName /TeX-T1-0 def +/CMapType 2 def +1 begincodespacerange +<00> <FF> +endcodespacerange +10 beginbfrange +<0E> <0F> <2039> +<10> <12> <201C> +<15> <16> <2013> +<21> <26> <0021> +<28> <5F> <0028> +<61> <7E> <0061> +<C0> <D6> <00C0> +<D8> <DE> <00D8> +<E0> <F6> <00E0> +<F8> <FE> <00F8> +endbfrange +95 beginbfchar +<00> <0060> +<01> <00B4> +<02> <02C6> +<03> <02DC> +<04> <00A8> +<05> <02DD> +<06> <02DA> +<07> <02C7> +<08> <02D8> +<09> <00AF> +<0A> <02D9> +<0B> <00B8> +<0C> <02DB> +<0D> <201A> +<13> <00AB> +<14> <00BB> +<17> <200C> +<19> <0131> +<1B> <00660066> +<1C> <00660069> +<1D> <0066006C> +<1E> <006600660069> +<1F> <00660066006C> +<20> <2423> +<27> <2019> +<60> <2018> +<7F> <002D> +<80> <0102> +<81> <0104> +<82> <0106> +<83> <010C> +<84> <010E> +<85> <011A> +<86> <0118> +<87> <011E> +<88> <0139> +<89> <013D> +<8A> <0141> +<8B> <0143> +<8C> <0147> +<8D> <014A> +<8E> <0150> +<8F> <0154> +<90> <0158> +<91> <015A> +<92> <0160> +<93> <015E> +<94> <0164> +<95> <021A> +<96> <0170> +<97> <016E> +<98> <0178> +<99> <0179> +<9A> <017D> +<9B> <017B> +<9C> <0132> +<9D> <0130> +<9E> <0111> +<9F> <00A7> +<A0> <0103> +<A1> <0105> +<A2> <0107> +<A3> <010D> +<A4> <010F> +<A5> <011B> +<A6> <0119> +<A7> <011F> +<A8> <013A> +<A9> <013E> +<AA> <0142> +<AB> <0144> +<AC> <0148> +<AD> <014B> +<AE> <0151> +<AF> <0155> +<B0> <0159> +<B1> <015B> +<B2> <0161> +<B3> <015F> +<B4> <0165> +<B5> <021B> +<B6> <0171> +<B7> <016F> +<B8> <00FF> +<B9> <017A> +<BA> <017E> +<BB> <017C> +<BC> <0133> +<BD> <00A1> +<BE> <00BF> +<BF> <00A3> +<D7> <0152> +<DF> <00530053> +<F7> <0153> +<FF> <00DF> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF diff --git a/Master/texmf-dist/tex/latex/cmap/t2a.cmap b/Master/texmf-dist/tex/latex/cmap/t2a.cmap new file mode 100644 index 00000000000..79501383225 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmap/t2a.cmap @@ -0,0 +1,134 @@ +%!PS-Adobe-3.0 Resource-CMap +%%DocumentNeededResources: ProcSet (CIDInit) +%%IncludeResource: ProcSet (CIDInit) +%%BeginResource: CMap (TeX-T2A-0) +%%Title: (TeX-T2A-0 TeX T2A 0) +%%Version: 1.000 +%%EndComments +/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (TeX) +/Ordering (T2A) +/Supplement 0 +>> def +/CMapName /TeX-T2A-0 def +/CMapType 2 def +1 begincodespacerange +<00> <FF> +endcodespacerange +4 beginbfrange +<21> <26> <0021> +<28> <5F> <0028> +<61> <7E> <0061> +<C0> <FF> <0410> +endbfrange +34 beginbfchar +<00> <0060> +<01> <00B4> +<02> <02C6> +<03> <02DC> +<04> <00A8> +<05> <02DD> +<06> <02DA> +<07> <02C7> +<08> <02D8> +<09> <00AF> +<0A> <02D9> +<0B> <00B8> +<0C> <02DB> +<0D> <04C0> +<0E> <2329> +<0F> <232A> +<10> <201C> +<11> <201D> +<12> <F6D5> +<13> <F6D6> +<14> <F6D4> +<15> <2013> +<16> <2014> +<17> <200C> +<19> <0131> +<1B> <00660066> +<1C> <00660069> +<1D> <0066006C> +<1E> <006600660069> +<1F> <00660066006C> +<20> <2423> +<27> <2019> +<60> <2018> +<7F> <002D> +endbfchar +64 beginbfchar +<80> <0490> +<81> <0492> +<82> <0402> +<83> <040B> +<84> <04BA> +<85> <0496> +<86> <0498> +<87> <0409> +<88> <0407> +<89> <049A> +<8A> <04A0> +<8B> <049C> +<8C> <04D4> +<8D> <04A2> +<8E> <04A4> +<8F> <0405> +<90> <04E8> +<91> <04AA> +<92> <040E> +<93> <04AE> +<94> <04B0> +<95> <04B2> +<96> <040F> +<97> <04B8> +<98> <04B6> +<99> <0404> +<9A> <04D8> +<9B> <040A> +<9C> <0401> +<9D> <2116> +<9E> <00A4> +<9F> <00A7> +<A0> <0491> +<A1> <0493> +<A2> <0452> +<A3> <045B> +<A4> <04BB> +<A5> <0497> +<A6> <0499> +<A7> <0459> +<A8> <0457> +<A9> <049B> +<AA> <04A1> +<AB> <049D> +<AC> <04D5> +<AD> <04A3> +<AE> <04A5> +<AF> <0455> +<B0> <04E9> +<B1> <04AB> +<B2> <045E> +<B3> <04AF> +<B4> <04B1> +<B5> <04B3> +<B6> <045F> +<B7> <04B9> +<B8> <04B7> +<B9> <0454> +<BA> <04D9> +<BB> <045A> +<BC> <0451> +<BD> <201E> +<BE> <00AB> +<BF> <00BB> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF diff --git a/Master/texmf-dist/tex/latex/cmap/t2b.cmap b/Master/texmf-dist/tex/latex/cmap/t2b.cmap new file mode 100644 index 00000000000..765b03a88e7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmap/t2b.cmap @@ -0,0 +1,118 @@ +%!PS-Adobe-3.0 Resource-CMap +%%DocumentNeededResources: ProcSet (CIDInit) +%%IncludeResource: ProcSet (CIDInit) +%%BeginResource: CMap (TeX-T2B-0) +%%Title: (TeX-T2B-0 TeX T2B 0) +%%Version: 1.000 +%%EndComments +/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (TeX) +/Ordering (T2B) +/Supplement 0 +>> def +/CMapName /TeX-T2B-0 def +/CMapType 2 def +1 begincodespacerange +<00> <FF> +endcodespacerange +4 beginbfrange +<21> <26> <0021> +<28> <5F> <0028> +<61> <7E> <0061> +<C0> <FF> <0410> +endbfrange +34 beginbfchar +<00> <0060> +<01> <00B4> +<02> <02C6> +<03> <02DC> +<04> <00A8> +<05> <02DD> +<06> <02DA> +<07> <02C7> +<08> <02D8> +<09> <00AF> +<0A> <02D9> +<0B> <00B8> +<0C> <02DB> +<0D> <04C0> +<0E> <2329> +<0F> <232A> +<10> <201C> +<11> <201D> +<12> <F6D5> +<13> <F6D6> +<14> <F6D4> +<15> <2013> +<16> <2014> +<17> <200C> +<19> <0131> +<1B> <00660066> +<1C> <00660069> +<1D> <0066006C> +<1E> <006600660069> +<1F> <00660066006C> +<20> <2423> +<27> <2019> +<60> <2018> +<7F> <002D> +endbfchar +48 beginbfchar +<81> <0492> +<83> <0494> +<84> <04BA> +<85> <0496> +<87> <04E0> +<88> <0409> +<89> <049A> +<8A> <04C5> +<8B> <04C3> +<8D> <04A2> +<8E> <04A4> +<8F> <04C7> +<90> <04E8> +<92> <040E> +<93> <04AE> +<95> <04B2> +<97> <04CB> +<98> <04B6> +<99> <040A> +<9A> <04D8> +<9C> <0401> +<9D> <2116> +<9E> <00A4> +<9F> <00A7> +<A1> <0493> +<A3> <0495> +<A4> <04BB> +<A5> <0497> +<A7> <04E1> +<A8> <0459> +<A9> <049B> +<AA> <04C6> +<AB> <04C4> +<AD> <04A3> +<AE> <04A5> +<AF> <04C8> +<B0> <04E9> +<B2> <045E> +<B3> <04AF> +<B5> <04B3> +<B7> <04CC> +<B8> <04B7> +<B9> <045A> +<BA> <04D9> +<BC> <0451> +<BD> <201E> +<BE> <00AB> +<BF> <00BB> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF diff --git a/Master/texmf-dist/tex/latex/cmap/t2c.cmap b/Master/texmf-dist/tex/latex/cmap/t2c.cmap new file mode 100644 index 00000000000..63161875d5c --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmap/t2c.cmap @@ -0,0 +1,124 @@ +%!PS-Adobe-3.0 Resource-CMap +%%DocumentNeededResources: ProcSet (CIDInit) +%%IncludeResource: ProcSet (CIDInit) +%%BeginResource: CMap (TeX-T2C-0) +%%Title: (TeX-T2C-0 TeX T2C 0) +%%Version: 1.000 +%%EndComments +/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (TeX) +/Ordering (T2C) +/Supplement 0 +>> def +/CMapName /TeX-T2C-0 def +/CMapType 2 def +1 begincodespacerange +<00> <FF> +endcodespacerange +4 beginbfrange +<21> <26> <0021> +<28> <5F> <0028> +<61> <7E> <0061> +<C0> <FF> <0410> +endbfrange +34 beginbfchar +<00> <0060> +<01> <00B4> +<02> <02C6> +<03> <02DC> +<04> <00A8> +<05> <02DD> +<06> <02DA> +<07> <02C7> +<08> <02D8> +<09> <00AF> +<0A> <02D9> +<0B> <00B8> +<0C> <02DB> +<0D> <04C0> +<0E> <2329> +<0F> <232A> +<10> <201C> +<11> <201D> +<12> <F6D5> +<13> <F6D6> +<14> <F6D4> +<15> <2013> +<16> <2014> +<17> <200C> +<19> <0131> +<1B> <00660066> +<1C> <00660069> +<1D> <0066006C> +<1E> <006600660069> +<1F> <00660066006C> +<20> <2423> +<27> <2019> +<60> <2018> +<7F> <002D> +endbfchar +54 beginbfchar +<80> <04A6> +<81> <04B4> +<82> <04AC> +<83> <0494> +<84> <04BA> +<86> <048E> +<87> <04E0> +<88> <04CD> +<89> <049A> +<8A> <04C6> +<8B> <049E> +<8D> <04A2> +<8F> <04C7> +<90> <04E8> +<91> <04BC> +<92> <04BE> +<93> <048C> +<94> <048A> +<95> <04B2> +<96> <040F> +<97> <04A8> +<98> <04B6> +<9A> <04D8> +<9C> <0401> +<9D> <2116> +<9E> <00A4> +<9F> <00A7> +<A0> <04A7> +<A1> <04B5> +<A2> <04AD> +<A3> <0495> +<A4> <04BB> +<A6> <048F> +<A7> <04E1> +<A8> <04CE> +<A9> <049B> +<AA> <04C5> +<AB> <049F> +<AD> <04A3> +<AF> <04C8> +<B0> <04E9> +<B1> <04BD> +<B2> <04BF> +<B3> <048D> +<B4> <048B> +<B5> <04B3> +<B6> <045F> +<B7> <04A9> +<B8> <04B7> +<BA> <04D9> +<BC> <0451> +<BD> <201E> +<BE> <00AB> +<BF> <00BB> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF diff --git a/Master/texmf-dist/tex/latex/cmap/t5.cmap b/Master/texmf-dist/tex/latex/cmap/t5.cmap new file mode 100644 index 00000000000..6ed458161e9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmap/t5.cmap @@ -0,0 +1,194 @@ +%!PS-Adobe-3.0 Resource-CMap +%%DocumentNeededResources: ProcSet (CIDInit) +%%IncludeResource: ProcSet (CIDInit) +%%BeginResource: CMap (TeX-T5-0) +%%Title: (TeX-T5-0 TeX T5 0) +%%Version: 1.000 +%%EndComments +/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (TeX) +/Ordering (T5) +/Supplement 0 +>> def +/CMapName /TeX-T5-0 def +/CMapType 2 def +1 begincodespacerange +<00> <FF> +endcodespacerange +9 beginbfrange +<0E> <0F> <2039> +<10> <12> <201C> +<15> <16> <2013> +<1A> <1B> <1EF6> +<1C> <1D> <1EF4> +<1E> <1F> <0110> +<21> <26> <0021> +<28> <5F> <0028> +<61> <7E> <0061> +endbfrange +23 beginbfchar +<00> <0060> +<01> <00B4> +<02> <02C6> +<03> <02DC> +<04> <00A8> +<05> <0323> +<06> <02DA> +<07> <02C7> +<08> <02D8> +<09> <00AF> +<0A> <02D9> +<0B> <00B8> +<0C> <0309> +<0D> <201A> +<13> <00AB> +<14> <00BB> +<17> <200C> +<18> <2080> +<19> <0131> +<20> <2423> +<27> <2019> +<60> <2018> +<7F> <00AD> +endbfchar +64 beginbfchar +<80> <00C0> +<81> <00C1> +<82> <00C3> +<83> <1EA2> +<84> <1EA0> +<85> <00C2> +<86> <1EA6> +<87> <1EA4> +<88> <1EAA> +<89> <1EA8> +<8A> <1EAC> +<8B> <0102> +<8C> <1EB0> +<8D> <1EAE> +<8E> <1EB4> +<8F> <1EB2> +<90> <1EB6> +<91> <00C8> +<92> <00C9> +<93> <1EBC> +<94> <1EBA> +<95> <1EB8> +<96> <00CA> +<97> <1EC0> +<98> <1EBE> +<99> <1EC4> +<9A> <1EC2> +<9B> <1EC6> +<9C> <00CC> +<9D> <00CD> +<9E> <0128> +<9F> <1EC8> +<A0> <00E0> +<A1> <00E1> +<A2> <00E3> +<A3> <1EA3> +<A4> <1EA1> +<A5> <00E2> +<A6> <1EA7> +<A7> <1EA5> +<A8> <1EAB> +<A9> <1EA9> +<AA> <1EAD> +<AB> <0103> +<AC> <1EB1> +<AD> <1EAF> +<AE> <1EB5> +<AF> <1EB3> +<B0> <1EB7> +<B1> <00E8> +<B2> <00E9> +<B3> <1EBD> +<B4> <1EBB> +<B5> <1EB9> +<B6> <00EA> +<B7> <1EC1> +<B8> <1EBF> +<B9> <1EC5> +<BA> <1EC3> +<BB> <1EC7> +<BC> <00EC> +<BD> <00ED> +<BE> <0129> +<BF> <1EC9> +endbfchar +64 beginbfchar +<C0> <1ECA> +<C1> <00D2> +<C2> <00D3> +<C3> <00D5> +<C4> <1ECE> +<C5> <1ECC> +<C6> <00D4> +<C7> <1ED2> +<C8> <1ED0> +<C9> <1ED6> +<CA> <1ED4> +<CB> <1ED8> +<CC> <01A0> +<CD> <1EDC> +<CE> <1EDA> +<CF> <1EE0> +<D0> <1EDE> +<D1> <1EE2> +<D2> <00D9> +<D3> <00DA> +<D4> <0168> +<D5> <1EE6> +<D6> <1EE4> +<D7> <01AF> +<D8> <1EEA> +<D9> <1EE8> +<DA> <1EEE> +<DB> <1EEC> +<DC> <1EF0> +<DD> <1EF2> +<DE> <00DD> +<DF> <1EF8> +<E0> <1ECB> +<E1> <00F2> +<E2> <00F3> +<E3> <00F5> +<E4> <1ECF> +<E5> <1ECD> +<E6> <00F4> +<E7> <1ED3> +<E8> <1ED1> +<E9> <1ED7> +<EA> <1ED5> +<EB> <1ED9> +<EC> <01A1> +<ED> <1EDD> +<EE> <1EDB> +<EF> <1EE1> +<F0> <1EDF> +<F1> <1EE3> +<F2> <00F9> +<F3> <00FA> +<F4> <0169> +<F5> <1EE7> +<F6> <1EE5> +<F7> <01B0> +<F8> <1EEB> +<F9> <1EE9> +<FA> <1EEF> +<FB> <1EED> +<FC> <1EF1> +<FD> <1EF3> +<FE> <00FD> +<FF> <1EF9> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF |