diff options
author | Karl Berry <karl@freefriends.org> | 2014-11-12 23:31:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-11-12 23:31:48 +0000 |
commit | fce3dedd3f9904785b99f0021d2b39fb3a582474 (patch) | |
tree | d6e6ec4da2efc6d7f232daabaa5d39a85ca4c7d2 /Master/texmf-dist/tex/context/third | |
parent | c820dab7314b41b21f84dfec12af19646156ccad (diff) |
context-letter (12nov14)
git-svn-id: svn://tug.org/texlive/trunk@35567 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/third')
15 files changed, 826 insertions, 1 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 4301c031242..c71ad6c4f7f 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 @@ -131,6 +131,8 @@ \setinterfacevariable {resume} {resume} \setinterfacevariable {resumemain} {resumemain} \setinterfacevariable {resumenext} {resumenext} + \setinterfacevariable {casual} {casual} + \setinterfacevariable {classic} {classic} % frames \setinterfacevariable {frames} {frames} \setinterfacevariable {framesmain} {framesmain} @@ -996,6 +998,14 @@ \edef\p_correspondence_style_width{\correspondencestyleparameter\c!width}% \hbox \ifx\p_correspondence_style_width\empty \else to \p_correspondence_style_width \fi{#content\hss}} +\unexpanded\def\formattedcorrespondenceparameter#element% + {\begingroup + \edef\currentcorrespondenceelement{#element}% + \edef\currentcorrespondencestyle {\currentcorrespondence:#element}% + \usecorrespondencestylestyleandcolor\c!style\c!color + \correspondenceparameter\currentcorrespondenceelement + \endgroup} + %D \section{Layout} %D %D \startitemize[packed] diff --git a/Master/texmf-dist/tex/context/third/letter/base/s-cor-03.mkvi b/Master/texmf-dist/tex/context/third/letter/base/s-cor-03.mkvi index e0f8c3e80c9..efacae35e9b 100644 --- a/Master/texmf-dist/tex/context/third/letter/base/s-cor-03.mkvi +++ b/Master/texmf-dist/tex/context/third/letter/base/s-cor-03.mkvi @@ -137,6 +137,74 @@ % setups -> see s-cor-00.mkvi +% layer: foot + +\defineresumelayeralternative[\v!foot:\v!casual][\c!renderingsetup=\????resumelayerrenderings:\v!foot:\v!casual] + +\def\resumefootalternativecasual[#1][#2]% Can I make a generic version? + {\bgroup + \def\resumefootalternativecasual##1% + {\doifresumevalue{##1}{\advance\scratchcounter\plusone}}% + \def\doresumefootsingleelement##1% + {\doifresumevalue{##1}{\attributedresumevalue{#1}}}% + \def\doresumefootmultipleelement##1% + {\doifresumevalue{##1} + {\advance\scratchcounter\plusone + \attributedresumevalue{##1} + \unless\ifnum\scratchcounter=\resumefootvalues + #2% + \fi}}% + \scratchcounter\zerocount + \processcommalist[#1]\resumefootalternativecasual + \edef\resumefootvalues{\number\scratchcounter}% + \scratchcounter\zerocount + \ifnum\resumefootvalues>0 + \ifnum\resumefootvalues=1 + \processcommalist[#1]\doresumefootsingleelement + \else + \processcommalist[#1]\doresumefootmultipleelement + \fi + \fi + \egroup} + +\def\m_correspondence_resume_foot_casual#element% + {\ifvoid\scratchboxone + \doifsomething{\correspondenceparameter{#element}}{\setbox\scratchboxone\hbox{\formattedcorrespondenceparameter{#element}}}% + \else + \doifsomething{\correspondenceparameter{#element}} + {\setbox\scratchboxtwo\box\scratchboxone + \setbox\scratchboxone\hbox{\copy\scratchboxtwo \quad\color[resume:separator]{\symbol[bullet]}\quad \formattedcorrespondenceparameter{#element}}% + \ifdim\wd\scratchboxone>\hsize + \unhbox\scratchboxtwo\endgraf + \setbox\scratchboxone\hbox{\formattedcorrespondenceparameter{#element}}% + \fi}% + \fi} + +\startsetups[\????resumelayerrenderings:\v!foot:\v!casual] + \doifsomething{\correspondenceparameter{street}} + {\formattedcorrespondenceparameter{street} + \doifsomething{\correspondenceparameter{town}}{\quad\color[resume:separator]{\symbol[dash]}\quad}} + \doifsomething{\correspondenceparameter{town}}{\formattedcorrespondenceparameter{town}} + \par + \setbox\scratchboxone\box\voidbox + %\processcommalist[mobile,phone,fax,email,info]\m_correspondence_resume_foot_casual + \processcommacommand[\correspondencelayerparameter\c!list]\m_correspondence_resume_foot_casual + \unhbox\scratchboxone +\stopsetups + +% layer: nextfoot + +\defineresumelayeralternative[\v!nextfoot:\v!casual ][\c!renderingsetup=\????resumelayerrenderings:\v!nextfoot:\v!casual ] +\defineresumelayeralternative[\v!nextfoot:\v!classic][\c!renderingsetup=\????resumelayerrenderings:\v!nextfoot:\v!classic] + +\startsetups[\????resumelayerrenderings:\v!nextfoot:\v!casual] + \color[resume:address]{\it\subpagenumber/\lastsubpagenumber} +\stopsetups + +\startsetups[\????resumelayerrenderings:\v!nextfoot:\v!classic] + \color[resume:quote]{\it\subpagenumber/\lastsubpagenumber} +\stopsetups + % layer: topmark % setups -> see s-cor-00.mkvi @@ -174,6 +242,51 @@ \correspondenceparameter\c!fromaddress \stopsetups +\defineresumesectionalternative[\v!head:\v!casual][\c!renderingsetup=\????resumesectionrenderings:\v!head:\v!casual] + +\startsetups[\????resumesectionrenderings:\v!head:\v!casual] + \hbox to\hsize\bgroup + \framed[\c!offset=2\points,\c!strut=\v!no,\c!framecolor=resume:forename]{\correspondenceparameter{image}} + \hfill + \hbox\bgroup + \formattedcorrespondenceparameter{firstname} + \space + \formattedcorrespondenceparameter{familyname} + \egroup + \egroup + \vskip-\baselineskip + \blank[\v!medium] + \blackrule[\c!height=2\linewidth,\c!width=\hsize,\c!color=resume:1] + \doifsomething{\correspondenceparameter{quote}} + {\blank[\v!line] + \midaligned{\formattedcorrespondenceparameter{quote}}} +\stopsetups + +\defineresumesectionalternative[\v!head:\v!classic][\c!renderingsetup=\????resumesectionrenderings:\v!head:\v!classic] + +\startsetups[\????resumesectionrenderings:\v!head:\v!classic] + \hbox to \hsize\bgroup + \vbox\bgroup + \hbox{\formattedcorrespondenceparameter{firstname}\space\formattedcorrespondenceparameter{familyname}} + \doifsomething{\correspondenceparameter{title}} + {\blank[\v!medium] + \hbox{\formattedcorrespondenceparameter{title}}} + \egroup + \hfill + \startframed[\c!location=\v!bottom,\c!align=\v!left,\c!width=\v!fit,\c!frame=\v!off] + \doifsomething{\correspondenceparameter{street}}{\formattedcorrespondenceparameter{street}\\} + \doifsomething{\correspondenceparameter {town}}{\formattedcorrespondenceparameter {town}\\} + \doifsomething{\correspondenceparameter{mobile}}{\formattedcorrespondenceparameter{mobile}\\} + \doifsomething{\correspondenceparameter {phone}}{\formattedcorrespondenceparameter {phone}\\} + \doifsomething{\correspondenceparameter {fax}}{\formattedcorrespondenceparameter {fax}\\} + \doifsomething{\correspondenceparameter {email}}{\formattedcorrespondenceparameter {email}\\} + \doifsomething{\correspondenceparameter {info}}{\formattedcorrespondenceparameter {info}\\} + \stopframed + \quad + \framed[\c!offset=2\points,\c!strut=\v!no]{\correspondenceparameter{image}} + \egroup +\stopsetups + % section: content \defineresumesectionalternative[\v!content:\s!default][\c!renderingsetup=\????resumesectionrenderings:\v!content:\s!default] @@ -198,6 +311,22 @@ \fi \to \t_correspondence_before +\appendtoks + \ifx\currentcorrespondence\v!resume + \edef\p_correspondence_option_position{\correspondenceoptionparameter\c!position}% + \ifx\p_correspondence_option_position\v!yes % low level code, I need a better solution for this! + \setbox\scratchbox\vbox + {\edef\currentcorrespondencelayer {\v!resume:\v!head}% + \edef\currentcorrespondenceenvironment{\v!resume}% + \correspondence_layer_alternative_place}% + \normalexpanded + {\setupresumelayout + [\v!firstpage] + [\c!topspace=\dimexpr\namedresumelayerparameter\v!head\c!y+\ht\scratchbox+\namedresumelayerparameter\v!head\c!distance\relax]}% + \fi + \fi +\to \t_correspondence_before + % Labels \definelabelclass[resume] diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-blue.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-blue.mkiv new file mode 100644 index 00000000000..ce64b11bcb2 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-blue.mkiv @@ -0,0 +1,38 @@ +%D \module +%D [ file=resume-imp-casual-blue, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Casual style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[casual] + +\definecolor [resume:forename] [r=0.65,g=0.65,b=0.65] +\definecolor [resume:surename] [r=0.45,g=0.45,b=0.45] +\definecolor [resume:title] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:quote] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:address] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:rule] [r=0.25,g=0.50,b=0.75] +\definecolor [resume:section] [r=0.20,g=0.40,b=0.65] +\definecolor [resume:subsection] [r=0.20,g=0.40,b=0.65] +\definecolor [resume:separator] [r=0.25,g=0.50,b=0.75] + +\endinput diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-green.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-green.mkiv new file mode 100644 index 00000000000..94c078313f7 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-green.mkiv @@ -0,0 +1,38 @@ +%D \module +%D [ file=resume-imp-casual-blue, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Casual style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[casual] + +\definecolor [resume:forename] [r=0.65,g=0.65,b=0.65] +\definecolor [resume:surename] [r=0.45,g=0.45,b=0.45] +\definecolor [resume:title] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:quote] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:address] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:rule] [r=0.55,g=0.85,b=0.35] +\definecolor [resume:section] [r=0.30,g=0.65,b=0.15] +\definecolor [resume:subsection] [r=0.30,g=0.65,b=0.15] +\definecolor [resume:separator] [r=0.30,g=0.65,b=0.15] + +\endinput diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-grey.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-grey.mkiv new file mode 100644 index 00000000000..3ed16e01ef7 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-grey.mkiv @@ -0,0 +1,38 @@ +%D \module +%D [ file=resume-imp-casual-grey, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Casual style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[casual] + +\definecolor [resume:forename] [r=0.65,g=0.65,b=0.65] +\definecolor [resume:surename] [r=0.45,g=0.45,b=0.45] +\definecolor [resume:title] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:quote] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:address] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:rule] [r=0.75,g=0.75,b=0.75] +\definecolor [resume:section] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:subsection] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:separator] [r=0.35,g=0.35,b=0.35] + +\endinput diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-orange.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-orange.mkiv new file mode 100644 index 00000000000..9a31830688e --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-orange.mkiv @@ -0,0 +1,38 @@ +%D \module +%D [ file=resume-imp-casual-orange, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Casual style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[casual] + +\definecolor [resume:forename] [r=0.65,g=0.65,b=0.65] +\definecolor [resume:surename] [r=0.45,g=0.45,b=0.45] +\definecolor [resume:title] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:quote] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:address] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:rule] [r=1.00,g=0.65,b=0.20] +\definecolor [resume:section] [r=0.95,g=0.55,b=0.15] +\definecolor [resume:subsection] [r=0.95,g=0.55,b=0.15] +\definecolor [resume:separator] [r=0.95,g=0.55,b=0.15] + +\endinput diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-red.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-red.mkiv new file mode 100644 index 00000000000..9a3b991df86 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual-red.mkiv @@ -0,0 +1,38 @@ +%D \module +%D [ file=resume-imp-casual-red, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Casual style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[casual] + +\definecolor [resume:forename] [r=0.65,g=0.65,b=0.65] +\definecolor [resume:surename] [r=0.45,g=0.45,b=0.45] +\definecolor [resume:title] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:quote] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:address] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:rule] [r=1.00,g=0.30,b=0.30] +\definecolor [resume:section] [r=0.95,g=0.20,b=0.20] +\definecolor [resume:subsection] [r=0.95,g=0.20,b=0.20] +\definecolor [resume:separator] [r=0.95,g=0.20,b=0.20] + +\endinput diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual.mkiv new file mode 100644 index 00000000000..73424613cc4 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-casual.mkiv @@ -0,0 +1,160 @@ +%D \module +%D [ file=resume-imp-casual, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Casual style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[default] + +% The colors are black by default, use one of the color styles to change them. + +\definecolor [resume:forename] [black] +\definecolor [resume:surename] [black] +\definecolor [resume:title] [black] +\definecolor [resume:quote] [black] +\definecolor [resume:address] [black] +\definecolor [resume:rule] [black] +\definecolor [resume:section] [black] +\definecolor [resume:subsection] [black] +\definecolor [resume:separator] [black] + +% Values for the margins etc. + +\definemeasure [resume:margin] [.150\textwidth] +\definemeasure [resume:distance] [.025\textwidth] + +% Layout + +% \setupresumelayout +% [\v!firstpage,\v!secondpage] +% [\c!backspace=20mm, +% \c!width=168mm, +% \c!header=0pt, +% \c!footer=0pt, +% \c!topspace=30mm, +% \c!bottomspace=40mm, +% \c!height=\v!fit] + +% Section commands + +\define[1]\ResumeSectionCommand + {\hbox to \hsize\bgroup + \blackrule[\c!width=\measure{resume:margin},\c!height=1\exheight,\c!depth=-.5\exheight,\c!color=resume:rule]% + \hskip\measure{resume:distance}\relax + \vtop\bgroup + \hsize\dimexpr\hsize-\measure{resume:margin}-\measure{resume:distance}\relax + #1% + \egroup + \egroup} + +\setupresumehead + [\v!resume\v!section] + [\c!align=\v!flushleft, + \c!style=\tfb, + \c!color=modern:section, + \c!textcommand=\ResumeSectionCommand] + +\define[1]\ResumeSubsectionCommand + {\hbox to \hsize\bgroup + \hskip\dimexpr\measure{resume:margin}+\measure{resume:distance}\relax + \vtop\bgroup + \hsize\dimexpr\hsize-\measure{resume:margin}-\measure{resume:distance}\relax + #1% + \egroup + \egroup} + +\setupresumehead + [\v!resume\v!subsection] + [\c!align=\v!flushleft, + \c!style=\tfa, + \c!color=modern:subsection, + \c!textcommand=\ResumeSubsectionCommand] + +% Paragraphs + +\setupresumeparagraph + [\v!two\v!columns] + [\c!distance=\measure{resume:distance}] + +\setupresumeparagraph + [\v!two\v!columns:1] + [\c!width=\measure{resume:margin}] + +% Layer + +\setupresumesection + [\v!head] + [\c!alternative=\v!casual] + +\setupresumeframe + [\v!head] + [\c!height=3.5cm, + \c!frame=\v!off, + \c!align={\v!wide,\v!middle}] + +% Layer + +\setupresumelayer + [\v!foot] + [\c!alternative=\v!casual, + \c!preset=\v!left\v!bottom, + \c!x=\backspace, + \c!y=2cm, + \c!state=\v!repeat, + \c!list={mobile,phone,fax,email,info}] + +\setupresumeframe + [\v!foot] + [\c!frame=\v!off, + \c!width=\textwidth, + \c!height=2cm, + \c!align={\v!middle,\v!low}] + +\setupresumelayer + [\v!nextfoot] + [\c!alternative=\v!casual, + \c!preset=\v!left\v!bottom, + \c!x=\backspace, + \c!y=2cm, + \c!state=\v!repeat] + +\setupresumeframe + [\v!nextfoot] + [\c!frame=\v!off, + \c!width=\textwidth, + \c!height=2cm, + \c!align={\v!flushright,\v!low}] + +% Font and color settings + +\setupresumestyle [firstname] [\c!style=\tfd,\c!color=resume:forename] +\setupresumestyle [familyname][\c!style=\tfd,\c!color=resume:surename] +\setupresumestyle [quote] [\c!style=\tf, \c!color=resume:quote] +\setupresumestyle [street] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [town] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [mobile] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [phone] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [fax] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [email] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [info] [\c!style=\it, \c!color=resume:address] + +\endinput diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-blue.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-blue.mkiv new file mode 100644 index 00000000000..8b0108e8ad7 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-blue.mkiv @@ -0,0 +1,38 @@ +%D \module +%D [ file=resume-imp-classic-blue, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Classic style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[classic] + +\definecolor [resume:forename] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:surename] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:title] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:quote] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:address] [r=0.25,g=0.50,b=0.75] +\definecolor [resume:rule] [r=0.25,g=0.50,b=0.75] +\definecolor [resume:section] [r=0.20,g=0.40,b=0.65] +\definecolor [resume:subsection] [r=0.20,g=0.40,b=0.65] +\definecolor [resume:separator] [r=0.00,g=0.00,b=0.00] + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-green.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-green.mkiv new file mode 100644 index 00000000000..4b8efaa702d --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-green.mkiv @@ -0,0 +1,38 @@ +%D \module +%D [ file=resume-imp-classic-green, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Classic style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[classic] + +\definecolor [resume:forename] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:surename] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:title] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:quote] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:address] [r=0.30,g=0.65,b=0.15] +\definecolor [resume:rule] [r=0.55,g=0.85,b=0.35] +\definecolor [resume:section] [r=0.30,g=0.65,b=0.15] +\definecolor [resume:subsection] [r=0.30,g=0.65,b=0.15] +\definecolor [resume:separator] [r=0.00,g=0.00,b=0.00] + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-grey.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-grey.mkiv new file mode 100644 index 00000000000..8e81770fe5c --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-grey.mkiv @@ -0,0 +1,38 @@ +%D \module +%D [ file=resume-imp-classic-grey, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Classic style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[classic] + +\definecolor [resume:forename] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:surename] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:title] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:quote] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:address] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:rule] [r=0.75,g=0.75,b=0.75] +\definecolor [resume:section] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:subsection] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:separator] [r=0.00,g=0.00,b=0.00] + +\endinput diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-orange.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-orange.mkiv new file mode 100644 index 00000000000..02e4701700c --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-orange.mkiv @@ -0,0 +1,38 @@ +%D \module +%D [ file=resume-imp-classic-orange, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Classic style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[classic] + +\definecolor [resume:forename] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:surename] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:title] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:quote] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:address] [r=0.95,g=0.55,b=0.15] +\definecolor [resume:rule] [r=1.00,g=0.65,b=0.20] +\definecolor [resume:section] [r=0.95,g=0.55,b=0.15] +\definecolor [resume:subsection] [r=0.95,g=0.55,b=0.15] +\definecolor [resume:separator] [r=0.00,g=0.00,b=0.00] + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-red.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-red.mkiv new file mode 100644 index 00000000000..18a51c1aa77 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic-red.mkiv @@ -0,0 +1,38 @@ +%D \module +%D [ file=resume-imp-classic-red, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Classic style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[classic] + +\definecolor [resume:forename] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:surename] [r=0.00,g=0.00,b=0.00] +\definecolor [resume:title] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:quote] [r=0.35,g=0.35,b=0.35] +\definecolor [resume:address] [r=0.95,g=0.20,b=0.20] +\definecolor [resume:rule] [r=1.00,g=0.30,b=0.30] +\definecolor [resume:section] [r=0.95,g=0.20,b=0.20] +\definecolor [resume:subsection] [r=0.95,g=0.20,b=0.20] +\definecolor [resume:separator] [r=0.00,g=0.00,b=0.00] + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic.mkiv new file mode 100644 index 00000000000..01710ec6130 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-classic.mkiv @@ -0,0 +1,145 @@ +%D \module +%D [ file=resume-imp-classic, +%D version=2014.10.31, +%D title=\CONTEXT\ Resume Style, +%D subtitle=Classic style, +%D author=Wolfgang Schuster, +%D date=\currentdate, +%D copyright=Wolfgang Schuster, +%D license=GNU General Public License] + +%C Copyright (C) 2012 Wolfgang Schuster +%C +%C This program is free software: you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation, either version 3 of the License, or +%C (at your option) any later version. +%C +%C This program is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program. If not, see <http://www.gnu.org/licenses/>. + +\useresumestyle[default] + +% The colors are black by default, use one of the color styles to change them. + +\definecolor [resume:forename] [black] +\definecolor [resume:surename] [black] +\definecolor [resume:title] [black] +\definecolor [resume:quote] [black] +\definecolor [resume:address] [black] +\definecolor [resume:rule] [black] +\definecolor [resume:section] [black] +\definecolor [resume:subsection] [black] +\definecolor [resume:separator] [black] + +% Values for the margins etc. + +\definemeasure [resume:margin] [.150\textwidth] +\definemeasure [resume:distance] [.025\textwidth] + +% Layout + +% \setupresumelayout +% [\v!firstpage,\v!secondpage] +% [\c!backspace=20mm, +% \c!width=168mm, +% \c!header=0pt, +% \c!footer=0pt, +% \c!topspace=30mm, +% \c!bottomspace=40mm, +% \c!height=\v!fit] + +% Section commands + +\define[1]\ResumeSectionCommand + {\hbox to \hsize\bgroup + \blackrule[\c!width=\measure{resume:margin},\c!height=1\exheight,\c!depth=-.5\exheight,\c!color=resume:rule]% + \hskip\measure{resume:distance}\relax + \vtop\bgroup + \hsize\dimexpr\hsize-\measure{resume:margin}-\measure{resume:distance}\relax + #1% + \egroup + \egroup} + +\setupresumehead + [\v!resume\v!section] + [\c!align=\v!flushleft, + \c!style=\tfb, + \c!color=modern:section, + \c!textcommand=\ResumeSectionCommand] + +\define[1]\ResumeSubsectionCommand + {\hbox to \hsize\bgroup + \hskip\dimexpr\measure{resume:margin}+\measure{resume:distance}\relax + \vtop\bgroup + \hsize\dimexpr\hsize-\measure{resume:margin}-\measure{resume:distance}\relax + #1% + \egroup + \egroup} + +\setupresumehead + [\v!resume\v!subsection] + [\c!align=\v!flushleft, + \c!style=\tfa, + \c!color=modern:subsection, + \c!textcommand=\ResumeSubsectionCommand] + +% Paragraphs + +\setupresumeparagraph + [\v!two\v!columns] + [\c!distance=\measure{resume:distance}] + +\setupresumeparagraph + [\v!two\v!columns:1] + [\c!width=\measure{resume:margin}] + +% Layer + +\setupresumesection + [\v!head] + [\c!alternative=\v!classic] + +\setupresumeframe + [\v!head] + [\c!height=3.5cm, + \c!frame=\v!off, + \c!align={\v!wide,\v!middle}] + +% Layer + +\setupresumelayer + [\v!nextfoot] + [\c!alternative=\v!classic, + \c!preset=\v!left\v!bottom, + \c!x=\backspace, + \c!y=2cm, + \c!state=\v!repeat] + +\setupresumeframe + [\v!nextfoot] + [\c!frame=\v!off, + \c!width=\textwidth, + \c!height=2cm, + \c!align={\v!flushright,\v!lohi}] + +% Font and color settings + +\setupresumestyle [firstname] [\c!style=\tfd,\c!color=resume:forename] +\setupresumestyle [familyname][\c!style=\tfd,\c!color=resume:surename] +\setupresumestyle [quote] [\c!style=\tf, \c!color=resume:quote] +\setupresumestyle [title] [\c!style=\it, \c!color=resume:title] +\setupresumestyle [street] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [town] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [mobile] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [phone] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [fax] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [email] [\c!style=\it, \c!color=resume:address] +\setupresumestyle [info] [\c!style=\it, \c!color=resume:address] + +\endinput diff --git a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-default.mkiv b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-default.mkiv index b08c5aba361..a8a1eef1a4d 100644 --- a/Master/texmf-dist/tex/context/third/letter/style/resume-imp-default.mkiv +++ b/Master/texmf-dist/tex/context/third/letter/style/resume-imp-default.mkiv @@ -128,7 +128,8 @@ \defineresumeelements [\v!section] - [\v!content, + [\v!head, + \v!content, \v!closing] \endinput |