diff options
author | Karl Berry <karl@freefriends.org> | 2014-04-18 23:32:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-04-18 23:32:58 +0000 |
commit | b7046ed702ccc19fbe5e5ee9fdcd4f93f414804b (patch) | |
tree | 42f7f21204611de59c2b07953043b579b2041642 | |
parent | d1d2d0181ea710ab92e90d157ea29f6d7fbc456d (diff) |
placeat (18apr14)
git-svn-id: svn://tug.org/texlive/trunk@33526 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/source/lualatex/placeat/placeat.dtx | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/lualatex/placeat/placeat.sty | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/lualatex/placeat/placeat.dtx b/Master/texmf-dist/source/lualatex/placeat/placeat.dtx index fde1b0808b6..50bab39f7ed 100644 --- a/Master/texmf-dist/source/lualatex/placeat/placeat.dtx +++ b/Master/texmf-dist/source/lualatex/placeat/placeat.dtx @@ -100,7 +100,7 @@ ance status ‘maintained’. \begin{document} \centerline{\fontsize{40}{55}\selectfont placeat} -\centerline{v0.1} +\centerline{v0.1a} \centerline{\hspace*{2cm} Arno Trautmann} \centerline{\href{mailto:arno.trautmann@gmx.de}{arno.trautmann@gmx.de}} @@ -382,12 +382,12 @@ 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}% - [2014/04/15 v0.1 absolute content positioning] + [2014/04/18 v0.1a absolute content positioning] \RequirePackage{luatexbase} \RequirePackage{luacode} \RequirePackage{atbegshi} \RequirePackage{xparse} -\directlua{dofile(kpse.find_file("placeat.lua"))} +\directlua{dofile(kpse.find_file("placeat.lua",'lua'))} % \end{macrocode} % \subsection{User Commands} % The main command \verb|\placeat|. There are several ways to use it, so we define a wrapper macro that is only for the user interface. Nice separation of interface and code. But actually, both are quite hard interwoven and it's not really clear at any time what happens. However, it works most of the time. diff --git a/Master/texmf-dist/tex/lualatex/placeat/placeat.sty b/Master/texmf-dist/tex/lualatex/placeat/placeat.sty index 59ac22fa518..a42edbb9373 100644 --- a/Master/texmf-dist/tex/lualatex/placeat/placeat.sty +++ b/Master/texmf-dist/tex/lualatex/placeat/placeat.sty @@ -13,12 +13,12 @@ %% of this license or (at your option) any later version. This work has the LPPL mainten- %% ance status ‘maintained’. \ProvidesPackage{placeat}% - [2014/04/15 v0.1 absolute content positioning] + [2014/04/18 v0.1a absolute content positioning] \RequirePackage{luatexbase} \RequirePackage{luacode} \RequirePackage{atbegshi} \RequirePackage{xparse} -\directlua{dofile(kpse.find_file("placeat.lua"))} +\directlua{dofile(kpse.find_file("placeat.lua",'lua'))} \NewDocumentCommand\placeat{ggd()d<>O{}mo}{ \IfValueT{#1}{ %% two coordinates in { }{ } pair. \IfValueT{#2}{ %% if second argument is not given, everything breaks. not nice. |