diff options
author | Zdeněk Wagner <zdenek.wagner@gmail.com> | 2019-03-06 10:36:56 +0000 |
---|---|---|
committer | Zdeněk Wagner <zdenek.wagner@gmail.com> | 2019-03-06 10:36:56 +0000 |
commit | 2e5b0bc37e6b198ae9d8d00afd7efec8d7c34394 (patch) | |
tree | 008f103f652987cb40e4a55d4e5411f67fef50e1 /Master/texmf-dist/doc/generic/velthuis | |
parent | 071b107fd9646a9f9c7d6de87354fffaef37a87c (diff) |
Velthuis Devanagari: the same misprint in hindicaptions fixed, documentation updated
git-svn-id: svn://tug.org/texlive/trunk@50256 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/velthuis')
-rw-r--r-- | Master/texmf-dist/doc/generic/velthuis/README | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/velthuis/manual.pdf | bin | 539577 -> 541572 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/velthuis/manual.tex | 36 |
3 files changed, 49 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/generic/velthuis/README b/Master/texmf-dist/doc/generic/velthuis/README index 2e01835b4e9..7aa1a8bfcdb 100644 --- a/Master/texmf-dist/doc/generic/velthuis/README +++ b/Master/texmf-dist/doc/generic/velthuis/README @@ -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 @@ Frequent errors 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 diff --git a/Master/texmf-dist/doc/generic/velthuis/manual.pdf b/Master/texmf-dist/doc/generic/velthuis/manual.pdf Binary files differindex ba83bcd0269..88ae4ecd9b3 100644 --- a/Master/texmf-dist/doc/generic/velthuis/manual.pdf +++ b/Master/texmf-dist/doc/generic/velthuis/manual.pdf diff --git a/Master/texmf-dist/doc/generic/velthuis/manual.tex b/Master/texmf-dist/doc/generic/velthuis/manual.tex index 46d86ee43cc..5559cf5145e 100644 --- a/Master/texmf-dist/doc/generic/velthuis/manual.tex +++ b/Master/texmf-dist/doc/generic/velthuis/manual.tex @@ -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,13 +1282,19 @@ within the \verb+\dn+ environment. %\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 @@ -1330,7 +1336,29 @@ nonbreakable space. If you want to utilise TECkit maps, you have to change its \ 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 |