============================================================== LuaTeX 1.12.0 2020-03-15 ============================================================== This is the release for TeX live 2020. --shell-restricted now forbids loading of dso (dll/so object) Scaled virtual font Aadditional primitives \eTeXglue[stretch|shrink]order for querying order the etex way. Extra features runtoks tex.getmodenames() (as these can differ per engine/version) Permit nested runtoks in more complex situations of nesting (HH) More accurate and correct test for tex.[set|get]math Minor clean-up and bugs fixed -- luigi
============================================================== LuaTeX 1.13.0 2021-03-12 ============================================================== This is the release for TeX live 2021. Callback for nesting level used in tracingmacros. It is is a variant of \tracingstacklevels by Petr Olsak implemented in pdftex and xetex. Two TeX January 2021 DEK buglet fixes (H.Hagen) Mark math glyphs as protected (in order to prevent processing as text in base mode). Removed width/ic compensation for traditional math code path. When restricted system commands is enabled os.setenv has no effect. Minor clean-up and bugs fixed (see ChangeLog) -- luigi
============================================================== LuaTeX 1.13.1 2021-04-02 ============================================================== Fixed an unwanted space in btex etex in metapost, introduced after a patch for troff. -- luigi
Hi, from time to time I face the problem where I need to do something inside tex group (simple group or box or table cell) or to mark up some content with tex4ht tags ( or tagging pdf ) and sometimes \aftergroup is not enough. So I would like to ask about new token or token list which would be inserted before current group end (\beforeendgroup). EXAMPLE: \showboxdepth=\maxdimen \showboxbreadth=\maxdimen b \hbox{x\aftergroup d x} c \showlists LOG OUTPUT: \tenrm b \glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 \hbox(4.30554+0.0)x13.88893, direction TLT .\tenrm x .\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 .\tenrm x \tenrm d \glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 \tenrm c COULD BE: b \hbox{x\beforeendgroup d x} c \showlists LOG OUTPUT: \tenrm b \glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 \hbox(4.30554+0.0)x13.88893, direction TLT .\tenrm x .\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 .\tenrm x .\tenrm d \tenrm c Of course here needs to think about several same macros how they should queue the content. Thanks in advance, Linas
On 9/2/2021 3:15 PM, Linas Stonys wrote:
Hi, from time to time I face the problem where I need to do something inside tex group (simple group or box or table cell) or to mark up some content with tex4ht tags ( or tagging pdf ) and sometimes \aftergroup is not enough. So I would like to ask about new token or token list which would be inserted before current group end (\beforeendgroup).
EXAMPLE: \showboxdepth=\maxdimen \showboxbreadth=\maxdimen b \hbox{x\aftergroup d x} c \showlists
LOG OUTPUT: \tenrm b \glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 \hbox(4.30554+0.0)x13.88893, direction TLT .\tenrm x .\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 .\tenrm x \tenrm d \glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 \tenrm c
COULD BE: b \hbox{x\beforeendgroup d x} c \showlists
LOG OUTPUT: \tenrm b \glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 \hbox(4.30554+0.0)x13.88893, direction TLT .\tenrm x .\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 .\tenrm x .\tenrm d \tenrm c
Of course here needs to think about several same macros how they should queue the content. In luametatex we have
\starttext {[test\atendofgroup{]} \stoptext (plus more) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
wow! Indeed there is a lot useful primitives (\ifempty, ifrelax, ... often would be used) Will they ever be moved to luatex engine? Will any of luatex macros are consider to be moved to pdftex (\toksapp, \tokspre, \glet, ...) Now writing a package for authors we still need to stick to pdftex (e-tex primityves) or some packages (luatex85, shellesc,..) to be sure that there will be less complains about not working something due to different engine. On 9/2/2021 4:32 PM, Hans Hagen wrote:
On 9/2/2021 3:15 PM, Linas Stonys wrote:
Hi, from time to time I face the problem where I need to do something inside tex group (simple group or box or table cell) or to mark up some content with tex4ht tags ( or tagging pdf ) and sometimes \aftergroup is not enough. So I would like to ask about new token or token list which would be inserted before current group end (\beforeendgroup).
EXAMPLE: \showboxdepth=\maxdimen \showboxbreadth=\maxdimen b \hbox{x\aftergroup d x} c \showlists
LOG OUTPUT: \tenrm b \glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 \hbox(4.30554+0.0)x13.88893, direction TLT .\tenrm x .\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 .\tenrm x \tenrm d \glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 \tenrm c
COULD BE: b \hbox{x\beforeendgroup d x} c \showlists
LOG OUTPUT: \tenrm b \glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 \hbox(4.30554+0.0)x13.88893, direction TLT .\tenrm x .\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111 .\tenrm x .\tenrm d \tenrm c
Of course here needs to think about several same macros how they should queue the content. In luametatex we have
\starttext
{[test\atendofgroup{]}
\stoptext
(plus more)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Am 02.09.21 um 16:18 schrieb Linas Stonys:
wow! Indeed there is a lot useful primitives (\ifempty, ifrelax, ... often would be used I'm not sure that syntactic sugar (ie commands that are trivial to implement) is something that should be added to the engines
but the two you suggested, ie gaining control at the very start of paragraph processing and just before a group ends, are two things that the engines really don't offer unless you totally disable most of the processing and figure out for yourself when it would be time to switch to hmode (which while theoretically doable is not really a practical option). As both have useful applications (and should be fairly easy to provide in all engines those are two that I think are worth pursuing my 2cents - Frank Spam detection software, running on the system "comedy.dante.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am 02.09.21 um 16:18 schrieb Linas Stonys: > wow! Indeed there is a lot useful primitives (\ifempty, ifrelax, ... > often would be used I'm not sure that syntactic sugar (ie commands that are trivial [...] Content analysis details: (9.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 USER_IN_BLOCKLIST_TO User is listed in 'blocklist_to' 10 USER_IN_BLACKLIST_TO DEPRECATED: See USER_IN_BLOCKLIST_TO -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -0.7 NICE_REPLY_A Looks like a legit reply (A) 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS
============================================================== LuaTeX 1.15.0 2021-12-31 ============================================================== New primitive \matheqdirmode. By default the short skip detection is not adapted to r2l typesetting and that hasn't been the case since the start of the project. Changing it could break hacks that users came up with but when you set \matheqdirmode to a positive value direction will be taken into account. Several bug fixes (see ChangeLog). -- luigi
(Sorry for the delay, I wanted to be sure that building phase was over) ============================================================== LuaTeX 1.17.0 2023-04-29 ============================================================== - A breaking backward compatibility change: by default the socket library is not enabled . The new option --socket enable the socket library as before, as also --shell-escape (without --shell-restricted); --nosocket, --no-socket , --safer disabled the library, and they have the priority in case of conflicting options. The mime library is always available; socket.sleep and socket.gettime are duplicated as os.socketsleep and os.socketgettime, both always available. The new os.kpsepopen replace io.popopen in kpse mode (i.e. when kpse_init is not zero) as it was before but the permission now cannot be changed anymore with kpse.check_permission . The function os.kpsepopen follows the same restrictions as io.popen . Thanks to Max Chernoff for debugging. --luigi
participants (4)
-
Frank Mittelbach
-
Hans Hagen
-
Linas Stonys
-
luigi scarso