diff options
Diffstat (limited to 'Master/texmf-dist/source/context/third')
18 files changed, 0 insertions, 3469 deletions
diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-environment.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-environment.tex deleted file mode 100644 index 584c703e9a7..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-environment.tex +++ /dev/null @@ -1,241 +0,0 @@ -\startenvironment correspondence-environment - -%%%% Manual for the ConTeXt correspondence module - -% To produce a pdf of this manual you have to run it with LuaTeX, -% to get the same layout as the version shipped with the module -% the lucida and delicious fonts are required. - -%%%% Variables - -\setvariables - [correspondence] - [title=Correspondence with \ConTeXt, - version=\ctxlua{tex.sprint(tex.ctxcatcodes,thirddata.correspondence.files[1]["version"])}] - - -%%%% Colors - -\definecolor[lettercolor] [h=BBD0B4] -\definecolor[fakerulecolor][darkgray] - -\definecolor[twhite][r=1,g=1,b=1,t=.75,a=1] - - -%%%% Images - -\setupexternalfigures[directory=images] - - -%%%% Hyperlinks etc. - -\setupinteraction - [state=start, - title={Correspondence with ConTeXt}, - author={Wolfgang Schuster}, - color=black, - contrastcolor=black, - style=] - - -%%%% Additional modules - -\usemodule[visual] -\usemodule[abr-01] -\usemodule[letter] -\usemodule[resume] -\usemodule[set-11]\loadsetups[cont-en.xml]\loadsetups[t-letter.xml]\loadsetups[t-resume.xml] -\usemodule[examplecontent] - -\setupframedtexts - [setuptext] - [frame=on, - rulethickness=1pt, - corner=round, - framecolor=lettercolor] - - -%%%% Fonts - -\startmode[wolf] - -\setupbodyfont[lucida,10pt] - -\definetypeface[examplefont][rm][specserif][Delicious][default] - -\stopmode - -\startnotmode[wolf] - -\setupbodyfont[pagella,10pt] - -\definetypeface[examplefont][rm][specserif][Latin Modern Sans][default] - -\stopnotmode - - -%%%% Layout - -%% Setup for the letter examples - -\setupletterstyle - [option] - [bodyfont=examplefont, - whitespace=line, - marking=no, - before={\page[left]}, - backgroundcolor=gray] - -\setupletterstyle - [content] - [align=normal] - -\setupletterstyle - [enclosure,copy,postscript] - [before={\blank[nowhite]}, - after={\blank[nowhite]}] - -\setupletterstyle - [closing] - [after={\blank[2*line]}] - -\setupresumestyle - [option] - [bodyfont=examplefont, - whitespace=none, - before={\page[left]}, - backgroundcolor=gray] - -%% Whitespace - -\setupwhitespace[line] - -\setupalign[right,broad] % gives better results with \cs in the text - -%% Headers - -\definestructureresetset[default][0,0][1] - -\setuphead - [part] - [placehead=yes, - header=empty, - sectionresetset=default, - alternative=middle, - style=\tfd] - -\setuphead - [chapter] - [header=empty, - style=\tfc, - sectionsegments=2:100] - -\setuphead - [section,subject] - [style=\tfb, - sectionsegments=2:100] - -\setuphead - [subsection,subsubject] - [style=\tfa] - -%% Content - -\setupcombinedlist - [content] - [interaction=all, - color=black] - -%% Pagenumbering - -\definestructureconversionset [pagenumber] [] [numbers] - -\setupuserpagenumber[numberconversionset=pagenumber] - -\setuppagenumbering - [alternative=doublesided, - location=footer] - -%% Head/Foot - -\setupheadertexts[{\getmarking[chapter]}] - -%% Verbatim - -\setuptyping - [before={\blank\testpage[2]}] - -%% Misc - -\setupmakeup - [standard] - [pagestate=start, - doublesided=empty, - page=no] - -%% Cover - -\defineoverlay[coverfigure][\overlayfigure{980559_60280625}] - -\def\TitlePage - {\bgroup - \setupbackgrounds[page][background=color,backgroundcolor=lettercolor] - \startstandardmakeup[align=middle] - \vfill - {\definedfont[SansBold sa 4]\setupinterlinespace\getvariable{correspondence}{title}\par} - \blank[2*line] - {\definedfont[Sans sa 2]\setupinterlinespace Version: \getvariable{correspondence}{version}\par} - \vfill\vfill\vfill - \stopstandardmakeup - \egroup} - -\def\LastPage - {\page[yes,left] - \bgroup - \setupbackgrounds[page][background=color,backgroundcolor=lettercolor] - \startstandardmakeup % why not - \stopstandardmakeup % \page[empty]? - \egroup} - -\def\CommandList - {\chapter{Command definitions} - \placesetup} - -%% Examples for the letter elements - -\defineframedtext - [element] - [width=\textwidth, - rulethickness=1pt, - corner=round, - framecolor=lettercolor] - -\defineframedtext - [smallelement] - [width=.35\textwidth, - rulethickness=1pt, - corner=round, - framecolor=lettercolor] - -%% Test mode - -\startmode[test] - - \showframe - \showgrid - -\stopmode - -%% The examplecontent module is not included in the manual sources -%% and will remain private therefore dummy defintions are necessary. - -\ifx\startexamplecontent\undefined - - \def\startexamplecontent {\gobbleuntil\stopexamplecontent} - \def\examplecontent {\dodoubleempty\doexamplecontent} - \def\doexamplecontent[#1][#2]{\framed[width=6cm,height=8cm]{}} - -\fi - - -\stopenvironment diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-introduction.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-introduction.tex deleted file mode 100644 index 2603c8188ae..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-introduction.tex +++ /dev/null @@ -1,28 +0,0 @@ -\startcomponent correspondence-introduction - -\environment correspondence-environment - -\chapter{Introduction} - -This is the manual for the \CONTEXT||correspondence manual. - -The module was written at the start as a package to write letters with a consistent -and use to use interface and a few options to change the layout in a consistent way. - -The core for the first version was based on the letter manual from Hans Hagen -(\filename{m-letter.tex}) and parts of this still remain in the low level code of -the module. - -As the time past more and more parts had been added to the package and it ended up -in a similar interface as the \LaTeX-classes but with its own commands to set user -values. Because of its origin in Hans’ module the user interface and the low level -parts are split in two different files and many more interfaces for users are -possible, one of them tries to mimic the style of Hans module. - -As the time past the author wrote a generic version of the complete setup commands -and a few other in the letter core and created the new file \filename{t-correspondence.tex} -which holds now the low level code. As a result of this the new file -\filename{t-resume.tex} became part of the package with its own setup commands -and external style and interface files. - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-labeltext.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-labeltext.tex deleted file mode 100644 index 048b2c69c97..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-labeltext.tex +++ /dev/null @@ -1,38 +0,0 @@ -\startcomponent correspondence-labeltext - -\environment correspondence-environment - -\chapter{Labeltexts} - -The following table presents the text for all predefined labels in the module, -only the labels for the {\em memo} style are not included. - -\page[left] - -\start - -\setuplinetable [nx=2,stretch=yes,width=.125\textwidth] -\setuplinetable[r][1][style=bold] - -\startbuffer[labeltext] -\NC label \NC english \NC dutch \NC german \NC french \NC italian \NC spanish \NC\NR -\startprocesscommalist - [name,room,yourref,yourmail,myref,mymail,customer,invoice, - attention,subject,cc,enclosure,to,toname,from,fromname,date, - phone,fax,email,url,bank,organization,city,zip,country,street] - \NC #1 - \NC \mainlanguage[en]\labeltext{letter:#1} - \NC \mainlanguage[nl]\labeltext{letter:#1} - \NC \mainlanguage[de]\labeltext{letter:#1} - \NC \mainlanguage[fr]\labeltext{letter:#1} - \NC \mainlanguage[it]\labeltext{letter:#1} - \NC \mainlanguage[es]\labeltext{letter:#1} - \NC\NR -\stopprocesscommalist -\stopbuffer - -\processlinetablebuffer[labeltext] - -\stop - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-background.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-background.tex deleted file mode 100644 index d0b0613f555..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-background.tex +++ /dev/null @@ -1,128 +0,0 @@ -\startcomponent correspondence-letter-background - -\environment correspondence-environment - -\chapter{Background} - -There are different ways to customize the look of a letter, they are namely the -\startitemize[text,a][lefttext=,righttext=,stopper={)}] -\item layout of the page, -\item the font for the main text and the styles for each element and -\item the header and the other information blocks. -\stopitemize -Another option is the stationary which you use for the printed result, you could -use either already preprinted paper or what will be described in the following chapter -create your own with ConTeXt. Three different methods are available to do this: - -\startitemize[a,packed][stopper={)}] -\item color, -\item images, -\item user created backgrounds. -\stopitemize - -% backgroundcolor - -\start - -\setupletterstyle[backgroundcolor=gray] - -\startletter -\input knuth -\stopletter - -\stop - -\section{Backgroundcolor} - -Setting a color for the background is the first method to customize the layout of the letter background, -you can see result of the following code in the example on the left page and all other full page letters -in this document. - -\starttyping -\setupcolors[state=start] - -\setupletterstyle[backgroundcolor=gray] - -\startletter -Thus, I came to the conclusion ... -\stopletter -\stoptyping - -When you use {\em backgroundcolor} in combination with the other methods it's important to know the backgroundcolor -is always behind the other elements. - -% backgroundimage - -\start - -\setupletterstyle[backgroundimage=954380_42830609] - -\startletter -\input knuth -\stopletter - -\stop - -\section{Backgroundimages} - -The second mathod is to use a graphic as background for the letter, the example on the left page is created -with the following code, take care the argument is existing figure or you will get \ConTeXt’s usual placeholder -for missing figures. - -\starttyping -\setupletterstyle[backgroundimage=example] - -\startletter -Thus, I came to the conclusion ... -\stopletter -\stoptyping - -When you take a look in the source you will see the module use \type{\overlayfigure} to stretch the graphic -to the size of the paper, it’s up to the user to provide a graphic with the correct width|/|height ration and -a resultion which is high enough to aviud artefacts. - -% background - -\start - -\startuseMPgraphic{dactylus} -draw unitsquare xyscaled (OverlayWidth-2cm,OverlayHeight-2cm) smoothed 1cm withpen pencircle scaled 2 ; -fill fullcircle scaled 1.5cm shifted (1cm,1cm) withcolor \MPcolor{orange} ; -\stopuseMPgraphic - -\setupletterstyle - [backgroundcolor=, - background=\useMPgraphic{dactylus}] - -\startletter -\input knuth -\stopletter - -\stop - -\section{Backgrounds} - -As third and last method you can use the {\em background} parameter which is nothing more than a overlay -which is placed in the background. A example where a graphic is drawn with \MetaPost\ is shown below with -the result on the left page. - -\starttyping -\startuseMPgraphic{dactylus} -draw unitsquare xyscaled (OverlayWidth-2cm,OverlayHeight-2cm) - smoothed 1cm withpen pencircle scaled 2 ; -fill fullcircle scaled 1.5cm shifted (1cm,1cm) - withcolor \MPcolor{orange} ; -\stopuseMPgraphic - -\setupletterstyle[background=\useMPgraphic{dactylus}] - -\startletter -Thus, I came to the conclusion ... -\stopletter -\stoptyping - -You could use this method also to place normal graphic from a external file \type{\externalfigure} -where you have nore detailed control over the figure size etc. It's also possible to define different -background for the first and the second page but the user has to take care of this himself. - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-beginner.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-beginner.tex deleted file mode 100644 index ae83733517c..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-beginner.tex +++ /dev/null @@ -1,457 +0,0 @@ -\startcomponent correspondence-letter-beginner - -\environment correspondence-environment - -\chapter{Beginners’ guide} - -The most important thing in the module for the users is the interface to write the letter text and to set the values for one or more letters. - -You will learn how to write a letter with the module step by step, beginning with just a few lines of text, following with opening and closing sentences and at the end, after you know how to set every kind of information, you will finally learn how to change the position of the reference line and how to change the texts for the labels and to customise their style and color. - -\start - -\setupletter[alternative=none] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Pure text} - -To understand how a letter is written let’s study the code for the example letter on the left page. - -\starttyping -\usemodule[letter] - -\starttext - -\startletter -Thus, I came to the conclusion ... -\stopletter - -\stoptext -\stoptyping - -As you can see from the first line the letter module has to be loaded before it can be used because it is none of the functions \CONTEXT\ provides by default. To make the examples in the following sections a little bit shorter I will no longer add \type{\usemodule}, \type{\starttext} and \type{\stoptext} but you shouldn’t forget to add all of them in your files. - -The content for your letter is written between the letter environment, it doesn’t matter if you use blank lines before or after the letter text. - -If you take a closer look at the result on the left side you can see the paragraphs are separated by blank lines. This can be changed with the \type{\setupletterstyle} command but let us keep this for later. - -You’re not restricted to only one letter for a file. It is possible to write as many as you like in a file and you could use this to write serial letters. An easier method for this task is described later in this manual. - -\start - -\setupletter[alternative=none] - -\setupletter - [opening={Dear Reader,}, - closing={Greetings from the Author}] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Opening and closing}\index{opening}\index{closing} - -You saw in the last example how to write a simple text. But shouldn’t it be possible to give a few opening and also closing words for the letter, because the reader should know for whom the content is. - -To achieve this the module provides the two variables {\em opening} and {\em closing}. To feed them with text you could either use the optional arguments for \type{\startletter} as done in the current example or you could set them before the start of the letter with the two commands \type{\setupletter} and \type{\setlettervalue}. - -Let us begin with first alternative and set them as arguments for \type{\startletter}: - -\starttyping -\startletter - [opening={Dear Reader,}, - closing={Greetings from the Author}] -Thus, I came to the conclusion ... -\stopletter -\stoptyping - -If you don’t like this method you could set the two values before the letter environment with the \type{\setupletter} command. The text in your file should now look like: - -\starttyping -\setupletter - [opening={Dear Reader,}, - closing={Greetings from the Author}] - -\startletter -Thus, I came to the conclusion ... -\stopletter -\stoptyping - -If you are more interested in a KOMA-Script like solution to set with every command only one value there is as last alternative the \type{\setlettervalue} command, both keyword and content are written between braces. -The first version with braces for two values has the following look. - -\starttyping -\setlettervalue{opening}{Dear Reader,} -\setlettervalue{closing}{Greetings from the Author} -\stoptyping - -The values itself have to be given before the letter environment because values in the letter text are ignored and will never be shown in the output. - -You have also to be careful with the content for the values because commas are interpreted as end of the value if you write it as argument for \type{\startletter} or with \type{\setupletter} and the text has to be protected with braces in this case but you don’t need them when there is no comma in the argument. - -This cannot happen if you set the values with the \type{\setlettervalue} command, because the content is delimited by the braces and commas are just normal text. - -\page[left] - -\start - -\setupletter[alternative=none] - -\setupletter - [opening={Dear Reader,}, - closing={Greetings from the Author}, - subject={Step by step guide to write a letter}] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Subject}\index{subject} - -After you read how to write the text and set values for the opening and closing we mention now how we can write a subject. - -Instead of integrating this point in the last section I wrote a new one to let you understand the system. Before I will tell more let’s take a look at the code. - -\starttyping -\startletter - [opening={Dear Reader,}, - subject={Step by step guide to write a letter}, - closing={Greetings from the Author}] -Thus, I came to the conclusion ... -\stopletter -\stoptyping - -The text for the subject is written as argument for {\em subject} as argument for \type{\startletter}, as you already guess you could have set it also with \type{\setupletter} or \type{\setlettervalue} and this is also possible and true for the values in the following sections. - -Besides the {\em subject} you have also the option to set a {\em title} for the letter. There is no big difference between them, but the title is normally written before the subject and has a slightly bigger size or is emphasized in another way. - -\start - -\setupletterstyle[whitespace=line] - -\setupletter - [toname={Mike Wilson}, - toaddress={Linden street 12\\78569 TeX City}] - -\setupletter - [opening={Dear Reader,}, - closing={Greetings from the Author}, - subject={Step by step guide to write a letter}] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Address}\flushatnextpar{\index{toname}\index{toaddress}} - -Letters are normally meant to be sent by mail. To prevent you from writing the address by hand on the envelope you could buy envelopes with windows. To use these envelopes the address has to be written on the letter and to do this you have to set the {\em name} and the {\em address} for the addressee with the two values {\em toname} and {\em toaddress}. - -The input for the example on the left page looks like: - -\starttyping -\setupletter - [toname={Mike Wilson}, - toaddress={Linden street 12\\78569 TeX City}] - -\startletter - [opening={Dear Reader,}, - subject={Step by step guide to write a letter}, - closing={Greetings from the Author}] -Thus, I came to the conclusion ... -\stopletter -\stoptyping - -The author prefers to set the values for the addressee not with \type{\startletter} but with \type{\setupletter} but this is just a matter of taste and you can select what fits your own working style best. - -\start - -\setupletter - [fromname={The Author}, - fromaddress={Hidden Street 2\\57895 Mystery town}] - -\setupletter - [toname={Mike Wilson}, - toaddress={Linden street 12\\78569 TeX City}] - -\setupletter - [opening={Dear Reader,}, - closing={Greetings from the Author}, - subject={Step by step guide to write a letter}] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Sender}\index{fromname}\index{fromaddress} - -It is not often enough to have just the addressee information on the letter. You’re also looking for a way to put the {\em name} and {\em address} of the sender into the header. - -If you have wondered why the author hasn’t just used {\em name} and {\em address} as keys for the addressee values you will now find the solution. To make the system consistent to set the values for addressee and the sender both needed unique key names to prevent confusion. Which value should use the simpler and which one a more verbose one both got a prefix to the key to differentiate them. So addressee information got the prefix {\em to} and sender information the prefix {\em from}. - -The additional lines for the example on the left page compared to the previous one are: - -\starttyping -\setupletter - [fromname={The Author}, - fromaddress={Hidden Street 2\\57895 Mystery town}] -\stoptyping - -This manual describes in a later section how to write an own header with a personal look and feel. But this is outside of the user interface and requires knowledge about the layout. - -\start - -\setupletter - [name={Ben Johnson}, - phone={4922-89564}, - fax={4922-89564}] - -\setupletter - [list={name,phone,fax,date}] - -\setupletter - [fromname={The Author}, - fromaddress={Hidden Street 2\\57895 Mystery town}] - -\setupletter - [toname={Mike Wilson}, - toaddress={Linden street 12\\78569 TeX City}] - -\setupletter - [opening={Dear Reader,}, - closing={Greetings from the Author}, - subject={Step by step guide to write a letter}] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Reference line} - -If you’re in a company or an organisation you sometimes need a few extra information on your letter. The reference line or block is the right place to put these information to. - -Our old example from the last section is now extended by a reference line between the information of our addressee and the subject line. The information for the four fields are set with the following code. - -\starttyping -\setupletter - [name={Ben Johnson}, - phone={4922-89564}, - fax={4922-89564}, - date=\currentdate] - -\setupletter - [list={name,phone,fax,date}] -\stoptyping - -The first \type{\setupletter} set the content for the four fields {\em name}, {\em phone}, {\em fax} and {\em date}. Although the values are set none of them will appear in the output. We have to declare the fields for the reference line first, this is done in the second \type{\setupletter} command with the key {\em list}, the entries appear in the same order as you write them in the list. If one or more of the keys in the list have no values they will still appear in the output but no content is shown. - -If you do not change the {\em list} key in your file, by default the module will show the current date at the right side of the reference line. This will normally always happen and you could see the result in the examples of the two preceding sections. - -\start - -\setupletter - [name={Ben Johnson}, - phone={4922-89564}, - fax={4922-89564}] - -\setupletter - [list={name,phone,fax,date}] - -\setupletter - [fromname={The Author}, - fromaddress={Hidden Street 2\\57895 Mystery town}] - -\setupletter - [toname={Mike Wilson}, - toaddress={Linden street 12\\78569 TeX City}] - -\setupletter - [opening={Dear Reader,}, - closing={Greetings from the Author}, - subject={Step by step guide to write a letter}, - signature={Arthur Thor}] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Signature}\index{signature} - -You know now how to set the letter text, the opening and closing lines, the values for the addressee and the sender and also how define your own values for the reference line. - -Most of the things needed for a letter are already told but a few fields at the end of the letter remain untold. The first line you want to add to our example letter is the signature. It is set with the {\em signature} in the same way as the other values in the former examples. What the author did in the left example was: - -\starttyping -\setupletter - [signature={Arthur Thor}] -\stoptyping - -There is some space between the closing and the signature to give you the possibility to sign the letter after having printed it out. - -You’re not limited to simple text for the signature. It is also possible to use a graphic if you won’t sign the letter by hand after you printed it. This solution is used in the following code. - -\starttyping -\setupletter - [signature={\externalfigure[autograph][height=2\lineheight]}] -\stoptyping - -How to adjust the space between the closing line and the signature for this way is shown in the letter style section. - -\start - -\setupletter - [name={Ben Johnson}, - phone={4922-89564}, - fax={4922-89564}] - -\setupletter - [list={name,phone,fax,date}] - -\setupletter - [fromname={The Author}, - fromaddress={Hidden Street 2\\57895 Mystery town}] - -\setupletter - [toname={Mike Wilson}, - toaddress={Linden street 12\\78569 TeX City}] - -\startletter - [opening={Dear Reader,}, - subject={Step by step guide to write a letter}, - closing={Greetings from the Author}, - signature={Arthur Thor}] - -\input knuth\par - -\ps{Postscript} - -\stopletter - -\stop - -\section{Postscript}\index{postscript}\index{\tex{ps}} - -\starttyping -\startletter - -... - -\ps{Postscript} - -\stopletter -\stoptyping - -\start - -\setupletter - [name={Ben Johnson}, - phone={4922-89564}, - fax={4922-89564}] - -\setupletter - [list={name,phone,fax,date}] - -\setupletter - [fromname={The Author}, - fromaddress={Hidden Street 2\\57895 Mystery town}] - -\setupletter - [toname={Mike Wilson}, - toaddress={Linden street 12\\78569 TeX City}] - -\startletter - [opening={Dear Reader,}, - subject={Step by step guide to write a letter}, - closing={Greetings from the Author}, - signature={Arthur Thor}] - -\input knuth\par - -\ps{Postscript} - -\encl{Appendices} - -\stopletter - -\stop - -\section{Enclosure}\index{enclosure}\index{\tex{encl}} - -\starttyping -\startletter - -... - -\ps{Postscript} -\encl{Appendices} - -\stopletter -\stoptyping - -\start - -\setupletter - [name={Ben Johnson}, - phone={4922-89564}, - fax={4922-89564}] - -\setupletter - [list={name,phone,fax,date}] - -\setupletter - [fromname={The Author}, - fromaddress={Hidden Street 2\\57895 Mystery town}] - -\setupletter - [toname={Mike Wilson}, - toaddress={Linden street 12\\78569 TeX City}] - -\startletter - [opening={Dear Reader,}, - subject={Step by step guide to write a letter}, - closing={Greetings from the Author}, - signature={Arthur Thor}] - -\input knuth\par - -\ps{Postscript} - -\encl{Appendices} - -\cc{List of recipients} - -\stopletter - -\stop - -\section{Copy}\index{copy}\index{\tex{cc}} - -\starttyping -\startletter - -... - -\ps{Postscript} -\encl{Appendices} -\cc{List of recipients} - -\stopletter -\stoptyping - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-examples.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-examples.tex deleted file mode 100644 index e0bb15d0e0b..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-examples.tex +++ /dev/null @@ -1,511 +0,0 @@ -\startcomponent correspondence-letter-examples - -\environment correspondence-environment - - - -% short example for single page layouts - -\startbuffer[example:content] - -\setupletter - [fromname={John Simmons}, - fromaddress={Parkstreet 12\\8257 Green Bay}] - -\setupletter - [toname={Steve Wilson}, - toaddress={Nightstreet 4a\\9183 Cotton Village}] - -\startletter - [opening={Dear Mr Wilson,}, - subject={Brand new templates for Word}, - closing={Best regards}, - signature={John Simmons}] - -\input knuth\par - -\stopletter - -\stopbuffer - -% long example for double page examples (included in running text) - -\startbuffer[example:long] - -\setupletterstyle[option][backgroundcolor=,before=] - -\setupletter - [fromname={John Simmons}, - fromaddress={Parkstreet 12\\8257 Green Bay}] - -\setupletter - [toname={Steve Wilson}, - toaddress={Nightstreet 4a\\9183 Cotton Village}] - -\startletter - [opening={Dear Mr Wilson,}, - subject={Brand new templates for Word}, - closing={Best regards}, - signature={John Simmons}] - -\dorecurse{4}{\input knuth\par} - -\stopletter - -\stopbuffer - - - -% general text about the example - -\chapter{Letter Examples} - -The letter module consits not only of just the main module, it contains also a few already defined styles for different countries and each of them use slightly different position for the layers and other setups. - -This section will give you a overview of all included styles you could use with the module without the need to write your own style. - - - -% DIN 676 B - -\start - -\getbuffer[example:content] - -\stop - -\startexamplecontent[dinb] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:dinb]{DIN 676 B}\index{DIN 676 B} - -The letter style \filename{dinb} is the default style for the module and is used if nothing else is specified by the user. - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[dinb][1]}{First page} - {\examplecontent[dinb][2]}{Second page} - \stopcombination} - - - -% DIN 676 A - -\start - -\useletterstyle[dina] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[dina] - -\useletterstyle[dina] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:dina]{DIN 676 A}\index{DIN 676 A} - -The second style \filename{dina} follows the same rules as the style \filename{dinb} but all fields shifted by the same value upwards to give you more space for the lettercontent. - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[dina][1]}{First page} - {\examplecontent[dina][2]}{Second page} - \stopcombination} - - - -% NEN 1026 - -\start - -\useletterstyle[dutch] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[dutch] - -\useletterstyle[dutch] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:dutch]{NEN 1026}\index{NEN 1026} - -The third style supported by the letter module is for dutch letters, the name of the style is called \filename{dutch}. The values and examples for the style are provided by Willi Egger. - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[dutch][1]}{First page} - {\examplecontent[dutch][2]}{Second page} - \stopcombination} - - - -% French style - -\start - -\useletterstyle[french] - -\setupletterstyle[indenting={yes,1cm}] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[french] - -\useletterstyle[french] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:french]{French} - -The french style is based on values given to me by Olivier Guéry. - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[french][1]}{First page} - {\examplecontent[french][2]}{Second page} - \stopcombination} - - - -% Full block - -\start - -\useletterstyle[fullblock] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[fullblock] - -\useletterstyle[fullblock] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:fullblock]{Full-block Style}\index{Full-block} - -The full-block format is the simplest of all six blockstyle formats. -Every part of the letter starts at the left margin with a blank line between -each part. - -The order of the parts is date, inside address, attention line, salutation, -subject line, body, complimentary close, signature and additional information. - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[fullblock][1]}{First page} - {\examplecontent[fullblock][2]}{Second page} - \stopcombination} - - - -% Modified - -\start - -\useletterstyle[modified] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[modified] - -\useletterstyle[modified] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:modified]{Modified Block Style}\index{Modified} - -The modified style has the same layout as the full-block style but the date, -signature and closing moved to the right, which allows them to stand. - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[modified][1]}{First page} - {\examplecontent[modified][2]}{Second page} - \stopcombination} - - - -% Semiblock - -\start - -\useletterstyle[semiblock] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[semiblock] - -\useletterstyle[semiblock] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:semiblock]{Semiblock Style}\index{Semiblock} - -The semiblock style is the format most people recognize as business letter. - -The layout is the same as in the modified style. Paragraphs are intended -by five spaces\footnote{The semiblock letter style use the \type{medium} -value for \type{\setupindenting} to indent the paragraphs.}. - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[semiblock][1]}{First page} - {\examplecontent[semiblock][2]}{Second page} - \stopcombination} - - - -% Simplified - -\start - -\useletterstyle[simplified] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[simplified] - -\useletterstyle[simplified] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:simplified]{Simplified Style}\index{Simplified} - -The simplified style is used when you don't know the name of the person -you're writing to or when you write to a company. - -It contains no title, salutation or complimentary closing. The main focus -is the body of the letter. - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[simplified][1]}{First page} - {\examplecontent[simplified][2]}{Second page} - \stopcombination} - - - -% Hanging style - -\start - -\useletterstyle[hanging] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[hanging] - -\useletterstyle[hanging] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:hanging]{Hanging indented Style}\index{Hanging} - -The hanging indented format is seldom used. It's main advantage -is that it calls attention to the body and each paragraph. - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[hanging][1]}{First page} - {\examplecontent[hanging][2]}{Second page} - \stopcombination} - - - -% Memorandum - -\start - -\useletterstyle[memo] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[memo] - -\useletterstyle[memo] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:memo]{Memo Style}\index{Memo} - -The memo style used primarily for interoffice communication. The top of -the memo indicates the date, the name of the recipient, the name of the -sender and the subject. - -The abbreviation \quotation{RE} is sometimes used instead of \quotation{Subject}. - -A signature and additional information are optional. The signature is placed -near the center with the additional information at the left margin. - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[memo][1]}{First page} - {\examplecontent[memo][2]}{Second page} - \stopcombination} - - - -% English style - -\starthiding - -\start - -\useletterstyle[english] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[english] - -\useletterstyle[english] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:english]{English Style} - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[english][1]}{First page} - {\examplecontent[english][2]}{Second page} - \stopcombination} - -\stophiding - - - -% Swiss style - -\start - -\useletterstyle[swiss] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[swiss] - -\useletterstyle[swiss] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:swiss]{Swiss Style A} - -\startframedtext[width=\textwidth,framecolor=red,align=middle,corner=00] -The layout of this style is not finished, if you want to use it give -me information about the correct margins and position of the elements. -\stopframedtext - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[swiss][1]}{First page} - {\examplecontent[swiss][2]}{Second page} - \stopcombination} - - - -% Swiss left style - -\start - -\useletterstyle[swissleft] - -\getbuffer[example:content] - -\stop - -\startexamplecontent[swissleft] - -\useletterstyle[swissleft] - -\getbuffer[example:long] - -\stopexamplecontent - -\section[letter:example:swissleft]{Swiss Style B} - -\startframedtext[width=\textwidth,framecolor=red,align=middle,corner=00] -The layout of this style is not finished, if you want to use it give -me information about the correct margins and position of the elements. -\stopframedtext - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[swissleft][1]}{First page} - {\examplecontent[swissleft][2]}{Second page} - \stopcombination} - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-extension.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-extension.tex deleted file mode 100644 index 96567e9cfad..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-extension.tex +++ /dev/null @@ -1,28 +0,0 @@ -\startcomponent correspondence-letter-extension - -\environment correspondence-environment - -\chapter{Extensions} - -The letter module provides a special type of files, called extensions. -They provide functions that could be used by different files like the -labels for each language (\filename{label.nle}) or extra features -like page optimization (\filename{optimize.nle}). - -You can load extension files either with the letter module and write -their names as arguments to the \type{extension} key or afterwards in -your file with the \type{\useletterextension} command. - -\setup[useletterextension] - -The module itself comes with the following extensions: - -\starttabulate[|Bl|p|] -\NC label \NC Label texts for different languages \NC\NR -\NC pragma \NC Example content for Hans own letter module \NC\NR -\NC optimize \NC Increase or decrease the distance between - paragraphs to fill a page with at least 25\% - of the text height \NC\NR -\stoptabulate - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-header.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-header.tex deleted file mode 100644 index 68c34f640e4..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-header.tex +++ /dev/null @@ -1,173 +0,0 @@ -\startcomponent correspondence-letter-header - -\environment correspondence-environment - -\startbuffer[firsthead] -\switchtobodyfont[6pt] -\setlettervalue{fromname} {Max Mustermann} -\setlettervalue{fromaddress}{Musterweg 12\\12345 Musterstadt} -\setlettervalue{fromphone} {1234/567890} -\setlettervalue{fromfax} {1234/567891} -\setlettervalue{fromemail} {max.mustermann@muster.com} -\setlettervalue{fromurl} {max.mustermann.com} -\stopbuffer - -\chapter{Header and Footer} - -\section{Header} - -The head of a letter is the part where you can make the most customization, -when you don't want to do this the module provides a few predefined alternatives -which can be decorated with rules. - -The layout of the head is the selected with the \type{\setupletterstyle} command -and the \type{alternative} key, the second key \type{fromrule} is used for the three -alternatives {\em a, b} and {\em c.} - -\starttyping -\setupletterstyle - [head] - [alternative=..., - fromrule=...] -\stoptyping - -You can select between the following alternatives: - -\startitemize[columns,three,packed] -\item a -\item left -\item middle -\item right -\stopitemize - -The \type{fromrule} key accepts the following parameters which can be combined to get -a rule at the top and bottom of the header. - -\startitemize[columns,three,packed] -\item no -\item none -\item off -\item top -\item before -\item bottom -\item after -\item yes -\item on -\stopitemize - -The default alternative {\em a} prints the firstname and surname of the author in -the first line and the address in the following lines, the text is left aligned -but this can be changed with the \type{align} key. - -\start - -\setlettervalue{fromname} {Max Mustermann} -\setlettervalue{fromaddress}{Musterweg 12\\12345 Musterstadt} - -\startelement -\letterelement[head][a] -\stopelement - -\stop - -The other three alternatives {\em left, middle} and {\em right} place the text according -to their names in the left, center or right of the head with a few information than the -default layout provides. You can enable a option rule after the name of the addressee and -at the bottom of the address block. - -\placefigure - [force,none] - {} - {\setupcombinations[before=] - \startcombination[3*3] - {\startsmallelement - \getbuffer[firsthead] - \setupletterstyle[head][fromrule=no] - \letterelement[head][left] - \stopsmallelement} - {\starttable[s1|r|c|l|] - \NC alternative \NC = \NC left \NC\AR - \NC fromrule \NC = \NC no \NC\AR - \stoptable} - {\startsmallelement - \getbuffer[firsthead] - \setupletterstyle[head][fromrule=no] - \letterelement[head][middle] - \stopsmallelement} - {\starttable[s1|r|c|l|] - \NC alternative \NC = \NC middle \NC\AR - \NC fromrule \NC = \NC no \NC\AR - \stoptable} - {\startsmallelement - \getbuffer[firsthead] - \setupletterstyle[head][fromrule=no] - \letterelement[head][right] - \stopsmallelement} - {\starttable[s1|r|c|l|] - \NC alternative \NC = \NC right \NC\AR - \NC fromrule \NC = \NC no \NC\AR - \stoptable} - {\startsmallelement - \getbuffer[firsthead] - \setupletterstyle[head][fromrule=top] - \letterelement[head][left] - \stopsmallelement} - {\starttable[s1|r|c|l|] - \NC alternative \NC = \NC left \NC\AR - \NC fromrule \NC = \NC top \NC\AR - \stoptable} - {\startsmallelement - \getbuffer[firsthead] - \setupletterstyle[head][fromrule=top] - \letterelement[head][middle] - \stopsmallelement} - {\starttable[s1|r|c|l|] - \NC alternative \NC = \NC middle \NC\AR - \NC fromrule \NC = \NC top \NC\AR - \stoptable} - {\startsmallelement - \getbuffer[firsthead] - \setupletterstyle[head][fromrule=top] - \letterelement[head][right] - \stopsmallelement} - {\starttable[s1|r|c|l|] - \NC alternative \NC = \NC right \NC\AR - \NC fromrule \NC = \NC top \NC\AR - \stoptable} - {\startsmallelement - \getbuffer[firsthead] - \setupletterstyle[head][fromrule=bottom] - \letterelement[head][left] - \stopsmallelement} - {\starttable[s1|r|c|l|] - \NC alternative \NC = \NC left \NC\AR - \NC fromrule \NC = \NC bottom \NC\AR - \stoptable} - {\startsmallelement - \getbuffer[firsthead] - \setupletterstyle[head][fromrule=bottom] - \letterelement[head][middle] - \stopsmallelement} - {\starttable[s1|r|c|l|] - \NC alternative \NC = \NC middle \NC\AR - \NC fromrule \NC = \NC bottom \NC\AR - \stoptable} - {\startsmallelement - \getbuffer[firsthead] - \setupletterstyle[head][fromrule=bottom] - \letterelement[head][right] - \stopsmallelement} - {\starttable[s1|r|c|l|] - \NC alternative \NC = \NC right \NC\AR - \NC fromrule \NC = \NC bottom \NC\AR - \stoptable} - \stopcombination} - -\section{Footer} - -\startframedtext[width=\textwidth,framecolor=red,align=middle,corner=00] -No default style/alternatives for the foot are provided from the module, -the current section will therefore show ways to create own ones. -\stopframedtext - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-interface.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-interface.tex deleted file mode 100644 index bda80c6012b..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-interface.tex +++ /dev/null @@ -1,190 +0,0 @@ -\startcomponent correspondence-letter-interface - -\environment correspondence-environment - -\chapter{Interface} - - -% Default interface - -\startexamplecontent[interface:default] - -\setupletterstyle[option][backgroundcolor=] - -\startletter -\dorecurse{4}{\input knuth\par} -\stopletter - -\stopexamplecontent - -\start - -\startletter -\input knuth -\stopletter - -\stop - -\section{Default} - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[interface:default][1]}{First page} - {\examplecontent[interface:default][2]}{Second page} - \stopcombination} - -\setup[letter] - - -% Pragma interface - -\startexamplecontent[interface:pragma] - -\useletterinterface[pragma] - -\setupletterstyle[option][backgroundcolor=] - -\setups[letter:test] - -\startsetups[letter:content] -\dorecurse{6}{\input tufte\par} -\stopsetups - -\setups[letter:place] - -\stopexamplecontent - -\start - -\useletterinterface[pragma] - -\setups[letter:test] - -\setups[letter:place] - -\stop - -\section{Pragma} - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[interface:pragma][1]}{First page} - {\examplecontent[interface:pragma][2]}{Second page} - \stopcombination} - -\starttyping -\startbuffer[texletter] -... -\stopbuffer - -\setups[letter:place] -\stoptyping - - - -% Knuth interface - -\startexamplecontent[interface:knuth] - -\useletterinterface[knuth] - -\setupletterstyle[option][backgroundcolor=] - -\setuppapersize[A4][A4] - -\address -Prof.~Brian~K. Reid -Department of Electricial Engineering -Stanford University -Stanford, CA 94305 - -\body -Dear Prof.~Reid: - -I understand that you are having difficulties with -Alka-Seltzer tablets. Since there are 25~pills -per bottle, while the manufacturer's directions -recommend “plop,~plop, fizz,~fizz,” my colleagues -tell me that you have accumulated a substantial -number of bottles in which there is one tablet -left. % (See the 1978 SCRIBE User Manual, page 90.) - -\dorecurse{10} - {At present I am engaged in research on the potential - applications of isolated analgesics. If you would - be so kind as to donate your Alka||Seltzer collection - to our project, I would be more than happy to send - you preprints of any progress reports that we may - publish concerning this critical problem.\par} - -\closing -Sincerly, -R. J. Drofnats -Professor -\endletter - -\stopexamplecontent - -\start - -\useletterinterface[knuth] - -\setuppapersize[A4][A4] - -\address -Prof.~Brian~K. Reid -Department of Electricial Engineering -Stanford University -Stanford, CA 94305 - -\body -Dear Prof.~Reid: - -I understand that you are having difficulties with -Alka-Seltzer tablets. Since there are 25~pills -per bottle, while the manufacturer's directions -recommend “plop,~plop, fizz,~fizz,” my colleagues -tell me that you have accumulated a substantial -number of bottles in which there is one tablet -left. % (See the 1978 SCRIBE User Manual, page 90.) - -At present I am engaged in research on the potential -applications of isolated analgesics. If you would -be so kind as to donate your Alka||Seltzer collection -to our project, I would be more than happy to send -you preprints of any progress reports that we may -publish concerning this critical problem. - -\closing -Sincerly, -R. J. Drofnats -Professor -\endletter - -\stop - -\section{Knuth} - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[interface:knuth][1]}{First page} - {\examplecontent[interface:knuth][2]}{Second page} - \stopcombination} - -\starttyping -\address -... -\body -... -\closing -... -\endletter -\stoptyping - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-layout.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-layout.tex deleted file mode 100644 index a59efb44731..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-layout.tex +++ /dev/null @@ -1,192 +0,0 @@ -\startcomponent correspondence-letter-examples - -\environment correspondence-environment - -\chapter{Layout} - -The components for the layout of a letter can be divided into {\em letter layers} and {\em letter sections}. You can position letter layers on the page wherever you want and it is also possible to put one layer in front of or behind another layer. - -The underlying mechanism behind letter layers is \CONTEXT’s normal layer mechanism in combination with local framed environments. This is a very powerful combination and you can create complicated layouts with them. - -Letter sections, the second group of components, are not as powerful as letter layers and you only have a limited number of elements to control their layout. - -\setup[setupletterstyle:layout] - -\setup[setupletterstyle:option] - -\start - -\setupletter - [alternative=none] - -\setupletterstyle - [option] - [marking=off, - backaddress=yes] - -\setupletterstyle - [backaddress] - [bottomframe=off] - -\setupletterstyle - [head,foot,address,backaddress,reference] - [background=color, - backgroundcolor=darkgray, - backgroundoffset=-1.5pt] - -\startletter -\dontleavehmode -\stopletter - -\stop - -\section{Letter layers} - -Layers are used to position elements on a page independent of the page layout. -They are used for the header and footer, address block\footnote{The block styles -use a different structure and use a letter section for the address block.}, etc.. - -The complete list of all available layers is: - -\startitemize[packed,columns,three] -\item head -\item letternext -\item lettermain -\item foot -\item address -\item reference -\item location -\item nexthead -\item lefthead -\item righthead -\item nextfoot -\item leftfoot -\item rightfoot -\item topmark -\item botmark -\item cutmark -\item endmark -\item usermark -\item backaddress -\stopitemize - -\starttyping -\setlayer[...]{\framed{...}} -\stoptyping - -The position and layout of the layers can be changed with the \type {\setupletterstyle} command. - -\starttyping -\setupframed[...][..,..=..,..] -\stoptyping - -\setup[setupletterlayer:frame] - -\starttyping -\setuplayer[...][..,..=..,..] -\stoptyping - -\setup[setupletterlayer:layer] - -\starttyping -\getparameters[...][..,..=..,..] -\stoptyping - -\setup[setupletterlayer:option] - -\subsubject{State value} - -\starttabulate -\HL -\NC start \NC show layer on the first page \NC\NR -\NC stop \NC disable layer \NC\NR -\NC first \NC see \mono{start} \NC\NR -\NC next \NC show layer on the second and following pages \NC\NR -\NC left \NC show layer on left pages \NC\NR -\NC right \NC show layer on right pages \NC\NR -\NC leftpage \NC see \mono{left} \NC\NR -\NC rightpage \NC see \mono{right} \NC\NR -\NC page \NC use global pagenumbering for left/right pages \NC\NR -\NC subpage \NC use local pagenumbering for left/right pages \NC\NR -\HL -\stoptabulate - -\start - -\definecolor[fakerulecolor][darkgray] - -\setupletterstyle - [reference] - [alternative=none] - -\setupletterstyle - [enclosure,copy,postscript] - [location=left,width=0pt,before=\nowhitespace,after=\nowhitespace] - -\setuplabeltext - [letter:enclosure=, - letter:copy=, - letter:postscript=] - -\setupletter - [title={\blackrule[width=\hsize,height=\lineheight,color=darkgray]}, - subject={\blackrule[width=\hsize,height=\lineheight,color=darkgray]}, - opening={\blackrule[width=\hsize,height=\lineheight,color=darkgray]}, - closing={\blackrule[width=.33\hsize,height=4\lineheight,color=darkgray]}, - appendices={\blackrule[width=.33\hsize,height=3\lineheight,color=darkgray]}] - -\setlettervalue{title} {\fakewords {5} {10}} -\setlettervalue{subject} {\fakewords {5} {10}} -\setlettervalue{opening} {\fakewords {3} {5}} -\setlettervalue{content} {\fakewords{100}{150}} -\setlettervalue{closing} {\fakewords {2} {4}} -\setlettervalue{enclosure} {\fakewords {3} {6}} -\setlettervalue{copy} {\fakewords {3} {6}} -\setlettervalue{postscript}{\fakewords {3} {6}} - -\startletter -\fakewords{100}{150} -\stopletter - -\stop - -\section{Letter sections} - -\startitemize[packed,columns,three] -\item letterhead\footnote[section:blockstyle]{Only used for the blockstyle layouts.} -\item dateline\note[section:blockstyle] -\item referenceline\note[section:blockstyle] -\item specialnotation\note[section:blockstyle] -\item insideaddress\note[section:blockstyle] -\item title -\item subject -\item opening -\item content -\item closing -\item appendices -\stopitemize - -You can change the layout of a letter section with the \type {\setupletterstyle} -command, the syntax is: - -\setup[setuplettersection] - -\start - -\definecolor[fakerulecolor][darkgray] - -\setupletterstyle - [reference] - [alternative=none] - -\startletter -\fakewords{100}{150} -\stopletter - -\stop - -\section{Letter descriptions} - -\setup[setupletterdescription] - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-pagenumber.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-pagenumber.tex deleted file mode 100644 index 15a979da3ee..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-pagenumber.tex +++ /dev/null @@ -1,30 +0,0 @@ -\startcomponent correspondence-letter-pagenumer - -\environment correspondence-environment - -\start - -\startsetups letter:foot -\midaligned{Page \correspagenumber\ of \numberofcorrespages} -\stopsetups - -\startletter -\input knuth -\stopletter - -\stop - -\chapter{Pagenumbering} - -\starttyping -\correspagenumber -\numberofcorrespages -\stoptyping - -\starttyping -\startsetups letter:head -\rightaligned{Page \correspagenumber\ of \numberofcorrespages} -\stopsetups -\stoptyping - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-reference.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-reference.tex deleted file mode 100644 index 5f6e5141553..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-reference.tex +++ /dev/null @@ -1,750 +0,0 @@ -\startcomponent correspondence-letter-reference - -\environment correspondence-environment - -% Text for each example - -\startbuffer[reference] - -\setupletterstyle - [whitespace=line] - -\setupletter - [name=Willi Maier, - phone=01234-56789, - fax=3456-9853, - date=\currentdate] - -\setupletter - [fromname={Max Mustermann}, - fromaddress={Musterstraße 12\\12345 Musterstadt}] - -\setupletter - [toname={Hans Hansen}, - toaddress={Zielgasse 23\\34789 New Mustertown}] - -\setupletter - [subject={Grund des Anschreibens}, - opening={Sehr geehrte Damen und Herren,}, - closing={Mit freundlichen Grüßen}] - -\stopbuffer - - - -% Chapter intro - -\chapter{Reference line} - -The reference line is used to show information like the date and other information. - -A few styles are predefined and you can select them with: - -\starttyping -\setupletterstyle[reference][alternative=...] -\stoptyping - -By default only the current date is shown in the reference line but you can change -this with list key, you can give a single value or a comma list as argument. - -\starttyping -\setupletterstyle[reference][list=...] -\stoptyping - -For backward compatibility you could set both values also with the \type{\setupletter} -command which are passed down to the \type{\setupletterstyle} command. - -\starttyping -\setupletter - [alternative=..., - list=...] -\stoptyping - - - -% Alternative a - -\start - -\getbuffer[reference] - -\setupletter - [alternative=a, - list={name,phone,date}] - -\setupletter - [name,date,phone] - [titlestyle=\tfx] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Alternative \type{a}} - -The reference alternative \type{a} is enabled with the default style, the only -value you can see is the date. The setup in the default style for the reference -line is like this: - -\starttyping -\setupletterstyle - [reference] - [alternative=a, - list=date] -\stoptyping - -This leads to the following output, you get two lines which are aligned to the right -side with a label in the current mainlanguage on the top line and the current date -on the bottom line. - -\start - -\startelement -\letterelement[reference][a] -\stopelement - -\stop - -You can also show more elements in the reference line by writing them as arguments -to the list key. - -\starttyping -\setupletterstyle - [reference] - [list={name,phone,date}] -\stoptyping - -The values are shown in the given order and spread across the line like below. -To get this effect you need a list with at least two elements, otherwise it -is moved to the right side as you can see in the first example. - -\start - -\getbuffer[reference] - -\setupletterstyle[reference][alternative=a,list={name,phone,date}] - -\startelement -\letterelement[reference][a] -\stopelement - -\stop - - - -% Alternative b - -\start - -\getbuffer[reference] - -\setupletter - [alternative=b, - list={yourref,yourmail,myref,mymail,line,name,room,phone,fax,line,date}] - -\setupletter - [yourref,yourmail,myref,mymail,line,name,room,phone,fax,line,date] - [titlestyle=\tfxx, - separator=: ] - -\setupletter - [yourref=, - yourmail={2880-01-15}, - myref={IV 1 - 24 00}, - mymail=, - name={Max Mustermann}, - phone={01234-56789}, - fax={3456-9853}, - date=\currentdate] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Alternative \type{b}} - -\starttyping -\setupletterstyle - [reference] - [alternative=b] - -\setupletter[date][separator=: ] -\stoptyping - -\start - -\setupletter[date][separator=: ] - -\startelement -\letterelement[reference][b] -\stopelement - -\stop - -\starttyping -\setupletterstyle - [reference] - [alternative=b, - list={name,phone,date}] - -\setupletter - [name,phone,date] - [separator=: ] -\stoptyping - -\start - -\getbuffer[reference] - -\setupletter - [name,phone,date] - [%titlestyle=\tfxx, - separator=: ] - -\setupletterstyle[reference][list={name,phone,date}] - -\startelement -\letterelement[reference][b] -\stopelement - -\stop - -\starttyping -\setupletter - [name,phone,date] - [titlestyle=\tx, - separator=: ] -\stoptyping - -\start - -\getbuffer[reference] - -\setupletter - [name,phone,date] - [titlestyle=\tx, - separator=: ] - -\setupletterstyle[reference][list={name,phone,date}] - -\startelement -\letterelement[reference][b] -\stopelement - -\stop - - - -% Alternative c - -\start - -\getbuffer[reference] - -\setupletter - [alternative=c, - list=reference] - -\setupletter - [reference=\rightaligned{Place, \currentdate}] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Alternative \type{c}} - -\starttyping -\setupletterstyle - [reference] - [alternative=c, - list=reference] - -\setupletter[reference=\rightaligned{\currentdate}] -\stoptyping - -\start - -\setupletterstyle[reference][list=reference] - -\setupletter[reference=\rightaligned{\currentdate}] - -\startelement -\letterelement[reference][c] -\stopelement - -\stop - -\starttyping -\setupletterstyle - [reference] - [alternative=c, - list=reference] - -\setupletter - [reference=\line{\lettervalue{name}\hfill\lettervalue{date}}] -\stoptyping - -\start - -\getbuffer[reference] - -\setupletterstyle[reference][list=reference] - -\setupletter[reference=\line{\lettervalue{name}\hfill\lettervalue{date}}] - -\startelement -\letterelement[reference][c] -\stopelement - -\stop - -You could also use the alternative \type{c} to create your own reference line. - -The following example show you a way to create own similar the alternative \type{a} -but now with a natural table and a hard coded order of the elements. - -\starttyping -\setupletterstyle - [reference] - [alternative=c, - list=reference] - -\startsetups reference:customized - - \bTABLE[frame=off,offset=0pt,width=.25\hsize] - \bTR - \bTD \labeltext{letter:name} \eTD - \bTD \labeltext{letter:phone} \eTD - \bTD \labeltext{letter:fax} \eTD - \bTD \labeltext{letter:date} \eTD - \eTR - \bTR - \bTD \lettervalue{name} \eTD - \bTD \lettervalue{phone} \eTD - \bTD \lettervalue{fax} \eTD - \bTD \lettervalue{date} \eTD - \eTR - \eTABLE - -\stopsetups - -\setupletter - [reference=\setups{reference:customized}] -\stoptyping - -The code results in the following result. - -\start - -\getbuffer[reference] - -\setupletterstyle[reference][list=reference] - -\startsetups reference:customized -\bTABLE[frame=off,offset=0pt,width=.25\hsize] - \bTR - \bTD \labeltext{letter:name} \eTD - \bTD \labeltext{letter:phone} \eTD - \bTD \labeltext{letter:fax} \eTD - \bTD \labeltext{letter:date} \eTD - \eTR - \bTR - \bTD \lettervalue{name} \eTD - \bTD \lettervalue{phone} \eTD - \bTD \lettervalue{fax} \eTD - \bTD \lettervalue{date} \eTD - \eTR -\eTABLE -\stopsetups - -\setupletter[reference=\setups{reference:customized}] - -\startelement -\letterelement[reference][b] -\stopelement - -\stop - - -% Alternative d - -\start - -\getbuffer[reference] - -\setupletter - [alternative=d, - list={yourref,yourmail,myref,mymail,line,name,room,phone,fax,line,date}] - -\setupletter - [yourref,yourmail,myref,mymail,line,name,room,phone,fax,line,date] - [titlestyle=\tfxx, - separator=: ] - -\setupletter - [yourref=, - yourmail={2880-01-15}, - myref={IV 1 - 24 00}, - mymail=, - name={Max Mustermann}, - phone={01234-56789}, - fax={3456-9853}, - date=\currentdate] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Alternative \type{d}} - -\starttyping -\setupletterstyle - [reference] - [alternative=b] -\stoptyping - -\start - -\startelement -\letterelement[reference][d] -\stopelement - -\stop - -\starttyping -\setupletterstyle - [reference] - [alternative=d, - list={name,phone,date}] -\stoptyping - -\start - -\getbuffer[reference] - -\setupletterstyle[reference][list={name,phone,date}] - -\startelement -\letterelement[reference][d] -\stopelement - -\stop - -\starttyping -\setupletter - [name,phone,date] - [separator=: ] -\stoptyping - -\start - -\getbuffer[reference] - -\setupletterstyle[reference][list={name,phone,date}] - -\setupletter[name,phone,date][separator=: ] - -\startelement -\letterelement[reference][d] -\stopelement - -\stop - -\starttyping -\setupletter - [name,phone,date] - [titlestyle=\tx, - separator=: ] -\stoptyping - -\start - -\getbuffer[reference] - -\setupletterstyle[reference][list={name,phone,date}] - -\setupletter[name,phone,date][titlestyle=\tx,separator=: ] - -\startelement -\letterelement[reference][d] -\stopelement - -\stop - - - -% Alternative e - -\start - -\getbuffer[reference] - -\setupletter - [alternative=e, - list={name,phone,date}] - -\setupletter - [name,date,phone] - [titlestyle=\tfx, - width=\dimexpr\textwidth/3\relax] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Alternative \type{e}} - -\starttyping -\setupletterstyle - [reference] - [alternative=e] -\stoptyping - -\start - -\getbuffer[reference] - -\setupletter[date][width=.25\hsize] - -\startelement -\letterelement[reference][e] -\stopelement - -\stop - -\starttyping -\setupletterstyle - [reference] - [alternative=e, - list={name,phone,date}] - -\setupletter - [name,date,phone] - [width=.25\textwidth] -\stoptyping - -\start - -\getbuffer[reference] - -\setupletterstyle[reference][list={name,phone,date}] - -\setupletter[name,date,phone][width=.25\hsize] - -\startelement -\letterelement[reference][e] -\stopelement - -\stop - - - -% Alternative none - -\start - -\getbuffer[reference] - -\setupletterstyle[reference][alternative=none] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Alternative \type{none}} - -The last alternative \type{none} is different from the previous alternatives. - -It disables the complete reference line and use as only alternative the values -from layout for the first page to the distance till the first line of the letter -while the other ignores this values and calculate it based on the position, height -and distance after the reference line. - -You choose in the same way as the other alternatives. - -\starttyping -\setupletterstyle - [reference] - [alternative=none] -\stoptyping - - - -% User defined line - -\start - -\getbuffer[reference] - -\defineletterelement[reference][customized] - {\setupTABLE [height=18mm,frame=off,offset=0pt]% - \setupTABLE[c][1,2] [width=50.8mm]% - \setupTABLE[c][3,4,5][width=25.4mm]% - \bTABLE - \bTR - \bTD[m=3] \labeltext{letter:fax} \\\lettervalue{fax} \eTD - \bTD \labeltext{letter:email} \\\lettervalue{email} \eTD - \eTR - \bTR - \bTD \labeltext{letter:yourref}\\\lettervalue{yourref} \eTD - \bTD \labeltext{letter:myref} \\\lettervalue{myref} \eTD - \bTD[nx=2] \labeltext{letter:phone} \\\lettervalue{phone} \eTD - \bTD \labeltext{letter:date} \\\lettervalue{date} \eTD - \eTR - \eTABLE} - -\setupletterstyle - [reference] - [alternative=customized, - voffset=\dimexpr80.4mm-\strutht\relax] - -\setupletterstyle - [firstpage] - [topspace=11.5cm] - -\setupletter - [yourref={2880-01-15}, - myref={IV 1 - 24 00}, - name={Max Mustermann}, - phone={01234-56789}, - fax={3456-9853}, - date={\currentdate[year,--,mm,--,dd]}] - -\startletter -\input knuth\par -\stopletter - -\stop - -\section{Customized reference line} - -\start\setuptyping[bodyfont=small] -\starttyping -\defineletterelement[reference][customized] - {\setupTABLE [height=18mm,frame=off,offset=0pt]% - \setupTABLE[c][1,2] [width=50.8mm]% - \setupTABLE[c][3,4,5][width=25.4mm]% - \bTABLE - \bTR - \bTD[m=3] \labeltext{letter:fax} \\\lettervalue{fax} \eTD - \bTD \labeltext{letter:email} \\\lettervalue{email} \eTD - \eTR - \bTR - \bTD \labeltext{letter:yourref}\\\lettervalue{yourref} \eTD - \bTD \labeltext{letter:myref} \\\lettervalue{myref} \eTD - \bTD[nx=2] \labeltext{letter:phone} \\\lettervalue{phone} \eTD - \bTD \labeltext{letter:date} \\\lettervalue{date} \eTD - \eTR - \eTABLE} -\stoptyping -\stop - -%\starttyping -%\defineletterelement[reference][sideline]% -% {} -%\stoptyping - -\starttyping -\setupletterstyle - [firstpage] - [topspace=11.5cm] - -\setupletterstyle - [reference] - [alternative=customized] -\stoptyping - -\page[right] - -\starttyping -\defineletterelement[reference][customized] - {\bTABLE[frame=off,offset=0pt,width=.25\hsize] - \bTR - \bTD \labeltext{letter:name} \eTD - \bTD \labeltext{letter:phone} \eTD - \bTD \labeltext{letter:fax} \eTD - \bTD \labeltext{letter:date} \eTD - \eTR - \bTR - \bTD \lettervalue{name} \eTD - \bTD \lettervalue{phone} \eTD - \bTD \lettervalue{fax} \eTD - \bTD \lettervalue{date} \eTD - \eTR - \eTABLE} -\stoptyping - -\page[left] - -\start - -\useletterstyle[dina] - -\getbuffer[reference] - -\defineletterelement[reference][sideline] - {\framed - [frame=off, - align={right,high}, - foregroundstyle=small, - width=4cm, - height=\textwidth] - {Vorname Nachname\\ - 01234/567890\\ - hans.meier@muster.de}} - -\setupletterstyle - [firstpage,secondpage] - [topspace=8cm, - width=13cm] - -\setupletterstyle - [reference] - [alternative=sideline, - hoffset=\dimexpr\backspace+\textwidth+1em\relax, - voffset=\topspace] - -\startletter -\input knuth\par -\stopletter - -\stop - -\starttyping -\defineletterelement[reference][sideline] - {\framed - [frame=off, - align={right,high}, - foregroundstyle=small, - width=4cm, - height=\textwidth] - {Vorname Nachname\\ - 01234/567890\\ - hans.meier@muster.de}} - -\setupletterstyle - [firstpage,secondpage] - [topspace=8cm, - width=13cm] - -\setupletterstyle - [reference] - [alternative=sideline, - hoffset=\dimexpr\backspace+\textwidth+1em\relax, - voffset=\topspace] -\stoptyping - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-styles.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-styles.tex deleted file mode 100644 index db2abe25426..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-styles.tex +++ /dev/null @@ -1,30 +0,0 @@ -\startcomponent correspondence-letter-styles - -\environment correspondence-environment - -\chapter{Styles} - -The already comes with a few predefined styles, to use them write the name in the second -column either as argument to {\em style} when you load the module or later in your document -with \type{\useletterstyle}. - -\starttabulate[|l|l|l|] -\NC \bf Description \NC \bf Name \NC \bf Page \NC\NR -\NC German style DIN 676 A \NC dina \NC \at[letter:example:dina] \NC\NR -\NC German style DIN 676 B \NC dinb \NC \at[letter:example:dinb] \NC\NR -\NC Dutch letter style \NC dutch \NC \at[letter:example:dutch] \NC\NR -\NC French letter style \NC french \NC \at[letter:example:french] \NC\NR -%\NC English letter style \NC english \NC \at[letter:example:english] \NC\NR -\NC Full-block \NC fullblock \NC \at[letter:example:fullblock] \NC\NR -\NC Semiblock \NC semiblock \NC \at[letter:example:semiblock] \NC\NR -\NC Modified block \NC modified \NC \at[letter:example:modified] \NC\NR -\NC Hanging intended \NC hanging \NC \at[letter:example:hanging] \NC\NR -\NC Memo style \NC memo \NC \at[letter:example:memo] \NC\NR -\NC Simplified style \NC simplified \NC \at[letter:example:simplified] \NC\NR -\NC Swiss style \NC swiss \NC \at[letter:example:swiss] \NC\NR -\NC Swiss left style \NC swissleft \NC \at[letter:example:swissleft] \NC\NR -\stoptabulate - -The result of each page can be found on the pages shown in the third column. - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-values.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-values.tex deleted file mode 100644 index aa04ff6b7e9..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-values.tex +++ /dev/null @@ -1,135 +0,0 @@ -\startcomponent correspondence-letter-values - -\environment correspondence-environment - -\chapter{Values and Labels} - -\section{Values} - -When you write a letter you have to set some values for the reference line like the date -and other ones like the name and address of the addressee for the address block. This can -be done with the two commands \type{\setlettervalue} and \type{\setupletter}. - -\setup[setlettervalue]\flushatnextpar{\index{\tex{setlettervalue}}} - -\setup[setupletter:value]\flushatnextpar{\index{\tex{setupletter}}} - -The first command \type{\setlettervalue} takes two commands like \type{\setvalue} or -\type{\setvariable}. - -\starttyping -\setlettervalue{firstname} {Mike} -\setlettervalue{familyname}{Johnson} -\stoptyping - -There is also an optional argument between the name and the content of the value, -which is explained in the next section. - -Using the second command \type{\setupletter} you can set multiple values separated -by commas. It’s similar to \type{\setvariables}. The previous example will look like: - -\starttyping -\setupletter - [firstname=Mike, - familyname=Johnson] -\stoptyping - -As you can seen in the following command overview for \type{\setupletter} the command has -two arguments while we only used one in the last example. The two argument form is used -to change the layout for the values in the reference (and others) line like: - -\starttyping -\setupletter - [date,name] - [titlestyle=\tfx, - titlecolor=gray] -\stoptyping - -The complete list of arguments is: - -\setup[setupletter:setup]\flushatnextpar{\index{\tex{setupletter}}} - -\starttyping -\setupletter[..,..=..,..] -\setupletter[...,...][..,..=..,..] - -\setlettervalue{...}{...} -\stoptyping - -\section{Labels} - -When you take a look at the reference section of the examples you can see all of them -having a label above or on the left or the content. But this did only happen because the -module provides preset texts for them. - -Trying to use a nondefined label like e.g. {\em skype} you will see the content of the value -as below but no label above. - -The following code - -\starttyping -\setlettervalue{date} {\currentdate} -\setlettervalue{skype}{corres.context} - -\setupletterstyle[reference][list={skype,date}] -\stoptyping - -result in this reference line: - -\start - -\setlettervalue{date} {\currentdate} -\setlettervalue{skype}{corres.context} - -\setupletterstyle[reference][list={skype,date}] - -\startelement -\letterelement[reference][a] -\stopelement - -\stop - -The module uses \ConTeXt’s label text mechanism to define text for various languages -which can be found in the file \filename{default.nle}. To define your own text use -the \type{\setuplabeltext} command. To prevent problems with other macros the names -of the labels are prefixed with {\em letter:}.\footnote{The {\em memo} style makes -an exception to this concept and uses {\em memo:} as prefix for the label names.} - -\setup[setuplabeltext]\flushatnextpar{\index{\tex{setuplabeltext}}} - -To add a label for our currently used {\em skype} value put the following -line in your document and change the language tag to the main language you use -in your document. - -\starttyping -\setuplabeltext[en][letter:skype=Skype] -\stoptyping - -The reference line now looks like: - -\start - -\setuplabeltext[en][letter:skype=Skype] - -\setlettervalue{date} {\currentdate} -\setlettervalue{skype}{corres.context} - -\setupletterstyle[reference][list={skype,date}] - -\startelement -\letterelement[reference][a] -\stopelement - -\stop - -When you use \type{\setlettervalue} to set the content of the values the optional -argument can be used instead of \type{\setuplabeltext} to define a text for the label -in the current main language. An empty argument results in an empty label text. - -The two step setting for the value {\em skype} can the be done with this setting. - -\starttyping -\setlettervalue{skype}[Skype]{corres.context} -\stoptyping - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-resume-examples.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-resume-examples.tex deleted file mode 100644 index 161823862fb..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-resume-examples.tex +++ /dev/null @@ -1,205 +0,0 @@ -\startcomponent correspondence-resume-examples - -\environment correspondence-environment - - - -% short example for full page examples - -\startbuffer[resume:short] - -\setresumevalue{image} {\blackrule[width=25mm,height=25mm]} -\setresumevalue{firstname} {John} -\setresumevalue{familyname}{Doe} -\setresumevalue{title} {Resum\'e title (optional)} -\setresumevalue{quote} {Some quote (optional)} -\setresumevalue{street} {street and number} -\setresumevalue{town} {postcode city} -\setresumevalue{mobile} {mobile (optional)} -\setresumevalue{phone} {phone (optional)} -\setresumevalue{fax} {fax (optional)} -\setresumevalue{email} {email (optional)} -\setresumevalue{info} {additional information (optional)} - -\startresume - -\section{Education} - -\cventry{year--year}{Degree}{Institution}{City}{\it Grade}{Description} -\cventry{year--year}{Degree}{Institution}{City}{\it Grade}{Description} - -\section{Master thesis} - -\cvline{title}{\em Title} -\cvline{supervisors}{Supervisors} -\cvline{description}{\tx Short thesis abstract} - -\section{Experience} - -\subsection{Vocational} - -\cventry{year--year}{Job title}{Employer}{City}{}{Description} -%\cventry{year--year}{Job title}{Employer}{City}{}{Description} - -\subsection{Miscellaneous} - -\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\crlf Description line 2} - -\section{Languages} - -\cvlanguage{language 1}{Skill level}{Comment} -\cvlanguage{language 2}{Skill level}{Comment} -%\cvlanguage{language 3}{Skill level}{Comment} - -\stopresume - -\stopbuffer - -% long examples with two pages (included in the runnung text) - -\startbuffer[resume:long] - -\setupresumestyle[option][backgroundcolor=white,before=] - -\setresumevalue{image} {\blackrule[width=25mm,height=25mm]} -\setresumevalue{firstname} {John} -\setresumevalue{familyname}{Doe} -\setresumevalue{title} {Resum\'e title (optional)} -\setresumevalue{quote} {Some quote (optional)} -\setresumevalue{street} {street and number} -\setresumevalue{town} {postcode city} -\setresumevalue{mobile} {mobile (optional)} -\setresumevalue{phone} {phone (optional)} -\setresumevalue{fax} {fax (optional)} -\setresumevalue{email} {email (optional)} -\setresumevalue{info} {additional information (optional)} - -\startresume - -\section{Education} - -\cventry{year--year}{Degree}{Institution}{City}{\it Grade}{Description} -\cventry{year--year}{Degree}{Institution}{City}{\it Grade}{Description} - -\section{Master thesis} - -\cvline{title}{\em Title} -\cvline{supervisors}{Supervisors} -\cvline{description}{\tx Short thesis abstract} - -\section{Experience} - -\subsection{Vocational} - -\cventry{year--year}{Job title}{Employer}{City}{}{Description} -\cventry{year--year}{Job title}{Employer}{City}{}{Description} - -\subsection{Miscellaneous} - -\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\crlf Description line 2} - -\section{Languages} - -\cvlanguage{language 1}{Skill level}{Comment} -\cvlanguage{language 2}{Skill level}{Comment} -\cvlanguage{language 3}{Skill level}{Comment} - -\section{Computer skills} - -\cvcomputer{category 1}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ} -\cvcomputer{category 2}{XXX, YYY, ZZZ}{category 5}{XXX, YYY, ZZZ} -\cvcomputer{category 3}{XXX, YYY, ZZZ}{category 6}{XXX, YYY, ZZZ} - -\section{Interests} - -\cvline{hobby 1}{\small Description} -\cvline{hobby 2}{\small Description} -\cvline{hobby 3}{\small Description} - -\section{Extra 1} - -\cvlistitem{Item 1} -\cvlistitem{Item 2} -\cvlistitem[+]{Item 3} - -\section{Extra 2} - -\cvlistdoubleitem[$\circ$]{Item 1}{Item 4} -\cvlistdoubleitem[$\circ$]{Item 2}{Item 5} -\cvlistdoubleitem[$\circ$]{Item 3}{} - -\stopresume - -\stopbuffer - - - -% intro text about the résumé example - -\chapter{Résumé Examples} - - - -% moderncv classic style - -\start - -\useresumeinterface[moderncv] -\useresumestyle [classic] - -\getbuffer[resume:short] - -\stop - -\startexamplecontent[resume:classic] - -\useresumeinterface[moderncv] -\useresumestyle [classic] - -\getbuffer[resume:long] - -\stopexamplecontent - -\section{Classic} - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[resume:classic][1]}{First page} - {\examplecontent[resume:classic][2]}{Second page} - \stopcombination} - - - -% moderncv cassual style - -\start - -\useresumeinterface[moderncv] -\useresumestyle [casual] - -\getbuffer[resume:short] - -\stop - -\startexamplecontent[resume:casual] - -\useresumeinterface[moderncv] -\useresumestyle [casual] - -\getbuffer[resume:long] - -\stopexamplecontent - -\section{Casual} - -\placefigure - [force,none] - {} - {\startcombination - {\examplecontent[resume:casual][1]}{First page} - {\examplecontent[resume:casual][2]}{Second page} - \stopcombination} - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-resume-interface.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-resume-interface.tex deleted file mode 100644 index b195da5f530..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-resume-interface.tex +++ /dev/null @@ -1,237 +0,0 @@ -\startcomponent correspondence-resume-interface - -\environment correspondence-environment - -\chapter{Interface} - -\page - -\section{Default} - -\setup[resume] - -\page - -\section{moderncv} - -The moderncv interface is based on the layout of the moderncv-package for \LaTeX{} -and with the same elements and styles. The difference between the \LaTeX{} and the -\ConTeXt-version is that you don't need a \type{\maketitle} command to place the -header for each style and it is placed by default. - -%\startframedtext[width=\textwidth,framecolor=red,align=middle,corner=00] -%The current implementation of the moderncv interface is written as resume style and -%not as interface, this means you load it with \type{\useresumestyle} or as argument -%for \type{\usemodule} with the style key. -%\stopframedtext - -The available elements for the interface are described below. - -\subsubject{\tex{cvline}} - -The \type{\cvline} take two arguments, the first place the text in the left margin -and accepts only short entries, the second argument accepts longer texts which are -placed in the text area. You could change the distance after the entry with the -optional argument. - -\startnointerference -\setup[cvline] -\stopnointerference - -\starttyping -\cvline{...}{...} -\stoptyping - -The two lines - -\starttyping -\cvline{supervisors}{Supervisors} -\cvline{description}{\tx Short thesis abstract} -\stoptyping - -results in - -\start - -\useresumeinterface[moderncv] - -\startelement -\cvline{supervisors}{Supervisors} -\cvline{description}{\tx Short thesis abstract} -\stopelement - -\stop - -\subsubject{\tex{cvlistitem}} - -The \type{\cvlistitem} is similar to the \type{\cvline} command above but it -takes only one argument which is placed in the text area. In the left margin -appear a symbol like a itemize, you could change this symbol with the optional -argument before the text. - -\startnointerference -\setup[cvlistitem] -\stopnointerference - -\starttyping -\cvlistitem[<symbol>]{...} -\stoptyping - -The two example line below - -\starttyping -\cvlistitem{Item 1} -\cvlistitem[+]{Item 2} -\stoptyping - -result in the following output - -\start - -\useresumeinterface[moderncv] - -\startelement -\cvlistitem{Item 1} -\cvlistitem[+]{Item 2} -\stopelement - -\stop - -\subsubject{\tex{cvlistdoubleitem}} - -The \type{\cvlistdoubleitem} is a enhanced version of the \type{\cvlistitem} command -and place two text side by side, if you change the symbol it affects the symbol for -both texts. - -\startnointerference -\setup[cvlistdoubleitem] -\stopnointerference - -\starttyping -\cvlistdoubleitem[<symbol>]{...}{...} -\stoptyping - -As you can see in the next example you have to write the text in two command if you -want one below the other. - -\starttyping -\cvlistdoubleitem[$\circ$]{Item 1}{Item 3} -\cvlistdoubleitem[$\circ$]{Item 2}{Item 4} -\stoptyping - -You can see this in the output from the example above. - -\start - -\useresumeinterface[moderncv] - -\startelement -\cvlistdoubleitem[$\circ$]{Item 1}{Item 3} -\cvlistdoubleitem[$\circ$]{Item 2}{Item 4} -\stopelement - -\stop - -\subsubject{\tex{cventry}} - -The \type{\cventry} has six argument and prints the argument two to five in the first -line of the text with a certain format for each text and separates them with commas. -The first argument is typed in the left margin and the last in the text on a separate -line. - -\startnointerference -\setup[cventry] -\stopnointerference - -\starttyping -\cventry{...}{...}{...}{...}{...}{...} -\stoptyping - -Two possible settings for the arguments are: - -\starttyping -\cventry{year--year}{Degree}{Institution}{City}{\it Grade}{Description} -\cventry{year--year}{Job title}{Employer}{City}{}{Description} -\stoptyping - -This results in the time period in the left margin and the information in the text. - -\start - -\useresumeinterface[moderncv] - -\startelement -\cventry{year--year}{Degree}{Institution}{City}{\it Grade}{Description} -\cventry{year--year}{Job title}{Employer}{City}{}{Description} -\stopelement - -\stop - -\subsubject{\tex{cvlanguage}} - -The \type{\cvlanguage} behaves also line the \type{\cvline} command but take -a third argument which can be used for additional information in the right margin. - -\startnointerference -\setup[cvlanguage] -\stopnointerference - -\starttyping -\cvlanguage{...}{...}{...} -\stoptyping - -The following example - -\starttyping -\cvlanguage{language 1}{Skill level}{Comment} -\cvlanguage{language 2}{Skill level}{Comment} -\stoptyping - -results in: - -\start - -\useresumeinterface[moderncv] - -\startelement -\cvlanguage{language 1}{Skill level}{Comment} -\cvlanguage{language 2}{Skill level}{Comment} -\stopelement - -\stop - -\subsubject{\tex{cvcomputer}} - -The \type{\cvcomputer} command is a enhanced version of the \type{\cvlistdoubleitem} -with two explicit argument for the label text which is written on the left of each entry. - -\startnointerference -\setup[cvcomputer] -\stopnointerference - -\starttyping -\cvcomputer{...}{...}{...}{...} -\stoptyping - -As you can see in the first and third argument a label is written to describe text -category of each entry. - -\starttyping -\cvcomputer{category 1}{XXX, YYY, ZZZ}{category 3}{XXX, YYY, ZZZ} -\cvcomputer{category 2}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ} -\stoptyping - -This produce the following output. - -\start - -\useresumeinterface[moderncv] - -\startelement -\cvcomputer{category 1}{XXX, YYY, ZZZ}{category 3}{XXX, YYY, ZZZ} -\cvcomputer{category 2}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ} -\stopelement - -\stop - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence-revision.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence-revision.tex deleted file mode 100644 index f48ca8de67f..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence-revision.tex +++ /dev/null @@ -1,41 +0,0 @@ -\startcomponent correspondence-revision - -\environment correspondence-environment - -\chapter{File versions} - -The correspondence module comes as a package with many different files and each of them -has their own version tag, you can get this information from the information block at the -top of the file, \MKIV\ users get also a overview of the used files with the version at -the end of the log file. - -\start - -\setuptabulate[header=repeat] - -\starttabulatehead -\NC \bf File \NC \bf Revision \NC \bf Description \NC\NR -\stoptabulatehead - -\startluacode - -local pairs = global.pairs - -context.starttabulate( { "|l|l|l|" } ) -for k,v in pairs(thirddata.correspondence.files) do - context.NC() - context("%s",thirddata.correspondence.files[k]["name"]) - context.NC() - context("%s",thirddata.correspondence.files[k]["version"]) - context.NC() - context("%s",thirddata.correspondence.files[k]["description"]) - context.NC() - context.NR() -end -context.stoptabulate() - -\stopluacode - -\stop - -\stopcomponent diff --git a/Master/texmf-dist/source/context/third/letter/doc/correspondence.tex b/Master/texmf-dist/source/context/third/letter/doc/correspondence.tex deleted file mode 100644 index 5a91ce3cb7c..00000000000 --- a/Master/texmf-dist/source/context/third/letter/doc/correspondence.tex +++ /dev/null @@ -1,55 +0,0 @@ -\startproduct correspondence - -\environment correspondence-environment - -\startfrontmatter - -\TitlePage - -\completecontent - -\component correspondence-introduction - -\stopfrontmatter - -\startbodymatter - -\part{Letters} - -\component correspondence-letter-beginner -\component correspondence-letter-interface -\component correspondence-letter-layout -\component correspondence-letter-extension -\component correspondence-letter-values -\component correspondence-letter-background -\component correspondence-letter-pagenumber -\component correspondence-letter-styles -\component correspondence-letter-reference -\component correspondence-letter-header -\component correspondence-letter-examples - -\part{Résumés} - -\component correspondence-resume-interface -\component correspondence-resume-examples - -\stopbodymatter - -\startappendices - -\CommandList - -\component correspondence-revision -\component correspondence-labeltext - -\completeindex - -\stopappendices - -\startbackmatter - -\LastPage - -\stopbackmatter - -\stopproduct |