| 1 |
%<*package> |
| 2 |
|
| 3 |
\NeedsTeXFormat {LaTeX2e} |
| 4 |
\ProvidesExplPackage {simplesystemtex} {2026-03-24} {1.0.0} { |
| 5 |
A modern package for managing sections and blocks. |
| 6 |
} |
| 7 |
\RequirePackage {tikz, tocloft, amssymb} |
| 8 |
\RequirePackage [hidelinks] {hyperref} |
| 9 |
|
| 10 |
%<@@=simplesystemtex> |
| 11 |
|
| 12 |
\str_new:N \g_@@_path_prefix_str |
| 13 |
\str_set:Nn \g_@@_path_prefix_str {./sec/} |
| 14 |
|
| 15 |
\tl_new:N \g_@@_preprocess_part_tl |
| 16 |
\tl_new:N \g_@@_task_list_tl |
| 17 |
|
| 18 |
\seq_new:N \g_@@_section_seq |
| 19 |
\seq_new:N \g_@@_block_seq |
| 20 |
\seq_new:N \g_@@_index_seq |
| 21 |
|
| 22 |
\prop_new:N \g_@@_sectionname_prop |
| 23 |
\prop_new:N \g_@@_sectionparameter_prop |
| 24 |
\prop_new:N \g_@@_sectionpart_prop |
| 25 |
|
| 26 |
\AtEndDocument { |
| 27 |
\_@@_execute_rule:Nn \g_@@_task_list_tl { |
| 28 |
\Section \_@@_print_section:n |
| 29 |
\TOC \_@@_print_toc: |
| 30 |
\TextCommand \use:n |
| 31 |
} |
| 32 |
} |
| 33 |
|
| 34 |
%</package> |