summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/third/letter/style/default.nls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/third/letter/style/default.nls')
-rw-r--r--Master/texmf-dist/tex/context/third/letter/style/default.nls121
1 files changed, 87 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/context/third/letter/style/default.nls b/Master/texmf-dist/tex/context/third/letter/style/default.nls
index 4637dfec6a8..4878317b08b 100644
--- a/Master/texmf-dist/tex/context/third/letter/style/default.nls
+++ b/Master/texmf-dist/tex/context/third/letter/style/default.nls
@@ -1,34 +1,87 @@
-%D \module
-%D [ file=default,
-%D version=2008.07.08,
-%D title=\CONTEXT\ Letter Style,
-%D subtitle=Blockstyle initalization,
-%D author=Wolfgang Schuster,
-%D date=\currentdate,
-%D copyright=Public Domain]
-
-\unprotect
-
-\def\doresetletterlayer #1{\dododefineletterlayer[#1]}
-\def\doresetlettersection#1{\dodefinelettersection[#1]}
-
-\processcommacommand[\letter!list!layers ]\doresetletterlayer
-\processcommacommand[\letter!list!sections]\doresetlettersection
-
-\setupletterstyle
- [\v!firstpage,\v!secondpage]
- [\c!topspace=.08417508418\paperheight,
- \c!top=\!!zeropoint,
- \c!topdistance=\!!zeropoint,
- \c!header=.06734006734\paperheight,
- \c!headerdistance=\!!zeropoint,
- \c!height=.84175084175\paperheight,
- \c!footerdistance=\!!zeropoint,
- \c!footer=.06734006734\paperheight,
- \c!bottomdistance=\!!zeropoint,
- \c!bottom=\!!zeropoint,
- \c!backspace=.11904761905\paperwidth,
- \c!width=.71428571429\paperwidth,
- \c!bottomspace=\!!zeropoint]
-
-\protect \endinput
+%D \module
+%D [ file=default,
+%D version=2008.10.27,
+%D title=\CONTEXT\ Letter Style,
+%D subtitle=Blockstyle initalization,
+%D author=Wolfgang Schuster,
+%D date=\currentdate,
+%D copyright=Wolfgang Schuster,
+%D email=schuster.wolfgang@googlemail.com,
+%D license=Public Domain]
+
+\unprotect
+
+\def\doresetletterlayer #1{\dododefineletterlayer[#1]}
+\def\doresetlettersection#1{\dodefinelettersection[#1]}
+
+\processcommacommand[\letter!list!layers ]\doresetletterlayer
+\processcommacommand[\letter!list!sections]\doresetlettersection
+
+\setupletterstyle
+ [\v!firstpage,\v!secondpage]
+ [\c!topspace=.08417508418\paperheight,
+ \c!top=\!!zeropoint,
+ \c!topdistance=\!!zeropoint,
+ \c!header=.06734006734\paperheight,
+ \c!headerdistance=\!!zeropoint,
+ \c!height=.84175084175\paperheight,
+ \c!footerdistance=\!!zeropoint,
+ \c!footer=.06734006734\paperheight,
+ \c!bottomdistance=\!!zeropoint,
+ \c!bottom=\!!zeropoint,
+ \c!backspace=.11904761905\paperwidth,
+ \c!width=.71428571429\paperwidth,
+ \c!bottomspace=\!!zeropoint]
+
+\setupletter
+ [\c!alternative=\v!a,
+ \c!list=\v!date,
+ \c!date=\currentdate,
+ \c!width=\zeropoint]
+
+\setupletterstyle
+ [\v!option]
+ [\c!dispatch=\v!yes,
+ \c!addressee=\v!yes]
+
+\setupletterstyle
+ [\v!nexthead,\v!nextfoot]
+ [\c!state=\v!next]
+
+\setupletterstyle
+ [\v!reference]
+ [\v!option]
+ [%\c!list=\lettervalue\c!list, % not yet
+ \c!alternative=\lettervalue\c!alternative]
+
+\setupletterstyle
+ [\v!backaddress]
+ [\v!option]
+ [\c!alternative=\v!no,
+ \c!separator=\textcomma\space]
+
+\setupletterstyle
+ [\v!dispatch,\v!addressee]
+ [\c!align=\v!right,
+ \c!width=\hsize,
+ \c!leftmargin=\zeropoint,
+ \c!rightmargin=\zeropoint,
+ \c!offset=\zeropoint,
+ \c!frame=\v!off]
+
+\setupletterstyle
+ [\v!dispatch]
+ [\c!location=\v!bottom,
+ \c!height=\dimexpr(\vsize/9)*3\relax]
+
+\setupletterstyle
+ [\v!addressee]
+ [\c!location=\v!top,
+ \c!height=\dimexpr(\vsize/9)*6\relax]
+
+\setupletterstyle
+ [\v!closing]
+ [\c!after={\blank[\v!line]},
+ \c!inbetween={\blank[\v!endgraf,\v!nobreak,2*\v!line]}]
+
+\protect \endinput