summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-01-21 23:55:30 +0000
committerKarl Berry <karl@freefriends.org>2013-01-21 23:55:30 +0000
commit8047b0c5bf6ba764c9f383191176b25afc871da4 (patch)
tree57cef914ef14a85ef054b5c137d0c00f15e13f7e
parentc4a416969f2ece5b95c2c2e31d8c661f46d66145 (diff)
context-letter (21jan13)
git-svn-id: svn://tug.org/texlive/trunk@28899 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/tex/context/third/letter/base/s-cor-00.mkvi4
-rw-r--r--Master/texmf-dist/tex/context/third/letter/base/s-cor-01.mkvi12
2 files changed, 13 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/third/letter/base/s-cor-00.mkvi b/Master/texmf-dist/tex/context/third/letter/base/s-cor-00.mkvi
index e6ce3635ee8..1148ce4f701 100644
--- a/Master/texmf-dist/tex/context/third/letter/base/s-cor-00.mkvi
+++ b/Master/texmf-dist/tex/context/third/letter/base/s-cor-00.mkvi
@@ -1,6 +1,6 @@
%D \module
%D [ file=s-cor-00,
-%D version=2013.01.02,
+%D version=2013.01.20,
%D title=\CONTEXT\ User Module,
%D subtitle=Correspondence,
%D author=Wolfgang Schuster,
@@ -947,7 +947,7 @@
\setvalue{\????correspondenceelement:#environment:#type:#element:#name}{#content}}
\startsetups[\????correspondencesectionrenderings:\v!command]
- \correspondence_element_place[\currentcorrespondenceenvironment][\v!section][\currentcorrespondenceelement][\correspondencelayerparameter\c!alternative]
+ \correspondence_element_place[\currentcorrespondenceenvironment][\v!section][\currentcorrespondenceelement][\correspondencesectionparameter\c!alternative]
\stopsetups
\startsetups[\????correspondencelayerrenderings:\v!command]
diff --git a/Master/texmf-dist/tex/context/third/letter/base/s-cor-01.mkvi b/Master/texmf-dist/tex/context/third/letter/base/s-cor-01.mkvi
index 030f373386c..1c47853c3a6 100644
--- a/Master/texmf-dist/tex/context/third/letter/base/s-cor-01.mkvi
+++ b/Master/texmf-dist/tex/context/third/letter/base/s-cor-01.mkvi
@@ -1,6 +1,6 @@
%D \module
%D [ file=s-cor-01,
-%D version=2013.01.07,
+%D version=2013.01.14,
%D title=\CONTEXT\ User Module,
%D subtitle=Letters,
%D author=Wolfgang Schuster,
@@ -303,6 +303,7 @@
% layer: address
\defineletterlayeralternative[\v!address:\s!default][\c!renderingsetup=\????correspondencelayerrenderings:\v!letter:\v!address:\s!default]
+\defineletterlayeralternative[\v!address:\v!a ][\c!renderingsetup=\????correspondencelayerrenderings:\v!letter:\v!address:\v!a ]
\startsetups[\????correspondencelayerrenderings:\v!letter:\v!address:\s!default]
\def\\{\correspondencelayerparameter\c!separator}%
@@ -311,6 +312,15 @@
\correspondenceparameter\c!toaddress
\stopsetups
+\startsetups[\????correspondencelayerrenderings:\v!letter:\v!address:\v!a]
+ \def\\{\correspondencelayerparameter\c!separator}%
+ \doifsomethingelse{\correspondenceparameter\c!dispatch}
+ {\correspondenceparameter\c!dispatch\\} % check number of lines!
+ {\blank[2*\v!line]}
+ \doifsomething{\correspondenceparameter\c!toname}{\correspondenceparameter\c!toname\\}
+ \correspondenceparameter\c!toaddress
+\stopsetups
+
% layer: backaddress
\defineletterlayeralternative[\v!backaddress:\s!default][\c!renderingsetup=\????correspondencelayerrenderings:\v!letter:\v!backaddress:\s!default]