diff options
author | Karl Berry <karl@freefriends.org> | 2017-01-11 23:05:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-01-11 23:05:37 +0000 |
commit | 049885c8d1445148f8bdf8cce7150414fc627940 (patch) | |
tree | 2f3a2c8edfaac52e2ef1c000d32964fc15ea441e /Master/texmf-dist/doc/latex/sanskrit | |
parent | fd888c7150478ac41c40363893372aa22bdaf02a (diff) |
sanskrit (11jan17)
git-svn-id: svn://tug.org/texlive/trunk@42925 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/sanskrit')
-rw-r--r-- | Master/texmf-dist/doc/latex/sanskrit/README.md | 141 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/sanskrit/README.pdf | bin | 0 -> 87595 bytes | |||
-rwxr-xr-x | Master/texmf-dist/doc/latex/sanskrit/build-ctan-dist.sh | 60 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/sanskrit/readme.txt | 105 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/sanskrit/sktdoc.pdf | bin | 0 -> 418299 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/sanskrit/sktdoc.skt | 188 |
6 files changed, 287 insertions, 207 deletions
diff --git a/Master/texmf-dist/doc/latex/sanskrit/README.md b/Master/texmf-dist/doc/latex/sanskrit/README.md new file mode 100644 index 00000000000..8e322822e0e --- /dev/null +++ b/Master/texmf-dist/doc/latex/sanskrit/README.md @@ -0,0 +1,141 @@ +Introduction +============ + +The package contains the font files and pre-processor for printing +Sanskrit in both devanagari and transliterated roman with diacritics. + +Some features of the devanagari are: + +- Font available in three weights and two slopes. + +- The i-hooks connect to the consonant at the correct position. + +- Accents for all Vedas (23 symbols). + +- Accent marking in colour or grey shading. + +- Choice of basic character forms, and samyoga. + +- Dynamic option selection. + +- Range of inter- and intra-syllable spacing. + +- Vedic anusvaara and jihvaamuuliiya/upadhmaaniiya. + +- Crisper characters (to look good at poster size of 150mm/6-inches). + +Some features of the transliterated roman: + +- Transliterated output in roman script with diacritics, using the + same encoding scheme as for producing devanaagarii. + +- Technical transliterated output using four 'cases', following the + style of S.M.Katre in his translation of the A.s.taadhyaayii. + +- Each transliteration mode has four styles: roman/italic x bold/normal. + +The font and supporting files are designed for use with LaTeX2e; it is a +bitmap font using Metafont. + +Installation +============ + +If `sktbugxx.txt` files exist, you may want to implement any changes or +patches first. + +Run the metafont program on the eight font source files (the typical +command would be `mf "\mode=ljfour; mag=1; input skt8;"` to produce the +`.tfm` files. If you are using `dvips`, then the `.pk` files will be +produced automatically on demand; if not, then you will need to + +1. Convert the .gf files with the command `gftopk skt8.600gf` (the + number '600' depends upon your printer resolution and + the magnification) to produce `skt8.pk` which must be copied to the + appropriate subdirectory. +2. Repeat this process with all eight fonts. +3. For the six `skt*10.mf` files the whole process needs to be repeated + with the mag value in the `mf` command set to 1.095, 1.2, 1.44, + 1.728, 2.074 and 2.488. + +The `mf_inputs` path needs to point to the files with a `.mf` extension; +the `tex_fonts` path should point to the `.tfm` files; the `tex_inputs` +path should point to the files `skt.sty`, `ot1skt.fd`. The `tex_exe` (or +other appropriate) path should point to `skt.exe`. + +To test the setup on the documentation file: first run the pre-processor +`skt sktdoc` and then `latex sktdoc`. The files `ifthen.sty`, +`relsize.sty`, `xcolor.sty` and `multicol.sty` are also required. + +The files that you should have are: + +`readme.txt` +This file. + +`skt.sty` +Style file (LaTeX2e) for the skt-series fonts. + +`ot1skt.fd` +Font descriptor file for the skt-series fonts. + +`skt.c` +Pre-processor source program in ANSI C. + +`sktdoc.skt` +Source file of documentation and samples. + +`sktdoc.ps` +Print file of documentation and samples. + +`sktdefs.mf` +Common definitions of pens, macros, etc. for skt-series fonts. + +`sktchars.mf` +Common character source file for skt-series fonts. + +`sktligs.mf` +Ligature codes (in fact access codes for non-printing ASCII +code characters) for skt-series fonts. + +`skt8.mf` +Metafont source file for skt font at 8pt upright. + +`skt9.mf` +Metafont source file for skt font at 9pt upright. + +`skt10.mf` +Metafont source file for skt font at 10pt upright. + +`sktb10.mf` +Metafont source file for skt font at 10pt upright bold. + +`sktf10.mf` +Metafont source file for skt font at 10pt upright feint. + +`skts10.mf` +Metafont source file for skt font at 10pt slanted. + +`sktbs10.mf` +Metafont source file for skt font at 10pt bold slant. + +`sktfs10.mf` +Metafont source file for skt font at 10pt feint slant. + +`skt*.tfm` +Eight .tfm font files for above. + +`sktbugxx.txt` +There may be a series of such files, where ‘xx’ is a two-digit number, +listing reported bugs and (possibly) fixes or patches. + +History +======= + +- Revision 1.0 1996/02/13 Charles Wikner wikner@nacdh4.nac.ac.za +- Revision 2.0 1996/11/27 Charles Wikner wikner@nacdh4.nac.ac.za +- Revision 2.2 2002/01/02 Charles Wikner wikner@nac.ac.za +- Revision 2.2.1 2016/09/01 Václav Haisman vhaisman@gmail.com + +I, Václav Haisman, am only a maintainer pro tempore. If you are reading this +and you have patches to submit and actual interest in and knowledge of +Sanskrit and LaTeX, do not hesitate to ask for maintainership of this +package. I will gladly pass the baton over to you. diff --git a/Master/texmf-dist/doc/latex/sanskrit/README.pdf b/Master/texmf-dist/doc/latex/sanskrit/README.pdf Binary files differnew file mode 100644 index 00000000000..b7f220d38ad --- /dev/null +++ b/Master/texmf-dist/doc/latex/sanskrit/README.pdf diff --git a/Master/texmf-dist/doc/latex/sanskrit/build-ctan-dist.sh b/Master/texmf-dist/doc/latex/sanskrit/build-ctan-dist.sh new file mode 100755 index 00000000000..b2ce5d400e7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/sanskrit/build-ctan-dist.sh @@ -0,0 +1,60 @@ +#!/bin/sh + +set -e +set -x + +command_exists() { + type "$1" &> /dev/null ; +} + +if command_exists pandoc ; then + pandoc --smart \ + --verbose \ + -f markdown-raw_tex \ + -t latex \ + -o README.pdf \ + README.md +fi + +${CC:-cc} -o skt skt.c + +./skt sktdoc.skt sktdoc.tex + +latexmk -gg -ps sktdoc.tex + +latexmk -g -pdf sktdoc.tex + +rm -f ./ps-type1/sktdoc.pdf +ln ./sktdoc.pdf ./ps-type1/sktdoc.pdf + +chmod -R +r . + +list_files() { + find ./ps-type1 -type f \ + \( -name '*.pfb' \ + -o -name '*.map' \ + -o -name 'sktdoc.pdf' \ + -o -name 'README' \ + \) -print + + find . -maxdepth 1 -type f \ + \( -name '*.sh' \ + -o -name '*.mf' \ + -o -name '*.tfm' \ + -o -name '*.fd' \ + -o -name '*.sty' \ + -o -name '*.c' \ + -o -name 'sktdoc.ps' \ + -o -name 'sktdoc.pdf' \ + -o -name 'sktdoc.skt' \ + -o -name 'README.md' \ + -o -name 'README.pdf' \ + \) -print +} + +list_files | sort | \ + tar -cvvzf sanskrit.tar.gz \ + -T - \ + --transform 's,^\./,sanskrit/,' \ + --owner=sanskrit \ + --group=ctan diff --git a/Master/texmf-dist/doc/latex/sanskrit/readme.txt b/Master/texmf-dist/doc/latex/sanskrit/readme.txt deleted file mode 100644 index 3c56405bf63..00000000000 --- a/Master/texmf-dist/doc/latex/sanskrit/readme.txt +++ /dev/null @@ -1,105 +0,0 @@ -% -% README.TXT -% -% Revision 1.0 1996/02/13 Charles Wikner wikner@nacdh4.nac.ac.za -% Revision 2.0 1996/11/27 Charles Wikner wikner@nacdh4.nac.ac.za -% Revision 2.2 2002/01/02 Charles Wikner wikner@nac.ac.za -% - -The package contains the font files and pre-processor for printing -Sanskrit in both devanagari and transliterated roman with diacritics. - -Some features of the devanagari are: - - o Font available in three weights and two slopes. - - o The i-hooks connect to the consonant at the correct position. - - o Accents for all Vedas (23 symbols). - - o Accent marking in colour or grey shading. - - o Choice of basic character forms, and samyoga. - - o Dynamic option selection. - - o Range of inter- and intra-syllable spacing. - - o Vedic anusvaara and jihvaamuuliiya/upadhmaaniiya. - - o Crisper characters (to look good at poster size of 150mm/6-inches). - -Some features of the transliterated roman: - - o Transliterated output in roman script with diacritics, using the - same encoding scheme as for producing devanaagarii. - - o Technical transliterated output using four `cases', following the - style of S.M.Katre in his translation of the A.s.taadhyaayii. - - o Each transliteration mode has four styles: roman/italic x bold/normal. - -The font and supporting files are designed for use with LaTeX2e; it is -a bitmap font using Metafont. - -INSTALLATION - -If sktbugxx.txt files exist, you may want to implement any changes or -patches first. - -Run the metafont program on the eight font source files (the typical -command would be mf "\mode=ljfour; mag=1; input skt8;" to produce -the .tfm files. If you are using dvips, then the .pk files will be -produced automatically on demand; if not, then you will need to -(1) Convert the .gf files with the command gftopk skt8.600gf -(the number `600' depends upon your printer resolution and the -magnification) to produce skt8.pk which must be copied to the -appropriate subdirectory. -(2) Repeat this process with all eight fonts. -(3) For the six skt*10.mf files the whole process needs -to be repeated with the mag value in the mf command set -to 1.095, 1.2, 1.44, 1.728, 2.074 and 2.488. - -The mf_inputs path needs to point to the files with a .mf extension; -the tex_fonts path should point to the .tfm files; the tex_inputs -path should point to the files skt.sty ot1skt.fd. The tex_exe -(or other appropriate) path should point to skt.exe. - -To test the setup on the documentation file: first run the pre-processor -skt sktdoc and then latex sktdoc. The files ifthen.sty, relsize.sty, -and multicol.sty are also required. If you are not using dvips and -pstricks then first comment out line 12 in sktdoc.skt. - -The files that you should have are: - -readme.txt This file. -skt.sty Style file (LaTeX2e) for the skt-series fonts. -ot1skt.fd Font descriptor file for the skt-series fonts. -skt.c Pre-processor source program in ANSI C. -sktdoc.skt Source file of documentation and samples. -sktdoc.ps Print file of documentation and samples. -sktdefs.mf Common definitions of pens, macros, etc. for skt-series fonts. -sktchars.mf Common character source file for skt-series fonts. -sktligs.mf Ligature codes (in fact access codes for non-printing - ASCII code characters) for skt-series fonts. -skt8.mf Metafont source file for skt font at 8pt upright. -skt9.mf Metafont source file for skt font at 9pt upright. -skt10.mf Metafont source file for skt font at 10pt upright. -sktb10.mf Metafont source file for skt font at 10pt upright bold. -sktf10.mf Metafont source file for skt font at 10pt upright feint. -skts10.mf Metafont source file for skt font at 10pt slanted. -sktbs10.mf Metafont source file for skt font at 10pt bold slant. -sktfs10.mf Metafont source file for skt font at 10pt feint slant. -skt*.tfm Eight .tfm font files for above. -sktbugxx.txt There may be a series of such files, where `xx' is a - two-digit number, listing reported bugs and - (possibly) fixes or patches. - -Suggestions and bug reports to: -wikner@nacdh4.nac.ac.za -02 January 2002. - -P.S. -I shall be retiring from the world at the end of March 2002, -and shall not be available on the Net. - diff --git a/Master/texmf-dist/doc/latex/sanskrit/sktdoc.pdf b/Master/texmf-dist/doc/latex/sanskrit/sktdoc.pdf Binary files differnew file mode 100644 index 00000000000..de5e14ce771 --- /dev/null +++ b/Master/texmf-dist/doc/latex/sanskrit/sktdoc.pdf diff --git a/Master/texmf-dist/doc/latex/sanskrit/sktdoc.skt b/Master/texmf-dist/doc/latex/sanskrit/sktdoc.skt index 764be88fbe1..e6c79f33aab 100644 --- a/Master/texmf-dist/doc/latex/sanskrit/sktdoc.skt +++ b/Master/texmf-dist/doc/latex/sanskrit/sktdoc.skt @@ -4,6 +4,7 @@ % Revision 1.0 1996/02/13 Charles Wikner wikner@nacdh4.nac.ac.za % Revision 1.1 1996/03/05 added skt*.tfm files to distribution % Revision 2.0 1996/11/27 major upgrade. +% Revision 2.2.1 2016/09/01 compilation fixes and modernization % % Copyright 1996 & 2002 Charles Wikner % This program can be redistributed and/or modified under the terms @@ -17,13 +18,27 @@ \documentclass[12pt]{article} \usepackage[larger,iitalic,uitalic]{skt} +% Page size compatible both with Letter and A4 papers. +\usepackage[paperheight=279.4mm, paperwidth=210mm]{geometry} \usepackage{multicol} -\usepackage{pstricks} % If not using pstricks, then comment out this line -% ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +\usepackage{xcolor} +\usepackage{mflogo} +\providecommand{\lightgray}{\color{lightgray}} +\usepackage{microtype} +\usepackage{titlesec} -\providecommand{\lightgray}{} % default when pstricks not used +% Tweak section title format to conserve space. +\titleformat{\section}{\large\bfseries}{\thesection}{\parskip}{} +% Make \section*s unnumbered. +\setcounter{secnumdepth}{0} -\font\bigskt=skt10 at 46mm +\DeclareFixedFont{\bigskt}{OT1}{skt}{m}{n}{46mm} + +% Dotted hrule. +\makeatletter +\newcommand{\Dotfill}{\leavevmode \cleaders \hb@xt@ .9em{\hss .\hss }\hfill \kern \z@} +\makeatother +\newcommand{\dotrule}{\hspace*{\fill}\parbox{0.3\textwidth}{\Dotfill}\hspace*{\fill}} \pagenumbering{skt} @@ -51,14 +66,21 @@ {\mbox{\entrynumber{#1} \makebox[14mm][l]{#2}{#3}}\par% \hspace*{23.5mm}\mbox{#4}\par} +\title{Sanskrit for \LaTeXe{}\\Version 2} +\author{Charles Wikner} +\date{} + \begin{document} -{\Large \textbf{Sanskrit for \LaTeXe \hfill Version 2}\par}%%% -\vfill -\vspace{1mm} +\begin{titlepage} + \maketitle +\end{titlepage} -{\large \textbf{Introduction}\par} +\tableofcontents +\clearpage +\section{Introduction}% +% The package contains the font files and pre-processor for printing Sanskrit text in both {\skti devanaagarii} and transliterated Roman with diacritics. @@ -86,17 +108,16 @@ Some features of the transliterated Roman:\\[2mm] \makebox[8mm][c]{$\bullet$} Full accent marking and stacking in basic transliteration mode.\\ \makebox[8mm][c]{$\bullet$} - Four `cases' (as per S\,M\,Katre) in technical transliteration mode.\\ + Four `cases' (as per S.\,M.\,Katre) in technical transliteration mode.\\ \makebox[8mm][c]{$\bullet$} Each transliteration mode has four styles: Roman/italic $\times$\ bold/normal. Indebtedness to the earlier work of Frans Velthuis and Dominik Wujastyk is acknowledged: the overall structure and encoding is based upon theirs. -\vspace{3.5mm} - -{\large \textbf{Upgrading from Version 1}\par} +\section{Upgrading from Version 1}% +% Every file in this package differs greatly from the Version~1 release, so all need to be replaced, and all related pixel files (e.g.~\verb+skt*.pk+) should be deleted. @@ -108,7 +129,7 @@ that impact on the users' files (those with a \verb+.skt+ extension): The accent marking symbols, \verb+<+ and \verb+>+, have changed.\\ \makebox[8mm][c]{$\bullet$} The punctuation marks \verb+! ` ' [ ]+ no longer pass through as - Roman.\newline\hspace*{8mm}\ (But see page 12 for producing them + Roman.\newline\hspace*{8mm}\ (But see page~\pageref{ref:punct} for producing them in version 2.)\\ \makebox[8mm][c]{$\bullet$} The option file (\verb+skt.opt+) is no longer used; instead the @@ -124,8 +145,8 @@ that impact on the users' files (those with a \verb+.skt+ extension): should be checked against their new definitions. \vspace{5mm} -{\large \textbf{Illustrations of Input and {\sktX Devanaagarii} Output}\par} - +\section{Illustrations of Input and {\sktX Devanaagarii} Output}% +% The following brief samples demonstrate the available styles of {\skti devanaagarii\/} font and their encoding. In this mode upper case characters are disallowed. @@ -154,10 +175,10 @@ density; the extremes are: {\skt [1- 2- 3-] naiva ki.mcitkaromiiti yukto manyeta tattvavit|}\\[2mm] {\skt [1+ 2+ 3+] naiva ki.mcitkaromiiti yukto manyeta tattvavit|[1- 2- 3-]} \end{center} -\vspace{-1mm} -{\large\bf Illustrations of Basic Transliteration\par} +\section{Illustrations of Basic Transliteration}% +% The same input may also be used to produce transliterated output. Note that the `\verb+iitalic+' option is selected, but not `\verb+xitalic+'. @@ -193,8 +214,8 @@ but facilitate the printing of capital letters, for example:\\[2mm] {\sktI Bhaarate Raamo vasati} \vspace{4mm} -{\large\bf Illustrations of Technical Transliteration\par} - +\section{Illustrations of Technical Transliteration}% +% As in the basic transliteration mode, there are four font styles selected through \verb+sktt/T+ or \verb+sktu/U+; however, in this mode only the Western accent marking is allowed. This technical (grammatical) mode @@ -224,12 +245,9 @@ may be encoded in the technical mode as\\[3mm] This translates as: A substitute {\sktT kU\/} replaces {\sktT c\/} or {\sktT j\/} before {\sktT .NyaT\/} or [affixes]\newline\hspace*{35mm}with {\sktT GH\/} as an {\sktT _I_T\/} marker. -\vspace{5mm} - -\clearpage - -{\large \textbf{Vedic Accent Marking}\par} +\section{Vedic Accent Marking}% +% Since the significance of the {\skti devanaagarii} accent marking may differ between {\skti Veda\/}s (e.g.~{\skt a!} is {\skti svarita} in {\skti .Rgveda}, but {\skti udaatta} in {\skti Kaa.thaka\/}), the character @@ -302,7 +320,7 @@ The {\skti devanaagarii\/} accent marks themselves may be printed in colour (red is the tradition) or grey. This actually makes the text easier to read: the sample text from the {\skti .Rgveda} on page~\pageref{rgtext} has the accents in the first four verses the default black, and in the next -four verses they are `lightgray' (using \verb+pstricks+). +four verses they are `lightgray' (using \verb+xcolor+). To set the accent colour redefine the \verb+\ZK+ command anywhere in the \verb+.skt+~file as \verb+\renewcommand{\ZK}[1]{{\lightgray #1}}+ for example. @@ -310,10 +328,9 @@ In transiteration, the accents should stack correctly and track in italics, e.g.:\\ {\sktt [38+]_.r.r'#} and {\sktu _.r.r'#[38-]} (signifying a long or short {\skti udaatta .r} used for pronunciation only). -\vspace{5mm} - -{\large \textbf{Dynamic Option Selection}\par} +\section{Dynamic Option Selection}% +% The selection and deselection of options may occur anywhere in the preamble (but after \verb+\usepackage{skt}+) or in the body of the text. By default all options are deselected @@ -348,12 +365,11 @@ the same input text line. For example:\\[2mm] Note that once an option is selected (anywhere in the file), it remains in effect until explicitly deselected, irrespective of \verb+{+\verb+\skt...}+ groupings. -\vspace{5mm} \clearpage -{\large \textbf{Control Options (0--11)}\par} - +\section{Control Options (0--11)}% +% The control options are all those that do not affect character shapes in transliteration or {\skti devanaagarii}. \vfill @@ -512,10 +528,9 @@ hyphens, \verb+\-+, in the input text. The auto-hyphenation is extremely crude (it adds a discretionary hyphen after every vowel!), and should only be used for drafts. -\vspace{3mm} - -{\large \textbf{Transliteration Options (20--38)}\par} +\section{Transliteration Options (20--38)}% +% The following table illustrates the transliteration options available:\\[2mm] \renewcommand{\arraystretch}{1} \begin{tabular}{|c|c|c|c|c|} @@ -558,12 +573,11 @@ and size used, it may be used to overcome the difficulty distinguishing between the macron and the tilde (i.e.~{\skti aa a# [38+]a#[38-]\/}); and secondly, it may be used in technical grammar to indicate an explicit short vowel ({\sktt [38+]a#[38-]}) or long or short ({\sktt [38+]aa#[38-]}) -\vspace{5mm} \pagebreak -{\large \textbf{{\sktX Devanaagarii} Character Options(40--79)}\par} - +\section{{\sktX Devanaagarii} Character Options (40--79)}% +% The table illustrates the basic character forms available: where multiple options apply to the same input (e.g.~65 and~75) the selected option with the highest value will apply. Although {\sktX k.sa} and {\sktX j~na} @@ -606,8 +620,8 @@ rather than in the next section. \end{tabular} \vfill -{\large \textbf{{\sktX Devanaagarii Sa.myoga\/} Options (100--199)}\par} - +\section{{\sktX Devanaagarii Sa.myoga\/} Options (100--199)}% +% The table illustrates the basic {\skti sa.myoga\/} options available. In general, the default {\skti sa.myoga\/} is the most compact, and the options use a looser form: the latter may be easier to read, particularly @@ -812,8 +826,8 @@ the highest value selected will apply.} \clearpage -{\large \textbf{The Pre-processor: skt.c}\par} - +\section{The Pre-processor: skt.c}% +% This ANSI C program processes the source text file (with a default \verb+.skt+ filename extension) to produce a file suitable for \LaTeXe\ (with a default \verb+.tex+ extension). For example, the command \verb+skt test+ will convert @@ -833,7 +847,7 @@ or transliteration format as required, until the matching `\verb+}+'. The cycle is then repeated. Within the \verb+skt+ text, the following punctuation characters will be -passed to the output as roman: +passed to the output as roman:\label{ref:punct} \begin{center} \framebox{\texttt{ ( ) * + , - / : ; = ? }} @@ -869,8 +883,8 @@ encountered. \pagebreak -{\large \textbf{The skt package: skt.sty}\par} - +\section{The skt package: skt.sty}% +% The following statement needs to be in the preamble of the document:\\ \verb+\usepackage[options]{skt}+\\ where `options' may be any or all or none of the following: @@ -904,8 +918,8 @@ included in the standard \LaTeXe\ distribution, and Donald Arseneau's \verb+relsize.sty+ which you may need to get from the CTAN archives. \vspace{5mm} -{\large \textbf{Supplementary Notes}\par} - +\section{Supplementary Notes}% +% The program can be simply `fooled' when necessary by inserting a \LaTeX\ null string `\verb+{}+': for example `\verb+{{}\skt >}+' will not be `seen' by the pre-processor and thus passed to the output unchanged. @@ -917,12 +931,7 @@ This requirement may arise (as for example in producing the font map) because the pre-processor requires that there be a vowel before an accent or {\skti anusvaara}. -\begin{center} -\vspace{-1mm} -$\cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot$ -\vspace{-1mm} -\end{center} - +\dotrule %\pagebreak For those rare words that have two successive vowels in {\skti devanaagarii\/} @@ -950,11 +959,7 @@ The same trick may be used to split any multicharacter input, provided that what is either side of the \verb+{}+ is still valid, for example:\\ \verb+{+\verb+\skt tha t{}ha}+ produces \ {\skt tha t{}ha}. -\begin{center} -\vspace{-1mm} -$\cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot$ -\vspace{-1mm} -\end{center} +\dotrule Some \LaTeX\ commands are `fragile' and balk at having {\bf skt} commands within their arguments, e.g.~\verb+\section{\+\verb+skt bahuvriihi}+ produces the @@ -964,29 +969,22 @@ fragile command, e.g.\\ \verb+\newcommand{\bahuvriihi}{\+\verb+skt bahuvriihi}+\\ \verb+\section{\protect\bahuvriihi}+ -\begin{center} -\vspace{-1mm} -$\cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot\ \cdot$ -\vspace{-1mm} -\end{center} +\dotrule Finally, the simplest method of producing larger sizes of the font is to -add the command \verb+\font\bigskt=skt10 at 46mm+ for example, in the +add the command \verb+\DeclareFixedFont{\bigskt}{OT1}{skt}{m}{n}{46mm}+ for example, in the preamble to the document, and then use \verb+{+\verb+\skt \bigskt tattvamasi}+ in the text body. The result (in `lightgray' to save ink) is: \vfill - +\nopagebreak% {\skt [1- 2- 3+]{\lightgray \bigskt tattvamasi[1+ 2+ 3-]}} -\vfill - -\clearpage - -{\large \textbf{Installation}\par} +\section{Installation}% +% If \verb+sktbugxx.txt+ files exist, you may want to implement any changes or patches first. -Run the {\sc metafont} program on the eight font source files (the typical +Run the \MF{} program on the eight font source files (the typical command would be \verb+mf "\mode=ljfour; mag=1; input skt8;"+) to produce the \verb+.tfm+ files. If you are using \verb+dvips+, then the \verb+.pk+ files will be produced @@ -1009,8 +1007,6 @@ To test the setup on this documentation file: first run the pre-processor \verb+skt sktdoc+ and then \verb+latex sktdoc+. The files \verb+ifthen.sty+, \verb+relsize.sty+ and \verb+multicol.sty+ are also required. -(If you are not using \verb+dvips+ and \verb+pstricks+ then comment out -line~12 in \verb+sktdoc.skt+ first.) The files in this package are: @@ -1034,21 +1030,21 @@ The files in this package are: ASCII code\newline\hspace*{22mm}characters) for the skt-series fonts. -\textbf{skt8.mf} {\sc metafont} source file for skt font at 8pt upright. +\textbf{skt8.mf} \MF{} source file for skt font at 8pt upright. -\textbf{skt9.mf} {\sc metafont} source file for skt font at 9pt upright. +\textbf{skt9.mf} \MF{} source file for skt font at 9pt upright. -\textbf{skt10.mf} {\sc metafont} source file for skt font at 10pt upright. +\textbf{skt10.mf} \MF{} source file for skt font at 10pt upright. -\textbf{sktb10.mf} {\sc metafont} source file for skt font at 10pt bold upright. +\textbf{sktb10.mf} \MF{} source file for skt font at 10pt bold upright. -\textbf{sktf10.mf} {\sc metafont} source file for skt font at 10pt feint upright. +\textbf{sktf10.mf} \MF{} source file for skt font at 10pt feint upright. -\textbf{skts10.mf} {\sc metafont} source file for skt font at 10pt slanted. +\textbf{skts10.mf} \MF{} source file for skt font at 10pt slanted. -\textbf{sktbs10.mf} {\sc metafont} source file for skt font at 10pt bold slanted. +\textbf{sktbs10.mf} \MF{} source file for skt font at 10pt bold slanted. -\textbf{sktfs10.mf} {\sc metafont} source file for skt font at 10pt feint slanted. +\textbf{sktfs10.mf} \MF{} source file for skt font at 10pt feint slanted. \textbf{skt*.tfm} Eight \verb+.tfm+ font files for above. @@ -1057,21 +1053,9 @@ The files in this package are: reported bugs and (possibly) fixes or patches. \vspace{5mm} -Suggestions and bug reports to:\\ -\verb+wikner@nacdh4.nac.ac.za+\\ -17 February 1997. +Suggestions and bug reports to: \verb+vhaisman@gmail.com+ \vfill -{\small -A 600 kbyte 600dpi PostScript print file of the documentation and samples -is available by anonymous ftp from -\verb+ftp.nac.ac.za/wikner/sktdoc.ps600+. - -Beware: there is a very thin piece of wire to South Africa, -and it is stretched rather taut, so the best time to ftp -would be Sunday morning local time (GMT+2:00). -} -\vspace{5mm} \clearpage @@ -1229,7 +1213,7 @@ would be Sunday morning local time (GMT+2:00). \addtolength{\parskip}{2mm} \renewcommand{\baselinestretch}{1.1} -{\large \textbf{Sample Text from {\sktX .Rgveda 10..125..}}\par} +\section{Sample Text from {\sktX .Rgveda 10..125..}} \vspace{10mm} \label{rgtext} @@ -1295,7 +1279,7 @@ pa_ro di_vaa pa_ra e_naa p.r!thivyaitaava!tii \addtolength{\parskip}{4mm} \renewcommand{\baselinestretch}{1.2} -{\large \textbf{ Sample Text from {\sktX Saamaveda}}\par} +\section{Sample Text from {\sktX Saamaveda}} \vspace{6mm} {\sktI Saamaveda Sa.mhitaa} ({\skti Kauthuma\/}), verses 523--528. @@ -1954,24 +1938,24 @@ F0 & \hspace*{17mm}\begin{minipage}{137mm} \addtolength{\parskip}{2mm} -{\Large\bf {\sktX Sa.myoga} Table\par} - +\section{{\sktX Sa.myoga} Table}% +% This lists the {\skti sa.myoga} tested by the font: the first shown is the default; where it is affected by user-selectable options, all the possible forms are shown. The sources used in compiling this table, in order consulted, are:\\ \makebox[2mm][l]{\textsuperscript{c}} -Michael Coulson, \emph{Teach Yourself Sanskrit}, pp 22-24.\\ +Michael Coulson, \emph{Teach Yourself Sanskrit}, pp.~22--24.\\ \makebox[2mm][l]{\textsuperscript{m}} -Monier-Williams, \emph{A Practical Grammar of the Sanskrit Language}, p 2.\\ +Monier-Williams, \emph{A Practical Grammar of the Sanskrit Language}, p.~2.\\ \makebox[2mm][l]{\textsuperscript{p}} -S.C.Vasu, {\skti A.s.taadhyaayii} \emph{of} {\skti Paa.nini}, +S.\,C.\,Vasu, {\skti A.s.taadhyaayii} \emph{of} {\skti Paa.nini}, (Riddled with typo's.)\\ \makebox[2mm][l]{\textsuperscript{a}} -J~E~Agenbroad, \emph{Difficult Characters: A Collection of Devanagari +J.\,E.\,Agenbroad, \emph{Difficult Characters: A Collection of Devanagari Conjunct\newline\hspace*{2mm} Consonants}, Int.~Assoc.~of Orientalist Librarians, - Bulletin 38, pp.~17--53. + Bulletin~38, pp.~17--53. \addtolength{\parskip}{-2mm} \end{minipage} |