Ticket #40605

luatexja needs adaptions to new latex format

Open Date: 2020-08-01 01:02 Last Update: 2020-10-01 06:06

Reporter:
(Anonymous)
Owner:
(None)
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

We just released a new development version of the next LaTeX version, In this dev release we implemented a new hook system and extended the existing set of hooks.

Details can be found in the announcement: https://www.latex-project.org/news/2020/07/22/latex-dev-2020-10-1b/

This changes break with luatexja, currently as for example the filehook package needs adaptions too (https://bitbucket.org/martin_scharrer/filehook/issues/9/filehook-will-need-adjustments-for-the). But perhaps more changes are needed, as e.g. everyshi is now emulated by the kernel and no longer loaded. Please test with platex-dev and contact us if you have questions or problems.

Ulrike Fischer, LaTeX Team

Ticket History (3/7 Histories)

2020-08-01 01:02 Updated by: None
  • New Ticket "luatexja needs adaptions to new latex format" created
2020-08-01 01:03 Updated by: None
Comment

Sorry I meant "test with lualatex-dev" ;-)

2020-08-02 20:13 Updated by: h7k
Comment

Thank you for the infomation. I released a new version (20200802.0), but this version doesn't support LaTeX 2020-10-01 yet.

LuaTeX-ja (and pxatbegshi and pxeveryshi packaged in platex-tools bundle) patches atbegshi and everyshi package to support typesetting, so we will look into new \shipout.

2020-08-03 19:01 Updated by: None
Comment

I notified platex-tools too, they are looking at it: https://github.com/aminophen/platex-tools/issues/14

2020-08-04 16:24 Updated by: h7k
Comment

Testing at kitagawa_lt20201001 branch (work in progress).

  • Dependence on the filehook package can be eliminated straightforward.
  • The patch to atbegshi and everyshi packages (execute hooks in \yoko mode) is not much different from pxatbegshi and pxeveryshi (in platex-tools). Now I used the following code, but I don't know this is an elegant way.
    \ExplSyntaxOn\makeatletter
    \box_new:N \l__platex_shipout_dummy_box
    \pretocmd {\__shipout_execute_cont:}
      {\tex_setbox:D \l__platex_shipout_dummy_box \tex_vbox:D \c_group_begin_token \yoko } {} {}
    \apptocmd {\__shipout_execute_cont:} {\c_group_end_token} {} {}
    \ExplSyntaxOff
    
  • lltjp-geometry.sty (this file can be loaded in pLaTeX) uses
    \csname tl_if_in:NnT\endcsname\@begindocumenthook{\tate}{...}
    
    to check whether \tate exists in \@begindocumenthook (related: latex3/681). How can we do the same thing with the new hook system?
2020-08-06 05:34 Updated by: h7k
Comment

h7k への返信

lltjp-geometry.sty (this file can be loaded in pLaTeX) uses {{{ \csname tl_if_in:NnT\endcsname\@begindocumenthook{\tate}{...} }}} to check whether \tate exists in \@begindocumenthook (related: latex3/681). How can we do the same thing with the new hook system?

\prop_map_inline:Nn \g__hook_begindocument_code_prop 
  { \tl_if_in:nnT {#2} {\tate} {\bool_set_true:N \l_tmpa_bool} }
2020-10-01 06:06 Updated by: h7k
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed
Comment

Released 20201001.0.

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login