Georg Baum wrote:
Am Freitag, 22. Dezember 2006 13:34 schrieb Abdelrazak Younes:

Georg, I see in http://bugzilla.lyx.org/show_bug.cgi?id=2927 that you recommend to add cp1256 encoding for Arabic. Is it OK if I put this patch in with the following change or is there more to it?

+       "koi8-r", "koi8-u", "cp866", "cp1251", "cp1255", "cp1256",

No, I have a better one (getting rid of this list completely) coming soon.

Very good.

Can you please point me to a .def file for the inputenc package for cp1256? I don't have it with tetex.

Here is it attached together with cp1255 and cp1257, just in case.

Abdel.
%%
%% This is file `cp1257.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% inputenc.dtx  (with options: `cp1257')
%% 
%% This is a generated file.
%% 
%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 
2006
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%% 
%% This file was generated from file(s) of the LaTeX base system.
%% --------------------------------------------------------------
%% 
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%    http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%% 
%% This file has the LPPL maintenance status "maintained".
%% 
%% This file may only be distributed together with a copy of the LaTeX
%% base system. You may however distribute the LaTeX base system without
%% such generated files.
%% 
%% The list of all files belonging to the LaTeX base distribution is
%% given in the file `manifest.txt'. See also `legal.txt' for additional
%% information.
%% 
%% The list of derived (unpacked) files belonging to the distribution
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% \CharacterTable
%%  {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
%%   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
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}

   [2006/05/05 v1.1b Input encoding file]
\makeatletter
\ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}}
\ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}}
\ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}}
\ProvideTextCommandDefault{\textthreequarters}{\ensuremath{\frac34}}
\ProvideTextCommandDefault{\textcent}
   {\TextSymbolUnavailable\textcent}
\ProvideTextCommandDefault{\texteuro}
   {\TextSymbolUnavailable\texteuro}
\ProvideTextCommandDefault{\textcurrency}
   {\TextSymbolUnavailable\textcurrency}
\ProvideTextCommandDefault{\textbrokenbar}
   {\TextSymbolUnavailable\textbrokenbar}
\ProvideTextCommandDefault{\textperthousand}
   {\TextSymbolUnavailable\textperthousand}
