From 412a3bd77bd76014472d93aa65ce8d7b75809ebb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 5 Sep 2015 22:01:10 +0000 Subject: arabxetex (4sep15) git-svn-id: svn://tug.org/texlive/trunk@38299 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xelatex/arabxetex/README | 17 ----------- Master/texmf-dist/doc/xelatex/arabxetex/README.md | 34 +++++++++++++++++++++ .../texmf-dist/doc/xelatex/arabxetex/arabxetex.pdf | Bin 317330 -> 257265 bytes .../xelatex/arabxetex/examples/ednotes_example.pdf | Bin 70740 -> 84684 bytes .../xelatex/arabxetex/examples/ednotes_example.tex | 14 ++++----- .../doc/xelatex/arabxetex/examples/minimal.tex | 6 ++-- 6 files changed, 44 insertions(+), 27 deletions(-) delete mode 100644 Master/texmf-dist/doc/xelatex/arabxetex/README create mode 100644 Master/texmf-dist/doc/xelatex/arabxetex/README.md (limited to 'Master/texmf-dist/doc/xelatex') diff --git a/Master/texmf-dist/doc/xelatex/arabxetex/README b/Master/texmf-dist/doc/xelatex/arabxetex/README deleted file mode 100644 index 06ad3a8c06f..00000000000 --- a/Master/texmf-dist/doc/xelatex/arabxetex/README +++ /dev/null @@ -1,17 +0,0 @@ --------------------------- -THE ARABXETEX PACKAGE v1.1.4 - -This package provides a convenient ArabTeX-like user-interface for typesetting -languages using the Arabic script in XeLaTeX, with flexible access to font -features. Input in ArabTeX notation can be set in three different -vocalization modes or in roman transliteration. Direct UTF-8 input is also -supported. Since most of the ‘real work’ -- namely parsing and converting -ArabTeX input to Unicode -- is done at the level of TECkit mappings, -ArabXeTeX is really performant. - -The TECkit fontmapping files (*.map and *.tec) should be copied to -/fonts/misc/xetex/fontmapping/arabxetex/ - -------------------------- -François Charette -© 2007–2010 diff --git a/Master/texmf-dist/doc/xelatex/arabxetex/README.md b/Master/texmf-dist/doc/xelatex/arabxetex/README.md new file mode 100644 index 00000000000..b862d9669e8 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/arabxetex/README.md @@ -0,0 +1,34 @@ +# THE ARABXETEX PACKAGE +## v1.2.1 + +This package provides a convenient ArabTeX-like user-interface for typesetting +languages using the Arabic script in XeLaTeX, with flexible access to font +features. Input in ArabTeX notation can be set in three different vocalization +modes or in roman transliteration. Direct UTF-8 input is also supported, but +users not interested in ArabTeX input notation should rather consider the +package [polyglossia](https://www.ctan.org/pkg/polyglossia). Since most of the +‘real work’ – namely parsing and converting ArabTeX input to Unicode – is done +at the level of TECkit mappings, ArabXeTeX is really performant. + +The TECkit fontmapping files (`*.map` and `*.tec`) should be copied to +`/fonts/misc/xetex/fontmapping/arabxetex/` + + +### Changes from version 1.1.4: + +- Fix problem with plain footnotes (Fix provided by [Enrico Gregorio](http://tex.stackexchange.com/questions/223081/arabxetex-and-footnote)) +- Remove obsolete and superfluous parts from documentation +- Default Arabic font is now [Amiri](http://www.amirifont.org/) instead of Scheherazade and Amiri is also used in the documentation. +- Include a pull request from Khaled Hosny: + * Improves the documentation and notably clears up the confusion around U+FDF2. + Consequently the options `fdf2alif` and `fdf2noalif` are now *DEPRECATED*, as well as + the commands `\SetAllahWithAlif` and `\SetAllahWithoutAlif`. + * Fix placement of tanwin fatah + * Fix handling of end of ayeh symbol in mapping + +*NB* From a user perspective there is no difference between 1.2.0 and 1.2.1. + +--- +François Charette +© 2007–2015 + diff --git a/Master/texmf-dist/doc/xelatex/arabxetex/arabxetex.pdf b/Master/texmf-dist/doc/xelatex/arabxetex/arabxetex.pdf index 5bb140b2bb1..15f890225f9 100644 Binary files a/Master/texmf-dist/doc/xelatex/arabxetex/arabxetex.pdf and b/Master/texmf-dist/doc/xelatex/arabxetex/arabxetex.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/arabxetex/examples/ednotes_example.pdf b/Master/texmf-dist/doc/xelatex/arabxetex/examples/ednotes_example.pdf index c24dbcf774e..bbb8f3037d9 100644 Binary files a/Master/texmf-dist/doc/xelatex/arabxetex/examples/ednotes_example.pdf and b/Master/texmf-dist/doc/xelatex/arabxetex/examples/ednotes_example.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/arabxetex/examples/ednotes_example.tex b/Master/texmf-dist/doc/xelatex/arabxetex/examples/ednotes_example.tex index cc49982f5b1..c335434ae85 100644 --- a/Master/texmf-dist/doc/xelatex/arabxetex/examples/ednotes_example.tex +++ b/Master/texmf-dist/doc/xelatex/arabxetex/examples/ednotes_example.tex @@ -11,9 +11,9 @@ %% \documentclass[12pt,a4paper,oneside]{memoir} \usepackage{fontspec} -\setromanfont[Mapping=tex-text]{Junicode} -\usepackage[novoc,fdf2alif]{arabxetex} -\newfontfamily\arabicfont[Script=Arabic,Scale=1.2,WordSpace=2]{Scheherazade} +\setmainfont[Ligatures=TeX]{Junicode} +\usepackage[novoc]{arabxetex} +\newfontfamily\arabicfont[Script=Arabic,WordSpace=2]{Amiri} %% OK, now we load ednotes with appropriate options. %% For each extra level of notes in the critical apparatus we need to %% initialize it with the appropriate option, in this case, "Bpara". @@ -51,7 +51,7 @@ \renewcommand*{\differentlines}[2]{\linesfmt{\RL{#1\textendash#2}}}% \renewcommand*{\linesfmt}[1]{\raisebox{1ex}{\linenumberfont #1}~}% \renewcommand{\lemmafmt}[1]{#1~[ }% -\renewcommand*{\pageandline}[2]{#2.\textlatin{#1}}% #1 page, #2 line. +\renewcommand*{\pageandline}[2]{#2.\textLR{#1}}% #1 page, #2 line. % \renewcommand*{\repeatref}[1]{\raisebox{-.5ex}{$\Vert$}}% << not advisable % \renewcommand{\lemmaellipsis}{\textsymmdots}% % \renewcommand{\notefmt}[1]{##1}% @@ -91,9 +91,9 @@ %% The typographical "object" that separates successive variants in one note: \newcommand{\SEP}{\enskip;\enskip} %% The typographical "object" that indicates additions in a MS: -\newcommand{\ADD}{\textlatin{\textbf{+}}\,}% +\newcommand{\ADD}{\textLR{\textbf{+}}\,}% %% The typographical "object" that indicates omissions in a MS: -\newcommand{\OM}{\textlatin{\textbf{–}}\,}% +\newcommand{\OM}{\textLR{\textbf{–}}\,}% %% The typographical "object" that indicates a correction not reflected in any MS: \newcommand{\CORR}{\textarab{.s.h.h-}}% %% The typographical "object" that indicates illegible passages in a MS: @@ -105,7 +105,7 @@ %% The typographical "object" that indicates a supralinear passage in a MS: \newcommand{\SUPERLIN}{\textarab{ta.ht al-sa.tr}}% %% The typographical "object" in the main text that indicates a lacuna in all MSS: -\newcommand{\LACUNA}{\textlatin{\textlangle\,\dots\textrangle}} +\newcommand{\LACUNA}{\textLR{\textlangle\,\dots\textrangle}} %% The typographical "object" in the main text that indicates a restoration: \newcommand{\RESTOR}[1]{\}~#1~\{} %% diff --git a/Master/texmf-dist/doc/xelatex/arabxetex/examples/minimal.tex b/Master/texmf-dist/doc/xelatex/arabxetex/examples/minimal.tex index 0244b6bd14d..cafe0418768 100644 --- a/Master/texmf-dist/doc/xelatex/arabxetex/examples/minimal.tex +++ b/Master/texmf-dist/doc/xelatex/arabxetex/examples/minimal.tex @@ -1,9 +1,9 @@ \documentclass{minimal} -\usepackage{arabxetex} % default options are "novoc" and "fdf2alif", - % other options are "voc", "fullvoc", "utf", "trans" and "fdf2noalif" +\usepackage{arabxetex} % default option is "novoc" + % other options are "voc", "fullvoc", "utf" and "trans" % arabxetex loads bidi.sty and fontspec.sty -\newfontfamily\arabicfont[Script=Arabic, Scale=1.5]{Scheherazade} +\newfontfamily\arabicfont[Script=Arabic]{Amiri} % you can also define \farsifont, \uighurfont, etc if you want \begin{document} This is some text in English with Arabic insertion \textarab{`arabI}. -- cgit v1.2.3