From 6d80d3a99e7d66cb09d38a9ba8aef64d181ad80d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 27 Aug 2017 23:56:21 +0000 Subject: placeat (27aug17) git-svn-id: svn://tug.org/texlive/trunk@45145 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/lualatex/placeat/placeat.pdf | Bin 96839 -> 97006 bytes .../texmf-dist/source/lualatex/placeat/placeat.dtx | 7 ++++--- Master/texmf-dist/tex/lualatex/placeat/placeat.sty | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Master/texmf-dist/doc/lualatex/placeat/placeat.pdf b/Master/texmf-dist/doc/lualatex/placeat/placeat.pdf index 43a21271f7d..31a1adbddd0 100644 Binary files a/Master/texmf-dist/doc/lualatex/placeat/placeat.pdf and b/Master/texmf-dist/doc/lualatex/placeat/placeat.pdf differ diff --git a/Master/texmf-dist/source/lualatex/placeat/placeat.dtx b/Master/texmf-dist/source/lualatex/placeat/placeat.dtx index bd3194dafe5..90acae766cd 100644 --- a/Master/texmf-dist/source/lualatex/placeat/placeat.dtx +++ b/Master/texmf-dist/source/lualatex/placeat/placeat.dtx @@ -110,7 +110,7 @@ ance status ‘maintained’. \begin{document} \centerline{\fontsize{40}{55}\selectfont place\ALT} -\centerline{v0.1d} +\centerline{v0.1d1} \centerline{\hspace*{2cm} Arno L. Trautmann} \centerline{\href{mailto:arno.trautmann@gmx.de}{arno.trautmann@gmx.de}} @@ -395,7 +395,7 @@ end % The Lua file is not found by using a simple |dofile("placeat.lua")| call, but we have to use kpse's |find_file|. % \begin{macrocode} \ProvidesPackage{placeat}% - [2017/08/19 v0.1d absolute content positioning] + [2017/08/19 v0.1d1 absolute content positioning] \RequirePackage{luatexbase} \RequirePackage{luacode} \RequirePackage{atbegshi} @@ -505,7 +505,7 @@ end % \end{macrocode} % Setup of variables and macros we need later. % \begin{macrocode} -\let\ifdrawgrid\iftrue +\gdef\drawgridnum{1} \luaexec{ arrowheadlength = 5 drawgrid = false @@ -632,6 +632,7 @@ end % Especially one thing will be annoying, the space-gobbling. Nice feature on one hand, but annoying inside the |\directlua| on the other hand. Therefore, we need the |~| to separate |gridnr| and |gridnry| below. % \begin{macrocode} \ExplSyntaxOn +\gdef\drawgridnum{1} \keys_define:nn{placeat}{ alphanumgrid.code:n = \directlua{alphanumgrid = true}, arrowheadlength.code:n = \directlua{arrowheadlength=#1}, diff --git a/Master/texmf-dist/tex/lualatex/placeat/placeat.sty b/Master/texmf-dist/tex/lualatex/placeat/placeat.sty index ccb1ffdce11..1fec067a56f 100644 --- a/Master/texmf-dist/tex/lualatex/placeat/placeat.sty +++ b/Master/texmf-dist/tex/lualatex/placeat/placeat.sty @@ -13,7 +13,7 @@ %% of this license or (at your option) any later version. This work has the LPPL mainten- %% ance status ‘maintained’. \ProvidesPackage{placeat}% - [2017/08/19 v0.1d absolute content positioning] + [2017/08/19 v0.1d1 absolute content positioning] \RequirePackage{luatexbase} \RequirePackage{luacode} \RequirePackage{atbegshi} @@ -91,7 +91,7 @@ } \def\firstof #1,#2X{#1} \def\secondof #1,#2X{#2} -\let\ifdrawgrid\iftrue +\gdef\drawgridnum{1} \luaexec{ arrowheadlength = 5 drawgrid = false @@ -197,6 +197,7 @@ } } \ExplSyntaxOn +\gdef\drawgridnum{1} \keys_define:nn{placeat}{ alphanumgrid.code:n = \directlua{alphanumgrid = true}, arrowheadlength.code:n = \directlua{arrowheadlength=#1}, -- cgit v1.2.3