\providecommand{\mathonesuperior}{{^1}}
\providecommand{\maththreesuperior}{{^3}}
\providecommand{\mathtwosuperior}{{^2}}
\DeclareInputText{128}{\texteuro}
\DeclareInputText{130}{\quotesinglbase}
\DeclareInputText{132}{\quotedblbase}
\DeclareInputText{133}{\dots}
\DeclareInputText{134}{\dag}
\DeclareInputText{135}{\ddag}
\DeclareInputText{137}{\textperthousand}
\DeclareInputText{139}{\guilsinglleft}
\DeclareInputText{141}{\"{}}
\DeclareInputText{142}{\v{}}
\DeclareInputText{143}{\c\ }
\DeclareInputText{145}{\textquoteleft}
\DeclareInputText{146}{\textquoteright}
\DeclareInputText{147}{\textquotedblleft}
\DeclareInputText{148}{\textquotedblright}
\DeclareInputText{149}{\textbullet}
\DeclareInputText{150}{\textendash}
\DeclareInputText{151}{\textemdash}
\DeclareInputText{153}{\texttrademark}
\DeclareInputText{155}{\guilsinglright}
[EMAIL PROTECTED]
\DeclareInputText{158}{\k\ }
\DeclareInputText{160}{\nobreakspace}
\DeclareInputText{162}{\textcent}
\DeclareInputText{163}{\pounds}
\DeclareInputText{164}{\textcurrency}
\DeclareInputText{166}{\textbrokenbar}
\DeclareInputText{167}{\S}
\DeclareInputText{168}{\O}
\DeclareInputText{169}{\copyright}
\DeclareInputText{170}{\c R}
\DeclareInputText{171}{\guillemotleft}
\DeclareInputMath{172}{\lnot}
\DeclareInputText{173}{\-}
\DeclareInputText{174}{\textregistered}
\DeclareInputText{175}{\AE}
\DeclareInputText{176}{\textdegree}
\DeclareInputMath{177}{\pm}
\DeclareInputMath{178}{\mathtwosuperior}
\DeclareInputMath{179}{\maththreesuperior}
[EMAIL PROTECTED]'{}}
\DeclareInputMath{181}{\mu}
\DeclareInputText{182}{\P}
\DeclareInputText{183}{\textperiodcentered}
\DeclareInputText{184}{\o}
\DeclareInputMath{185}{\mathonesuperior}
\DeclareInputText{186}{\c r}
\DeclareInputText{187}{\guillemotright}
\DeclareInputText{188}{\textonequarter}
\DeclareInputText{189}{\textonehalf}
\DeclareInputText{190}{\textthreequarters}
\DeclareInputText{191}{\ae}
\DeclareInputText{192}{\k A}
\DeclareInputText{193}{\k I}
[EMAIL PROTECTED]
[EMAIL PROTECTED]'C}
\DeclareInputText{196}{\"A}
\DeclareInputText{197}{\r A}
\DeclareInputText{198}{\k E}
[EMAIL PROTECTED]
\DeclareInputText{200}{\v C}
[EMAIL PROTECTED]'E}
[EMAIL PROTECTED]'Z}
\DeclareInputText{203}{\.{E}}
\DeclareInputText{204}{\c G}
\DeclareInputText{205}{\c K}
[EMAIL PROTECTED]
\DeclareInputText{207}{\c L}
\DeclareInputText{208}{\v S}
[EMAIL PROTECTED]'N}
\DeclareInputText{210}{\c N}
[EMAIL PROTECTED]'O}
[EMAIL PROTECTED]
\DeclareInputText{213}{\~O}
\DeclareInputText{214}{\"O}
\DeclareInputMath{215}{\times}
\DeclareInputText{216}{\k U}
\DeclareInputText{217}{\L}
[EMAIL PROTECTED]'S}
[EMAIL PROTECTED]
\DeclareInputText{220}{\"U}
\DeclareInputText{221}{\.Z}
\DeclareInputText{222}{\v Z}
\DeclareInputText{223}{\ss}
\DeclareInputText{224}{\k a}
\DeclareInputText{225}{\k i}
[EMAIL PROTECTED]
[EMAIL PROTECTED]'c}
\DeclareInputText{228}{\"a}
\DeclareInputText{229}{\r a}
\DeclareInputText{230}{\k e}
[EMAIL PROTECTED]
\DeclareInputText{232}{\v c}
[EMAIL PROTECTED]'e}
[EMAIL PROTECTED]'z}
\DeclareInputText{235}{\.{e}}
\DeclareInputText{236}{\c g}
\DeclareInputText{237}{\c k}
[EMAIL PROTECTED]
\DeclareInputText{239}{\c l}
\DeclareInputText{240}{\v s}
[EMAIL PROTECTED]'n}
\DeclareInputText{242}{\c n}
[EMAIL PROTECTED]'o}
[EMAIL PROTECTED]
\DeclareInputText{245}{\~o}
\DeclareInputText{246}{\"o}
\DeclareInputMath{247}{\div}
\DeclareInputText{248}{\k u}
\DeclareInputText{249}{\l}
[EMAIL PROTECTED]'s}
[EMAIL PROTECTED]
\DeclareInputText{252}{\"u}
\DeclareInputText{253}{\.z}
\DeclareInputText{254}{\v z}
\DeclareInputText{255}{\.{}}
\makeatother
\endinput
%%
%% End of file `cp1257.def'.
% \iffalse meta-comment
%
% Copyright 2006      Youssef Jabri
% 
% 
% This file is part of the `Arabi' system.
% -------------------------------------------
% 
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3b
% of this license or (at your option) any later version.
% The latest version of this license is in
%    http://www.latex-project.org/lppl.txt
% and version 1.3b or later is part of all distributions of LaTeX 
% version 2005/12/01 or later.
% 
% This file has the LPPL maintenance status "maintained".
% 
% 
% \fi
%
% Filename: cp1256.def
%% 
 \ProvidesFile{cp1256.def}
        [2006/01/01 v0.1 CP1256 Arabic input encoding file]


\makeatletter
\ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}}
\ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}}
\ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}}
\ProvideTextCommandDefault{\textthreequarters}{\ensuremath{\frac34}}
\ProvideTextCommandDefault{\textflorin}{\textit{f}}
\ProvideTextCommandDefault{\textcent}
   {\TextSymbolUnavailable\textcent}
\ProvideTextCommandDefault{\textyen}
   {\TextSymbolUnavailable\textyen}
\ProvideTextCommandDefault{\newsheqel}
   {\TextSymbolUnavailable\newsheqel}
\ProvideTextCommandDefault{\textbrokenbar}
   {\TextSymbolUnavailable\textbrokenbar}
\ProvideTextCommandDefault{\textperthousand}
   {\TextSymbolUnavailable\textperthousand}
\providecommand{\mathonesuperior}{{^1}}
\providecommand{\maththreesuperior}{{^3}}
\providecommand{\mathtwosuperior}{{^2}}
%%
%% Digits and Punctuation characters are "set" in their
%% corresponding part in the Latin scripts
%%
\DeclareInputText{160}{\nobreakspace}
\DeclareInputMath{161}{,}   %arabic comma
\DeclareInputText{164}{}    %what is this ?? ;)
\DeclareInputText{186}{;}   %arabic semicolon 
\DeclareInputText{191}{?}   %arabic question mark
\DeclareInputText{193}{\hamza}
\DeclareInputText{194}{\alefmadda}
\DeclareInputText{195}{\alefhamza}
\DeclareInputText{196}{\wawhamza}
\DeclareInputText{197}{\aleflowerhamza}
\DeclareInputText{198}{\yahamza}
\DeclareInputText{199}{\alef}
\DeclareInputText{200}{\baa}
\DeclareInputText{201}{\T}   %taa marbuuta
\DeclareInputText{202}{\taa}
\DeclareInputText{203}{\thaa}
\DeclareInputText{204}{\jeem}  %geem
\DeclareInputText{205}{\Haa}
\DeclareInputText{206}{\kha}
\DeclareInputText{207}{\dal}
\DeclareInputText{208}{\dhal}
\DeclareInputText{209}{\ra}
\DeclareInputText{210}{\zay}
\DeclareInputText{211}{\seen}
\DeclareInputText{212}{\sheen}
\DeclareInputText{213}{\sad}
\DeclareInputText{214}{\dad}
%
\DeclareInputText{216}{\Ta}
\DeclareInputText{217}{\za}
\DeclareInputText{218}{\ayn}
\DeclareInputText{219}{\ghayn}
\DeclareInputText{220}{\tatweel}
\DeclareInputText{221}{\fa}
\DeclareInputText{222}{\qaf}
\DeclareInputText{223}{\kaf}
%
\DeclareInputText{225}{\lam}
%
\DeclareInputText{227}{\meem}
\DeclareInputText{228}{\nun}
\DeclareInputText{229}{\ha}
\DeclareInputText{230}{\waw}
%
\DeclareInputText{236}{\alefmaqsura}
\DeclareInputText{237}{\ya}
%
\DeclareInputText{187}{\closguill}%Opening guillemet!!
\DeclareInputText{171}{\openguill}%Closing guillemet!!
\DeclareInputText{175}{-}% High --
\DeclareInputText{151}{\textemdash}%---
\DeclareInputText{150}{\textendash}%--
% Farsi characters
\DeclareInputText{129}{\peh}
\DeclareInputText{141}{\tcheh}
\DeclareInputText{142}{\jeh}
\DeclareInputText{144}{\gaf}
\DeclareInputText{152}{\farsikaf}% FARSI KAF
\DeclareInputText{157}{\ZWNJ}
\DeclareInputText{158}{\noboundary}%%200C;ZWNJ%<< * is a local trick in our 
font to force final form
                           %and the {} to force initial form of the next 
