texlive[56314] Master/texmf-dist: semtex (10sep20)

commits+karl at tug.org commits+karl at tug.org
Thu Sep 10 23:21:38 CEST 2020


Revision: 56314
          http://tug.org/svn/texlive?view=revision&revision=56314
Author:   karl
Date:     2020-09-10 23:21:38 +0200 (Thu, 10 Sep 2020)
Log Message:
-----------
semtex (10sep20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/semtex/semtex.pdf
    trunk/Master/texmf-dist/doc/latex/semtex/semtex.tex
    trunk/Master/texmf-dist/tex/latex/semtex/semtex.sty

Modified: trunk/Master/texmf-dist/doc/latex/semtex/semtex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/semtex/semtex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/semtex/semtex.tex	2020-09-10 21:21:03 UTC (rev 56313)
+++ trunk/Master/texmf-dist/doc/latex/semtex/semtex.tex	2020-09-10 21:21:38 UTC (rev 56314)
@@ -38,7 +38,7 @@
 	
 \usepackage[nameinlink]{cleveref}
 
-\title{\texttt{semtex}: For stripped Seman\!\TeX\ documents (v$0.1\beta$)}
+\title{\texttt{semtex}: For stripped Seman\!\TeX\ documents (v0.2)}
 \date{\today}
 \author{Sebastian Ørsted (\href{mailto:sorsted at gmail.com}{sorsted at gmail.com})}
 

Modified: trunk/Master/texmf-dist/tex/latex/semtex/semtex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/semtex/semtex.sty	2020-09-10 21:21:03 UTC (rev 56313)
+++ trunk/Master/texmf-dist/tex/latex/semtex/semtex.sty	2020-09-10 21:21:38 UTC (rev 56314)
@@ -1,5 +1,5 @@
 \RequirePackage{xparse}
-\ProvidesExplPackage{semtex}{2020/09/07}{0.1beta}{}
+\ProvidesExplPackage{semtex}{2020/09/10}{0.2}{}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %																%
@@ -12,28 +12,30 @@
 
 % Bullets:
 
-\box_new:N \g__semantex_bullet_box
-\hbox_set:Nn \g__semantex_bullet_box { $\cdot$ }
-\box_scale:Nnn \g__semantex_bullet_box {1.2} {1.2}
-\tl_set:Nn\g_semantex_bullet
+\box_if_exist:NF \g__semantex_bullet_box
 {
-	\box_move_up:nn{-0.25ex}{\box_use:N \g__semantex_bullet_box}
+	\box_new:N \g__semantex_bullet_box
+	\hbox_set:Nn \g__semantex_bullet_box { $\cdot$ }
+	\box_scale:Nnn \g__semantex_bullet_box {1.2} {1.2}
+	\tl_set:Nn\g_semantex_bullet
+	{
+		\box_move_up:nn{-0.25ex}{\box_use:N \g__semantex_bullet_box}
+	}
+
+	\tl_set:Nn\g_semantex_double_bullet{\g_semantex_bullet \g_semantex_bullet}
+	
+	\tl_set_eq:NN\SemantexBullet \g_semantex_bullet
+	
+	\tl_set_eq:NN \SemantexDoubleBullet \g_semantex_double_bullet
 }
 
-\tl_set:Nn\g_semantex_double_bullet{\g_semantex_bullet \g_semantex_bullet}
-
-\tl_set_eq:NN\SemantexBullet \g_semantex_bullet
-
-\tl_set_eq:NN \SemantexDoubleBullet \g_semantex_double_bullet
-
-
 % Parentheses:
 
-\cs_new:Npn\SemantexLeft { \mathopen{}\mathclose\bgroup\left }
+\cs_set:Npn\SemantexLeft { \mathopen{}\mathclose\bgroup\left }
 
-\cs_new:Npn\SemantexRight { \aftergroup\egroup\right }
+\cs_set:Npn\SemantexRight { \aftergroup\egroup\right }
 
-\tl_new:N\SemantexDelimiterSize
+\tl_set:Nn\SemantexDelimiterSize{}
 
 \DeclareDocumentCommand\SemantexParentheses { mmmm }
 {



More information about the tex-live-commits mailing list.