From caee9d5ac3c65f78671a9786318358cd647247eb Mon Sep 17 00:00:00 2001
From: Hans Hagen <pragma@wxs.nl>
Date: Sat, 18 May 2019 11:17:14 +0200
Subject: 2019-05-18 10:50:00

---
 .../manuals/luametatex/luametatex-titlepage.tex    | 53 ++++++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 doc/context/sources/general/manuals/luametatex/luametatex-titlepage.tex

(limited to 'doc/context/sources/general/manuals/luametatex/luametatex-titlepage.tex')

diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-titlepage.tex b/doc/context/sources/general/manuals/luametatex/luametatex-titlepage.tex
new file mode 100644
index 000000000..6f7a6f9a5
--- /dev/null
+++ b/doc/context/sources/general/manuals/luametatex/luametatex-titlepage.tex
@@ -0,0 +1,53 @@
+\environment luametatex-style
+
+\startcomponent luametatex-titlepage
+
+\startstandardmakeup
+
+    \switchtobodyfont
+      [mainfacemedium]
+
+    \definedfont[Bold*default at \the\dimexpr.06\paperheight\relax] \setupinterlinespace
+
+    \setlayer
+      [page]
+      {\useMPgraphic{luapage}}
+
+    \setlayerframed
+      [page]
+      [preset=righttop,
+       location=middletop,
+       hoffset=.500\measured{paperwidth},
+       voffset=.175\measured{paperheight}]
+      [align=middle,
+       foregroundcolor=white,
+       frame=off]
+      {\documentvariable{manual}\crlf Reference\crlf Manual}
+
+    \definedfont[Bold*default at 14pt] \setupinterlinespace
+
+    \setlayerframed
+      [page]
+      [preset=rightbottom,
+       offset=.025\measured{paperheight}]
+      [align=flushright,
+       foregroundcolor=white,
+       frame=off]
+      {\doifsomething{\documentvariable{status}}{\documentvariable{status}\par}
+       \currentdate[month,space,year]\par
+       Version \documentvariable{version}}
+
+    \setlayerframed
+      [page]
+      [preset=middle,
+       hoffset=-.5\dimexpr\measured{paperwidth}-\measured{spinewidth}\relax]
+      [width=.7\measured{paperwidth},
+       align=normal,
+       foregroundstyle=\bf,
+       foregroundcolor=white,
+       frame=off]
+      {\getbuffer[backpage]}
+
+\stopstandardmakeup
+
+\stopcomponent
-- 
cgit v1.2.3