character

%
\DeclareInputText{240}{\nasb}
\DeclareInputText{241}{\raff}
\DeclareInputText{242}{\jarr}
\DeclareInputText{243}{\fatha}
\DeclareInputText{245}{\damma}
\DeclareInputText{246}{\kasra}
\DeclareInputText{248}{\shadda}
\DeclareInputText{250}{\sukun}%247
%
% Special characters to be ignored
%
\DeclareInputText{160}{}%NSP
\DeclareInputText{173}{}%SHY
\DeclareInputText{252}{}%LRO
\DeclareInputText{253}{}%RLO
\makeatother
%%
%% \CharacterTable
%%  {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
%%   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
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
\endinput
%%
%% This is file `cp1255.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hebinp.dtx  (with options: `cp1255')
%% 
%% This is a generated file.
%% 
%% Copyright 1997-2004 Boris Lavva and any individual authors
%% listed elsewhere in this file. All rights reserved.
%% 
%% This is a generated file.
%% 
%% Copyright 1989-2005 Johannes L. Braams and any individual authors
%% listed elsewhere in this file.  All rights reserved.
%% 
%% This file was generated from file(s) of the Babel system.
%% ---------------------------------------------------------
%% 
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2003/12/01 or later.
%% 
%% This work has the LPPL maintenance status "maintained".
%% 
%% The Current Maintainer of this work is Johannes Braams.
%% 
%% This file may only be distributed together with a copy of the Babel
%% system. You may however distribute the Babel system without
%% such generated files.
%% 
%% The list of all files belonging to the Babel distribution is
%% given in the file `manifest.bbl'. See also `legal.bbl for additional
%% information.
%% 
%% The list of derived (unpacked) files belonging to the distribution
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
 \ProvidesFile{cp1255.def}
        [2004/02/20 v1.1b Hebrew input encoding file]
%% File `hebinp.dtx' for installing the input hebrew encodings.
%% Copyright (C) 1997 -- 2005 Boris Lavva.
%% Babel package for LaTeX version 2e
%% Copyright (C) 1989 -- 2005 by Johannes Braams,
%%                            TeXniek
%%                            All rights reserved.
\makeatletter
\ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}}
\ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}}
\ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}}
\ProvideTextCommandDefault{\textthreequarters}{\ensuremath{\frac34}}
\ProvideTextCommandDefault{\textflorin}{\textit{f}}
\ProvideTextCommandDefault{\textcent}
   {\TextSymbolUnavailable\textcent}
\ProvideTextCommandDefault{\textyen}
   {\TextSymbolUnavailable\textyen}
\ProvideTextCommandDefault{\newsheqel}
   {\TextSymbolUnavailable\newsheqel}
\ProvideTextCommandDefault{\textbrokenbar}
   {\TextSymbolUnavailable\textbrokenbar}
\ProvideTextCommandDefault{\textperthousand}
   {\TextSymbolUnavailable\textperthousand}
\providecommand{\mathonesuperior}{{^1}}
\providecommand{\maththreesuperior}{{^3}}
\providecommand{\mathtwosuperior}{{^2}}
%% The SI-960 or ``old-code'' encoding only allows characters in the
%% range 32--127, so we only need to provide an empty |si960.def| file.
\DeclareInputText{130}{\quotesinglbase}
\DeclareInputText{131}{\textflorin}
\DeclareInputText{132}{\quotedblbase}
\DeclareInputText{133}{\dots}
\DeclareInputText{134}{\dag}
\DeclareInputText{135}{\ddag}
\DeclareInputText{136}{\^{}}
\DeclareInputText{137}{\textperthousand}
\DeclareInputText{139}{\guilsinglleft}
\DeclareInputText{145}{\textquoteleft}
\DeclareInputText{146}{\textquoteright}
\DeclareInputText{147}{\textquotedblleft}
\DeclareInputText{148}{\textquotedblright}
\DeclareInputText{149}{\textbullet}
\DeclareInputText{150}{\textendash}
\DeclareInputText{151}{\textemdash}
\DeclareInputText{152}{\~{}}
\DeclareInputText{153}{\texttrademark}
\DeclareInputText{155}{\guilsinglright}
\DeclareInputText{160}{\nobreakspace}
\DeclareInputText{162}{\textcent}
\DeclareInputText{163}{\pounds}
\DeclareInputText{164}{\newsheqel}
\DeclareInputText{165}{\textyen}
\DeclareInputText{166}{\textbrokenbar}
\DeclareInputText{167}{\S}
\DeclareInputText{168}{\"{}}
\DeclareInputText{169}{\textcopyright}
\DeclareInputText{171}{\guillemotleft}
\DeclareInputMath{172}{\lnot}
\DeclareInputText{173}{\-}
\DeclareInputText{174}{\textregistered}
[EMAIL PROTECTED]
\DeclareInputText{176}{\textdegree}
\DeclareInputMath{177}{\pm}
\DeclareInputMath{178}{\mathtwosuperior}
\DeclareInputMath{179}{\maththreesuperior}
[EMAIL PROTECTED]'{}}
\DeclareInputMath{181}{\mu}
\DeclareInputText{182}{\P}
\DeclareInputText{183}{\textperiodcentered}
\DeclareInputMath{185}{\mathonesuperior}
\DeclareInputText{187}{\guillemotright}
\DeclareInputText{188}{\textonequarter}
\DeclareInputText{189}{\textonehalf}
\DeclareInputText{190}{\textthreequarters}
\DeclareInputText{192}{\hebsheva}
\DeclareInputText{193}{\hebhatafsegol}
\DeclareInputText{194}{\hebhatafpatah}
\DeclareInputText{195}{\hebhatafqamats}
\DeclareInputText{196}{\hebhiriq}
\DeclareInputText{197}{\hebtsere}
\DeclareInputText{198}{\hebsegol}
\DeclareInputText{199}{\hebpatah}
\DeclareInputText{200}{\hebqamats}
\DeclareInputText{201}{\hebholam}
\DeclareInputText{203}{\hebqubuts}
\DeclareInputText{204}{\hebdagesh}
\DeclareInputText{205}{\hebmeteg}
\DeclareInputText{206}{\hebmaqaf}
\DeclareInputText{207}{\hebrafe}
\DeclareInputText{208}{\hebpaseq}
\DeclareInputText{209}{\hebshindot}
\DeclareInputText{210}{\hebsindot}
\DeclareInputText{211}{\hebsofpasuq}
\DeclareInputText{212}{\hebdoublevav}
\DeclareInputText{213}{\hebvavyod}
\DeclareInputText{214}{\hebdoubleyod}
\DeclareInputText{224}{\hebalef}
\DeclareInputText{225}{\hebbet}
\DeclareInputText{226}{\hebgimel}
\DeclareInputText{227}{\hebdalet}
\DeclareInputText{228}{\hebhe}
\DeclareInputText{229}{\hebvav}
\DeclareInputText{230}{\hebzayin}
\DeclareInputText{231}{\hebhet}
\DeclareInputText{232}{\hebtet}
\DeclareInputText{233}{\hebyod}
\DeclareInputText{234}{\hebfinalkaf}
\DeclareInputText{235}{\hebkaf}
\DeclareInputText{236}{\heblamed}
\DeclareInputText{237}{\hebfinalmem}
\DeclareInputText{238}{\hebmem}
\DeclareInputText{239}{\hebfinalnun}
\DeclareInputText{240}{\hebnun}
\DeclareInputText{241}{\hebsamekh}
\DeclareInputText{242}{\hebayin}
\DeclareInputText{243}{\hebfinalpe}
\DeclareInputText{244}{\hebpe}
\DeclareInputText{245}{\hebfinaltsadi}
\DeclareInputText{246}{\hebtsadi}
\DeclareInputText{247}{\hebqof}
\DeclareInputText{248}{\hebresh}
\DeclareInputText{249}{\hebshin}
\DeclareInputText{250}{\hebtav}
\DeclareInputText{253}{\lefttorightmark}
\DeclareInputText{254}{\righttoleftmark}
\makeatother
%%
%% \CharacterTable
%%  {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
%%   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
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
\endinput
%%
%% End of file `cp1255.def'.

Reply via email to