From c9da3e0ed5daf66c52c51678d9ca697548e1b375 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 15 Oct 2021 22:16:39 +0000 Subject: soulpos (16oct21) git-svn-id: svn://tug.org/texlive/trunk@60772 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/soulpos/README.md | 2 ++ Master/texmf-dist/doc/latex/soulpos/soulpos.pdf | Bin 159838 -> 177402 bytes Master/texmf-dist/doc/latex/soulpos/soulpos.tex | 4 ++-- Master/texmf-dist/tex/latex/soulpos/soulpos.sty | 18 ++++++++++++++---- 4 files changed, 18 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/soulpos/README.md b/Master/texmf-dist/doc/latex/soulpos/README.md index 5a16c480040..01f156e7c07 100644 --- a/Master/texmf-dist/doc/latex/soulpos/README.md +++ b/Master/texmf-dist/doc/latex/soulpos/README.md @@ -2,6 +2,8 @@ Combines soul and the savepos tools provided by pdftex and compatible for fancy underlining. +Version 1.2 works with luatex (at last). + License: MIT ________ Javier Bezos --- http://www.texnia.com diff --git a/Master/texmf-dist/doc/latex/soulpos/soulpos.pdf b/Master/texmf-dist/doc/latex/soulpos/soulpos.pdf index ce534eb4626..0f064bbcbf6 100644 Binary files a/Master/texmf-dist/doc/latex/soulpos/soulpos.pdf and b/Master/texmf-dist/doc/latex/soulpos/soulpos.pdf differ diff --git a/Master/texmf-dist/doc/latex/soulpos/soulpos.tex b/Master/texmf-dist/doc/latex/soulpos/soulpos.tex index 7379469c293..d9b74c7b297 100644 --- a/Master/texmf-dist/doc/latex/soulpos/soulpos.tex +++ b/Master/texmf-dist/doc/latex/soulpos/soulpos.tex @@ -1,5 +1,5 @@ % -% Copyright (C) 2012-2019 Javier Bezos http://www.texnia.com +% Copyright (C) 2012-2021 Javier Bezos http://www.texnia.com % % This file may be distributed and/or modified under the conditions of % the MIT License. A version can be found at the end of this file. @@ -9,7 +9,7 @@ \title{Underlining (and more) with soulpos} \author{Javier Bezos} -\date{2012-02-25} +\date{2021-10-15} \usepackage{tikz} \usetikzlibrary{decorations.pathmorphing} diff --git a/Master/texmf-dist/tex/latex/soulpos/soulpos.sty b/Master/texmf-dist/tex/latex/soulpos/soulpos.sty index d32deec72ba..806ac9eb433 100644 --- a/Master/texmf-dist/tex/latex/soulpos/soulpos.sty +++ b/Master/texmf-dist/tex/latex/soulpos/soulpos.sty @@ -1,5 +1,5 @@ % -% Copyright (C) 2012-2019 Javier Bezos http://www.texnia.com +% Copyright (C) 2012-2021 Javier Bezos http://www.texnia.com % % This file may be distributed and/or modified under the conditions of % the MIT License. A version can be found at the end of this file. @@ -7,7 +7,7 @@ % Repository: https://github.com/jbezos/esindex % -\ProvidesPackage{soulpos}[2012/02/25 v1.1 Fancy underlining] +\ProvidesPackage{soulpos}[2021/10/15 v1.2 Fancy underlining] \newcount\ulp@subcnt \newcount\ulp@cnt @@ -15,6 +15,16 @@ \newwrite\ulp@out \newread\ulp@in +\ifx\savepos\@undefined + \let\ulp@savepos\pdfsavepos + \let\ulp@lastxpos\pdflastxpos + \let\ulp@lastypos\pdflastypos +\else + \let\ulp@savepos\savepos + \let\ulp@lastxpos\lastxpos + \let\ulp@lastypos\lastypos +\fi + \AtBeginDocument{\ulp@begindoc} \def\ulp@begindoc{% @@ -140,10 +150,10 @@ \ulp@draw \global\expandafter\let\csname ulp@@\the\ulp@subcnt\endcsname\@undefined}% \ifcase\ulp@pos\hss\fi % over - \pdfsavepos + \ulp@savepos \protected@write\ulp@out{}% {\string\ulp@Pa\number#1{\the\ulp@subcnt}% - {\noexpand\the\pdflastxpos}{\noexpand\the\pdflastypos}% + {\noexpand\the\ulp@lastxpos}{\noexpand\the\ulp@lastypos}% \@percentchar}% \egroup} -- cgit v1.2.3