texlive[44907] Master/texmf-dist: xassoccnt (28jul17)
commits+karl at tug.org
commits+karl at tug.org
Fri Jul 28 23:45:48 CEST 2017
Revision: 44907
http://tug.org/svn/texlive?view=revision&revision=44907
Author: karl
Date: 2017-07-28 23:45:48 +0200 (Fri, 28 Jul 2017)
Log Message:
-----------
xassoccnt (28jul17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/xassoccnt/README
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_backupcounters_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_backupcounters_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterformats_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterformats_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counternames_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counternames_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_coupledcounters_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_coupledcounters_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_doc.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_doc.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_driver_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_driver_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_getparentcounter_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_getparentcounter_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_label_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_label_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_parentcounterchain_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_parentcounterchain_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_periodiccounters_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_periodiccounters_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetlist_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetlist_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetloop_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetloop_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_suspendedcounters_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_suspendedcounters_example.tex
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_totalcounters_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_totalcounters_example.tex
trunk/Master/texmf-dist/tex/latex/xassoccnt/xassoccnt.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterhierarchy_example.pdf
trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterhierarchy_example.tex
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/README 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/README 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:06:34)
%% README file for xassoccnt.sty
%%
%%
@@ -26,7 +26,7 @@
to the totcount package by Vasileios Koutavas (http://www.ctan.org/pkg/totcount), but
can be used without it too.
-As of 2017/04/30 xassoccnt does not supersede the package assoccnt by the same author, however,
-the older package isn't declared obsolete as of 2017/04/30
+As of 2017/07/28 xassoccnt does not supersede the package assoccnt by the same author, however,
+the older package isn't declared obsolete as of 2017/07/28
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_backupcounters_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_backupcounters_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_backupcounters_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_backupcounters_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file for backup counters file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterformats_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterformats_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterformats_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterformats_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file for defining new counter formats file for xassoccnt.sty
%%
%%
Added: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterhierarchy_example.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterhierarchy_example.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterhierarchy_example.pdf 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterhierarchy_example.pdf 2017-07-28 21:45:48 UTC (rev 44907)
Property changes on: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterhierarchy_example.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterhierarchy_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterhierarchy_example.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterhierarchy_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -0,0 +1,37 @@
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
+%% Example file for defining new counter hierarchies file for xassoccnt.sty
+%%
+%%
+%% -------------------------------------------------------------------------------------------
+%% Copyright (c) 2017 by Dr. Christian Hupfer <typography dot with dot latex at gmail dot com>
+%% -------------------------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%%
+%% This work has the LPPL maintenance status `author-maintained`
+%%
+%%
+
+\documentclass{book}
+
+
+\usepackage{xassoccnt}
+
+
+\begin{document}
+
+
+\NewCounterHierarchy{bilbo,frodo,sam,gandalf}
+
+
+
+
+
+\end{document}
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counterhierarchy_example.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counternames_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counternames_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counternames_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_counternames_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file the the usage of counter names file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_coupledcounters_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_coupledcounters_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_coupledcounters_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_coupledcounters_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file for coupled counters file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_doc.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_doc.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Documentation file for xassoccnt.sty
%%
%%
@@ -101,8 +101,14 @@
\@namedef{xassoccntversion1.3}{v1.3 2017-03-04}
-\@namedef{xassoccntversion1.4}{v1.4 2017-04-07}
+\@namedef{xassoccntversion1.4}{v1.4 2017-04-30}
+\@namedef{xassoccntversion1.5}{v1.5 2017-04-30}
+
+\@namedef{xassoccntversion1.4}{v1.4 2017-05-10}
+
+\@namedef{xassoccntversion1.5}{v1.5 2017-07-28}
+
\newcommand{\authorname}{Autor}
@@ -2670,6 +2676,10 @@
\begin{itemize}[itemsep=15pt]
+\item \CHDocFullVersion{1.5}
+
+Added \refCom{LastRefSteppedCounter} as dummy version which expands to nothing as long as \cs{refstepcounter} has not been called.
+
\item \CHDocFullVersion{1.4}
\begin{itemize}
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_driver_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_driver_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_driver_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_driver_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Driver file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_getparentcounter_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_getparentcounter_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_getparentcounter_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_getparentcounter_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file for determing the parent counter of a counter and referring to it file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_label_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_label_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_label_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_label_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file the the usage of labels with associated counters file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_parentcounterchain_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_parentcounterchain_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_parentcounterchain_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_parentcounterchain_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file for determing the parent counter chain of a counter file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_periodiccounters_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_periodiccounters_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_periodiccounters_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_periodiccounters_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file for periodic counters file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetlist_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetlist_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetlist_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetlist_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file for reset list features file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetloop_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetloop_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetloop_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_resetloop_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file for looping through the reset list file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_suspendedcounters_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_suspendedcounters_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_suspendedcounters_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_suspendedcounters_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file for suspended counters file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_totalcounters_example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_totalcounters_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_totalcounters_example.tex 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/doc/latex/xassoccnt/xassoccnt_totalcounters_example.tex 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Example file for total counters file for xassoccnt.sty
%%
%%
Modified: trunk/Master/texmf-dist/tex/latex/xassoccnt/xassoccnt.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xassoccnt/xassoccnt.sty 2017-07-28 21:45:33 UTC (rev 44906)
+++ trunk/Master/texmf-dist/tex/latex/xassoccnt/xassoccnt.sty 2017-07-28 21:45:48 UTC (rev 44907)
@@ -1,4 +1,4 @@
-%% LaTeX package xassoccnt - version 1.4 (2017/04/30 -- 00:47:05)
+%% LaTeX package xassoccnt - version 1.5 (2017/07/28 -- 12:08:57)
%% Source file for xassoccnt.sty
%%
%%
@@ -19,10 +19,10 @@
%%
%%
-\def\xassoccntpackageversion{1.4}
+\def\xassoccntpackageversion{1.5}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{xassoccnt}[2017/04/30 - v\xassoccntpackageversion]
+\ProvidesPackage{xassoccnt}[2017/07/28 - v\xassoccntpackageversion]
\RequirePackage{etoolbox}
\RequirePackage{letltxmacro}
\RequirePackage{xcolor}
@@ -39,11 +39,11 @@
\cs_generate_variant:Nn \seq_set_from_clist:Nn { Nx, cx }
\cs_generate_variant:Nn \seq_gset_from_clist:Nn { Nx, cx }
+\cs_generate_variant:Nn \seq_item:Nn { Nx, cx,NV,cV}
\cs_generate_variant:Nn \seq_set_split:Nnn {Nxn,cxn,Nxx,cxx,cox,Nox,Non,con}
\cs_generate_variant:Nn \seq_remove_all:Nn { cV, NV }
\cs_generate_variant:Nn \seq_gremove_all:Nn { cV, NV }
-\cs_generate_variant:Nn \seq_gput_right:cn {cx}
\cs_generate_variant:Nn \prop_put:Nnn {cxx,nxx,nxn,cxn,Nxx,Nxn}
\cs_generate_variant:Nn \prop_gput:Nnn {cxx,nxx,nxn,cxn,Nxx,Nxn,NVx,Nvn,cVn,cVx}
\cs_generate_variant:Nn \prop_remove:Nn {cx,Nx}
@@ -58,6 +58,8 @@
% global/local scratch variables
\seq_new:N \l__xassoccnt_tmpa_seq
+\seq_new:N \l__xassoccnt_tmpb_seq
+\seq_new:N \l__xassoccnt_tmpc_seq
\tl_new:N \l__xassoccnt_tmpa_tl
\tl_new:N \l__xassoccnt_tmpb_tl
@@ -700,7 +702,7 @@
}{}
\AtEndOfPackage{
- \PackageInfo{xassoccnt}{2017/04/30 - v\xassoccntpackageversion -- stepping counters simultaneously and other features}
+ \PackageInfo{xassoccnt}{2017/07/28 - v\xassoccntpackageversion -- stepping counters simultaneously and other features}
\xassoccnt_trackloadedpackages:n{alphalph,calc,cleveref,hyperref}
\@ifpackageloaded{calc}{%
\msg_warning:nnn{xassoccnt}{incompatiblepackagenonfatal}{calc}% Warning
@@ -963,9 +965,11 @@
}
\fi
+\cs_generate_variant:Nn \__xassoccnt_newcounter_ltx:nnn {nVn}
+
\cs_new:Nn \xassoccnt_declareassociatedcounters:nnn {%
\__xassoccnt_container_if_in:cnTF{\__xassoccnt_generate_countercontainername:n{\c_xassoccnt_mastername_str}:}{#2}{%
% Not contained in the driver counter list
@@ -2541,6 +2545,8 @@
}
+
+
\cs_set:Npn \refstepcounter #1 {%
\seq_if_in:NxF \g_xassoccnt_suspendedcnt_seq {#1} {%
\cs_gset_nopar:Npx \LastRefSteppedCounter {#1}
@@ -2549,6 +2555,7 @@
}
}
+\cs_gset_nopar:Npx \LastRefSteppedCounter {}
\newcommand{\LastCounterValue}{%
\int_use:N \g__xassoccnt_lastcountervalue_int
@@ -2712,6 +2719,84 @@
+%%%%%%%%%%%%% Counter hierarchies
+
+\seq_new:N \g_xassoccnt_counterhierarchies_seq
+
+
+
+\cs_new:Nn \__xassoccnt_add_counterhierarchy:n {%
+ \seq_if_exist:cF { g_xassoccnt_ #1 _counterhierarchy_seq } {
+ \seq_new:cn {g_xassoccnt_ #1 _counterhierarchy_seq}
+ }
+ \tl_set:Nx \l_tmpb_tl {#1}
+ \seq_gput_right:Nx \g_xassoccnt_counterhierarchies_seq {#1}
+ \seq_gremove_duplicates:N \g_xassoccnt_counterhierarchies_seq
+}
+
+\keys_define:nn {xassoccnt(COUNTERHIERARCHY)} {%
+ hierarchy-name .code:n= {\__xassoccnt_add_counterhierarchy:n{#1}},
+ hierarchy-name .value_required:n=true
+}
+
+\seq_set_from_clist:cn {foo_seq} {einstein,feynman,newton,boltzmann}
+
+
+\cs_new:Nn \seq_insert_seq:nnnn {
+ \group_begin:
+ \int_zero:N \l_tmpa_int
+ \seq_set_eq:NN \l_tmpa_seq #1
+ \seq_clear:N \l__xassoccnt_tmpb_seq
+% \seq_clear:N \l_tmpa_seq
+ \int_do_while:nNnn {\l_tmpa_int } < {#3} {%
+ \int_incr:N \l_tmpa_int
+ \seq_put_right:Nx \l__xassoccnt_tmpb_seq {\seq_item:NV #1 {\l_tmpa_int}}
+ }
+ \seq_concat:NNN \l__xassoccnt_tmpa_seq \l__xassoccnt_tmpb_seq #2
+
+ \seq_clear:N \l__xassoccnt_tmpb_seq
+ \int_do_while:nNnn {\l_tmpa_int } < {\seq_count:N {#1} + 1} {%
+ \int_incr:N \l_tmpa_int
+ \seq_put_right:Nx \l__xassoccnt_tmpa_seq {\seq_item:NV #1 {\l_tmpa_int}}
+ }
+% \seq_concat:NNN \l__xassoccnt_tmpc_seq \l__xassoccnt_tmpa_seq \l__xassoccnt_
+ \seq_use:Nn \l__xassoccnt_tmpa_seq {\par}
+
+% \map_\seq_map_inline:Nn #1 {%
+
+
+
+ %\l_tmpa_seq #1
+
+ \group_end:
+
+}
+
+
+\NewDocumentCommand{\NewCounterHierarchy}{O{}m}{%
+ \group_begin:
+ \keys_set:nn {xassoccnt(COUNTERHIERARCHY)}{ #1 }
+ \seq_set_from_clist:Nx \l_tmpa_seq {#2}
+ \seq_set_eq:NN \l_tmpb_seq \l_tmpa_seq
+ \int_zero:N \l_tmpa_int
+ \seq_pop_left:NN \l_tmpb_seq \l_tmpa_tl
+ \__xassoccnt_newcounter_ltx:nVn{}{\l_tmpa_tl}{}
+ \seq_map_inline:Nn \l_tmpa_seq {%
+ \int_incr:N \l_tmpa_int
+ \tl_clear:N \l_tmpa_tl
+ \tl_set:Nx \l_tmpa_tl {\seq_item:Nn \l_tmpa_seq {\l_tmpa_int+1}}
+ \tl_if_empty:NF \l_tmpa_tl {%
+ \__xassoccnt_newcounter_ltx:nVn{}{\l_tmpa_tl}{##1}
+ }
+ }
+ \seq_set_eq:NN \l_tmpb_seq \l_tmpa_seq
+ \seq_insert_seq:nnnn {\l_tmpa_seq} {\foo_seq} {2} {}
+ \group_end:
+}
+
+
+
+
% Pretty printing counters
\NewDocumentCommand{\PrettyPrintCounterName}{+mm}{%
More information about the tex-live-commits
mailing list