From 054e00d3535c6d3f9a3b1384dd02fa29f1d33d37 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 Jan 2006 23:53:12 +0000 Subject: cmap git-svn-id: svn://tug.org/texlive/trunk@767 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/cmap/cmap.sty | 86 +++++++++++++ Master/texmf-dist/tex/latex/cmap/t1.cmap | 135 +++++++++++++++++++++ Master/texmf-dist/tex/latex/cmap/t2a.cmap | 134 +++++++++++++++++++++ Master/texmf-dist/tex/latex/cmap/t2b.cmap | 118 ++++++++++++++++++ Master/texmf-dist/tex/latex/cmap/t2c.cmap | 124 +++++++++++++++++++ Master/texmf-dist/tex/latex/cmap/t5.cmap | 194 ++++++++++++++++++++++++++++++ 6 files changed, 791 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/cmap/cmap.sty create mode 100644 Master/texmf-dist/tex/latex/cmap/t1.cmap create mode 100644 Master/texmf-dist/tex/latex/cmap/t2a.cmap create mode 100644 Master/texmf-dist/tex/latex/cmap/t2b.cmap create mode 100644 Master/texmf-dist/tex/latex/cmap/t2c.cmap create mode 100644 Master/texmf-dist/tex/latex/cmap/t5.cmap (limited to 'Master/texmf-dist') 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 +% 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> +endcodespacerange +10 beginbfrange +<0E> <0F> <2039> +<10> <12> <201C> +<15> <16> <2013> +<21> <26> <0021> +<28> <5F> <0028> +<61> <7E> <0061> + <00C0> + <00D8> + <00E0> + <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> + <0103> + <0105> + <0107> + <010D> + <010F> + <011B> + <0119> + <011F> + <013A> + <013E> + <0142> + <0144> + <0148> + <014B> + <0151> + <0155> + <0159> + <015B> + <0161> + <015F> + <0165> + <021B> + <0171> + <016F> + <00FF> + <017A> + <017E> + <017C> + <0133> + <00A1> + <00BF> + <00A3> + <0152> + <00530053> + <0153> + <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> +endcodespacerange +4 beginbfrange +<21> <26> <0021> +<28> <5F> <0028> +<61> <7E> <0061> + <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> +<13> +<14> +<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> + <0491> + <0493> + <0452> + <045B> + <04BB> + <0497> + <0499> + <0459> + <0457> + <049B> + <04A1> + <049D> + <04D5> + <04A3> + <04A5> + <0455> + <04E9> + <04AB> + <045E> + <04AF> + <04B1> + <04B3> + <045F> + <04B9> + <04B7> + <0454> + <04D9> + <045A> + <0451> + <201E> + <00AB> + <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> +endcodespacerange +4 beginbfrange +<21> <26> <0021> +<28> <5F> <0028> +<61> <7E> <0061> + <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> +<13> +<14> +<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> + <0493> + <0495> + <04BB> + <0497> + <04E1> + <0459> + <049B> + <04C6> + <04C4> + <04A3> + <04A5> + <04C8> + <04E9> + <045E> + <04AF> + <04B3> + <04CC> + <04B7> + <045A> + <04D9> + <0451> + <201E> + <00AB> + <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> +endcodespacerange +4 beginbfrange +<21> <26> <0021> +<28> <5F> <0028> +<61> <7E> <0061> + <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> +<13> +<14> +<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> + <04A7> + <04B5> + <04AD> + <0495> + <04BB> + <048F> + <04E1> + <04CE> + <049B> + <04C5> + <049F> + <04A3> + <04C8> + <04E9> + <04BD> + <04BF> + <048D> + <048B> + <04B3> + <045F> + <04A9> + <04B7> + <04D9> + <0451> + <201E> + <00AB> + <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> +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> + <00E0> + <00E1> + <00E3> + <1EA3> + <1EA1> + <00E2> + <1EA7> + <1EA5> + <1EAB> + <1EA9> + <1EAD> + <0103> + <1EB1> + <1EAF> + <1EB5> + <1EB3> + <1EB7> + <00E8> + <00E9> + <1EBD> + <1EBB> + <1EB9> + <00EA> + <1EC1> + <1EBF> + <1EC5> + <1EC3> + <1EC7> + <00EC> + <00ED> + <0129> + <1EC9> +endbfchar +64 beginbfchar + <1ECA> + <00D2> + <00D3> + <00D5> + <1ECE> + <1ECC> + <00D4> + <1ED2> + <1ED0> + <1ED6> + <1ED4> + <1ED8> + <01A0> + <1EDC> + <1EDA> + <1EE0> + <1EDE> + <1EE2> + <00D9> + <00DA> + <0168> + <1EE6> + <1EE4> + <01AF> + <1EEA> + <1EE8> + <1EEE> + <1EEC> + <1EF0> +
<1EF2> + <00DD> + <1EF8> + <1ECB> + <00F2> + <00F3> + <00F5> + <1ECF> + <1ECD> + <00F4> + <1ED3> + <1ED1> + <1ED7> + <1ED5> + <1ED9> + <01A1> + <1EDD> + <1EDB> + <1EE1> + <1EDF> + <1EE3> + <00F9> + <00FA> + <0169> + <1EE7> + <1EE5> + <01B0> + <1EEB> + <1EE9> + <1EEF> + <1EED> + <1EF1> + <1EF3> + <00FD> + <1EF9> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF -- cgit v1.2.3