From 6bfd423111a83e0dbb18e43989c1602b7c203604 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 25 Mar 2020 21:09:40 +0000 Subject: xepersian-hm (25mar20) git-svn-id: svn://tug.org/texlive/trunk@54541 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/xelatex/xepersian-hm/README.txt | 27 +++-- .../doc/xelatex/xepersian-hm/kashida-example.pdf | Bin 0 -> 17991 bytes .../doc/xelatex/xepersian-hm/kashida-example.tex | 32 ++++++ .../doc/xelatex/xepersian-hm/test-kashida.pdf | Bin 17989 -> 0 bytes .../doc/xelatex/xepersian-hm/test-kashida.tex | 32 ------ .../doc/xelatex/xepersian-hm/xepersian-hm-doc.pdf | Bin 36112 -> 0 bytes .../doc/xelatex/xepersian-hm/xepersian-hm-doc.tex | 113 --------------------- .../doc/xelatex/xepersian-hm/xepersian-hm.pdf | Bin 0 -> 52190 bytes 8 files changed, 50 insertions(+), 154 deletions(-) create mode 100644 Master/texmf-dist/doc/xelatex/xepersian-hm/kashida-example.pdf create mode 100644 Master/texmf-dist/doc/xelatex/xepersian-hm/kashida-example.tex delete mode 100644 Master/texmf-dist/doc/xelatex/xepersian-hm/test-kashida.pdf delete mode 100644 Master/texmf-dist/doc/xelatex/xepersian-hm/test-kashida.tex delete mode 100644 Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm-doc.pdf delete mode 100644 Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm-doc.tex create mode 100644 Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm.pdf (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/xelatex/xepersian-hm/README.txt b/Master/texmf-dist/doc/xelatex/xepersian-hm/README.txt index f271209861a..e9df9499708 100644 --- a/Master/texmf-dist/doc/xelatex/xepersian-hm/README.txt +++ b/Master/texmf-dist/doc/xelatex/xepersian-hm/README.txt @@ -1,26 +1,35 @@ %% -%% This is file `README.txt' +%% This is file `README.txt', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% xepersian-hm.dtx (with options: `README') %% -%% Copyright (c) Hossein Movahhedian 2020 +%% Copyright (C) 2020 Hossein Movahhedian %% -%% It may be distributed and/or modified under the LaTeX Project Public License, -%% version 1.3c or higher (your choice). The latest version of -%% this license is at: http://www.latex-project.org/lppl.txt +%% It may be distributed and/or modified under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt %% The XEPERSIAN-HM package ------------------------ -Kashida feature in `xepersian' has problem with some fonts such as `HM Series' +Kashida feature in `xepersian' has problems with some fonts such as `HM Series' fonts available at `https://dma8hm1334.bitbucket.io' and `X Series 2' fonts available at `http://wiki.irmug.com/index.php/X_Series_2'. The `xepersian-hm' -package fixes this problem. +package fixes these problems. -The file `texmf-dist/doc/xelatex/xepersian-hm/test-kashida.tex' can be used as +The file `texmf-dist/doc/xelatex/xepersian-hm/kashida-example.tex' can be used as a simple example of the usage of the package. -Any comments or suggestions would be gratefully appreciated. +Any comments or suggestions would be gratefully appreciated. Please report any bugs or issues to `dma8hm1334@gmail.com'. I will do my best to fix all the bugs you report, but, unfortunately, time is a big hurdle to overcome; so, my apologies in advance for those which I cannot make time to fix. +%% File: xepersian-hm.dtx +%% +%% +%% End of file `README.txt'. diff --git a/Master/texmf-dist/doc/xelatex/xepersian-hm/kashida-example.pdf b/Master/texmf-dist/doc/xelatex/xepersian-hm/kashida-example.pdf new file mode 100644 index 00000000000..0579becb84e Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/xepersian-hm/kashida-example.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/xepersian-hm/kashida-example.tex b/Master/texmf-dist/doc/xelatex/xepersian-hm/kashida-example.tex new file mode 100644 index 00000000000..d3492c93ef6 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xepersian-hm/kashida-example.tex @@ -0,0 +1,32 @@ +% \PassOptionsToPackage{Kashida=off,RTLdocument=on}{xepersian} % Load xepersian with a few options +\documentclass{report} +\usepackage{xcolor} +% \usepackage[Kashida]{xepersian} % Fails +\usepackage[Kashida,kashidastretch=0.14 em plus 0.5 em]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=noskip]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=default]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=kayhan]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=khorramshahr]{xepersian-hm} % Succeeds + +% \settextfont[Scale=4.5,Colour=darkgray]{XB Kayhan} +\settextfont[Scale=4.5,Colour=darkgray]{HM XKayhan} +% \settextfont[Scale=4.5,Colour=darkgray]{HM XNiloofar} +% \settextfont[Scale=4.5,Colour=darkgray]{HM XYas} +% \settextfont[Scale=4.5,Colour=darkgray]{HM XZar} + +% \setlatintextfont[Scale=2.5,Colour=teal]{XB Kayhan} +\setlatintextfont[Scale=2.5,Colour=teal]{HM XKayhan} + +\def\SampleText{راهی جایی تابی چاپی چاههی تلاشهایی شتابهایی تابی چاپی راهی تلاشهــایی که کتابهایی که کلاههایی که} + +\setlength\parindent{0pt} +\pagestyle{empty} +\begin{document} +\color{red} + +\KashidaOff \SampleText \lr{(Kashida Off)~} + +\KashidaOn \SampleText \lr{(Kashida On)~} + +\end{document} + diff --git a/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kashida.pdf b/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kashida.pdf deleted file mode 100644 index ec20b35a83b..00000000000 Binary files a/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kashida.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kashida.tex b/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kashida.tex deleted file mode 100644 index d3492c93ef6..00000000000 --- a/Master/texmf-dist/doc/xelatex/xepersian-hm/test-kashida.tex +++ /dev/null @@ -1,32 +0,0 @@ -% \PassOptionsToPackage{Kashida=off,RTLdocument=on}{xepersian} % Load xepersian with a few options -\documentclass{report} -\usepackage{xcolor} -% \usepackage[Kashida]{xepersian} % Fails -\usepackage[Kashida,kashidastretch=0.14 em plus 0.5 em]{xepersian-hm} % Succeeds -% \usepackage[Kashida,kashidastretch=noskip]{xepersian-hm} % Succeeds -% \usepackage[Kashida,kashidastretch=default]{xepersian-hm} % Succeeds -% \usepackage[Kashida,kashidastretch=kayhan]{xepersian-hm} % Succeeds -% \usepackage[Kashida,kashidastretch=khorramshahr]{xepersian-hm} % Succeeds - -% \settextfont[Scale=4.5,Colour=darkgray]{XB Kayhan} -\settextfont[Scale=4.5,Colour=darkgray]{HM XKayhan} -% \settextfont[Scale=4.5,Colour=darkgray]{HM XNiloofar} -% \settextfont[Scale=4.5,Colour=darkgray]{HM XYas} -% \settextfont[Scale=4.5,Colour=darkgray]{HM XZar} - -% \setlatintextfont[Scale=2.5,Colour=teal]{XB Kayhan} -\setlatintextfont[Scale=2.5,Colour=teal]{HM XKayhan} - -\def\SampleText{راهی جایی تابی چاپی چاههی تلاشهایی شتابهایی تابی چاپی راهی تلاشهــایی که کتابهایی که کلاههایی که} - -\setlength\parindent{0pt} -\pagestyle{empty} -\begin{document} -\color{red} - -\KashidaOff \SampleText \lr{(Kashida Off)~} - -\KashidaOn \SampleText \lr{(Kashida On)~} - -\end{document} - diff --git a/Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm-doc.pdf b/Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm-doc.pdf deleted file mode 100644 index a4bf9aa17d5..00000000000 Binary files a/Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm-doc.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm-doc.tex b/Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm-doc.tex deleted file mode 100644 index 93201528988..00000000000 --- a/Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm-doc.tex +++ /dev/null @@ -1,113 +0,0 @@ -%% -%% This is file `xepersian-hm-doc.tex' -%% -%% Copyright (c) Hossein Movahhedian 2020 -%% -%% It may be distributed and/or modified under the LaTeX Project Public License, -%% version 1.3c or higher (your choice). The latest version of -%% this license is at: http://www.latex-project.org/lppl.txt -%% -\documentclass{ltxdoc} -\usepackage{hypdoc} - -\title{ - The \textsf{xepersian-hm} package\\Fixing kashida in xepersian -} - -\author{ - Hossein Movahhedian\thanks - { - E-mail: - \href{mailto:dma8hm1334@gmail.com} - {\textsf{dma8hm1334@gmail.com}} - } -} - -\date{Released 2020-03-23} - -\begin{document} - -\maketitle - -Kashida feature in \textsf{xepersian} has problem with some fonts such as \texttt{HM Series} -fonts available at -\href{https://dma8hm1334.bitbucket.io}{\texttt{https://dma8hm1334.bitbucket.io}} -and \texttt{X Series 2} fonts available at -\href{http://wiki.irmug.com/index.php/X_Series_2}{\texttt{http://wiki.irmug.com/index.php/X\_Series\_2}}. -The \textsf{xepersian-hm} package fixes this problem. - -The file \texttt{texmf-dist/doc/xelatex/xepersian-hm/test-kashida.tex} can be -used as a simple example of the usage of the package. - -Any comments or suggestions would be gratefully appreciated. -Please report any bug or issue to \href{mailto:dma8hm1334@gmail.com}{\textsf{dma8hm1334@gmail.com}}. - -I will do my best to fix all the bugs you report, but, unfortunately, -time is a big hurdle to overcome; so, my apologies in advance for those -which I cannot make time to fix. - -Please note that \textsf{xepersian-hm} loads \textsf{xepersian} automatically, -so you may only pass options to the package using the command -\verb|\PassOptionsToPackage| before \verb|\documentclass|, for example: - -\begin{verbatim} -\PassOptionsToPackage{Kashida=off,RTLdocument=on}{xepersian} -\documentclass{report} -\usepackage{xcolor} -\usepackage[Kashida,kashidastretch=0.14 em plus 0.5 em]{xepersian-hm} -\end{verbatim} - -The options available in \textsf{xepersian-hm} are: -\begin{itemize} - \item \texttt{Kashida}: with two possible values, \texttt{on} which enables - \texttt{Kashida} feature and \texttt{off} which disables that feature. For - example \texttt{Kashida=on} enables \texttt{Kashida} feature. - \item \texttt{kashidastretch}: which specifies the amount of extra stretching - for some combinations of characters. You may strictly specify the value of - this option. For example \texttt{'kashidastretch=0.14 em plus 0.5 em'} or you - may use the default values. The available default values are: - - \begin{tabular}{ll} - \texttt{kayhan} & \texttt{0.14 em plus 0.5 em} \\ - \texttt{khorramshahr} & \texttt{0.131 em plus 0.5 em} \\ - \texttt{kayhannavaar} & \texttt{0.129 em plus 0.5 em} \\ - \texttt{kayhanpook} & \texttt{0.133 em plus 0.5 em} \\ - \texttt{kayhansayeh} & \texttt{0.135 em plus 0.5 em} \\ - \texttt{khoramshahr} & \texttt{0.128 em plus 0.5 em} \\ - \texttt{khorramshahr} & \texttt{0.13 em plus 0.5 em} \\ - \texttt{niloofar} & \texttt{0.132 em plus 0.5 em} \\ - \texttt{paatch} & \texttt{0.127 em plus 0.5 em} \\ - \texttt{riyaz} & \texttt{0.125 em plus 0.5 em} \\ - \texttt{roya} & \texttt{0.142 em plus 0.5 em} \\ - \texttt{shafigh} & \texttt{0.143 em plus 0.5 em} \\ - \texttt{shafighKurd} & \texttt{0.126 em plus 0.5 em} \\ - \texttt{shafighUzbek} & \texttt{0.123 em plus 0.5 em} \\ - \texttt{shiraz} & \texttt{0.122 em plus 0.5 em} \\ - \texttt{sols} & \texttt{0.124 em plus 0.5 em} \\ - \texttt{tabriz} & \texttt{0.119 em plus 0.5 em} \\ - \texttt{titr} & \texttt{0.12 em plus 0.5 em} \\ - \texttt{titre} & \texttt{0.121 em plus 0.5 em} \\ - \texttt{traffic} & \texttt{0.124 em plus 0.5 em} \\ - \texttt{vahid} & \texttt{0.134 em plus 0.5 em} \\ - \texttt{vosta} & \texttt{0.136 em plus 0.5 em} \\ - \texttt{yaghut} & \texttt{0.138 em plus 0.5 em} \\ - \texttt{yagut} & \texttt{0.137 em plus 0.5 em} \\ - \texttt{yas} & \texttt{0.126 em plus 0.5 em} \\ - \texttt{yekan} & \texttt{0.141 em plus 0.5 em} \\ - \texttt{yermook} & \texttt{0.139 em plus 0.5 em} \\ - \texttt{zar} & \texttt{0.116 em plus 0.5 em} \\ - \texttt{ziba} & \texttt{0.119 em plus 0.5 em} \\ - \texttt{default} & \texttt{0.14 em plus 0.5 em} \\ - \texttt{noskip} & \texttt{0 em plus 0.5 em} - \end{tabular} - - For example: \mbox{\texttt{'kashidastretch=titr'}} is equivalent to\linebreak - \mbox{\texttt{'kashidastretch=0.12 em plus 0.5 em'}} -\end{itemize} - -\end{document} - -%%% Local Variables: -%%% mode: latex -%%% TeX-master: t -%%% End: diff --git a/Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm.pdf b/Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm.pdf new file mode 100644 index 00000000000..9c3cff93a1c Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/xepersian-hm/xepersian-hm.pdf differ -- cgit v1.2.3