News
The package is now distributed as part of TeX Live 2008. You do not need to install it separately. I hope that other major TeX distribution contain or will soon contain it too.
There are new language modules for Czech, Slovak, and Hindi for Babel which are not yet included in TeX Live 2007 and not even on CTAN. This page is devoted for those who want to install these modules and do not want to do everything manually. The installation script was tested with TeX Live, both under Linux and Windows, and in teTeX under OS/2. It should also work in MiKTeX as well as a few other TeX distributions but it was not tested.
In addition to a TDS compliant TeX distribution you
need perl and for support of Hindi you need the latest version
of the devnag
package from the CVS server at Sarovar.
You do not need the source code of babel and the package by Petr
Tesarik available from www.cstug.cz. All relevant files are included.
Unpack the installation
package in any directory. The files will appear in
subdirectory cs-hindi-babel
. Afterwards go
(cd
) to this directory and issue the following
commands according to your operating system:
chmod +x install.pl ./install.pl parameters |
perl install.pl parameters |
Windows allows to associate the .pl
extension with perl
. You can then write
simply:
install parameters |
!tetex3 os2install parameters |
Script !tetex3
was made by Jaromír
Kuben and its purpose is to set environment variables such
as TEXMFCNF
.
The installation script offers a few groups of parameters described in the following text.
Parameter --help
displays short usage
instructions.
This group serves for selection of a distribution to which the modules are installed. You can choose from the following options:
--texlive
TeX Live (default)
--tl
alias for
--texlive
--tetex
another alias for --texlive
because
teTeX is compatible with it
--miktex
MiKTeX, source files will
be searched for by means of a program
findtexmf
--tdscompliant
another distribution compliant with TDS
This installation script cannot be used in emTeX.
These parameters specify where the distribution files reside and where the modules should be installed. If the installation script can find the directories itself, the parameters will be ignored.
Always use forward slashes, even in Windows.
--source
the root of the distribution tree, it should only
be specified if
--tdscompliant
is used
--target
the root of the installation tree, not used with
TeX Live. You must configure your distribution to search
this tree before the distribution tree.
These parameters are not specified for TeX Live. The
distribution files are expected in tree texmf-dist
and modules installed into tree texmf-var
. The real
locations of these trees are found automatically.
--withxetex
(alias --withxelatex
) this parameter specifies that a
module for use with XeLaTeX should be created. This is
default for distribution
--texlive
--noxetex
(alias --noxelatex
) this parameter inhibits
creation of modules for XeLaTeX. Its the default for
--miktex
and
--tdscompliant
These options serve for selection of the language modules to be installed. Remember that you canot install some of the languages and install other languages later, you must install all what you wish at the single run. If you decide later that you wish an additional language, you have to uninstall the whole package and install it again with all required languages.
--czech
Czech
--slovak
Slovak
--cs
both Czech and Slovak
--hindi
Hindi
--remove
uninstallation, it will be described in a special section
If --texlive
was selected, the file name
database is refreshed by running mktexlsr
after
installing/removing the files. If you have other distribution,
you have to refresh the database yourself.
These options make sense only with
--texlive
. They specify which formats should be
generated by running fmtutil
. You do not have to
generate any format if you installed the modules to freshly
installed TeX Live. The formats are not generated during TeX
Live installation and will be generated upon the first use with
your new language options. If you have other distribution, use
its tools for generation of the formats.
You can choose from these options (you can select more of them at the same time):
--latex
--pdflatex
--xelatex
Uninstallation is achieved by parameter
--remove
described in section Language options.
The script removes language definitions from file
texmf-var/tex/generic/config/language.dat
and
leaves the copy of the original file in the same directory.
Afterwards it removes directories
texmf-var/tex/generic/csh-babel
and
texmf-var/tex/generic/csh-hyphen
. If
--texlive
was used, the file name database is
refreshed automatically. Removing the directories sometimes
fails in Windows and OS/2 (eComstation). In such a case you have
to remove them manually and refresh the file name database. Do
not forget to regenerate the formats.
csh-babel.zip, 780 KiB
Note: Look at the internet course A Door into Hindi.