texlive[50256] Master/texmf-dist: Velthuis Devanagari: the same

commits+zwagner at tug.org commits+zwagner at tug.org
Wed Mar 6 11:36:57 CET 2019


Revision: 50256
          http://tug.org/svn/texlive?view=revision&revision=50256
Author:   zwagner
Date:     2019-03-06 11:36:56 +0100 (Wed, 06 Mar 2019)
Log Message:
-----------
Velthuis Devanagari: the same misprint in hindicaptions fixed, documentation updated

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/velthuis/README
    trunk/Master/texmf-dist/doc/generic/velthuis/manual.pdf
    trunk/Master/texmf-dist/doc/generic/velthuis/manual.tex
    trunk/Master/texmf-dist/tex/xelatex/velthuis/hindicaptions.sty

Modified: trunk/Master/texmf-dist/doc/generic/velthuis/README
===================================================================
--- trunk/Master/texmf-dist/doc/generic/velthuis/README	2019-03-06 10:32:04 UTC (rev 50255)
+++ trunk/Master/texmf-dist/doc/generic/velthuis/README	2019-03-06 10:36:56 UTC (rev 50256)
@@ -1,6 +1,6 @@
 ==============================================================================
 Velthuis Devanagari for TeX                         Usage & Installation Notes
-Version 2.17                                                       6 July 2016
+Version 2.17.1                                                    6 March 2019
 ==============================================================================
 
 
@@ -177,3 +177,19 @@
   of the TEXMF variable (teTeX, TeX Live) or selected in MikTeX options in the
   Roots tab as the first one. Then refresh the filename database. Non-MikTeX
   users should also run updmap without arguments.
+
+Features that may seem to be bugs
+=================================
+
+* If you enter a word containing an i-matra with a consonant group with virama
+  such as `chu.t.tiyaa/', the vowel follows the consonant vith the virama. This
+  is prefered behaviour, it is used in nowaday's Hindi texts typeset in India
+  and such words are rendered this way by Unicode rendering libraries such as
+  ICU, Pango, Harfbuzz, and Uniscribe. It is still possible to change the
+  rendering method, see the directives @vconjuncts/@novconjuncts in section 5.1
+  of the manual.
+
+Recent changes
+==============
+
+2.17.1: Fixed misprint in \bibname in devanagari.sty as well as captions.dn

Modified: trunk/Master/texmf-dist/doc/generic/velthuis/manual.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/generic/velthuis/manual.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/velthuis/manual.tex	2019-03-06 10:32:04 UTC (rev 50255)
+++ trunk/Master/texmf-dist/doc/generic/velthuis/manual.tex	2019-03-06 10:36:56 UTC (rev 50256)
@@ -49,7 +49,7 @@
 \usepackage[protrusion=false,expansion=true,stretch=8,shrink=24,step=4]{microtype}
 \fi
 
-\newcommand{\moddate}{5 March 2019}
+\newcommand{\moddate}{6 March 2019}
 \newcommand{\version}{2.17.1}
 \renewcommand{\headrulewidth}{0pt}
 \setcounter{secnumdepth}{3}
@@ -1282,14 +1282,20 @@
 
 %\clearpage % forced page break, remove it if the next section does not start
             % at the same page as the previous subsection
-\section{Using \texorpdfstring{\devnag}{Devanagari} in \texorpdfstring{\XeLaTeX}{XeLaTeX}}
+\section{Using \texorpdfstring{\devnag}{Devanagari} in \texorpdfstring{\XeLaTeX}{XeLaTeX} and
+lua\texorpdfstring{\LaTeX}{LaTeX}}
 
 \renewcommand\thepage{\arabic{page}}
 
 This topic does not fully fit here but it is described in this manual because the module for
 \babel, which is also included in this package, can be used both in the traditional \TeX\ and
-\XeTeX.
+\XeTeX. Support of \devnag\ is already available in lua\TeX. What is said later about \XeTeX\ and
+\XeLaTeX\ applies also to lua\TeX\ and lua\LaTeX.
 
+The next paragraphs explain how to use Hindi in case you want to do everything yourself. However,
+the Polyglossia package supports much better comfort and we recommend its usage. It will be briefly
+described in section~\ref{gloss}.
+
 Using \devnag\ in \XeTeX\ does not require any preprocessor. Instead you should use a Unicode
 Open\-Type font and enter \devnag\ directly in your text editor. You do not install such fonts for
 \XeTeX, it takes the fonts installed in your operating system. Open\-Type fonts can have different
@@ -1330,8 +1336,30 @@
 incorrectly.
 
 \textbf{The map files are no longer part of the package. You will find them in the xetex-devanagari
-package. However, the map files can still be found in the CVS repository.}
+package.}
 
+\subsection{Using Hindi with Polyglossia}\label{gloss}
+Polyglossia works both with \XeLaTeX\ and lua\LaTeX. The lua\LaTeX\ support requires implementation
+of the font rendering algorithms in lua. It is now available for \devnag\ but not for other Indic
+scripts.
+
+Usage in Polyglossia is very simple:
+
+\medskip
+\begin{verbatim}
+\usepackage{polyglossia}
+\newfontfamily\hindifont{fontname}[Script=Devanagari]
+\end{verbatim}
+
+\medskip \noindent
+Notice that the optional parameter in the square brackets follows the specification of the font
+name. This is a new feature of the \verb.\fontspec. macro. Please, read the documentation of the
+Fontspec and Polyglossia packages for details.
+
+The captions in \devnag\ for use in \XeLaTeX\ and lua\LaTeX\ are still distributed with this
+package but they are already included in Polyglossia, namely in file gloss-hindi.ldf. The file
+distributed in this package is probably no longer needed and may be removed in a later version.
+
 \section{Using Hindi with \babel}\label{babel}
 Since the \textsc{devnag} package version~2.14.1 a new module for \babel\ is released. This unifies
 the interface for multiligual documents where Hindi is one of the languages. The module is

Modified: trunk/Master/texmf-dist/tex/xelatex/velthuis/hindicaptions.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/velthuis/hindicaptions.sty	2019-03-06 10:32:04 UTC (rev 50255)
+++ trunk/Master/texmf-dist/tex/xelatex/velthuis/hindicaptions.sty	2019-03-06 10:36:56 UTC (rev 50256)
@@ -1,10 +1,12 @@
 %% $Id: hindicaptions.sty,v 1.4 2007-12-31 09:42:14 icebearsoft Exp $
 %% This package provides the Hindi caption names for use with XeLaTeX.
+%% The captions are already included in Polyglossia, namely in
+%% gloss-hindi.ldf, hence you probably do not need this file.
 
 \expandafter\ifx\csname ProvidesPackage\endcsname\relax
 % Do nothing if used by babelized plain XeTeX
 \else % Identification for XeLaTeX
-\ProvidesPackage{hindicaptions}[2016/05/03 v2.16 Hindi captions for XeLaTeX]
+\ProvidesPackage{hindicaptions}[2019/03/06 v2.17.1 Hindi captions for XeLaTeX]
 \RequirePackage{ifxetex}
 \RequireXeTeX
 \fi
@@ -29,7 +31,7 @@
 \def\captionshindi{%
 \def\abstractname{सारांश}%
 \def\appendixname{परिशिष्ट}%
-\def\bibname{संदर ग्रन्थ}% (?)
+\def\bibname{संदर्भ ग्रन्थ}%
 \def\ccname{}%
 \def\chaptername{अध्याय}%
 \def\contentsname{विषय सूची}%



More information about the tex-live-commits mailing list