summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/lualatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-08-27 23:56:21 +0000
committerKarl Berry <karl@freefriends.org>2017-08-27 23:56:21 +0000
commit6d80d3a99e7d66cb09d38a9ba8aef64d181ad80d (patch)
tree18183b022cd41d372e6ab04a5405ca2442096988 /Master/texmf-dist/source/lualatex
parent1ebb33e9902b2a96b03f5cd15dcf3f6c561f19ef (diff)
placeat (27aug17)
git-svn-id: svn://tug.org/texlive/trunk@45145 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/lualatex')
-rw-r--r--Master/texmf-dist/source/lualatex/placeat/placeat.dtx7
1 files changed, 4 insertions, 3 deletions
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},