Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unprotect usesocket #1268

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft

Unprotect usesocket #1268

wants to merge 3 commits into from

Conversation

u-fischer
Copy link
Member

@u-fischer u-fischer commented Feb 9, 2024

This moves the unprotected version of \socket_use:nw from latex-lab to ltsockets.

Edit Needs some more thoughts: the plugs must be unprotected too, and the debug message must be removed.

Internal housekeeping

Status of pull request

X Ready to merge

Checklist of required changes before merge will be approved

  • Test file(s) added (not needed imho)
  • Version and date string updated in changed source files
  • Relevant \changes entries in source included
  • [x ] Relevant changes.txt updated
  • Rollback provided (if necessary)? (imho unneeded)
  • ltnewsX.tex (and/or latexchanges.tex) updated (imho unneeded)

@u-fischer u-fischer marked this pull request as draft February 9, 2024 23:12
Copy link
Member

@FrankMittelbach FrankMittelbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two doc comments

Comment on lines +606 to +607
% was declared! The command is not defined as a protected command so
% that it works for example also at the end of a tabular.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The statement about protected should move to the previous paragraph and perhaps also say that it then depends on the content of the socket if it works.

Comment on lines +924 to +926
% \@@_debug_term:n
% { Socket~ '#1'~ containing~ plug~
% '\str_use:c { l_@@_#1_plug_str }'~ used. }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably say why debugging can't be used. In fact we might want to consider supporting a special
\UseAlignSocket as I did had one time --- something to ponder (and perhaps make a remark here).

@josephwright
Copy link
Member

Can you rebase onto current dev?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants