home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / texmf / inputs / latex / unpacked / inputenc.sty < prev    next >
Encoding:
Text File  |  1995-06-21  |  4.5 KB  |  129 lines

  1. %% 
  2. %% This is file `inputenc.sty', generated 
  3. %% on <1995/6/21> with the docstrip utility (2.2i).
  4. %% 
  5. %% The original source files were:
  6. %% 
  7. %% inputenc.dtx  (with options: `package')
  8. %% 
  9. %% 
  10. %% This is a generated file. 
  11. %% 
  12. %% Copyright 1993-1995 the LaTeX3 project and any individual authors 
  13. %% listed elsewhere in this file. All rights reserved. 
  14. %% 
  15. %% For further copyright information see the file legal.txt, and any 
  16. %% other copyright notices in this file. 
  17. %% 
  18. %% This file is part of the LaTeX2e system. 
  19. %% ---------------------------------------- 
  20. %% This system is distributed in the hope that it will be useful, 
  21. %% but WITHOUT ANY WARRANTY; without even the implied warranty of 
  22. %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
  23. %% 
  24. %% For error reports concerning UNCHANGED versions of this file no more 
  25. %% than one year old, see bugs.txt. 
  26. %% 
  27. %% Please do not request updates from us directly. Primary 
  28. %% distribution is through the CTAN archives. 
  29. %% 
  30. %% 
  31. %% IMPORTANT COPYRIGHT NOTICE: 
  32. %% 
  33. %% You are NOT ALLOWED to distribute this file alone. 
  34. %% 
  35. %% You are allowed to distribute this file under the condition that it is 
  36. %% distributed together with all the files listed in manifest.txt. 
  37. %% 
  38. %% If you receive only some of these files from someone, complain! 
  39. %% 
  40. %% Permission is granted to copy this file to another file with a clearly 
  41. %% different name and to customize the declarations in that copy to serve 
  42. %% the needs of your installation, provided that you comply with 
  43. %% the conditions in the file legal.txt. 
  44. %% 
  45. %% However, NO PERMISSION is granted to generate or to distribute a 
  46. %% modified version of this file under its original name. 
  47. %% 
  48. %% You are NOT ALLOWED to change this file. 
  49. %% 
  50. %% 
  51. %% MODIFICATION ADVICE: 
  52. %% 
  53. %% If you want to customize this file, it is best to make a copy of the 
  54. %% source file(s) from which it was produced. Use a different name for 
  55. %% your copy(ies) and modify the copy(ies); this will ensure that your 
  56. %% modifications do not get overwritten when you install a new release of 
  57. %% the standard system. You should also ensure that your modified source 
  58. %% file does not generate any modified file with the same name as a 
  59. %% standard file. You can then easily distribute your modifications by 
  60. %% distributing the modified and renamed copy of the source file, taking 
  61. %% care to observe the conditions in legal.txt; this will ensure that 
  62. %% other users can safely use your modifications. 
  63. %% 
  64. %% You will also need to produce your own, suitably named, .ins file to 
  65. %% control the generation of files from your source file; this file 
  66. %% should contain your own preambles for the files it generates, not 
  67. %% those in the standard .ins files. 
  68. %% 
  69. %% The names of the source files used are shown above. 
  70. %% 
  71. %% 
  72. %% 
  73. %% \CharacterTable
  74. %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
  75. %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
  76. %%   Digits        \0\1\2\3\4\5\6\7\8\9
  77. %%   Exclamation   \!     Double quote  \"     Hash (number) \#
  78. %%   Dollar        \$     Percent       \%     Ampersand     \&
  79. %%   Acute accent  \'     Left paren    \(     Right paren   \)
  80. %%   Asterisk      \*     Plus          \+     Comma         \,
  81. %%   Minus         \-     Point         \.     Solidus       \/
  82. %%   Colon         \:     Semicolon     \;     Less than     \<
  83. %%   Equals        \=     Greater than  \>     Question mark \?
  84. %%   Commercial at \@     Left bracket  \[     Backslash     \\
  85. %%   Right bracket \]     Circumflex    \^     Underscore    \_
  86. %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
  87. %%   Right brace   \}     Tilde         \~}
  88. \message{beta test version}
  89. \ProvidesPackage{inputenc}
  90.    [1995/06/06 v0.9d Input encoding file.]
  91. \def\DeclareInputMath#1{%
  92.    \bgroup
  93.       \uccode`\~#1%
  94.       \uppercase{%
  95.    \egroup
  96.       \def~%
  97.    }%
  98. }
  99. \def\DeclareInputText#1#2{%
  100.    \def\@tempa{#2}%
  101.    \def\@tempb##1 ${}
  102.    \edef\@tempa{\expandafter\@tempb\meaning\@tempa$ $}%
  103.    \ifx\@tempa\@empty
  104.       \DeclareInputMath{#1}{#2}%
  105.    \else
  106.       \DeclareInputText{#1}{\IeC{#2}}%
  107.    \fi
  108. }
  109. \DeclareRobustCommand{\IeC}[1]{#1}
  110. \def\inputencoding#1{%
  111.    \@tempcnta=128
  112.    \loop\ifnum\@tempcnta<256
  113.       \catcode\@tempcnta\active
  114.       \bgroup
  115.          \uccode`\~\@tempcnta
  116.          \uppercase{%
  117.       \egroup
  118.          \let~\@undefined
  119.       }%
  120.       \advance\@tempcnta\@ne
  121.    \repeat
  122.    \input{#1.def}%
  123. }
  124. \DeclareOption*{\inputencoding{\CurrentOption}}
  125. \ProcessOptions
  126. \endinput
  127. %% 
  128. %% End of file `inputenc.sty'.
  129.