[latex3-commits] [git/LaTeX3-latex3-latex2e] utf8andspace: TL'19 LuaTeX changes (84fab86)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Jun 18 21:33:43 CEST 2019


Repository : https://github.com/latex3/latex2e
On branch  : utf8andspace
Link       : https://github.com/latex3/latex2e/commit/84fab868ef69590cf1499bc72036d9c25b9d73b1

>---------------------------------------------------------------

commit 84fab868ef69590cf1499bc72036d9c25b9d73b1
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jun 18 14:42:43 2019 +0100

    TL'19 LuaTeX changes
    
    Some of these are not documented at present:
    to check with the LuaTeX team.


>---------------------------------------------------------------

84fab868ef69590cf1499bc72036d9c25b9d73b1
 base/ltluatex.dtx                                 |   53 +++++++++++++--------
 base/testfiles/tlb-extraprimitives-001.luatex.tlg |   28 +++++++++++
 base/testfiles/tlb-ltluatex-001.luatex.tlg        |    6 +--
 3 files changed, 64 insertions(+), 23 deletions(-)

diff --git a/base/ltluatex.dtx b/base/ltluatex.dtx
index 5645d3a..5c2f306 100644
--- a/base/ltluatex.dtx
+++ b/base/ltluatex.dtx
@@ -1311,6 +1311,7 @@ local callbacktypes = callbacktypes or {
 % \changes{v1.0n}{2016/03/13}{insert\_local\_par added}
 % \changes{v1.0n}{2016/03/13}{contribute\_filter added}
 % \changes{v1.1h}{2018/08/18}{append\_to\_vlist\_filter is \texttt{exclusive}}
+% \changes{v1.1j}{2019/06/18}{new\_graf added}
 %    \begin{macrocode}
   contribute_filter      = simple,
   buildpage_filter       = simple,
@@ -1330,38 +1331,50 @@ local callbacktypes = callbacktypes or {
   kerning                = simple,
   insert_local_par       = simple,
   mlist_to_hlist         = list,
+  new_graf               = simple,
 %    \end{macrocode}
 % Section 8.5: information reporting callbacks.
 % \changes{v1.0m}{2016/02/11}{show\_warning\_message added}
 % \changes{v1.0p}{2016/11/17}{call\_edit added}
 % \changes{v1.1g}{2018/05/02}{finish\_synctex\_callback added}
-%    \begin{macrocode}
-  pre_dump                = simple,
-  start_run               = simple,
-  stop_run                = simple,
-  start_page_number       = simple,
-  stop_page_number        = simple,
-  show_error_hook         = simple,
-  show_warning_message    = simple,
-  show_error_message      = simple,
-  show_lua_error_hook     = simple,
-  start_file              = simple,
-  stop_file               = simple,
-  call_edit               = simple,
-  finish_synctex_callback = simple,
+% \changes{v1.1j}{2019/06/18}{finish\_synctex\_callback renamed finish\_synctex}
+% \changes{v1.1j}{2019/06/18}{wrapup\_run added}
+%    \begin{macrocode}
+  pre_dump             = simple,
+  start_run            = simple,
+  stop_run             = simple,
+  start_page_number    = simple,
+  stop_page_number     = simple,
+  show_error_hook      = simple,
+  show_warning_message = simple,
+  show_error_message   = simple,
+  show_lua_error_hook  = simple,
+  start_file           = simple,
+  stop_file            = simple,
+  call_edit            = simple,
+  finish_synctex       = simple,
+  wrapup_run           = simple,
 %    \end{macrocode}
 % Section 8.6: PDF-related callbacks.
+% \changes{v1.1j}{2019/06/18}{page\_objnum\_provider added}
+% \changes{v1.1j}{2019/06/18}{process\_pdf\_image\_content added}
 %    \begin{macrocode}
-  finish_pdffile = data,
-  finish_pdfpage = data,
+  finish_pdffile            = data,
+  finish_pdfpage            = data,
+  page_objnum_provider      = simple,
+  process_pdf_image_content = simple,
 %    \end{macrocode}
 % Section 8.7: font-related callbacks.
 % \changes{v1.1e}{2017/03/28}{glyph\_stream\_provider added}
 % \changes{v1.1g}{2018/05/02}{glyph\_not\_found added}
-%    \begin{macrocode}
-  define_font           = exclusive,
-  glyph_not_found       = exclusive, 
-  glyph_stream_provider = exclusive,
+% \changes{v1.1j}{2019/06/18}{make\_extensible added}
+% \changes{v1.1j}{2019/06/18}{font\_descriptor\_objnum\_provider added}
+%    \begin{macrocode}
+  define_font                     = exclusive,
+  glyph_not_found                 = exclusive, 
+  glyph_stream_provider           = exclusive,
+  make_extensible                 = exclusive,
+  font_descriptor_objnum_provider = exclusive,
 %    \end{macrocode}
 % \changes{v1.0m}{2016/02/11}{pdf\_stream\_filter\_callback removed}
 %    \begin{macrocode}
diff --git a/base/testfiles/tlb-extraprimitives-001.luatex.tlg b/base/testfiles/tlb-extraprimitives-001.luatex.tlg
index ab28b80..dc83164 100644
--- a/base/testfiles/tlb-extraprimitives-001.luatex.tlg
+++ b/base/testfiles/tlb-extraprimitives-001.luatex.tlg
@@ -157,17 +157,21 @@ automatichyphenmode
 automatichyphenpenalty
 begincsname
 bodydir
+bodydirection
 botmarks
 boxdir
+boxdirection
 breakafterdirmode
 catcodetable
 clearmarks
 clubpenalties
+compoundhyphenmode
 copyfont
 crampeddisplaystyle
 crampedscriptscriptstyle
 crampedscriptstyle
 crampedtextstyle
+csstring
 currentgrouplevel
 currentgrouptype
 currentifbranch
@@ -185,14 +189,17 @@ eTeXminorversion
 eTeXrevision
 eTeXversion
 efcode
+endlocalcontrol
 etoksapp
 etokspre
 everyeof
+exceptionpenalty
 expanded
 expandglyphsinfont
 explicitdiscretionary
 explicithyphenpenalty
 firstmarks
+fixupboxesmode
 fontchardp
 fontcharht
 fontcharic
@@ -206,18 +213,23 @@ glueshrinkorder
 gluestretch
 gluestretchorder
 gluetomu
+gtoksapp
+gtokspre
 hjcode
 hyphenationbounds
 hyphenationmin
 hyphenpenaltymode
 ifabsdim
 ifabsnum
+ifcondition
 ifcsname
 ifdefined
 iffontchar
 ifincsname
 ifprimitive
 ignoreligaturesinfont
+immediateassigned
+immediateassignment
 initcatcodetable
 insertht
 interactionmode
@@ -231,33 +243,44 @@ lastsavedimageresourcepages
 lastxpos
 lastypos
 latelua
+lateluafunction
 leftghost
 leftmarginkern
 letcharcode
 letterspacefont
 linedir
+linedirection
 localbrokenpenalty
 localinterlinepenalty
 localleftbox
 localrightbox
 lpcode
+luabytecode
+luabytecodecall
+luacopyinputnodes
+luadef
 luaescapestring
 luafunction
+luafunctioncall
 luatexbanner
 luatexrevision
 luatexversion
 marks
 mathdelimitersmode
 mathdir
+mathdirection
 mathdisplayskipmode
 matheqnogapstep
+mathflattenmode
 mathitalicsmode
 mathnolimitsmode
 mathoption
 mathpenaltiesmode
 mathrulesfam
 mathrulesmode
+mathrulethicknessmode
 mathscriptboxmode
+mathscriptcharmode
 mathscriptsmode
 mathstyle
 mathsurroundmode
@@ -275,6 +298,7 @@ outputbox
 outputmode
 pagebottomoffset
 pagedir
+pagedirection
 pagediscards
 pageheight
 pageleftoffset
@@ -282,6 +306,7 @@ pagerightoffset
 pagetopoffset
 pagewidth
 pardir
+pardirection
 parshapedimen
 parshapeindent
 parshapelength
@@ -332,6 +357,7 @@ suppressprimitiveerror
 synctex
 tagcode
 textdir
+textdirection
 toksapp
 tokspre
 topmarks
@@ -347,3 +373,5 @@ unless
 useboxresource
 useimageresource
 widowpenalties
+xtoksapp
+xtokspre
diff --git a/base/testfiles/tlb-ltluatex-001.luatex.tlg b/base/testfiles/tlb-ltluatex-001.luatex.tlg
index d5a5dfe..01ca639 100644
--- a/base/testfiles/tlb-ltluatex-001.luatex.tlg
+++ b/base/testfiles/tlb-ltluatex-001.luatex.tlg
@@ -5,9 +5,9 @@ Module luatexbase Error: Unable to create callback:
 (luatexbase)             valid callback name and type required on input line ...
 stack traceback:
 ^^I[C]: in function 'error'
-^^I./ltluatex.lua:...: in function 'module_error'
-^^I./ltluatex.lua:...: in function 'luatexbase_error'
-^^I./ltluatex.lua:...: in function 'create_callback'
+^^I./ltluatex.lua:109: in upvalue 'module_error'
+^^I./ltluatex.lua:116: in upvalue 'luatexbase_error'
+^^I./ltluatex.lua:374: in field 'create_callback'
 ^^I[\directlua]:1: in main chunk.
 l. ...}
 The lua interpreter ran into a problem, so the





More information about the latex3-commits mailing list