-
Notifications
You must be signed in to change notification settings - Fork 16
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
Minor refactor for \__tcobox_include_graphics:nn
#236
Comments
Is there a specific reason why you would replace The proposed variant way is more elegant, but do you see any problem with the current implementation (besides the lack of elegance)? |
This only happens if primitive BTW, that
Nope :D (That's why it's called refactor, not fix.) |
That is good to know, but, still, why use |
On my laptop, running \documentclass{article}
\usepackage{l3benchmark}
\ExplSyntaxOn
\benchmark:n { \exp_args:Ne \use_none:n {foo} }
\benchmark:n { \exp_args:Nx \use_none:n {foo} }
\ExplSyntaxOff
\begin{document}
\end{document} gives (in log)
For a base function taking two
Thus benchmarking LaTeX2e also generates both
|
Thank you for the explanations. I memorized something like "Only use 'e' when absolutely necessary to avoid computational overhead", but, obviously, nowadays it is the other way around. On my computer, I can confirm your results (pdflatex with current TeXLive). So, the I will keep that in mind for the future. |
I've proposed latex3/latex3#1235. |
Reviewing corresponding changes in 4918308 for this issue, I started to worry about the fully-expansion made to graphics options, started from 0b857db (4.13, 2018-03-22), with changes entry tcolorbox/doc/latex/tcolorbox/CHANGES.md Lines 1424 to 1426 in 4918308
For
The failing use case is so corner that I think An example showing
|
I will add Note that \meta{options} will be fully expanded to the documentation. |
Done with https://github.com/T-F-S/tcolorbox/releases/tag/v6.1.0 (last documentation change will come in a later version) |
Current
tcolorbox/tex/latex/tcolorbox/tcbskins.code.tex
Lines 1721 to 1726 in a67bce7
Proposal
Then use
\__tcobox_include_graphics:en
in various places.The text was updated successfully, but these errors were encountered: