Skip to content

Commit

Permalink
Removing deprecated features
Browse files Browse the repository at this point in the history
  • Loading branch information
Loara committed Mar 7, 2024
1 parent 4c341fb commit 898c0af
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
25 changes: 10 additions & 15 deletions styledcmd.dtx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
% \iffalse meta-comment
% \iffalse meta-comment
%
% styledcmd Handle multiple versions for user-defined macros in LaTeX
% Copyright (C) 2021-2023 Paolo De Donato <[email protected]>
% Copyright (C) 2021-2024 Paolo De Donato <[email protected]>
%
% This file is part of Styledcmd.
%
Expand All @@ -22,12 +22,12 @@
%
% \iffalse
%<*driver>
\ProvidesFile{styledcmd.dtx}[2022/12/13 2.0 Command with different styles]
\ProvidesFile{styledcmd.dtx}[2024/03/07 2.0.1 Command with different styles]
%</driver>
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\RequirePackage{expl3}[2022-04-10]
%<package>\ProvidesExplPackage{styledcmd}{2022/12/13}{2.0}{Command with different styles}
%<package>\RequirePackage{lt3rawobjects}[2022-12-12]
%<package>\ProvidesExplPackage{styledcmd}{2024/03/07}{2.0.1}{Command with different styles}
%<package>\RequirePackage{lt3rawobjects}[2023-03-17]
%<package>\RequirePackage{xparse}
%<*driver>
\documentclass[full]{l3doc}
Expand All @@ -45,7 +45,7 @@
%
%\title{styledcmd}
%\author{Paolo De Donato}
%\date{13 December 2022}
%\date{2.0.1 2024/03/06}
%
%\maketitle
%
Expand Down Expand Up @@ -265,7 +265,7 @@
\str_const:Nx \c_@@_cmdproxy_str { \object_address:nn
{ stycmd }{ proxy } }

\proxy_create:nnN { stycmd }{ proxy } \c_object_public_str
\proxy_create:nn { stycmd }{ proxy }
\proxy_push_member:Vnn \c_@@_cmdproxy_str { default }{ tl }

% \end{macrocode}
Expand Down Expand Up @@ -414,10 +414,8 @@
\@@_cmd:n{ #1 }
}
{
\object_create:VnnNN \c_@@_cmdproxy_str
\object_create:Vnn \c_@@_cmdproxy_str
{ stycmd }{ entity - #1 }
\c_object_global_str
\c_object_public_str

\@@_setdef_style:nn{ #1 }{ #2 }

Expand Down Expand Up @@ -560,8 +558,7 @@
\seq_new:N \g_@@_tmp_seq
\seq_new:N \g_@@_tmpb_seq

\proxy_create_gset:NnnN \g_@@_grproxy_str { stycmd }{ groups }
\c_object_public_str
\proxy_create_gset:Nnn \g_@@_grproxy_str { stycmd }{ groups }

\proxy_push_member:Vnn \g_@@_grproxy_str { commands }{ seq }

Expand All @@ -579,11 +576,9 @@
\object_address:nn{ stycmd }{ group - #1 }
}
{
\object_create:VnnNN \g_@@_grproxy_str
\object_create:Vnn \g_@@_grproxy_str
{ stycmd }
{ group - #1 }
\c_object_global_str
\c_object_public_str
}

\seq_gset_from_clist:Nn \g_@@_tmp_seq { #2 }
Expand Down
4 changes: 2 additions & 2 deletions styledcmd.ins
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%%
%% Styledcmd Handle multiple versions for user-defined macros in LaTeX
%% Copyright (C) 2021-2023 Paolo De Donato <[email protected]>
%% Copyright (C) 2021-2024 Paolo De Donato <[email protected]>
%%
%% This file is part of Styledcmd.
%%
Expand Down Expand Up @@ -28,7 +28,7 @@
This is a generated file.

Styledcmd Handle multiple versions for user-defined macros in LaTeX
Copyright (C) 2021-2023 Paolo De Donato <[email protected]>
Copyright (C) 2021-2024 Paolo De Donato <[email protected]>

Styledcmd is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
Binary file modified styledcmd.pdf
Binary file not shown.

0 comments on commit 898c0af

Please sign in to comment.