Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankMittelbach committed Feb 10, 2025
1 parent f3db717 commit 7a35586
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions required/latex-lab/OR-refactoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
\xdef \@freelist {\@freelist \@midlist}%
\global \let \@midlist \@empty
%
\UseSocket {@makecol/outputbox}% % <--------
\UseSocket {OR/makecol/outputbox}% % <--------
%
\ifvbox \@kludgeins
\@make@specialcolbox
Expand All @@ -40,6 +40,7 @@
\global \let \@@if@newlist \if@newlist
\global \@newlistfalse
\@parboxrestore
\UseHook {OR/outputpage/reset}% % <--------
\shipout \vbox {%
\set@typeset@protect
\aftergroup \endgroup
Expand All @@ -60,9 +61,9 @@
\fi
\fi
\reset@font \normalsize \normalsfcodes
\let \label \@gobble
\let \index \@gobble
\let \glossary \@gobble
\let \label \@gobble@with@sphack@om
\let \index \@gobble@with@sphack@som
\let \glossary \@gobble@with@sphack@om
\baselineskip \z@skip
\lineskip \z@skip
\lineskiplimit \z@
Expand Down Expand Up @@ -107,7 +108,17 @@
}
```

## Questions

### What hook/socket names should we use

- all `OR/...` as done above?
- or closer to the command names, e.g., `cmd/@outputpage/before` `@outputpage/reset`, etc?
In that case one can use the generic hooks but I'm not so keen on using generic hooks for internal commands



## Hook, sockets, plugs

Plug definition indirect as long as tagpdf.sty still uses the old names
```
Expand Down

0 comments on commit 7a35586

Please sign in to comment.