diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/fonts/bengali/README | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/bengali/bengdoc.bn (renamed from Master/texmf-dist/source/latex/bengali/bengdoc.bn) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/bengali/bengdoc.pdf | bin | 0 -> 86123 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/bengali/example.bn (renamed from Master/texmf-dist/source/latex/bengali/example.bn) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/bengali/example.pdf | bin | 0 -> 38130 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/bengali/manifest.txt | 28 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/bengali/ebong.py | 346 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/bengali/beng.c | 1 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 1 |
10 files changed, 42 insertions, 347 deletions
diff --git a/Master/texmf-dist/doc/fonts/bengali/README b/Master/texmf-dist/doc/fonts/bengali/README new file mode 100644 index 00000000000..3f12a17d6f6 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/bengali/README @@ -0,0 +1,11 @@ +This is a package for typesetting Bengali. + +Copyright 2002 Anshuman Pandey +The entire package is released under the terms of the +LaTeX Project Public License, version 1, or (at your option) any later +version. The file manifest.txt gives the list of files included in the +package. + +Contact information: + http://www-personal.umich.edu/~pandey/ + (see also the umich.edu directory search) diff --git a/Master/texmf-dist/source/latex/bengali/bengdoc.bn b/Master/texmf-dist/doc/fonts/bengali/bengdoc.bn index aa9fdc8c7e8..aa9fdc8c7e8 100644 --- a/Master/texmf-dist/source/latex/bengali/bengdoc.bn +++ b/Master/texmf-dist/doc/fonts/bengali/bengdoc.bn diff --git a/Master/texmf-dist/doc/fonts/bengali/bengdoc.pdf b/Master/texmf-dist/doc/fonts/bengali/bengdoc.pdf Binary files differnew file mode 100644 index 00000000000..e1efdf0a556 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/bengali/bengdoc.pdf diff --git a/Master/texmf-dist/source/latex/bengali/example.bn b/Master/texmf-dist/doc/fonts/bengali/example.bn index c8498e80172..c8498e80172 100644 --- a/Master/texmf-dist/source/latex/bengali/example.bn +++ b/Master/texmf-dist/doc/fonts/bengali/example.bn diff --git a/Master/texmf-dist/doc/fonts/bengali/example.pdf b/Master/texmf-dist/doc/fonts/bengali/example.pdf Binary files differnew file mode 100644 index 00000000000..1af7ed15ec7 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/bengali/example.pdf diff --git a/Master/texmf-dist/doc/fonts/bengali/manifest.txt b/Master/texmf-dist/doc/fonts/bengali/manifest.txt new file mode 100644 index 00000000000..a0cc6ff63cc --- /dev/null +++ b/Master/texmf-dist/doc/fonts/bengali/manifest.txt @@ -0,0 +1,28 @@ +beng.c +beng.sty +ubn.fd +ubnx.fd +doc/bengdoc.bn +doc/bengdoc.pdf +doc/example.bn +doc/example.pdf +mf/bn.mf +mf/bnbanjon.mf +mf/bndigit.mf +mf/bnjuk.mf +mf/bnkaar.mf +mf/bnlig.mf +mf/bnligtbl.mf +mf/bnmacro.mf +mf/bnmisc.mf +mf/bnpunct.mf +mf/bnr10.mf +mf/bnsl10.mf +mf/bnswar.mf +mf/xbnr10.mf +mf/xbnsl10.mf +mf/xbnsupp.mf +tfm/bnr10.tfm +tfm/bnsl10.tfm +tfm/xbnr10.tfm +tfm/xbnsl10.tfm diff --git a/Master/texmf-dist/scripts/bengali/ebong.py b/Master/texmf-dist/scripts/bengali/ebong.py deleted file mode 100755 index c4162cf0ef6..00000000000 --- a/Master/texmf-dist/scripts/bengali/ebong.py +++ /dev/null @@ -1,346 +0,0 @@ -#!/usr/bin/env python -# look in newbong -import sre -A='A' -B='B' -S='S' -s='s' -F='F' -X='X' - -NCLINE = 0 -global NCWORD,CWORD - -AKSAR={ - 'k' :[B,'k'], - 'kh' :[B,'kh'], - 'g' :[B,'g'], - 'gh' :[B,'gh'], - 'ng' :[B,'NG'], - - 'ch' :[B,'c'], - '^ch' :[B,'ch'], - 'j' :[B,'j'], - 'jh' :[B,'jh'], - '^y' :[B,'NJ'], - '_n' :[B,'NJ'], - - 't' :[B,'T'], - '^th' :[B,'Th'], - 'd' :[B,'D'], - 'dh' :[B,'Dh'], - '^n' :[B,'N'], - - '_t' :[B,'t'], - 'th' :[B,'th'], - '_d' :[B,'d'], - '_dh' :[B,'dh'], - 'n' :[B,'n'], - - 'p' :[B,'p'], - 'ph' :[B,'ph'], - 'f' :[B,'ph'], - 'b' :[B,'b'], - 'bh' :[B,'bh'], - 'v' :[B,'bh'], - 'm' :[B,'m'], - 'M' :[F,'M'], - - '^j' :[B,'J'], - 'J' :[B,'J'], - 'r' :[B,'r'], - 'R' :[F,'R'], - 'l' :[B,'l'], - 'L' :[F,'L'], - 'W' :[F,'W'], - 'V' :[F,'W'], - 'h' :[B,'H'], - 'kk' :[B,'kK'], - 'kkm' :[B,'kK/N'], - - 'sh' :[B,'sh'], - '^s' :[B,'Sh'], - '^sh' :[B,'Sh'], - 's' :[B,'s'], - - '^r' :[B,'rh'], - '^rh' :[B,'rhh'], - 'y' :[B,'y'], - 'Y' :[F,'Y'], - 'JY' :[F,'Y'], - '__t' :[B,'t//'], - '^ng' :[B,'NNG'], - ':h' :[B,'h'], - '^' :[F,'NN'], - '_' :[F,':/'], - - 'A' :[S,'A'], - 'AA' :[S,'Aa'], - 'I' :[S,'I'], - 'II' :[S,'II'], - 'U' :[S,'U'], - 'UU' :[S,'UU'], - 'RI' :[S,'RR'], - 'E' :[S,'E'], - 'OI' :[S,'OI'], - 'O' :[S,'O'], - 'OU' :[S,'OU'], - - 'a' :[X,'o',1], - 'aa' :[s,'a',1], - 'i' :[s,'i',-1], - 'ii' :[s,'ii',1], - 'u' :[s,'u',1], - 'uu' :[s,'uu',1], - 'RII' :[s,'rR',1], - 'e' :[s,'e',-1], - 'oi' :[s,'oi',-2], - 'oo' :[s,'oo',11], - 'o' :[X,'o',1], - 'ou' :[s,'ou',12], - - '.' :[F,'.'], - '..' :[F,'..'], - '...' :[F,'...'], - '|' :[F,'|'], - - '~' :[F,'~'], - '`' :[F,'`'], - '!' :[F,'!'], - '1' :[F,'1'], - '2' :[F,'2'], - 'at' :[F,'@'], - '#' :[F,'#'], - '3' :[F,'3'], - '$' :[F,'$'], - '4' :[F,'4'], - '%' :[F,'%'], - '5' :[F,'5'], - '6' :[F,'6'], - '&' :[F,'&'], - '7' :[F,'7'], - '*' :[F,'*'], - '8' :[F,'8'], - '(' :[F,'('], - '9' :[F,'9'], - ')' :[F,')'], - '0' :[F,'0'], - 'dash' :[F,'-'], - '+' :[F,'+'], - '=' :[F,'='], - '|' :[F,'|'], - '{' :[F,'{'], - '[' :[F,'['], - '}' :[F,'}'], - ']' :[F,']'], - ':' :[F,':'], - ';' :[F,';'], - '"' :[F,'"'], - "'" :[F,"'"], - '<' :[F,'<'], - ',' :[F,','], - '>' :[F,'>'], - '.' :[F,'.'], - '?' :[F,'?'], - '/' :[F,'/']} - -CATCODES = {'SS' :[S,'','','',1], - 'SB' :[B,'','','',1], - 'BS' :[S,'','','',1], - 'BB' :[B,'','/','',1], - 'BF' :[F,'','','',1], - 'Bs1' :[S,'','','',1], - 'Bs-1':[S,'\*','','*',1], - 'Bs-2':[S,'\*','','*{oi}',0], - 'Bs11':[S,'\*','','*ea',0], - 'Bs12':[S,'\*','','*eou',0], - 'Fs1' :[S,'','','',1], - 'Fs-1':[S,'\*','','*',1], - 'Fs-2':[S,'\*','','*{oi}',0], - 'Fs11':[S,'\*','','*ea',0], - 'Fs12':[S,'\*','','*eou',0], - 'FF' :[F,'','','',1], - 'AX' :[F,'','','',1]} - -def blocked(line): - #print '@ blocked', line , '->', - m = sre.findall('@[^@]+@',line) - outline = line - if not m : - #print outline - return(outline) - else: - for i in range(len(m)): - s=m[i][:-1].replace(' ','%X%') - outline = outline.replace(m[i],s,1) - #print outline - return(outline) - -def unblock(line): - #print '@unblock', line, '->', - m = sre.findall('@[^\s]+',line) - outline = line - if not m : - #print outline - return(outline) - else: - for i in range(len(m)): - s=m[i].replace('@','').replace('%X%',' ') - outline = outline.replace(m[i],s) - #print outline - return(outline) - -def printamp(line): - #print '@unblock', line, '->', - m = sre.findall('#AT',line) - outline = line - if not m : - #print outline - return(outline) - else: - for i in range(len(m)): - outline = outline.replace('#AT','@') - #print outline - return(outline) - -def readsyll(syll): - syllparts=[] - start = 0; end = len(syll) - while syll[start : end]: - slice = syll[start : end] - #print slice - if AKSAR.has_key(slice): - syllparts.append(AKSAR[slice]) - start = start + len(slice) - end = len(syll) - else : - end = end -1 - return(syllparts) - -def fuse(list1,list2): - global CCATCODE - #print list1,list2 - Type1 = list1[0] - Type2 = list2[0] - - if Type2 == s: - Type3 = str(list2[2]) - elif Type2 == X: - Type1=A - Type3='' - else: - Type3 ='' - - Type = Type1+Type2+Type3 - - #print 'Type:', Type - - try: - CATCODE = CATCODES[Type] - TARGET = CATCODE[0] - PREFIX = CATCODE[1] - MIDFIX = CATCODE[2] - POSTFIX = CATCODE[3] - FLAG = CATCODE[4] - - #print 'TGT:', TARGET, PREFIX,MIDFIX,POSTFIX,FLAG - #print 'RAWC', AKSAR[list1[1]][1],AKSAR[list2[1]][1] - - c1=list1[1] - c2=list2[1] - - if FLAG == 1 : - c = PREFIX + c1 + MIDFIX + POSTFIX + c2 - else : - c = PREFIX + c1 + MIDFIX + POSTFIX - - fused = [TARGET,c] - #print CATCODE - return(fused) - except KeyError: - print '\n ERROR AT LINE:', NCLINE, 'WORD:',NCWORD, '(',CWORD,')' - return(['ERROR','UNKNOWN CATCODE']) - -def fuseatoms(syll): - slist=readsyll(syll); - #print slist - lslist=len(slist); - l0=slist[0]; - for i in range(1,lslist): - nextitem = slist[i] - l0=fuse(l0,nextitem) - - return(l0[1]) - -def fuseword(wrd): - if wrd[0] == '@' : - return(wrd) - syllables = wrd.split('-') - w0='' - for eachsyll in syllables: - syll=eachsyll - thesyll = fuseatoms(syll) - w0 = w0 + thesyll - #print 'FUSED WORD',w0 - return(w0) - -def fuseline(line): - global NCWORD,CWORD - NCWORD = 0 - #line = blocked(line) - words = line.split() - l0='' - for eachword in words: - NCWORD=NCWORD+1 - word = eachword - CWORD=word - theword=fuseword(word) - #print 'XX',theword - l0=l0+' '+theword - #print 'FUSED LINE', l0 - return(l0) - -# The main program -import sys -OK=1 -finnam = sys.argv[1] -foutnam = finnam.split('.')[0] + '.' + 'tex' - -fin = file(finnam,'rt') -fout = file(foutnam,'wt') - -textin = fin.readlines() -nlines = len(textin) - -textout = [] - -fin.close() - -for eachline in textin: - NCLINE = NCLINE+1 - if eachline[0] == '#' : - lineout = eachline[1:] - elif eachline[0] == '\\' : - lineout = eachline - elif eachline == '\n': - lineout = eachline - else : - line1 = eachline.strip() - line2 = blocked(line1) - lineout = fuseline(line2) + '\n' - lineout = lineout[1:] - #print ':::', lineout - if lineout.find('UNKNOWN CATCODE') == -1 : - lineout = unblock(lineout) - #print ':::', lineout - textout.append(printamp(lineout)) - else : - OK = 0 - fout.close() - -if OK == 1: - fout.writelines(textout) - fout.close() - print 'done' -else: - print 'Unknown CATCODE, Fix The errors and try again' diff --git a/Master/texmf-dist/source/latex/bengali/beng.c b/Master/texmf-dist/source/latex/bengali/beng.c index 53b155e5eaf..18b69463b94 100644 --- a/Master/texmf-dist/source/latex/bengali/beng.c +++ b/Master/texmf-dist/source/latex/bengali/beng.c @@ -972,6 +972,7 @@ char *p, sam_flag; int n; /* dh */ case 'D': LS("n", NR, "\\3BCz" ); LS("b", NR, "\\3BDz" ); + LS("v", NR, "\\3BDz" ); strcat(work,"x"); NR; /* n */ diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index e7c2bb60e59..cc523778255 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -46,7 +46,7 @@ my @TLP_working = qw( babel babelbib background bangtex barcodes barr bartel-chess-fonts baskervald bbcard bbding bbm bbm-macros bbold bbold-type1 bclogo beamer beamer-FUBerlin beamer-tut-pt beamerposter beamerthemenirma - beebe begriff bera berenisadf betababel beton + beebe begriff bengali bera berenisadf betababel beton bez123 bezos bgreek bib-fr bibarts bibhtml biblatex biblatex-apa biblatex-chem biblatex-chicago diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 929ceaf144c..1976c39f6fb 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1177,6 +1177,7 @@ $standardtex='\.(.bx|cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; 'barr', 'generic', 'bartel-chess-fonts', 'fonts', 'bbm', 'fonts', + 'bengali', 'fonts', 'bera', 'fonts', 'bghyphen', 'generic', 'bib-fr', 'bibtex', |