%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% FILE: $RCSfile: cp1256fa.csf,v $ %% %% Date: 2015/05/09 %% Author:-) Mahmood Amintoosi, m.amintoosi@gmail.com %% %% CHARACTER SET: Farsi (Persian) (CP 1256) %% %% SORTING ORDER: Farsi %% %% WARNING %% %% This is a BibTeX Codepage and Sort definition file (CSF). It is %% used to define the 8-bit character set used by BibTeX and the %% order in which those characters should be sorted. The file %% format is documented below this header section. %% %% This file will only work with the 8-bit implementation of BibTeX %% written by Niel Kempson and Alejandro Aguilar-Sierra. It is %% available by anonymous FTP from these Comprehensive TeX Archive %% Network (CTAN) sites: %% %% http://mirror.ctan.org/biblio/bibtex/8-bit %% %% CHANGE LOG %% %% $Log: cp1256fa.csf,v $ %% Initial Version 2009/12/17 %% %% Version 0.9 2015/05/09 %% Reorder همزه (Move Up), adding ة and separating آ from ا %% http://www.persianacademy.ir/UserFiles/File/D_Final.zip %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% FILE FORMAT %% %% The codepage and sorting order (CS) file defines how BibTeX will treat an %% 8-bit character set, specifically which characters are to be treated as %% letters, the upper/lower case relationships between characters, and the %% sorting order of characters. %% %% The CS file may contain a number of sections, each presented in the %% form of a TeX macro: %% %% \section-name{ %%
%% } %% %% Four sections are currently supported: \lowupcase, \lowercase, \uppercase %% and \order. The syntax of the four supported sections is summarised below. %% %% 8-bit characters may be entered naturally, but to avoid problems with %% character set translation or corruption, they can also be entered using %% the TeX-style portable notation for character codes, i.e. ^^XX, where XX %% is the hexadecimal value ofthe character code. %% %% Reading of the sections ends when the first '}' character is reached, so %% '}' can't be included in a section. You can't use ^^7d either. %% %% The percent sign ('%') is used to introduce a trailing comment - it and %% all remaining characters on a line are ignored. ^^25 has the same effect. %% %% %% \lowupcase section %% %% The \lowupcase section of the CS file is used to define the lower %% /upper and upper/lower case relationship of pairs of specified %% characters. It is only used if the relationship is symmetrical - use %% \lowercase or \upcase if it isn't. %% %% The syntax of the \lowupcase section is: %% %% \lowupcase{ %% % Comment begins with a percent sign %% %% ... %% %% } %% %% Each pair of characters defines that the upper case %% equivalent of is *and* the lower case equivalent of %% is . %% %% You cannot redefine the lower or upper case equivalent of an ASCII %% character (code < 128), so all instances of and %% (i.e. both sides of the relationship) must have codes > 127. %% %% %% \lowercase section %% %% The \lowercase section of the CS file is used to define the lower case %% equivalent of specified characters. It should normally only be used %% if the relationship isn't symmetrical - use \lowupcase if it is. %% %% The syntax of the \lowercase section is: %% %% \lowercase{ %% % Comment begins with a percent sign %% %% ... %% %% } %% %% Each pair of characters defines that the lower case %% equivalent of is . %% %% You cannot redefine the lower case equivalent of an ASCII character %% (code < 128), so all instances of (i.e. the left hand side %% of the relationship) must have codes > 127. %% %% %% \uppercase section %% %% The \uppercase section of the CS file is used to define the upper case %% equivalent of specified characters. It should normally only be used %% if the relationship isn't symmetrical - use \lowupcase if it is. %% %% The syntax of the \uppercase section is: %% %% \uppercase{ %% % Comment begins with a percent sign %% %% ... %% %% } %% %% Each pair of characters defines that the upper case %% case equivalent of is . %% %% You cannot redefine the upper case equivalent of an ASCII character %% (code < 128), so all instances of (i.e. the left hand side %% of the relationship) must have codes > 127. %% %% %% \order section %% %% The \order section of the CS file is used to define the order in which %% characters are sorted. %% %% The syntax of the \order section is: %% %% \order{ %% % Comment begins with a percent sign %% % whitespace between the chars %% - % a hyphen between the chars %% _ % an underscore between the chars %% ... %% %% } %% %% All characters on the same line are given the same sorting weight. %% %% The construct is used to denote that %% all characters in the range to should be given the %% same sorting weight. For example, "A _ Z" would cause all ASCII %% upper case alphabetical characters to have the same sorting weight %% and would be equivalent to placing all 26 characters on the same line. %% %% The construct is used to denote that all %% characters in the range to should be given an %% ascending set of sorting weights, starting with and ending %% with . For example, "A - Z" would cause all upper case ASCII %% alphabetical characters to be sorted in ascending order and would be %% equivalent to placing 'A' on the first line, 'B' on the second, %% through to 'Z' on the 26th line. %% %% The characters at the beginning of the order section are given a lower %% sorting weight than characters occuring later. When sorting %% alphabetically, characters with the lowest weight come first. %% %% All characters not in the \order section (including ASCII characters) %% are given the same very high sorting weight to ensure that they come %% last when sorting alphabetically. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% CHARACTER SET %% %% %% SORTING ORDER %% %% \order{ ۰-۹ أ إ ؤ ئ ء آ ا ب پ ت ة ث ج چ ح خ د ذ ر ز ژ س ش ص ض ط ظ ع غ ف ق ک ك گ ل م ن و ه ی ي 0-9 A a B b C c D d E e F f G g H h I i J j K k L l M m N n O o P p Q q R r S s T t U u V v W w X x Y y Z z } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% END OF FILE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%