diff options
author | Karl Berry <karl@freefriends.org> | 2017-03-16 21:43:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-03-16 21:43:38 +0000 |
commit | 9ac331f466d2b6ffb279fe03f58c8bd5ec97825a (patch) | |
tree | da3d81d8331f5cb9a8de4573cec334038bf9675b | |
parent | 963f87c9830b8a8617be166bc065fbfb21223f86 (diff) |
arabluatex (16mar17)
git-svn-id: svn://tug.org/texlive/trunk@43517 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.el | 95 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.pdf | bin | 425532 -> 452862 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/lualatex/arabluatex/README.tex | 11 | ||||
-rw-r--r-- | Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx | 77 | ||||
-rw-r--r-- | Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.sty | 2 |
5 files changed, 161 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.el b/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.el new file mode 100644 index 00000000000..5343fbbf17c --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.el @@ -0,0 +1,95 @@ +;;; arabluatex.el --- AUCTeX style for `arabluatex.sty' +;; This file is part of the `arabluatex' package + +;; ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX +;; Copyright (C) 2016--2017 Robert Alessi + +;; Please send error reports and suggestions for improvements to Robert +;; Alessi <alessi@robertalessi.net> + +;; This program is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, but +;; WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see +;; <http://www.gnu.org/licenses/>. + +(defvar LaTeX-arabluatex-package-options + '("voc" "fullvoc" "novoc" "trans") + "Package options for the arabluatex package.") + +(defvar LaTeX-arabluatex-mode-options + '(;; + ("voc") + ("fullvoc") + ("novoc") + ("trans") + ) + "Global or local options.") + +(defvar LaTeX-arabluatex-key-val-options + '(;; + ("mode" ("voc" "fullvoc" "novoc" "trans")) + ("width") + ("gutter") + ("metre") + ("delim" ("true" "false")) + ("utf" ("true" "false"))) + "Key=value options for arabverse environment.") + +(TeX-add-style-hook + "arabluatex" + (lambda () + ;; This package relies on lualatex, so check for it: + (TeX-check-engine-add-engines 'luatex) + (TeX-add-symbols + "aemph" + "SetInputScheme" + '("SetArbEasy" 0) + '("SetArbDflt" 0) + '("SetArbEasy*" 0) + '("SetArbDflt*" 0) + "SetTranslitFont" + "SetTranslitStyle" + "SetTranslitConvention" + "arbup" + '("ArbUpDflt" 0) + '("NoArbUp" 0) + "SetArbUp" + "cap" + "txarb" + '("arb" [ (TeX-arg-eval completing-read "Mode: " + LaTeX-arabluatex-mode-options) ] + t) + "SetHemistichDelim" + '("bayt" 2) + "abjad" + "arbnull" + "abraces" + "LR" + "RL" + "LRmarginpar" + "LRfootnote" + "RLfootnote" + "FixArbFtnmk" + '("setRL" 0) + '("setLR" 0)) + (LaTeX-add-environments + '("arab" LaTeX-env-args + [ (TeX-arg-eval completing-read "Mode: " + LaTeX-arabluatex-mode-options) ] + 0) + "txarab" + '("arabverse" LaTeX-env-args + [ TeX-arg-key-val LaTeX-arabluatex-key-val-options ] 0)) + ) + LaTeX-dialect) + +;;; arabluatex.el ends here diff --git a/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.pdf b/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.pdf Binary files differindex 1155f97d9bc..7d326e7d47d 100644 --- a/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.pdf +++ b/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.pdf diff --git a/Master/texmf-dist/source/lualatex/arabluatex/README.tex b/Master/texmf-dist/source/lualatex/arabluatex/README.tex index 65d1518be49..9ef36674cd7 100644 --- a/Master/texmf-dist/source/lualatex/arabluatex/README.tex +++ b/Master/texmf-dist/source/lualatex/arabluatex/README.tex @@ -4,7 +4,6 @@ \documentclass{article} \usepackage{fontspec,luatextra} -\usepackage{libertine} \title{The arabluatex package -- README file} \author{Robert Alessi} @@ -39,10 +38,10 @@ Copyright ⓒ 2016--2017 Robert Alessi Please send error reports and suggestions for improvements to Robert Alessi: \begin{itemize} -\item email: \url{alessi@robertalessi.net} +\item email: \href{mailto:alessi@robertalessi.net}{alessi@robertalessi.net} \item website: \url{http://www.robertalessi.net/arabluatex} \item comments, feature requests, bug reports: - \url{http://issues.robertalessi.net} + \url{https://notabug.org/ralessi/arabluatex/issues} \end{itemize} This program is free software: you can redistribute it and/or modify @@ -89,6 +88,10 @@ source files: \item \verb|arabluatex_novoc.lua| \item \verb|arabluatex_trans.lua| \end{itemize} +\item Additionally, those who use emacs with AUC\TeX\ may copy + \verb|arabluatex.el| to their \verb|~/.emacs.d/auctex/auto| local + directory. This will enable the appropriate hooks for ArabLua\TeX\ + in AUC\TeX. \end{enumerate} \section{Development, Git Repository} @@ -104,7 +107,7 @@ instructions on how to install ArabLua\TeX, please see above. \subsection*{Comments, Feature requests, Bug Reports} \label{sec:comm-feat-requ} -\url{http://issues.robertalessi.net} +\url{https://notabug.org/ralessi/arabluatex/issues} \subsection*{Download the repository} \label{sec:download-repository} diff --git a/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx b/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx index 85fe9036b79..80af1d0fdbe 100644 --- a/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx +++ b/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx @@ -27,7 +27,7 @@ %<package-info>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package-info>\ProvidesPackage{arabluatex} %<*package-info> - [2017/01/08 v1.7.1 An ArabTeX-like interface for LuaLaTeX] + [2017/03/15 v1.7.2 An ArabTeX-like interface for LuaLaTeX] %</package-info> % %<*driver> @@ -145,13 +145,26 @@ \defaultfontfeatures{RawFeature={+liga}} \setmainfont{Old Standard}[SmallCapsFont={Latin Modern Roman Caps}, RawFeature={+mark;+ccmp;+ss05;+ss06}] -\usepackage{arabluatex}[2017/01/08] +\usepackage{arabluatex}[2017/03/15] \usepackage[nopar]{quran} \usepackage{varioref} +\usepackage{hyperxmp} +\PassOptionsToPackage{pdfa}{hyperref} \usepackage{hypdoc} +\usepackage{authblk} \hypersetup{unicode=true, colorlinks, allcolors=blue, linktocpage=true, pdfauthor={Robert Alessi}, pdftitle={The - arabluatex package}} + arabluatex package}, pdfcontactemail={alessi@robertalessi.net}, + pdfcontacturl={http://www.robertalessi.net/arabluatex}, + pdfcopyright={Copyright (C) 2016--2017 Robert Alessi + <alessi@robertalessi.net>. This document is licensed under the + Creative Commons Attribution-ShareAlike 4.0 International + License. To view a copy of this license, visit + http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to + Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.}, + pdflicenseurl={https://creativecommons.org/licenses/by-sa/4.0/legalcode}, + pdfmetalang={en-US}, pdftype={Text}, pdfkeywords={Arabic language, + arabtex, luatex}} \usepackage[toc,lot]{multitoc} \usepackage{paralist} \setdefaultitem{\textendash}{\textendash}{\textendash}{\textendash} @@ -237,18 +250,21 @@ % \providecommand*{\url}{\texttt} % \GetFileInfo{arabluatex.dtx} % +% \newcommand*{\NEWfeature}[1]{% +% \hskip 1sp \marginpar{\small\sffamily\raggedright +% New feature\\#1}} +% % \title{\tcbox[enhanced, tikznode, drop lifted shadow, colback=white, % boxrule=.25mm]% % {The \textsf{arabluatex} package\\ % \fileversion\ -- \filedate}} % -% \newcommand*{\NEWfeature}[1]{% -% \hskip 1sp \marginpar{\small\sffamily\raggedright -% New feature\\#1}} -% % \author{Robert Alessi \\ % \href{mailto:alessi@robertalessi.net?Subject=arabluatex}% -% {\texttt{alessi@robertalessi.net}}} +% {\texttt{alessi@robertalessi.net}}\thanks{Institutional email: +% \href{mailto:robert.alessi@cnrs.fr?Subject=arabluatex}% +% {\texttt{robert.alessi@cnrs.fr}}}} +% \affil{\normalsize CNRS UMR 8167 Paris (France)} % \date{} % % \maketitle @@ -276,17 +292,22 @@ % \end{abstract} % % \section*{License and disclamer} +% \addcontentsline{toc}{section}{License and disclamer} +% \subsection*{License applicable to the software} +% \label{sec:license-software} +% +% \package{arabluatex} --- Processing Arab\TeX\ notation under Lua\LaTeX.\\ % Copyright \textcopyright\ 2016--2017 Robert Alessi % -% \addcontentsline{toc}{section}{License and disclamer} Please send -% error reports and suggestions for improvements to Robert Alessi: +% Please send error reports and suggestions for improvements to Robert +% Alessi: % \begin{compactitem} % \item email: <\href{mailto:alessi@robertalessi.net?Subject=arabluatex}% -% {\texttt{alessi@{\allowbreak}robertalessi.net}}> +% {\texttt{alessi@robertalessi.net}}> % \item website: \url{http://www.robertalessi.net/arabluatex} % \item development: \url{http://git.robertalessi.net/arabluatex} % \item comments, feature requests, bug reports: -% \url{http://issues.robertalessi.net} +% \url{https://notabug.org/ralessi/arabluatex/issues} % \end{compactitem} % % This program is free software: you can redistribute it and/or modify @@ -313,7 +334,19 @@ % \item |arabluatex_fullvoc.lua| % \item |arabluatex_novoc.lua| % \item |arabluatex_trans.lua| +% \item |arabluatex.el| % \end{compactitem} +% +% \subsection*{License applicable to this document} +% \label{sec:documentation-license} +% Copyright \textcopyright\ 2016--2017 Robert Alessi +% +% This document is licensed under the Creative Commons +% Attribution-ShareAlike 4.0 International License. To view a copy of +% this license, visit +% \url{http://creativecommons.org/licenses/by-sa/4.0/} or send a +% letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, +% USA. % % \section{Introduction} % In comparison to Prof. Lagally's outstanding Arab\TeX,\footnote{See @@ -2036,10 +2069,11 @@ word that \cs{arbnull} is applied to. % the \cs{bayt} command. % % If the footnotes are abundant in number, it is advised to load the -% \package{footnote} package which \package{arabluatex} will then use -% to typeset any kind of footnote that is called from the arguments of -% the \cs{bayt} command. Please note that the \package{footnote} -% package must be loaded \emph{after} \package{arabluatex}. +% \package{footnotehyper} package which \package{arabluatex} will then +% use to typeset any kind of footnote that is called from the +% arguments of the \cs{bayt} command.\footnote{The \package{footnote} +% package may also be used for the same effect. However, it must be +% loaded \emph{after} \package{arabluatex}.} % % \paragraph{Line numbering} % Inside the |arabverse| environment, the |linenumbers| environment of @@ -2057,7 +2091,10 @@ word that \cs{arbnull} is applied to. % poetry:---\footnote{Please note that for the time being only the % assimilation rules that are laid on \vref{ref:assimilation} are % applied. See \vref{sec:classic-modern-typesetting} for more -% information.}% +% information. None of the editions of the +% \arb[trans]{\cap{M}u`allaqAt} that I know of feature the +% \arb[trans]{'id.gAm} in the Arabic text, although it is often +% strongly marked in declamation.}% % \iffalse %<*example> % \fi @@ -2111,7 +2148,9 @@ word that \cs{arbnull} is applied to. % dAsiriN min mu`awwali}\\ % \end{linenumbers*} % \end{arabverse} -% +% +% \medskip +% % \begin{arab}[trans] % qAla \cap{i}mru'u 'l-\cap{q}aysi fI mu`allaqati-hi: % \end{arab} @@ -3016,7 +3055,7 @@ wa-ya.sIru ta.hta 'l-jild-i % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{arabluatex}% -[2017/01/08 v1.7.1 An ArabTeX-like interface for LuaLaTeX] +[2017/03/15 v1.7.2 An ArabTeX-like interface for LuaLaTeX] \RequirePackage{ifluatex} % \end{macrocode} % \package{arabluatex} requires \LuaLaTeX\ of course. Issue a warning diff --git a/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.sty b/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.sty index 1a8666ba9cf..f5071c589ab 100644 --- a/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.sty +++ b/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.sty @@ -41,7 +41,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{arabluatex}% -[2017/01/08 v1.7.1 An ArabTeX-like interface for LuaLaTeX] +[2017/03/15 v1.7.2 An ArabTeX-like interface for LuaLaTeX] \RequirePackage{ifluatex} \ifluatex\else \PackageError{arabluatex}{lualatex needed}{% |