diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:58:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:58:38 +0000 |
commit | f85ff2397e4db747dbd7faaad9ee354bb27cd6fa (patch) | |
tree | 3df07cd7568e28f218c5d664eb603b01a05b06ee /Master/texmf-dist/tex | |
parent | 370eb48f332e026fecb18f5ab5bae74f346702d5 (diff) |
manjutex
git-svn-id: svn://tug.org/texlive/trunk@1068 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/manjutex/lmabthh.fd | 32 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/manjutex/lmabthv.fd | 32 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/manjutex/manju.sty | 153 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/manjutex/manju.tex | 52 |
4 files changed, 269 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/manjutex/lmabthh.fd b/Master/texmf-dist/tex/latex/manjutex/lmabthh.fd new file mode 100644 index 00000000000..58243fd7cf5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/manjutex/lmabthh.fd @@ -0,0 +1,32 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% File: lmabthlh.fd +% Author: Oliver Corff +% Date: April 1st, 2001 +% Version: 0.2 +% Copyright: Ulaanbaatar, Beijing, Berlin +% +% Description: Local Mongolian Script (LMA) +% Manju Bithe Horizontal Font Definition +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ------------------- identification ------------------- +\ProvidesFile{lmabthh.fd} + [2001/04/01 v0.2 Bithe Horizontal font definitions] + +\DeclareFontFamily{LMA}{bthh}{% + %\def\v##1{\expandafter\ifx\csname #1\endcsname\s s'\else\orgv#1 \fi} + %\def\=#1{\expandafter\ifx\csname ##1\endcsname\u v\else\orgd##1 \fi} + \hyphenchar\font-1 } + +\DeclareFontShape{LMA}{bthh}{m}{n}% Medium Weight + { <-> bthhsm }{} + +\DeclareFontShape{LMA}{bthh}{b}{n}% Bold Weight + { <-> bthhb }{} + +\DeclareFontShape{LMA}{bthh}{bx}{n}% Bold Extended + { <-> sub*bthh/b/n }{} + +\endinput +%% +%% End of file `lmabthh.fd'. diff --git a/Master/texmf-dist/tex/latex/manjutex/lmabthv.fd b/Master/texmf-dist/tex/latex/manjutex/lmabthv.fd new file mode 100644 index 00000000000..c327108e95e --- /dev/null +++ b/Master/texmf-dist/tex/latex/manjutex/lmabthv.fd @@ -0,0 +1,32 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% File: lmabthlv.fd +% Author: Oliver Corff +% Date: April 1st, 2001 +% Version: 0.2 +% Copyright: Ulaanbaatar, Beijing, Berlin +% +% Description: Local Mongolian Script (LMA) +% Manju Bithe Vertical Font Definition +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ------------------- identification ------------------- +\ProvidesFile{lmabthv.fd} + [2001/04/01 v0.2 Bithe Vertical font definitions] + +\DeclareFontFamily{LMA}{bthv}{% + \def\v#1{\expandafter\ifx\csname #1\endcsname\s s'\else\orgv#1 \fi} + \def\=#1{\expandafter\ifx\csname #1\endcsname\u v\else\orgd#1 \fi} + \hyphenchar\font-1 } + +\DeclareFontShape{LMA}{bthv}{m}{n}% Medium Weight + { <-> bthvm }{} + +\DeclareFontShape{LMA}{bthlv}{b}{n}% Bold Weight + { <-> bthvb }{} + +\DeclareFontShape{LMA}{bthlv}{bx}{n}% Bold Extended + { <-> sub*bthv/b/n }{} + +\endinput +%% +%% End of file `lmabthv.fd'. diff --git a/Master/texmf-dist/tex/latex/manjutex/manju.sty b/Master/texmf-dist/tex/latex/manjutex/manju.sty new file mode 100644 index 00000000000..496a310d3cf --- /dev/null +++ b/Master/texmf-dist/tex/latex/manjutex/manju.sty @@ -0,0 +1,153 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% File: manju.sty +% Author: Oliver Corff +% Date: April 1st, 2001 +% Version: 0.2 +% Copyright: Ulaanbaatar, Beijing, Berlin +% +% Description: The manju style file providing access to all +% commands necessary for writing Manju. +% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ------------------- identification ------------------- +% +\ifx\VersionDate\undefined + \newcommand{\VersionDate}{2001/04/01} +\fi +% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{manju}[\VersionDate\ Manju for LaTeX2e] +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ------------------- initial code ------------------- +% +\let\orgv\v +\let\orgd\= +% +{\gdef\@sv#1{\expandafter\ifx\csname #1\endcsname\s s'\else\orgv#1 \fi}} +{\gdef\@sd#1{\expandafter\ifx\csname #1\endcsname\u v\else\orgd#1 \fi}} +% +% +% One variable needed later: +% +\newif\ifRtoL +% +\ifx\SetDocumentEncodingNeutral\undefined + \newcommand{\SetDocumentEncodingNeutral}{% + \renewcommand{\encodingdefault}{T1} + \fontencoding{T1}\selectfont + % \DeclareErrorFont{T1}{cmr}{m}{n}{10} + } +\fi +% +\newcommand{\SetDocumentEncodingLigBithe}{% + \renewcommand{\encodingdefault}{LMA} + \fontencoding{LMA} + \fontfamily{\ifRtoL bthv\else bthh\fi}\selectfont + %\DeclareErrorFont{LMA}{bthhsm}{m}{n}{10} + } +% +% +% Finally we define the captions: +% +%\input bithe.def % Future provision! +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ------------------- declaration of options ------------------- +% +\DeclareOption{english}{\captionsenglish\language0 } + %\renewcommand{\today}{\EnglishToday}} +\DeclareOption{bithe}{%\SetBithe + %\captionsbithe + %\renewcommand{\today}{\BitheToday} + } +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ------------------- execution of options ------------------- +% +\ProcessOptions +% +\RequirePackage[LMA,T1]{fontenc} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ------------------- package loading ------------------- +% +\RequirePackage{diagnose} +% +\ifx\c@PostScriptAvailable\undefined + \PackageDiagnostics{rotating.sty} + {PostScriptAvailable} + {PostScript Support Available!} + {No Vertical Text without PostScript Support!} +\fi +% +\ifnum\thePostScriptAvailable=1 + \RequirePackage{rotating} +\fi +% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ------------------- main code ------------------- +% +% \ManjuTeX creates the ManjuTeX logo +% +\newcommand{\ManjuTeX}{Manju\TeX} +% +% +% Language switching commands; influence both +% document conventions and document encoding +% +\renewcommand{\selectlanguage}[1]{% + \ifthenelse{\equal{#1}{bithe}}{% + \SetDocumentEncodingBithe + \captionsbithe}{} + \ifthenelse{\equal{#1}{english}}{% + \SetDocumentEncodingNeutral + \language0 + \captionsenglish}{} +} +% +\newcommand{\bthh}{ + \fontencoding{LMA}\fontfamily{bthh}\selectfont + } +\newcommand{\bthv}{ + \fontencoding{LMA}\fontfamily{bthv}\selectfont + } +% +\newcommand{\bth}{% + \let\v\@sv \let\=\@sd + \ifRtoL \bthv \else \bthh \fi } +% +% +% Some definitions for writing transliterated +% texts, useful mainly in Latin enviroments: +% +\DeclareTextCommand{\UU}{T1}{\={U}} +\DeclareTextCommand{\uu}{T1}{\={u}} +\DeclareTextCommand{\sh}{T1}{\char"0B2 } +\DeclareTextCommand{\Sh}{T1}{\char"092 } +% +% +% PostScript detection; necessary for user-friendly +% execution of vertical capsules +% +% \c@PostScriptAvailable=0 % Package testing +\ifx\bosoo\undefined +\ifthenelse{\value{PostScriptAvailable}=1}{% + \newcommand{\bosoo}[1]{% + \raisebox{2.25ex}{% + \begin{turn}{270}% + #1% + \end{turn}}}} + {\newcommand{\bosoo}[1]{#1}} +\fi +% +\newcommand{\mabosoo}[1]{\bosoo{{\bth #1}}} +% +% In any case, start with a clean document environment! +% +\SetDocumentEncodingNeutral +% \setlanguage=255 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% The \packagename\ package ends here. diff --git a/Master/texmf-dist/tex/latex/manjutex/manju.tex b/Master/texmf-dist/tex/latex/manjutex/manju.tex new file mode 100644 index 00000000000..0ea76c5ff56 --- /dev/null +++ b/Master/texmf-dist/tex/latex/manjutex/manju.tex @@ -0,0 +1,52 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% File: manju.tex +% Author: Oliver Corff +% Date: April 1st, 2001 +% Version: 0.2 +% Copyright: Ulaanbaatar, Beijing, Berlin +% +% Description: The manju.tex file providing access to the basic +% commands necessary for using Manju writing. +% +% +% ------------------- initial code ------------------- +% +\font\manjuzero=bthhsm scaled\magstep0 +\font\tenrmzero=cmr10 scaled\magstep0 + +\font\manjuone=bthhsm scaled\magstep1 +\font\tenrmone=cmr10 scaled\magstep1 + +\font\manjutwo=bthhsm scaled\magstep2 +\font\tenrmtwo=cmr10 scaled\magstep2 + +\def\msize{% + \def\manju{\manjuzero}% + \def\tenrm{\tenrmzero}} + +\def\msizei{% + \def\manju{\manjuone}% + \def\tenrm{\tenrmone}} + +\def\msizeii{% + \def\manju{\manjutwo}% + \def\tenrm{\tenrmtwo}} + +\def\bth{\manju} + +\let\orgv\v +\let\orgd\= +% +{\gdef\@sv#1{\expandafter\ifx\csname #1\endcsname\s s'\else\orgv#1 \fi}} +{\gdef\@sd#1{\expandafter\ifx\csname #1\endcsname\u v\else\orgd#1 \fi}} +% +\def\ManjuTeX{Manju\TeX} +% +% +\def\UU{\={U}} +\def\uu{\={u}} +\def\sh{\v{s}} +\def\Sh{\v{S}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ManjuTeX's manju.tex ends here. + |