Package init

This commit is contained in:
maminjie 2021-05-21 10:50:12 +08:00
parent c82cd67542
commit 3cb6c48731
201 changed files with 6967 additions and 0 deletions

View File

@ -0,0 +1,284 @@
diff -up doc/xelatex/xepersian/dkun-0.3.py.than doc/xelatex/xepersian/dkun-0.3.py
--- doc/xelatex/xepersian/dkun-0.3.py.than 2018-05-07 11:52:01.795308478 +0200
+++ doc/xelatex/xepersian/dkun-0.3.py 2018-05-07 11:53:32.984620222 +0200
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/python
#########################################
# General Public License #
@@ -311,7 +311,7 @@ def dk_adjust_shaping(text, i):
try:
u = table_DK_UN[current][0]
except KeyError:
- print 'ERROR: unmapped character'
+ print('ERROR: unmapped character')
return u''
#if you don't want shaping remove the following comment
@@ -407,7 +407,7 @@ def needs_english_wrapper(part):
# Main body of the program
if len(sys.argv) <= 2:
- print 'usage: python dkun in_filename out_filename'
+ print('usage: python dkun in_filename out_filename')
exit(0)
filename = sys.argv[1]
@@ -416,13 +416,13 @@ outfile = sys.argv[2]
try:
f = open(filename, 'r')
except IOError:
- print "Can not open the input file: " + filename
+ print("Can not open the input file: " + filename)
exit(0)
try:
of = codecs.open(outfile, encoding='utf-8', mode='w')
except IOError:
- print "Can not open the output file: " + outfile
+ print("Can not open the output file: " + outfile)
exit(0)
line_number = 0
diff -up doc/xelatex/xepersian/dkun-0.4.py.than doc/xelatex/xepersian/dkun-0.4.py
--- doc/xelatex/xepersian/dkun-0.4.py.than 2018-05-07 11:53:54.187692708 +0200
+++ doc/xelatex/xepersian/dkun-0.4.py 2018-05-07 11:54:32.272822907 +0200
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/python
#########################################
# General Public License #
@@ -311,7 +311,7 @@ def dk_adjust_shaping(text, i):
try:
u = table_DK_UN[current][0]
except KeyError:
- print 'ERROR: unmapped character'
+ print('ERROR: unmapped character')
return u''
#if you don't want shaping remove the following comment
@@ -407,7 +407,7 @@ def needs_english_wrapper(part):
# Main body of the program
if len(sys.argv) <= 2:
- print 'usage: python dkun in_filename out_filename'
+ print('usage: python dkun in_filename out_filename')
exit(0)
filename = sys.argv[1]
@@ -416,13 +416,13 @@ outfile = sys.argv[2]
try:
f = open(filename, 'r')
except IOError:
- print "Can not open the input file: " + filename
+ print("Can not open the input file: " + filename)
exit(0)
try:
of = codecs.open(outfile, encoding='utf-8', mode='w')
except IOError:
- print "Can not open the output file: " + outfile
+ print("Can not open the output file: " + outfile)
exit(0)
line_number = 0
diff -up doc/xelatex/xepersian/ftxe-0.12.py.than doc/xelatex/xepersian/ftxe-0.12.py
--- doc/xelatex/xepersian/ftxe-0.12.py.than 2018-05-07 11:54:55.163901164 +0200
+++ doc/xelatex/xepersian/ftxe-0.12.py 2018-05-07 11:57:58.063526433 +0200
@@ -1,4 +1,6 @@
-# This program is free software: you can redistribute it and/or modify
+#! /usr/bin/python
+
+# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@@ -488,7 +490,7 @@ def read_size(input,index,last_index):
dim_index = pt_index
next_cmd = input.find(u'\\', index)
if (next_cmd == -1 and dim_index == -1):
- print "Error in parsing \epsfxsize command at " + str(line_number) + "\n"
+ print("Error in parsing \epsfxsize command at " + str(line_number) + "\n")
return -1
elif (next_cmd == -1 or (dim_index != -1 and next_cmd > dim_index)):
epsfxsize = input[index:dim_index+2]
@@ -499,7 +501,7 @@ def read_size(input,index,last_index):
end_cmd += 1
return end_cmd
else:
- print "Error in parsing \epsfxsize command at " + str(line_number) + "\n"
+ print("Error in parsing \epsfxsize command at " + str(line_number) + "\n")
return -1
@@ -567,7 +569,7 @@ def generate_farsitex_cmds_file(helper_f
try:
of = codecs.open(helper_filename, encoding='utf-8', mode='w')
except IOError:
- print "Can not open the output file: " + helper_filename
+ print("Can not open the output file: " + helper_filename)
exit(0)
of.write(preamble)
of.close
@@ -875,7 +877,7 @@ def convert_file(f, of, convert_cmds):
for line in f:
line_number += 1
- print line_number,
+ print (line_number)
output_line = u''
line_len = len(line)
@@ -888,7 +890,7 @@ def convert_file(f, of, convert_cmds):
# check line-direction character
line_direction_rtl = (line[0] == '<')
if (line[0] != '>') and (line[0] != '<'):
- print "FORMAT ERROR AT LINE: " + str(line_number)
+ print("FORMAT ERROR AT LINE: " + str(line_number))
exit(0)
i = 1
@@ -970,11 +972,11 @@ def convert_file(f, of, convert_cmds):
# end of file processing
def print_usage():
- print 'usage: python ftxe-0-11 [-r] [-s] [-x] [-u] in_filename1 in_filename2'
- print '-r: (DEFAULT) recursively consider files included in the given files'
- print '-s: do not recursively consider files'
- print '-x: (DEFAULT) insert xepersian related commands'
- print '-u: only convert to unicode'
+ print('usage: python ftxe-0-11 [-r] [-s] [-x] [-u] in_filename1 in_filename2')
+ print('-r: (DEFAULT) recursively consider files included in the given files')
+ print('-s: do not recursively consider files')
+ print('-x: (DEFAULT) insert xepersian related commands')
+ print('-u: only convert to unicode')
###################################
# Begin of main body of the program
@@ -1011,7 +1013,7 @@ while (options_index < len(sys.argv)):
options_index += 1
if (len(filenames) == 0):
- print 'error: no input filename is specified!'
+ print('error: no input filename is specified!')
print_usage()
exit(0)
@@ -1026,17 +1028,17 @@ while (index < len(filenames)):
else:
outfile = filename + '.tex'
- print '\n\nConverting "' + filename + '" into "' + outfile + '"'
+ print('\n\nConverting "' + filename + '" into "' + outfile + '"')
try:
f = open(filename, 'r')
except IOError:
- print "Can not open the input file: " + filename
+ print("Can not open the input file: " + filename)
exit(0)
try:
of = codecs.open(outfile, encoding='utf-8', mode='w')
except IOError:
- print "Can not open the output file: " + outfile
+ print("Can not open the output file: " + outfile)
exit(0)
convert_file(f, of, convert_xepersian)
diff -up doc/xelatex/xepersian/undk-0.6.py.than doc/xelatex/xepersian/undk-0.6.py
--- doc/xelatex/xepersian/undk-0.6.py.than 2018-05-07 11:58:18.706597005 +0200
+++ doc/xelatex/xepersian/undk-0.6.py 2018-05-07 11:59:18.079799981 +0200
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/python
#########################################
# General Public License #
# Author: Mostafa Vahedi #
@@ -328,7 +328,7 @@ def find_form(line, i):
def map_char_unicode_DK(c, form):
try:
n = table_UN_DK[c][0]
- except KeyError:
+ except KeyError:
return c.encode('latin-1')
if (n == 1):
return table_UN_DK[c][1]
@@ -371,7 +371,7 @@ def is_farsi_numerical(c):
# Main body of the program
if len(sys.argv) <= 2:
- print 'usage: python undk in_filename out_filename'
+ print('usage: python undk in_filename out_filename')
exit(0)
filename = sys.argv[1]
@@ -380,13 +380,13 @@ outfile = sys.argv[2]
try:
f = codecs.open(filename, 'r', 'utf-8')
except IOError:
- print "Can not open the input file: " + filename
+ print("Can not open the input file: " + filename)
exit(0)
try:
of = open(outfile, 'w')
except IOError:
- print "Can not open the output file: " + outfile
+ print("Can not open the output file: " + outfile)
exit(0)
# this is an option
@@ -425,7 +425,7 @@ for line in f:
this_line += auto_english_part[::-1]
auto_english_part = ''
inAutoEnglish = 0
- print 'Warning: mixed Auto-English and Forced-English'
+ print('Warning: mixed Auto-English and Forced-English')
if (inFarsiNumber == 1):
this_line += number_part[::-1]
number_part = ''
diff -up doc/xelatex/xepersian/unldk-0.2.py.than doc/xelatex/xepersian/unldk-0.2.py
--- doc/xelatex/xepersian/unldk-0.2.py.than 2018-05-07 11:59:41.522880125 +0200
+++ doc/xelatex/xepersian/unldk-0.2.py 2018-05-07 12:00:21.999018500 +0200
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/python
#########################################
# General Public License #
# Author: Mostafa Vahedi #
@@ -328,7 +328,7 @@ def find_form(line, i):
def map_char_unicode_DK(c, form):
try:
n = table_UN_DK[c][0]
- except KeyError:
+ except KeyError:
return c.encode('latin-1')
if (n == 1):
return table_UN_DK[c][1]
@@ -364,7 +364,7 @@ def is_farsi_numerical(c):
# Main body of the program
if len(sys.argv) <= 2:
- print 'usage: python unldk in_filename out_filename'
+ print('usage: python unldk in_filename out_filename')
exit(0)
filename = sys.argv[1]
@@ -373,13 +373,13 @@ outfile = sys.argv[2]
try:
f = codecs.open(filename, 'r', 'utf-8')
except IOError:
- print "Can not open the input file: " + filename
+ print("Can not open the input file: " + filename)
exit(0)
try:
of = open(outfile, 'w')
except IOError:
- print "Can not open the output file: " + outfile
+ print("Can not open the output file: " + outfile)
exit(0)
inFarsi = 0

BIN
texlive-licenses.tar.xz Normal file

Binary file not shown.

6679
texlive-split-z.spec Normal file

File diff suppressed because it is too large Load Diff

4
texlive-split-z.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: svn
src_repo: https://tug.org/svn/texlive
tag_prefix: texlive-
seperator: .

BIN
xargs.doc.tar.xz Normal file

Binary file not shown.

BIN
xargs.tar.xz Normal file

Binary file not shown.

BIN
xassoccnt.doc.tar.xz Normal file

Binary file not shown.

BIN
xassoccnt.tar.xz Normal file

Binary file not shown.

BIN
xcharter.doc.tar.xz Normal file

Binary file not shown.

BIN
xcharter.tar.xz Normal file

Binary file not shown.

BIN
xcite.doc.tar.xz Normal file

Binary file not shown.

BIN
xcite.tar.xz Normal file

Binary file not shown.

BIN
xcjk2uni.doc.tar.xz Normal file

Binary file not shown.

BIN
xcjk2uni.tar.xz Normal file

Binary file not shown.

BIN
xcntperchap.doc.tar.xz Normal file

Binary file not shown.

BIN
xcntperchap.tar.xz Normal file

Binary file not shown.

BIN
xcolor-material.doc.tar.xz Normal file

Binary file not shown.

BIN
xcolor-material.tar.xz Normal file

Binary file not shown.

BIN
xcolor-solarized.doc.tar.xz Normal file

Binary file not shown.

BIN
xcolor-solarized.tar.xz Normal file

Binary file not shown.

BIN
xcolor.doc.tar.xz Normal file

Binary file not shown.

BIN
xcolor.tar.xz Normal file

Binary file not shown.

BIN
xcomment.doc.tar.xz Normal file

Binary file not shown.

BIN
xcomment.tar.xz Normal file

Binary file not shown.

BIN
xcookybooky.doc.tar.xz Normal file

Binary file not shown.

BIN
xcookybooky.tar.xz Normal file

Binary file not shown.

BIN
xdoc.doc.tar.xz Normal file

Binary file not shown.

BIN
xdoc.tar.xz Normal file

Binary file not shown.

BIN
xduthesis.doc.tar.xz Normal file

Binary file not shown.

BIN
xduthesis.tar.xz Normal file

Binary file not shown.

BIN
xebaposter.doc.tar.xz Normal file

Binary file not shown.

BIN
xebaposter.tar.xz Normal file

Binary file not shown.

BIN
xechangebar.doc.tar.xz Normal file

Binary file not shown.

BIN
xechangebar.tar.xz Normal file

Binary file not shown.

BIN
xecjk.doc.tar.xz Normal file

Binary file not shown.

BIN
xecjk.tar.xz Normal file

Binary file not shown.

BIN
xecolor.doc.tar.xz Normal file

Binary file not shown.

BIN
xecolor.tar.xz Normal file

Binary file not shown.

BIN
xecyr.doc.tar.xz Normal file

Binary file not shown.

BIN
xecyr.tar.xz Normal file

Binary file not shown.

BIN
xeindex.doc.tar.xz Normal file

Binary file not shown.

BIN
xeindex.tar.xz Normal file

Binary file not shown.

BIN
xellipsis.doc.tar.xz Normal file

Binary file not shown.

BIN
xellipsis.tar.xz Normal file

Binary file not shown.

BIN
xepersian.doc.tar.xz Normal file

Binary file not shown.

BIN
xepersian.tar.xz Normal file

Binary file not shown.

BIN
xesearch.doc.tar.xz Normal file

Binary file not shown.

BIN
xesearch.tar.xz Normal file

Binary file not shown.

BIN
xespotcolor.doc.tar.xz Normal file

Binary file not shown.

BIN
xespotcolor.tar.xz Normal file

Binary file not shown.

BIN
xetex-devanagari.doc.tar.xz Normal file

Binary file not shown.

BIN
xetex-devanagari.tar.xz Normal file

Binary file not shown.

BIN
xetex-itrans.doc.tar.xz Normal file

Binary file not shown.

BIN
xetex-itrans.tar.xz Normal file

Binary file not shown.

BIN
xetex-pstricks.doc.tar.xz Normal file

Binary file not shown.

BIN
xetex-pstricks.tar.xz Normal file

Binary file not shown.

BIN
xetex-tibetan.doc.tar.xz Normal file

Binary file not shown.

BIN
xetex-tibetan.tar.xz Normal file

Binary file not shown.

BIN
xetexconfig.tar.xz Normal file

Binary file not shown.

BIN
xetexfontinfo.doc.tar.xz Normal file

Binary file not shown.

BIN
xetexfontinfo.tar.xz Normal file

Binary file not shown.

BIN
xetexko.doc.tar.xz Normal file

Binary file not shown.

BIN
xetexko.tar.xz Normal file

Binary file not shown.

BIN
xetexref.doc.tar.xz Normal file

Binary file not shown.

BIN
xevlna.doc.tar.xz Normal file

Binary file not shown.

BIN
xevlna.tar.xz Normal file

Binary file not shown.

BIN
xfakebold.doc.tar.xz Normal file

Binary file not shown.

BIN
xfakebold.tar.xz Normal file

Binary file not shown.

BIN
xfor.doc.tar.xz Normal file

Binary file not shown.

BIN
xfor.tar.xz Normal file

Binary file not shown.

BIN
xgreek.doc.tar.xz Normal file

Binary file not shown.

BIN
xgreek.tar.xz Normal file

Binary file not shown.

BIN
xhfill.doc.tar.xz Normal file

Binary file not shown.

BIN
xhfill.tar.xz Normal file

Binary file not shown.

BIN
xifthen.doc.tar.xz Normal file

Binary file not shown.

BIN
xifthen.tar.xz Normal file

Binary file not shown.

BIN
xii-lat.doc.tar.xz Normal file

Binary file not shown.

BIN
xii-lat.tar.xz Normal file

Binary file not shown.

BIN
xii.doc.tar.xz Normal file

Binary file not shown.

BIN
xint.doc.tar.xz Normal file

Binary file not shown.

BIN
xint.tar.xz Normal file

Binary file not shown.

BIN
xits.doc.tar.xz Normal file

Binary file not shown.

BIN
xits.tar.xz Normal file

Binary file not shown.

BIN
xkeyval.doc.tar.xz Normal file

Binary file not shown.

BIN
xkeyval.tar.xz Normal file

Binary file not shown.

BIN
xlop.doc.tar.xz Normal file

Binary file not shown.

BIN
xlop.tar.xz Normal file

Binary file not shown.

BIN
xltabular.doc.tar.xz Normal file

Binary file not shown.

BIN
xltabular.tar.xz Normal file

Binary file not shown.

BIN
xltxtra.doc.tar.xz Normal file

Binary file not shown.

BIN
xltxtra.tar.xz Normal file

Binary file not shown.

BIN
xmltexconfig.tar.xz Normal file

Binary file not shown.

BIN
xmpincl.doc.tar.xz Normal file

Binary file not shown.

BIN
xmpincl.tar.xz Normal file

Binary file not shown.

BIN
xnewcommand.doc.tar.xz Normal file

Binary file not shown.

BIN
xnewcommand.tar.xz Normal file

Binary file not shown.

BIN
xoptarg.doc.tar.xz Normal file

Binary file not shown.

BIN
xoptarg.tar.xz Normal file

Binary file not shown.

BIN
xpatch.doc.tar.xz Normal file

Binary file not shown.

BIN
xpatch.tar.xz Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More