Skip to content

Commit

Permalink
Add firstaid for chemnum
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Feb 29, 2024
1 parent 675a7ed commit 19b9416
Show file tree
Hide file tree
Showing 19 changed files with 188 additions and 0 deletions.
7 changes: 7 additions & 0 deletions base/testfiles-lthooks/ltcmdhooks-001.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ Code labels for sorting:
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/chemnum/after' on input line ...:
Code labels for sorting:
firstaid
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/l3graphics/after' on input line ...:
Code labels for sorting:
backend
Expand Down Expand Up @@ -233,6 +239,7 @@ All initialized (non-empty) hooks:
file/underscore.sty/after -> \__hook_toplevel file/underscore.sty/after \FirstAidNeededT {underscore}{sty}{....-..-..}{\RequirePackage {underscore-ltx}}\__hook_next file/underscore.sty/after
package/acro/after -> \__hook_toplevel package/acro/after \FirstAidNeededT {acro}{sty}{....-..-.. v... typeset acronyms and other abbreviations (CN)} {\UseName {prop_new:c}{l__acro_tmpa_prop}}\__hook_next package/acro/after
package/chemformula/before -> \RequirePackage {l3keys2e}\__hook_toplevel package/chemformula/before \__hook_next package/chemformula/before
package/chemnum/after -> \__hook_toplevel package/chemnum/after \FirstAidNeededT {chemnum}{sty}{....-..-.. v... a comprehensive approach for the numbering of chemical compounds (CN)} {\UseName {prop_new:c}{l__chemnum_tmpa_prop}}\__hook_next package/chemnum/after
package/l3graphics/after -> \__hook_toplevel package/l3graphics/after \seq_set_from_clist:Nn \l_graphics_search_ext_seq {.pdf,.eps,.ps,.png,.jpg,.jpeg}\__hook_next package/l3graphics/after
cmd/foo/before -> before 1 before 2 \__hook_toplevel cmd/foo/before {#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8}{#9}\__hook_next cmd/foo/before {#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8}{#9}
cmd/foo/after -> \__hook_toplevel cmd/foo/after {#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8}{#9}after 2 after 1 \__hook_next cmd/foo/after {#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8}{#9}
Expand Down
7 changes: 7 additions & 0 deletions base/testfiles-lthooks/lthooks-000.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ Code labels for sorting:
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/chemnum/after' on input line ...:
Code labels for sorting:
firstaid
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/l3graphics/after' on input line ...:
Code labels for sorting:
backend
Expand All @@ -157,6 +163,7 @@ All initialized (non-empty) hooks:
file/underscore.sty/after -> \__hook_toplevel file/underscore.sty/after \FirstAidNeededT {underscore}{sty}{....-..-..}{\RequirePackage {underscore-ltx}}\__hook_next file/underscore.sty/after
package/acro/after -> \__hook_toplevel package/acro/after \FirstAidNeededT {acro}{sty}{....-..-.. v... typeset acronyms and other abbreviations (CN)} {\UseName {prop_new:c}{l__acro_tmpa_prop}}\__hook_next package/acro/after
package/chemformula/before -> \RequirePackage {l3keys2e}\__hook_toplevel package/chemformula/before \__hook_next package/chemformula/before
package/chemnum/after -> \__hook_toplevel package/chemnum/after \FirstAidNeededT {chemnum}{sty}{....-..-.. v... a comprehensive approach for the numbering of chemical compounds (CN)} {\UseName {prop_new:c}{l__chemnum_tmpa_prop}}\__hook_next package/chemnum/after
package/l3graphics/after -> \__hook_toplevel package/l3graphics/after \seq_set_from_clist:Nn \l_graphics_search_ext_seq {.pdf,.eps,.ps,.png,.jpg,.jpeg}\__hook_next package/l3graphics/after
No file lthooks-000.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line ....
Expand Down
15 changes: 15 additions & 0 deletions base/testfiles-lthooks/lthooks-001.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ Code labels for sorting:
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/chemnum/after' on input line ...:
Code labels for sorting:
firstaid
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/l3graphics/after' on input line ...:
Code labels for sorting:
backend
Expand Down Expand Up @@ -171,6 +177,7 @@ All initialized (non-empty) hooks:
file/underscore.sty/after -> \__hook_toplevel file/underscore.sty/after \FirstAidNeededT {underscore}{sty}{....-..-..}{\RequirePackage {underscore-ltx}}\__hook_next file/underscore.sty/after
package/acro/after -> \__hook_toplevel package/acro/after \FirstAidNeededT {acro}{sty}{....-..-.. v... typeset acronyms and other abbreviations (CN)} {\UseName {prop_new:c}{l__acro_tmpa_prop}}\__hook_next package/acro/after
package/chemformula/before -> \RequirePackage {l3keys2e}\__hook_toplevel package/chemformula/before \__hook_next package/chemformula/before
package/chemnum/after -> \__hook_toplevel package/chemnum/after \FirstAidNeededT {chemnum}{sty}{....-..-.. v... a comprehensive approach for the numbering of chemical compounds (CN)} {\UseName {prop_new:c}{l__chemnum_tmpa_prop}}\__hook_next package/chemnum/after
package/l3graphics/after -> \__hook_toplevel package/l3graphics/after \seq_set_from_clist:Nn \l_graphics_search_ext_seq {.pdf,.eps,.ps,.png,.jpg,.jpeg}\__hook_next package/l3graphics/after
xxx -> foobar\__hook_toplevel xxx \__hook_next xxx
LaTeX hooks Warning: Cannot remove chunk 'label3' from hook 'xxx' because it
Expand Down Expand Up @@ -237,6 +244,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {file/underscore.sty/after}
> {package/acro/after}
> {package/chemformula/before}
> {package/chemnum/after}
> {package/l3graphics/after}
> {xxx}.
Update code for hook 'para/before' on input line ...:
Expand Down Expand Up @@ -375,6 +383,12 @@ Code labels for sorting:
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/chemnum/after' on input line ...:
Code labels for sorting:
firstaid
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/l3graphics/after' on input line ...:
Code labels for sorting:
backend
Expand Down Expand Up @@ -402,6 +416,7 @@ All initialized (non-empty) hooks:
file/underscore.sty/after -> \__hook_toplevel file/underscore.sty/after \FirstAidNeededT {underscore}{sty}{....-..-..}{\RequirePackage {underscore-ltx}}\__hook_next file/underscore.sty/after
package/acro/after -> \__hook_toplevel package/acro/after \FirstAidNeededT {acro}{sty}{....-..-.. v... typeset acronyms and other abbreviations (CN)} {\UseName {prop_new:c}{l__acro_tmpa_prop}}\__hook_next package/acro/after
package/chemformula/before -> \RequirePackage {l3keys2e}\__hook_toplevel package/chemformula/before \__hook_next package/chemformula/before
package/chemnum/after -> \__hook_toplevel package/chemnum/after \FirstAidNeededT {chemnum}{sty}{....-..-.. v... a comprehensive approach for the numbering of chemical compounds (CN)} {\UseName {prop_new:c}{l__chemnum_tmpa_prop}}\__hook_next package/chemnum/after
package/l3graphics/after -> \__hook_toplevel package/l3graphics/after \seq_set_from_clist:Nn \l_graphics_search_ext_seq {.pdf,.eps,.ps,.png,.jpg,.jpeg}\__hook_next package/l3graphics/after
xxx -> foo\__hook_toplevel xxx \__hook_next xxx
The hook xxx contains the rules:
15 changes: 15 additions & 0 deletions base/testfiles-lthooks/lthooks-002.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ Code labels for sorting:
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/chemnum/after' on input line ...:
Code labels for sorting:
firstaid
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/l3graphics/after' on input line ...:
Code labels for sorting:
backend
Expand Down Expand Up @@ -171,6 +177,7 @@ All initialized (non-empty) hooks:
file/underscore.sty/after -> \__hook_toplevel file/underscore.sty/after \FirstAidNeededT {underscore}{sty}{....-..-..}{\RequirePackage {underscore-ltx}}\__hook_next file/underscore.sty/after
package/acro/after -> \__hook_toplevel package/acro/after \FirstAidNeededT {acro}{sty}{....-..-.. v... typeset acronyms and other abbreviations (CN)} {\UseName {prop_new:c}{l__acro_tmpa_prop}}\__hook_next package/acro/after
package/chemformula/before -> \RequirePackage {l3keys2e}\__hook_toplevel package/chemformula/before \__hook_next package/chemformula/before
package/chemnum/after -> \__hook_toplevel package/chemnum/after \FirstAidNeededT {chemnum}{sty}{....-..-.. v... a comprehensive approach for the numbering of chemical compounds (CN)} {\UseName {prop_new:c}{l__chemnum_tmpa_prop}}\__hook_next package/chemnum/after
package/l3graphics/after -> \__hook_toplevel package/l3graphics/after \seq_set_from_clist:Nn \l_graphics_search_ext_seq {.pdf,.eps,.ps,.png,.jpg,.jpeg}\__hook_next package/l3graphics/after
xxx -> foobar\__hook_toplevel xxx \__hook_next xxx
LaTeX hooks Warning: Cannot remove chunk 'label3' from hook 'xxx' because it
Expand Down Expand Up @@ -239,6 +246,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {file/underscore.sty/after}
> {package/acro/after}
> {package/chemformula/before}
> {package/chemnum/after}
> {package/l3graphics/after}
> {xxx}.
Update code for hook 'para/before' on input line ...:
Expand Down Expand Up @@ -377,6 +385,12 @@ Code labels for sorting:
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/chemnum/after' on input line ...:
Code labels for sorting:
firstaid
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/l3graphics/after' on input line ...:
Code labels for sorting:
backend
Expand Down Expand Up @@ -404,6 +418,7 @@ All initialized (non-empty) hooks:
file/underscore.sty/after -> \__hook_toplevel file/underscore.sty/after \FirstAidNeededT {underscore}{sty}{....-..-..}{\RequirePackage {underscore-ltx}}\__hook_next file/underscore.sty/after
package/acro/after -> \__hook_toplevel package/acro/after \FirstAidNeededT {acro}{sty}{....-..-.. v... typeset acronyms and other abbreviations (CN)} {\UseName {prop_new:c}{l__acro_tmpa_prop}}\__hook_next package/acro/after
package/chemformula/before -> \RequirePackage {l3keys2e}\__hook_toplevel package/chemformula/before \__hook_next package/chemformula/before
package/chemnum/after -> \__hook_toplevel package/chemnum/after \FirstAidNeededT {chemnum}{sty}{....-..-.. v... a comprehensive approach for the numbering of chemical compounds (CN)} {\UseName {prop_new:c}{l__chemnum_tmpa_prop}}\__hook_next package/chemnum/after
package/l3graphics/after -> \__hook_toplevel package/l3graphics/after \seq_set_from_clist:Nn \l_graphics_search_ext_seq {.pdf,.eps,.ps,.png,.jpg,.jpeg}\__hook_next package/l3graphics/after
xxx -> foo\__hook_toplevel xxx \__hook_next xxx
The hook xxx contains the rules:
8 changes: 8 additions & 0 deletions base/testfiles-lthooks/lthooks-003.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {file/underscore.sty/after}
> {package/acro/after}
> {package/chemformula/before}
> {package/chemnum/after}
> {package/l3graphics/after}
> {xxx}.
The hook xxx contains the rules:
Expand Down Expand Up @@ -226,6 +227,12 @@ Code labels for sorting:
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/chemnum/after' on input line ...:
Code labels for sorting:
firstaid
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/l3graphics/after' on input line ...:
Code labels for sorting:
backend
Expand Down Expand Up @@ -279,5 +286,6 @@ All initialized (non-empty) hooks:
file/underscore.sty/after -> \__hook_toplevel file/underscore.sty/after \FirstAidNeededT {underscore}{sty}{....-..-..}{\RequirePackage {underscore-ltx}}\__hook_next file/underscore.sty/after
package/acro/after -> \__hook_toplevel package/acro/after \FirstAidNeededT {acro}{sty}{....-..-.. v... typeset acronyms and other abbreviations (CN)} {\UseName {prop_new:c}{l__acro_tmpa_prop}}\__hook_next package/acro/after
package/chemformula/before -> \RequirePackage {l3keys2e}\__hook_toplevel package/chemformula/before \__hook_next package/chemformula/before
package/chemnum/after -> \__hook_toplevel package/chemnum/after \FirstAidNeededT {chemnum}{sty}{....-..-.. v... a comprehensive approach for the numbering of chemical compounds (CN)} {\UseName {prop_new:c}{l__chemnum_tmpa_prop}}\__hook_next package/chemnum/after
package/l3graphics/after -> \__hook_toplevel package/l3graphics/after \seq_set_from_clist:Nn \l_graphics_search_ext_seq {.pdf,.eps,.ps,.png,.jpg,.jpeg}\__hook_next package/l3graphics/after
xxx -> foo1 foo9 foo3 foo2 foo7 foo4 foo5 foo8 foo6\__hook_toplevel xxx \__hook_next xxx
8 changes: 8 additions & 0 deletions base/testfiles-lthooks/lthooks-004.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {file/underscore.sty/after}
> {package/acro/after}
> {package/chemformula/before}
> {package/chemnum/after}
> {package/l3graphics/after}
> {xxx}.
The hook xxx contains the rules:
Expand Down Expand Up @@ -210,6 +211,12 @@ Code labels for sorting:
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/chemnum/after' on input line ...:
Code labels for sorting:
firstaid
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/l3graphics/after' on input line ...:
Code labels for sorting:
backend
Expand Down Expand Up @@ -254,5 +261,6 @@ All initialized (non-empty) hooks:
file/underscore.sty/after -> \__hook_toplevel file/underscore.sty/after \FirstAidNeededT {underscore}{sty}{....-..-..}{\RequirePackage {underscore-ltx}}\__hook_next file/underscore.sty/after
package/acro/after -> \__hook_toplevel package/acro/after \FirstAidNeededT {acro}{sty}{....-..-.. v... typeset acronyms and other abbreviations (CN)} {\UseName {prop_new:c}{l__acro_tmpa_prop}}\__hook_next package/acro/after
package/chemformula/before -> \RequirePackage {l3keys2e}\__hook_toplevel package/chemformula/before \__hook_next package/chemformula/before
package/chemnum/after -> \__hook_toplevel package/chemnum/after \FirstAidNeededT {chemnum}{sty}{....-..-.. v... a comprehensive approach for the numbering of chemical compounds (CN)} {\UseName {prop_new:c}{l__chemnum_tmpa_prop}}\__hook_next package/chemnum/after
package/l3graphics/after -> \__hook_toplevel package/l3graphics/after \seq_set_from_clist:Nn \l_graphics_search_ext_seq {.pdf,.eps,.ps,.png,.jpg,.jpeg}\__hook_next package/l3graphics/after
xxx -> foo4\__hook_toplevel xxx \__hook_next xxx
8 changes: 8 additions & 0 deletions base/testfiles-lthooks/lthooks-005.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {file/underscore.sty/after}
> {package/acro/after}
> {package/chemformula/before}
> {package/chemnum/after}
> {package/l3graphics/after}
> {xxx}.
The hook xxx contains the rules:
Expand Down Expand Up @@ -233,6 +234,12 @@ Code labels for sorting:
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/chemnum/after' on input line ...:
Code labels for sorting:
firstaid
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/l3graphics/after' on input line ...:
Code labels for sorting:
backend
Expand Down Expand Up @@ -286,5 +293,6 @@ All initialized (non-empty) hooks:
file/underscore.sty/after -> \__hook_toplevel file/underscore.sty/after \FirstAidNeededT {underscore}{sty}{....-..-..}{\RequirePackage {underscore-ltx}}\__hook_next file/underscore.sty/after
package/acro/after -> \__hook_toplevel package/acro/after \FirstAidNeededT {acro}{sty}{....-..-.. v... typeset acronyms and other abbreviations (CN)} {\UseName {prop_new:c}{l__acro_tmpa_prop}}\__hook_next package/acro/after
package/chemformula/before -> \RequirePackage {l3keys2e}\__hook_toplevel package/chemformula/before \__hook_next package/chemformula/before
package/chemnum/after -> \__hook_toplevel package/chemnum/after \FirstAidNeededT {chemnum}{sty}{....-..-.. v... a comprehensive approach for the numbering of chemical compounds (CN)} {\UseName {prop_new:c}{l__chemnum_tmpa_prop}}\__hook_next package/chemnum/after
package/l3graphics/after -> \__hook_toplevel package/l3graphics/after \seq_set_from_clist:Nn \l_graphics_search_ext_seq {.pdf,.eps,.ps,.png,.jpg,.jpeg}\__hook_next package/l3graphics/after
xxx -> foo1 foo9 foo3 foo2 foo7 foo4 foo5 foo8 foo6\__hook_toplevel xxx \__hook_next xxx
8 changes: 8 additions & 0 deletions base/testfiles-lthooks/lthooks-006.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {file/underscore.sty/after}
> {package/acro/after}
> {package/chemformula/before}
> {package/chemnum/after}
> {package/l3graphics/after}
> {xxx}.
The hook xxx contains the rules:
Expand Down Expand Up @@ -206,6 +207,12 @@ Code labels for sorting:
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/chemnum/after' on input line ...:
Code labels for sorting:
firstaid
Data structure for label rules:
firstaid = 0 ->
Handled code for firstaid
Update code for hook 'package/l3graphics/after' on input line ...:
Code labels for sorting:
backend
Expand Down Expand Up @@ -241,5 +248,6 @@ All initialized (non-empty) hooks:
file/underscore.sty/after -> \__hook_toplevel file/underscore.sty/after \FirstAidNeededT {underscore}{sty}{....-..-..}{\RequirePackage {underscore-ltx}}\__hook_next file/underscore.sty/after
package/acro/after -> \__hook_toplevel package/acro/after \FirstAidNeededT {acro}{sty}{....-..-.. v... typeset acronyms and other abbreviations (CN)} {\UseName {prop_new:c}{l__acro_tmpa_prop}}\__hook_next package/acro/after
package/chemformula/before -> \RequirePackage {l3keys2e}\__hook_toplevel package/chemformula/before \__hook_next package/chemformula/before
package/chemnum/after -> \__hook_toplevel package/chemnum/after \FirstAidNeededT {chemnum}{sty}{....-..-.. v... a comprehensive approach for the numbering of chemical compounds (CN)} {\UseName {prop_new:c}{l__chemnum_tmpa_prop}}\__hook_next package/chemnum/after
package/l3graphics/after -> \__hook_toplevel package/l3graphics/after \seq_set_from_clist:Nn \l_graphics_search_ext_seq {.pdf,.eps,.ps,.png,.jpg,.jpeg}\__hook_next package/l3graphics/after
xxx -> foo1 foo3 foo2\__hook_toplevel xxx \__hook_next xxx
Loading

0 comments on commit 19b9416

Please sign in to comment.