diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-29 21:34:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-29 21:34:43 +0000 |
commit | 47dcd2e2b5322254f57061c60596e7dda1c9054e (patch) | |
tree | a55d3b2897a0873b698443050b4ead1ff328c52c /Master/texmf-dist/doc/generic | |
parent | 36496123436944e870fec51acc0e50c79d2c81bc (diff) |
witharrows (29jul20)
git-svn-id: svn://tug.org/texlive/trunk@55987 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r-- | Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf | bin | 266363 -> 266688 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/witharrows/witharrows.pdf | bin | 639742 -> 638897 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/witharrows/witharrows.tex | 40 |
3 files changed, 15 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf b/Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf Binary files differindex 9a9a5e39182..3c95de9c427 100644 --- a/Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf +++ b/Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf diff --git a/Master/texmf-dist/doc/generic/witharrows/witharrows.pdf b/Master/texmf-dist/doc/generic/witharrows/witharrows.pdf Binary files differindex 64cd930e620..3d89c2d2429 100644 --- a/Master/texmf-dist/doc/generic/witharrows/witharrows.pdf +++ b/Master/texmf-dist/doc/generic/witharrows/witharrows.pdf diff --git a/Master/texmf-dist/doc/generic/witharrows/witharrows.tex b/Master/texmf-dist/doc/generic/witharrows/witharrows.tex index b1c30db494b..2b94910abee 100644 --- a/Master/texmf-dist/doc/generic/witharrows/witharrows.tex +++ b/Master/texmf-dist/doc/generic/witharrows/witharrows.tex @@ -6,7 +6,7 @@ %% %% witharrows.dtx (with options: `plain-TeX') %% -%% Copyright (C) 2017-2019 by F. Pantigny +%% Copyright (C) 2017-2020 by F. Pantigny %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -18,8 +18,8 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\def\myfileversion{2.5} -\def\myfiledate{2020/06/22} +\def\myfileversion{2.5.1} +\def\myfiledate{2020/07/28} \input tikz.tex \input expl3-generic.tex \usetikzlibrary{arrows.meta,bending} @@ -34,7 +34,6 @@ \cs_new_protected:Npn \__witharrows_fatal:n { \msg_fatal:nn { witharrows } } \cs_new_protected:Npn \__witharrows_error:nn { \msg_error:nnn { witharrows } } \cs_generate_variant:Nn \__witharrows_error:nn { n x } -\cs_generate_variant:Nn \tl_put_right:Nn { N v } \cs_generate_variant:Nn \seq_set_split:Nnn { N x x } \AtBeginDocument { @@ -72,19 +71,10 @@ \sort_return_same: } } -\cs_new_protected:Npn \__witharrows_convert_to_str_seq:N #1 - { - \seq_clear:N \l_tmpa_seq - \seq_map_inline:Nn #1 - { - \seq_put_left:Nx \l_tmpa_seq { \tl_to_str:n { ##1 } } - } - \seq_set_eq:NN #1 \l_tmpa_seq - } \cs_new_protected:Npn \__witharrows_set_seq_of_str_from_clist:Nn #1 #2 { \seq_set_from_clist:Nn #1 { #2 } - \__witharrows_convert_to_str_seq:N #1 + \seq_set_map:NNn #1 #1 { \tl_to_str:n { ##1 } } } \cs_new_protected:Npn \__witharrows_save:N #1 { @@ -380,7 +370,6 @@ t, tikz, tikz-code, xoffset, ygap, ystart } -\__witharrows_convert_to_str_seq:N \l__witharrows_options_WithArrows_seq \keys_define:nn { WithArrows / WithArrows } { unknown .code:n = @@ -682,11 +671,6 @@ node~contents = { } , __witharrows_node_style , name = wa - \l__witharrows_prefix_str - \int_use:N \g__witharrows_line_int - l , - alias = - { - \str_if_empty:NF \l__witharrows_name_str - { \l__witharrows_name_str - \int_use:N \g__witharrows_line_int - l } - } ] ; \hfil @@ -696,13 +680,19 @@ node~contents = { } , __witharrows_node_style , name = wa - \l__witharrows_prefix_str - \int_use:N \g__witharrows_line_int - r , - alias = - { - \str_if_empty:NF \l__witharrows_name_str - { \l__witharrows_name_str - \int_use:N \g__witharrows_line_int - r } - } ] ; + \str_if_empty:NF \l__witharrows_name_str + { + \pgfpicture + \pgfnodealias + { \l__witharrows_name_str - \int_use:N \g__witharrows_line_int - l } + { wa - \l__witharrows_prefix_str - \int_use:N \g__witharrows_line_int - l } + \pgfnodealias + { \l__witharrows_name_str - \int_use:N \g__witharrows_line_int - r } + { wa - \l__witharrows_prefix_str - \int_use:N \g__witharrows_line_int - r } + \endpgfpicture + } \bool_if:NT \l__witharrows_show_node_names_bool { \hbox_overlap_right:n |