diff options
author | Norbert Preining <norbert@preining.info> | 2020-08-31 03:02:58 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-08-31 03:02:58 +0000 |
commit | 568fe838cef40f671837d9348dd73c93d9ea962b (patch) | |
tree | ba2b2c6ab585927a89adae8c1cc2a594010ab933 /macros/latex/contrib/texnegar | |
parent | c6a1b1f6422e10f363a9de80c4f103f0c155d8bb (diff) |
CTAN sync 202008310302
Diffstat (limited to 'macros/latex/contrib/texnegar')
21 files changed, 41 insertions, 70 deletions
diff --git a/macros/latex/contrib/texnegar/INSTALL.txt b/macros/latex/contrib/texnegar/INSTALL.txt index bc9b2a85d3..cac38811d9 100644 --- a/macros/latex/contrib/texnegar/INSTALL.txt +++ b/macros/latex/contrib/texnegar/INSTALL.txt @@ -1,7 +1,7 @@ texnegar -- INSTALL ====================== - Source: texnegar.dtx (2020-08-29 v0.1a) + Source: texnegar.dtx (2020-08-30 v0.1b) Author: Hossein Movahhedian Info: filecontents + macro + verbatim License: LPPL 1.3c diff --git a/macros/latex/contrib/texnegar/doc-ligature-texnegar.pdf b/macros/latex/contrib/texnegar/doc-ligature-texnegar.pdf Binary files differindex 055db30a9a..824d833e3a 100644 --- a/macros/latex/contrib/texnegar/doc-ligature-texnegar.pdf +++ b/macros/latex/contrib/texnegar/doc-ligature-texnegar.pdf diff --git a/macros/latex/contrib/texnegar/doc-ligature-xep.pdf b/macros/latex/contrib/texnegar/doc-ligature-xep.pdf Binary files differindex ff1afa5c70..85a25c35d5 100644 --- a/macros/latex/contrib/texnegar/doc-ligature-xep.pdf +++ b/macros/latex/contrib/texnegar/doc-ligature-xep.pdf diff --git a/macros/latex/contrib/texnegar/doc-samples-glyph.pdf b/macros/latex/contrib/texnegar/doc-samples-glyph.pdf Binary files differindex 2a242cc985..2db6e61796 100644 --- a/macros/latex/contrib/texnegar/doc-samples-glyph.pdf +++ b/macros/latex/contrib/texnegar/doc-samples-glyph.pdf diff --git a/macros/latex/contrib/texnegar/doc-samples-hrule.pdf b/macros/latex/contrib/texnegar/doc-samples-hrule.pdf Binary files differindex 303bebee91..f1a806958d 100644 --- a/macros/latex/contrib/texnegar/doc-samples-hrule.pdf +++ b/macros/latex/contrib/texnegar/doc-samples-hrule.pdf diff --git a/macros/latex/contrib/texnegar/doc-samples-xep.pdf b/macros/latex/contrib/texnegar/doc-samples-xep.pdf Binary files differindex 0e60c2020d..a1da366355 100644 --- a/macros/latex/contrib/texnegar/doc-samples-xep.pdf +++ b/macros/latex/contrib/texnegar/doc-samples-xep.pdf diff --git a/macros/latex/contrib/texnegar/texnegar-doc.ltx b/macros/latex/contrib/texnegar/texnegar-doc.ltx index 2bffbf9aa1..d3da27ee43 100644 --- a/macros/latex/contrib/texnegar/texnegar-doc.ltx +++ b/macros/latex/contrib/texnegar/texnegar-doc.ltx @@ -62,7 +62,7 @@ } } -\date{Released \quad 2020-08-29 \quad v0.1a} +\date{Released \quad 2020-08-30 \quad v0.1b} \definecolor{HMhighlightBlueI}{rgb}{0,0,1} \definecolor{HMhighlightbgYellowII}{rgb}{1,1,1} @@ -497,6 +497,8 @@ I also would like to thank the developer teams of TeX's friends especially LaTeX \HistoryItem{2020-08-29~v0.1a}{First standalone version.} + \HistoryItem{2020-08-30~v0.1b}{Changed some file names.} + \end{itemize} \section*{To Do's} diff --git a/macros/latex/contrib/texnegar/texnegar-doc.pdf b/macros/latex/contrib/texnegar/texnegar-doc.pdf Binary files differindex d23b3f96cd..dbc009499d 100644 --- a/macros/latex/contrib/texnegar/texnegar-doc.pdf +++ b/macros/latex/contrib/texnegar/texnegar-doc.pdf diff --git a/macros/latex/contrib/texnegar/texnegar-luatex-glyph.pdf b/macros/latex/contrib/texnegar/texnegar-luatex-glyph.pdf Binary files differindex 675efce316..bfd2ac60c3 100644 --- a/macros/latex/contrib/texnegar/texnegar-luatex-glyph.pdf +++ b/macros/latex/contrib/texnegar/texnegar-luatex-glyph.pdf diff --git a/macros/latex/contrib/texnegar/texnegar-luatex-leaders-glyph.pdf b/macros/latex/contrib/texnegar/texnegar-luatex-leaders-glyph.pdf Binary files differindex 2f838c492d..561f608926 100644 --- a/macros/latex/contrib/texnegar/texnegar-luatex-leaders-glyph.pdf +++ b/macros/latex/contrib/texnegar/texnegar-luatex-leaders-glyph.pdf diff --git a/macros/latex/contrib/texnegar/texnegar-luatex-leaders-hrule.pdf b/macros/latex/contrib/texnegar/texnegar-luatex-leaders-hrule.pdf Binary files differindex 45a0990fbd..ec33a722c8 100644 --- a/macros/latex/contrib/texnegar/texnegar-luatex-leaders-hrule.pdf +++ b/macros/latex/contrib/texnegar/texnegar-luatex-leaders-hrule.pdf diff --git a/macros/latex/contrib/texnegar/texnegar-xetex-bidi-glyph.pdf b/macros/latex/contrib/texnegar/texnegar-xetex-bidi-glyph.pdf Binary files differindex 7f574e30ab..f7965fcb96 100644 --- a/macros/latex/contrib/texnegar/texnegar-xetex-bidi-glyph.pdf +++ b/macros/latex/contrib/texnegar/texnegar-xetex-bidi-glyph.pdf diff --git a/macros/latex/contrib/texnegar/texnegar-xetex-bidi-leaders-glyph.pdf b/macros/latex/contrib/texnegar/texnegar-xetex-bidi-leaders-glyph.pdf Binary files differindex 3b393c374b..c240edb0e5 100644 --- a/macros/latex/contrib/texnegar/texnegar-xetex-bidi-leaders-glyph.pdf +++ b/macros/latex/contrib/texnegar/texnegar-xetex-bidi-leaders-glyph.pdf diff --git a/macros/latex/contrib/texnegar/texnegar-xetex-bidi-leaders-hrule.pdf b/macros/latex/contrib/texnegar/texnegar-xetex-bidi-leaders-hrule.pdf Binary files differindex 1d08e99a77..ac1526bf5e 100644 --- a/macros/latex/contrib/texnegar/texnegar-xetex-bidi-leaders-hrule.pdf +++ b/macros/latex/contrib/texnegar/texnegar-xetex-bidi-leaders-hrule.pdf diff --git a/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-glyph.pdf b/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-glyph.pdf Binary files differindex 0a285b450f..c7034473fe 100644 --- a/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-glyph.pdf +++ b/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-glyph.pdf diff --git a/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-leaders-glyph.pdf b/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-leaders-glyph.pdf Binary files differindex 12098ea3dc..005ec607bc 100644 --- a/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-leaders-glyph.pdf +++ b/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-leaders-glyph.pdf diff --git a/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-leaders-hrule.pdf b/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-leaders-hrule.pdf Binary files differindex b574694222..9b5961a7c4 100644 --- a/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-leaders-hrule.pdf +++ b/macros/latex/contrib/texnegar/texnegar-xetex-xepersian-leaders-hrule.pdf diff --git a/macros/latex/contrib/texnegar/texnegar.dtx b/macros/latex/contrib/texnegar/texnegar.dtx index af171614c5..4b27c5c054 100644 --- a/macros/latex/contrib/texnegar/texnegar.dtx +++ b/macros/latex/contrib/texnegar/texnegar.dtx @@ -100,7 +100,7 @@ make time to fix. % }^^A % } % -% \date{Released \quad 2020-08-29 \quad v0.1a} +% \date{Released \quad 2020-08-30 \quad v0.1b} % % \maketitle % @@ -131,7 +131,7 @@ make time to fix. \RequirePackage{l3keys2e} \RequirePackage{graphicx}[2019-11-30] \RequirePackage[dvipsnames,svgnames,x11names]{xcolor}[2016/05/11] -\ProvidesExplPackage {texnegar} {2020-08-29} {0.1a} { Full implementation of kashida feature in XeLaTex and LuaLaTeX } +\ProvidesExplPackage {texnegar} {2020-08-30} {0.1b} { Full implementation of kashida feature in XeLaTex and LuaLaTeX } \sys_if_engine_luatex:T { @@ -159,7 +159,7 @@ make time to fix. % % \begin{macrocode} %<*texnegar-luatex-sty> -\ProvidesExplPackage {texnegar-luatex} {2020-08-29} {0.1a} { Full implementation of kashida feature in xetex and luatex } +\ProvidesExplPackage {texnegar-luatex} {2020-08-30} {0.1b} { Full implementation of kashida feature in xetex and luatex } \tex_input:D { texnegar-ini.tex } @@ -195,7 +195,7 @@ make time to fix. % \begin{macrocode} %<*texnegar-xetex-sty> \RequirePackage{zref-savepos}[2020-03-03] -\ProvidesExplPackage {texnegar-xetex} {2020-08-29} {0.1a} { Full implementation of kashida feature in XeLaTex and LuaLaTeX } +\ProvidesExplPackage {texnegar-xetex} {2020-08-30} {0.1b} { Full implementation of kashida feature in XeLaTex and LuaLaTeX } \tex_input:D { texnegar-ini.tex } @@ -212,7 +212,7 @@ make time to fix. % % \begin{macrocode} %<*texnegar-ini-tex> -\ProvidesExplFile {texnegar-ini.tex} {2020-08-29} {0.1a} { Full implementation of kashida feature in XeLaTex and LuaLaTeX } +\ProvidesExplFile {texnegar-ini.tex} {2020-08-30} {0.1b} { Full implementation of kashida feature in XeLaTex and LuaLaTeX } \def\TeXNegar{\TeX Negar} @@ -609,7 +609,7 @@ make time to fix. % \subsection{File: \texttt{texnegar-common-kashida.tex}} % \begin{macrocode} %<*texnegar-common-kashida-tex> -\ProvidesExplFile {texnegar-common-kashida.tex} {2020-08-29} {0.1a} { Full implementation of kashida feature in XeLaTex and LuaLaTeX } +\ProvidesExplFile {texnegar-common-kashida.tex} {2020-08-30} {0.1b} { Full implementation of kashida feature in XeLaTex and LuaLaTeX } \bool_if:NT \l_texnegar_ligature_bool { @@ -684,7 +684,7 @@ make time to fix. % % \begin{macrocode} %<*texnegar-xetex-kashida-tex> -\ProvidesExplFile {texnegar-xetex-kashida.tex} {2020-08-29} {0.1a} { Full implementation of kashida feature in XeLaTex and LuaLaTeX } +\ProvidesExplFile {texnegar-xetex-kashida.tex} {2020-08-30} {0.1b} { Full implementation of kashida feature in XeLaTex and LuaLaTeX } \newXeTeXintercharclass \c_texnegar_d_charclass % dual-joiner class \newXeTeXintercharclass \c_texnegar_l_charclass % lam @@ -883,17 +883,17 @@ make time to fix. %</texnegar-xetex-kashida-tex> % \end{macrocode} % -% \subsection{File: \texttt{pe-char-table.lua}} +% \subsection{File: \texttt{texnegar-char-table.lua}} % % \begin{macrocode} -%<*pe-char-table-lua> +%<*texnegar-char-table-lua> -- --- This is file `pe-char-table.lua', +-- This is file `texnegar-char-table.lua', -- generated with the docstrip utility. -- -- The original source files were: -- --- texnegar.dtx (with options: `pe-char-table-lua') +-- texnegar.dtx (with options: `texnegar-char-table-lua') -- -- Copyright (C) 2020 Hossein Movahhedian -- @@ -901,23 +901,23 @@ make time to fix. -- version 1.3c or higher (your choice). The latest version of -- this license is at: http://www.latex-project.org/lppl.txt -- --- pe_char_table = pe_char_table or {} --- local pe_char_table = pe_char_table --- pe_char_table.module = { --- name = "pe_char_table", --- version = "0.1a", --- date = "2020-08-29", --- description = "Full implementation of kashida feature in XeLaTex and LuaLaTeX", --- author = "Hossein Movahhedian", --- copyright = "Hossein Movahhedian", --- license = "LPPL v1.3c" +-- texnegar_char_table = texnegar_char_table or {} +-- local texnegar_char_table = texnegar_char_table +-- texnegar_char_table.module = { +-- name = "texnegar_char_table", +-- version = "0.1b", +-- date = "2020-08-30", +-- description = "Full implementation of kashida feature in XeLaTex and LuaLaTeX", +-- author = "Hossein Movahhedian", +-- copyright = "Hossein Movahhedian", +-- license = "LPPL v1.3c" -- } -- -- -- ^^A%% texnegar-lua.dtx -- part of TEXNEGAR <bitbucket.org/dma8hm1334/texnegar> --- local err, warn, info, log = luatexbase.provides_module(pe_char_table.module) --- pe_char_table.log = log or (function (s) luatexbase.module_info("pe_char_table", s) end) --- pe_char_table.warning = warn or (function (s) luatexbase.module_warning("pe_char_table", s) end) --- pe_char_table.error = err or (function (s) luatexbase.module_error("pe_char_table", s) end) +-- local err, warn, info, log = luatexbase.provides_module(texnegar_char_table.module) +-- texnegar_char_table.log = log or (function (s) luatexbase.module_info("texnegar_char_table", s) end) +-- texnegar_char_table.warning = warn or (function (s) luatexbase.module_warning("texnegar_char_table", s) end) +-- texnegar_char_table.error = err or (function (s) luatexbase.module_error("texnegar_char_table", s) end) local peCharTableInitial = { [64344] = utf8.char(64344), -- "ﭘ", utf8.codepoint("ﭘ") == 64344, "\u{FB58}", INITIAL FORM PEH @@ -950,7 +950,6 @@ local peCharTableInitial = { } local peCharTableMedial = { - [1565] = utf8.char(1565), -- "؝ؘ؝؝", utf8.codepoint("؝؝") == 1565, "\u{061D}", KASHIDA [1600] = utf8.char(1600), -- "ـ", utf8.codepoint("ـ") == 1600, "\u{0640}", ARABIC TATWEEL [64345] = utf8.char(64345), -- "ﭙ", utf8.codepoint("ﭙ") == 64345, "\u{FB59}", MEDIAL FORM PEH [64381] = utf8.char(64381), -- "ﭽ", utf8.codepoint("ﭽ") == 64381, "\u{FB7D}", MEDIAL FORM TCHEH @@ -1027,8 +1026,8 @@ local peCharTableFinal = { return peCharTableInitial, peCharTableMedial, peCharTableFinal -- -- --- End of file `pe-char-table.lua'. -%</pe-char-table-lua> +-- End of file `texnegar-char-table.lua'. +%</texnegar-char-table-lua> % \end{macrocode} % % \subsection{File: \texttt{texnegar.lua}} @@ -1053,8 +1052,8 @@ return peCharTableInitial, peCharTableMedial, peCharTableFinal -- local texnegar = texnegar -- texnegar.module = { -- name = "texnegar", --- version = "0.1a", --- date = "2020-08-29", +-- version = "0.1b", +-- date = "2020-08-30", -- description = "Full implementation of kashida feature in XeLaTex and LuaLaTeX", -- author = "Hossein Movahhedian", -- copyright = "Hossein Movahhedian", @@ -1097,8 +1096,8 @@ dofile(kpse.find_file("texnegar-ini.lua")) -- local texnegar_ini = texnegar_ini -- texnegar_ini.module = { -- name = "texnegar_ini", --- version = "0.1a", --- date = "2020-08-29", +-- version = "0.1b", +-- date = "2020-08-30", -- description = "Full implementation of kashida feature in XeLaTex and LuaLaTeX", -- author = "Hossein Movahhedian", -- copyright = "Hossein Movahhedian", @@ -1111,36 +1110,8 @@ dofile(kpse.find_file("texnegar-ini.lua")) -- texnegar_ini.warning = warn or (function (s) luatexbase.module_warning("texnegar_ini", s) end) -- texnegar_ini.error = err or (function (s) luatexbase.module_error("texnegar_ini", s) end) --- enCharTableInitial, enCharTableMedial, enCharTableFinal = dofile(kpse.find_file("en-char-table.lua")) --- peCharTableInitial, peCharTableMedial, peCharTableFinal = dofile(kpse.find_file("pe-char-table.lua")) - --- kashida_unicode = 1600 --- kashida_subtype = 256 - --- COLORSTACK = node.subtype("pdf_colorstack") --- GLUE = node.id("glue") --- GLYPH = node.id("glyph") --- HLIST = node.id("hlist") --- KERN = node.id("kern") --- RULE = node.id("rule") --- WHATSIT = node.id("whatsit") - --- c_false_bool = token.create("c_false_bool") c_true_bool = token.create("c_true_bool") --- l_texnegar_kashida_fix_bool = token.create("l_texnegar_kashida_fix_bool") - --- l_texnegar_kashida_glyph_bool = token.create("l_texnegar_kashida_glyph_bool") --- l_texnegar_kashida_leaders_glyph_bool = token.create("l_texnegar_kashida_leaders_glyph_bool") --- l_texnegar_kashida_leaders_hrule_bool = token.create("l_texnegar_kashida_leaders_hrule_bool") - --- l_texnegar_ligature_bool = token.create("l_texnegar_ligature_bool") - --- l_texnegar_linebreakpenalty_bool = token.create("l_texnegar_linebreakpenalty_bool") - --- l_texnegar_hboxrecursion_bool = token.create("l_texnegar_hboxrecursion_bool") --- l_texnegar_vboxrecursion_bool = token.create("l_texnegar_vboxrecursion_bool") - l_texnegar_color_bool = token.create("l_texnegar_color_bool") if l_texnegar_color_bool.mode == c_true_bool.mode then @@ -1150,8 +1121,6 @@ if l_texnegar_color_bool.mode == c_true_bool.mode then end end --- selected_font = font.current() --- selected_font_old = selected_font dofile(kpse.find_file("texnegar-luatex-kashida.lua")) -- leaders + resized glyph U+0640 -- -- @@ -1181,8 +1150,8 @@ dofile(kpse.find_file("texnegar-luatex-kashida.lua")) -- leaders + resized gly -- local texnegar_luatex_kashida = texnegar_luatex_kashida -- texnegar_luatex_kashida.module = { -- name = "texnegar_luatex_kashida", --- version = "0.1a", --- date = "2020-08-29", +-- version = "0.1b", +-- date = "2020-08-30", -- description = "Full implementation of kashida feature in XeLaTex and LuaLaTeX", -- author = "Hossein Movahhedian", -- copyright = "Hossein Movahhedian", @@ -1195,7 +1164,7 @@ dofile(kpse.find_file("texnegar-luatex-kashida.lua")) -- leaders + resized gly -- texnegar_luatex_kashida.warning = warn or (function (s) luatexbase.module_warning("texnegar_luatex_kashida", s) end) -- texnegar_luatex_kashida.error = err or (function (s) luatexbase.module_error("texnegar_luatex_kashida", s) end) -local peCharTableInitial, peCharTableMedial, peCharTableFinal = dofile(kpse.find_file("pe-char-table.lua")) +local peCharTableInitial, peCharTableMedial, peCharTableFinal = dofile(kpse.find_file("texnegar-char-table.lua")) local kashida_unicode = 1600 local kashida_subtype = 256 @@ -1716,6 +1685,8 @@ end % % \HistoryItem{2020-08-29~v0.1a}{First standalone version.} % +% \HistoryItem{2020-08-30~v0.1b}{Changed some file names.} +% % \end{itemize} % % \section*{To Do's} diff --git a/macros/latex/contrib/texnegar/texnegar.ins b/macros/latex/contrib/texnegar/texnegar.ins index cfdf9150a6..6ed26bf948 100644 --- a/macros/latex/contrib/texnegar/texnegar.ins +++ b/macros/latex/contrib/texnegar/texnegar.ins @@ -36,9 +36,7 @@ this license is at: http://www.latex-project.org/lppl.txt \generate{\file{README.txt} {\from{texnegar.dtx} {README-txt}}} -\generate{\file{en-char-table.lua} {\from{texnegar.dtx} {en-char-table-lua}}} - -\generate{\file{pe-char-table.lua} {\from{texnegar.dtx} {pe-char-table-lua}}} +\generate{\file{texnegar-char-table.lua} {\from{texnegar.dtx} {texnegar-char-table-lua}}} \generate{\file{texnegar.lua} {\from{texnegar.dtx} {texnegar-lua}}} diff --git a/macros/latex/contrib/texnegar/texnegar.pdf b/macros/latex/contrib/texnegar/texnegar.pdf Binary files differindex f176290f43..521dfdcfc0 100644 --- a/macros/latex/contrib/texnegar/texnegar.pdf +++ b/macros/latex/contrib/texnegar/texnegar.pdf diff --git a/macros/latex/contrib/texnegar/xepersian-XB.pdf b/macros/latex/contrib/texnegar/xepersian-XB.pdf Binary files differindex 8dd873ed13..b0cb0b76f3 100644 --- a/macros/latex/contrib/texnegar/xepersian-XB.pdf +++ b/macros/latex/contrib/texnegar/xepersian-XB.pdf |