texlive[63578] Master/texmf-dist: showhyphenation (13jun22)
commits+karl at tug.org
commits+karl at tug.org
Mon Jun 13 22:30:40 CEST 2022
Revision: 63578
http://tug.org/svn/texlive?view=revision&revision=63578
Author: karl
Date: 2022-06-13 22:30:40 +0200 (Mon, 13 Jun 2022)
Log Message:
-----------
showhyphenation (13jun22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/lualatex/showhyphenation/showhyphenation.pdf
trunk/Master/texmf-dist/doc/lualatex/showhyphenation/showhyphenation.tex
trunk/Master/texmf-dist/tex/lualatex/showhyphenation/showhyphenation.lua
trunk/Master/texmf-dist/tex/lualatex/showhyphenation/showhyphenation.sty
Modified: trunk/Master/texmf-dist/doc/lualatex/showhyphenation/showhyphenation.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/lualatex/showhyphenation/showhyphenation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/showhyphenation/showhyphenation.tex 2022-06-13 20:30:28 UTC (rev 63577)
+++ trunk/Master/texmf-dist/doc/lualatex/showhyphenation/showhyphenation.tex 2022-06-13 20:30:40 UTC (rev 63578)
@@ -352,7 +352,7 @@
\title{The showhyphenation package\vspace{.25\baselineskip}\\\superlarge{}\directlua{luatexbase.remove_from_callback ( "post_linebreak_filter", "show hyphenation points in postline" ) luatexbase.remove_from_callback ( "hpack_filter", "show hyphenation points in hpack" )}Marking of hyphenation points}%
\author{\sublarge{}Thomas Kelkel\vspace{-.25\baselineskip}\\\sublarge{}kelkel at emaileon.de\vspace{-.25\baselineskip}}%
-\date{\addfontfeature{LetterSpace=2}\sublarge{}2022/05/31\quad{}v0.1}%
+\date{\addfontfeature{LetterSpace=2}\sublarge{}2022/06/13\quad{}v0.1a}%
\maketitle
\hyphenation{pack-age}
Modified: trunk/Master/texmf-dist/tex/lualatex/showhyphenation/showhyphenation.lua
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/showhyphenation/showhyphenation.lua 2022-06-13 20:30:28 UTC (rev 63577)
+++ trunk/Master/texmf-dist/tex/lualatex/showhyphenation/showhyphenation.lua 2022-06-13 20:30:40 UTC (rev 63578)
@@ -10,7 +10,7 @@
-- and version 1.3c or later is part of all distributions of
-- LaTeX version 2009/09/24 or later.
--- Version: 0.1
+-- Version: 0.1a
local FLOOR = math.floor
@@ -128,7 +128,11 @@
if line_end and n.user_id == 848485 then
ligtype_mark = true
end
- n = d ( n )
+ if d ( n ) then
+ n = d ( n )
+ else
+ return false
+ end
end
if n.replace then
local REPLACE = n.replace
@@ -214,7 +218,9 @@
end
local prev_next_glyph = n
local ligtype_mark = nil
- prev_next_glyph, prev_next_kern, ligtype_mark = find_glyph ( prev_next_glyph, DIR, 0 )
+ if find_glyph ( prev_next_glyph, DIR, 0 ) then
+ prev_next_glyph, prev_next_kern, ligtype_mark = find_glyph ( prev_next_glyph, DIR, 0 )
+ end
head = AB ( head, prev_next_glyph, NEW ( WI, pdfliteral ) )
lig_add = lig_add + ( prev_next_kern + prev_next_kern_lig ) * f
DIR ( prev_next_glyph ).mode = 0
Modified: trunk/Master/texmf-dist/tex/lualatex/showhyphenation/showhyphenation.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/showhyphenation/showhyphenation.sty 2022-06-13 20:30:28 UTC (rev 63577)
+++ trunk/Master/texmf-dist/tex/lualatex/showhyphenation/showhyphenation.sty 2022-06-13 20:30:40 UTC (rev 63578)
@@ -10,7 +10,7 @@
% and version 1.3c or later is part of all distributions of
% LaTeX version 2009/09/24 or later.
-\ProvidesPackage{showhyphenation}[2022/04/17 v0.1 Show hyphenation points]
+\ProvidesPackage{showhyphenation}[2022/06/13 v0.1a Marking of hyphenation points]
\RequirePackage{ifluatex,luatexbase}
\ifluatex
More information about the tex-live-commits
mailing list.