# $Id: gurmukhi.perl,v 1.1 1998/01/22 04:33:19 RRM Exp $ # GURMUKHI.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: gurmukhi.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{gurmukhi} %| pre-process source using Indica # \usepackage[indica]{gurmukhi} %| with #ALIAS GURMUKHI G # \usepackage[preprocess]{gurmukhi}%| and #ALIAS NIL N # # \usepackage[gur]{gurmukhi} %| also use #ALIAS GURMUKHI GUR # # # options affecting Input-forms # # \usepackage[7bit]{gurmukhi} %| Velthuis' Hindi/Sanskri transcription # \usepackage[csx]{gurmukhi} %| 8-bit Sanskrit extension of ISO 646 # \usepackage[latex]{gurmukhi} %| standardized LaTeX transcription form # \usepackage[unicode]{gurmukhi} %| ISO 10646-1 + Sinhalese extension # \usepackage[samanala]{gurmukhi}%| 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: gurmukhi.perl,v $ # Revision 1.1 1998/01/22 04:33:19 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_gurmukhi_indica { &do_indica_gurmukhi() } sub do_gurmukhi_preprocess { &do_indica_gurmukhi() } sub do_gurmukhi_gur { &do_indica_gur() } # input modes sub do_gurmukhi_7bit { &do_indica_7bit() } sub do_gurmukhi_csx { &do_indica_csx() } sub do_gurmukhi_latex { &do_indica_latex() } sub do_gurmukhi_unicode { &do_indica_unicode() } sub do_gurmukhi_samanala { &do_indica_samanala() } # load Indica for #GURMUKHI &do_require_package('indica'); if (defined &do_indica_gurmukhi) { &do_indica_gurmukhi() } else { die "\n indica.perl was not loaded, sorry" } # override Indica variables here # # $INDICA = 'indica'; # $INDICA_MODE = 'sevenbit'; 1; # Not really necessary...