texlive[42475] Master: unicode-bidi (9nov16)

commits+karl at tug.org commits+karl at tug.org
Wed Nov 9 23:39:22 CET 2016


Revision: 42475
          http://tug.org/svn/texlive?view=revision&revision=42475
Author:   karl
Date:     2016-11-09 23:39:21 +0100 (Wed, 09 Nov 2016)
Log Message:
-----------
unicode-bidi (9nov16)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/xelatex/unicode-bidi/
    trunk/Master/texmf-dist/doc/xelatex/unicode-bidi/README.md
    trunk/Master/texmf-dist/tex/xelatex/unicode-bidi/
    trunk/Master/texmf-dist/tex/xelatex/unicode-bidi/unicode-bidi.sty
    trunk/Master/tlpkg/tlpsrc/unicode-bidi.tlpsrc

Added: trunk/Master/texmf-dist/doc/xelatex/unicode-bidi/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/unicode-bidi/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/xelatex/unicode-bidi/README.md	2016-11-09 22:39:21 UTC (rev 42475)
@@ -0,0 +1,63 @@
+The `unicode-bidi` package
+========
+
+The experimental `unicode-bidi` package allows you to mix non-RTL script with RTL script without any markup.
+
+Usage
+-----
+
+To use the `unicode-bidi` package, you just need to load it
+
+````latex
+\usepackage{unicode-bidi}
+````
+
+Example
+-------
+
+Here is a sample `xepersian` document:
+
+````latex
+\documentclass{article}
+\usepackage{xepersian}
+\usepackage{unicode-bidi}
+\settextfont{Yas}
+\begin{document}
+این یک آزمایش است (یک آزمایش)
+One, two, and three (numbers) or [numbers]
+و آزمایش بعدی,
+This is a [real test].
+و این هم یک [آزمایش دیگر] است.
+
+نام نخستین شرکت هواپیمایی ایران
+Iran Air or \hbox{Homa airlines}
+بوده است که به بسیاری از نقاط دنیا پرواز داشته است.
+
+
+من نام
+\hbox{من و you and we ما می‌شویم.}
+را دوست می‌دارم.
+
+Joanne 123 and you
+نام من در زبان انگلیسی می‌باشد.
+
+\begin{latin}
+This is a test as you can see
+
+\end{latin}
+
+نام من به زبان انگلیسی 
+Joanne Patterson
+هست.
+\end{document}
+````
+
+
+    
+    
+Reporting bugs
+-------
+Please use [the issue tracker][1] to report bugs.
+
+
+  [1]: https://github.com/vafa/unicode-bidi/issues
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/xelatex/unicode-bidi/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/xelatex/unicode-bidi/unicode-bidi.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/unicode-bidi/unicode-bidi.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/xelatex/unicode-bidi/unicode-bidi.sty	2016-11-09 22:39:21 UTC (rev 42475)
@@ -0,0 +1,35 @@
+%%
+%% This is file `unicode-bidi.sty'.
+%% 
+%%   __________________________________________________
+%%   Copyright (c) 2016  Vafa Khalighi <persian-tex at tug.org>
+%% 
+%%   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
+%% 
+%%   This work is “author-maintained” (as per LPPL maintenance status)
+%%   by Vafa Khalighi.
+%% 
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{unicode-bidi}[2016/11/09 v0.01
+Experimental unicode bidi package for XeTeX]
+\newcount\unicode at bidi@latin at alphabets
+\newXeTeXintercharclass\unicode at bidi@latin at alphabets@charclass
+\newXeTeXintercharclass\unicode at bidi@latin at punctuations@charclass
+\unicode at bidi@latin at alphabets=`\A \loop \XeTeXcharclass \unicode at bidi@latin at alphabets \unicode at bidi@latin at alphabets@charclass \ifnum\unicode at bidi@latin at alphabets<`\Z \advance\unicode at bidi@latin at alphabets \@ne \repeat
+\unicode at bidi@latin at alphabets=`\a \loop \XeTeXcharclass \unicode at bidi@latin at alphabets \unicode at bidi@latin at alphabets@charclass \ifnum\unicode at bidi@latin at alphabets<`\z \advance\unicode at bidi@latin at alphabets \@ne \repeat
+\XeTeXcharclass `\, \unicode at bidi@latin at punctuations@charclass
+\XeTeXcharclass `\( \unicode at bidi@latin at punctuations@charclass
+\XeTeXcharclass `\) \unicode at bidi@latin at punctuations@charclass
+\XeTeXcharclass `\[ \unicode at bidi@latin at punctuations@charclass
+\XeTeXcharclass `\] \unicode at bidi@latin at punctuations@charclass
+\XeTeXinterchartoks \z@ \unicode at bidi@latin at alphabets@charclass {\unicode at bidi@startlatin}
+\XeTeXinterchartoks \e at alloc@intercharclass at top \unicode at bidi@latin at alphabets@charclass {\unicode at bidi@startlatin}
+\XeTeXinterchartoks \e at alloc@intercharclass at top \z@ {\unicode at bidi@finishlatin}
+\XeTeXinterchartoks \unicode at bidi@latin at alphabets@charclass \z@ {\unicode at bidi@finishlatin}
+\newcommand*{\unicode at bidi@startlatin}{\if at nonlatin\bgroup\beginL\latinfont\@nonlatinfalse\fi}
+\newcommand*{\unicode at bidi@finishlatin}{\if at nonlatin\else\unskip\endL\egroup{ }\fi}
+\endinput
+%%
+%% End of file `unicode-bidi.sty'.
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/xelatex/unicode-bidi/unicode-bidi.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2016-11-09 02:15:47 UTC (rev 42474)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2016-11-09 22:39:21 UTC (rev 42475)
@@ -617,7 +617,7 @@
     umthesis umtypewriter
     unamth-template unamthesis underlin underoverlap underscore undolabl
     unfonts-core unfonts-extra
-    uni-wtal-ger uni-wtal-lin unicode-data unicode-math unisugar
+    uni-wtal-ger uni-wtal-lin unicode-data unicode-bidi unicode-math unisugar
     units unitsdef universa universalis
     unravel unswcover
     uothesis uowthesis uowthesistitlepage

Modified: trunk/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc	2016-11-09 02:15:47 UTC (rev 42474)
+++ trunk/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc	2016-11-09 22:39:21 UTC (rev 42475)
@@ -21,6 +21,7 @@
 depend quran
 depend realscripts
 depend ucharclasses
+depend unicode-bidi
 depend unisugar
 depend xebaposter
 depend xecjk

Added: trunk/Master/tlpkg/tlpsrc/unicode-bidi.tlpsrc
===================================================================


More information about the tex-live-commits mailing list