# $Id: sanskrit.perl,v 1.1 1998/01/22 04:33:23 RRM Exp $ # SANSKRIT.PERL by Ross Moore 17-1-98 # Mathematics Department, Macquarie University, Sydney, Australia. # # Style for LaTeX2HTML v98.1 to construct images of traditional # Indic scripts, using: # # Indica pre-processor and sinhala fonts: sinha, sinhb, sinhc # by Yannis Haralambous # # sinhala.sty package for LaTeX-2e # by Dominik Wujastyk # # extended for Prasad Dharmasena's # `samanala' transliteration scheme # by Vasantha Saparamadu # # These resources are *not* included with this package. # Obtain them from CTAN: http//ctan.tug.org/ctan # # =================================================================== # This package requires the corresponding LaTeX package: sanskrit.sty . # It also requiress: indica.perl and indica.sty . # # With LaTeX2HTML the options on the \usepackage line specify # preprocessor commands to use with Indica. # # Usage: # # \usepackage{sanskrit} %| pre-process source using Indica # \usepackage[indica]{sanskrit} %| with #ALIAS SANSKRIT S # \usepackage[preprocess]{sanskrit}%| and #ALIAS NIL N # # \usepackage[san]{sanskrit} %| also use #ALIAS SANSKRIT SAN # # # options affecting Input-forms # # \usepackage[7bit]{sanskrit} %| Velthuis' Hindi/Sanskri transcription # \usepackage[csx]{sanskrit} %| 8-bit Sanskrit extension of ISO 646 # \usepackage[latex]{sanskrit} %| standardized LaTeX transcription form # \usepackage[unicode]{sanskrit} %| ISO 10646-1 + Sinhalese extension # \usepackage[samanala]{sanskrit}%| Prasad Dharmasena's transliteration # # =================================================================== # Warning # # This package works BOTH with source *before* pre-processing # and also *after* having pre-processed. # The latter may create more smaller images of individual syllabes, # whereas the former tends to create larger images of whole lines, # paragraphs, sections, etc. # =================================================================== # # Change Log: # =========== # $Log: sanskrit.perl,v $ # Revision 1.1 1998/01/22 04:33:23 RRM # LaTeX2HTML interfaces to packages and pre-processors for including # traditional Indic scripts (as images) in HTML documents # # see the .perl files for documentation on usage # see the corresponding .sty file for the LaTeX-2e interface # # package main; # preprocessor: indica sub do_sanskrit_indica { &do_indica_sanskrit() } sub do_sanskrit_preprocess { &do_indica_sanskrit() } sub do_sanskrit_san { &do_indica_san() } # input modes sub do_sanskrit_7bit { &do_indica_7bit() } sub do_sanskrit_csx { &do_indica_csx() } sub do_sanskrit_latex { &do_indica_latex() } sub do_sanskrit_unicode { &do_indica_unicode() } sub do_sanskrit_samanala { &do_indica_samanala() } # load Indica for #SANSKRIT &do_require_package('indica'); if (defined &do_indica_sanskrit) { &do_indica_sanskrit() } else { die "\n indica.perl was not loaded, sorry" } # override Indica variables here # # $INDICA = 'indica'; # $INDICA_MODE = 'sevenbit'; 1; # Not really necessary...