Menu

#17 Argument order for generic kernel hooks

LaTeX 2021-11-15
closed
2021-11-01
2021-10-30
tudscr
No

https://github.com/latex3/latex2e/commit/dcd155b047fab29df98d368539c414303de94551

The argument order for generic hooks was changed from <type>/<place>/<name> to <type>/<name>/<place> so currently the wrappers from scrbase are causing warnings like:

LaTeX hooks Warning: Generic hook 'file/after/polyglossia.sty' is deprecated.
(hooks)              Use hook 'file/polyglossia.sty/after' instead.

Discussion

  • Markus Kohm

    Markus Kohm - 2021-10-31

    scrbase? AFAIK only scrlfile has to be changed, resp. a second version of scrlfile-hook will be needed and scrlfile has to load the correct one for the used kernel.

     
    • tudscr

      tudscr - 2021-11-01

      Sorry, of course I meant scrlfile

       
  • Markus Kohm

    Markus Kohm - 2021-10-31

    Ticket moved from /p/koma-script/devtalk/14/

     
  • Markus Kohm

    Markus Kohm - 2021-10-31
    • labels: --> kernelchange, scrlfile
    • assigned_to: Markus Kohm
    • Milestone: General --> LaTeX 2021-11-15
     
  • Markus Kohm

    Markus Kohm - 2021-10-31
    • status: open --> closed
     
  • Markus Kohm

    Markus Kohm - 2021-10-31

    [r3625] contains the needed changes for scrlfile-hook.sty and adds a new scrlfile-hook-3.34.sty. scrlfile.sty and scrlfile-patcholdlatex.sty are changed to load the correct version of scrlfile-hook.

    Thanks for the report.

     

    Related

    Commit: [r3625]

  • tudscr

    tudscr - 2021-11-01

    thanks for the quick fix. A little typo in scrlfile-patcholdlatex.dtx on line 157.

    \IfFormatAtLeast{2021/11/15}{}{-3.24}%
    

    should read

    \IfFormatAtLeast{2021/11/15}{}{-3.34}%
    
     
    • Markus Kohm

      Markus Kohm - 2021-11-01

      Thanks → [r3626]

       

      Related

      Commit: [r3626]


Log in to post a comment.

MongoDB Logo MongoDB