Have you tried formatting it this way:
\startsection
[title={my fancy section}]
bla
\stopsection
Breaking before closing or after opening the square braces has always
given trouble to me.
Andrés Conrado Montoya
El Andi
andresconrado@gmail.com
http://chiquitico.org
----------------------------------------
Los fines no justifican los medios, porque la medida verdadera de
nuestro carácter está dada por los medios que estamos dispuestos a
utilizar, no por los fines que proclamamos.
----------------------------------------
Por favor, evite enviarme documentos adjuntos en formato Word o PowerPoint.
Lea http://www.gnu.org/philosophy/no-word-attachments.es.html
----------------------------------------
"Naturalmente, la gente normal no desea la guerra, pero al final son
los líderes de una nación quienes determinan su política, y resulta
muy sencillo doblegar a la gente, sea una democracia, una dictadura
fascista, un parlamento o una dictadura comunista. Con voz o sin voz,
la gente siempre podrá entregarse a la voluntad de sus líderes. Es
fácil. Lo único que hay que hacer es decirles que están siendo
atacados, y denunciar a los pacifistas por su falta de patriotismo y
exponer el país al peligro. Funciona igual en todos los países."
---Hermann Goering, en los juicios de Nuremberg.
2013/7/16
Send ntg-context mailing list submissions to ntg-context@ntg.nl
To subscribe or unsubscribe via the World Wide Web, visit http://www.ntg.nl/mailman/listinfo/ntg-context or, via email, send a message with subject or body 'help' to ntg-context-request@ntg.nl
You can reach the person managing the list at ntg-context-owner@ntg.nl
When replying, please edit your Subject line so it is more specific than "Re: Contents of ntg-context digest..."
Today's Topics:
1. Some questions about the letter module (Michael Ash) 2. counter in linenote disables hyphenation in body text (Pablo Rodr?guez) 3. Re: Table cell spanning multiple columns in tabulate (Sietse Brouwer) 4. PDF-Toc text is wrong for new \start? commands (Steffen Kram) 5. Re: PDF-Toc text is wrong for new \start? commands (Steffen Kram)
----------------------------------------------------------------------
Message: 1 Date: Mon, 15 Jul 2013 12:34:36 -0400 From: Michael Ash
To: ntg-context@ntg.nl Subject: [NTG-context] Some questions about the letter module Message-ID: Content-Type: text/plain; charset="iso-8859-1" Dear all,
(This is a repeat post. I apologize if that's rude, but I would appreciate some assistance with the letter module or a pointer to documentation. Thanks.)
I am using the letter module that came with context. A sample of a basic letter is below; I have put in "dummy" for the logo and the signature, but these are working fine when I include the files.
I have several questions:
1. to center the footer. 2. to lower the footer (closer to the bottom of the page) 3. to delete the word "Date" above the date. 4. to put the date *above *the recipient address (and how in general do I adjust the vertical space here). 5. to left-justify the date. 6. to control the foldmarks (for US-letter-size paper, omit, etc.)
I have consulted http://wiki.contextgarden.net/Letter but there are many things I don't understand. What is the meaning of "alternative=example"; what is the option "preset=" in \setuplayer[foot] ?
Also is there a better way to manage color? I \definecolor, \startcolor, \stopcolor, but maybe there is a better way to indicate that certain sections of the letter should be in a color. Thanks.
Thank you very much for your guidance.
Yours, Michael
\usemodule[letter] \setuppapersize[letter][letter] \definecolor[maroon][h=990033]
\setuplanguage [en] [date={dd, month, year}]
\setupletteroptions [language=english, bodyfont={rm,12pt}, ]
% Define logo for the first page \defineletterelement[layer][head][example]% {\framed[background=logohead,height=25mm,frame=off,align=left]% {\externalfigure[dummy]}}
% We put our logo in the head \setupletterlayer[head] [alternative=example, x=9mm, y=10mm ]
\defineletterelement[layer][foot][example]% {\startcolor[maroon] \ss \tfx The University of Massachusetts is an Affirmative Action/Equal Opportunity Institution. \stopcolor} \setupletterlayer[foot][ align=centerbottom, alternative=example]
\setupletter[ name={Michael Ash}, dept={Department of Economics}, building={Thompson Hall}, street={200 Hicks Way}, city={Amherst, MA 01003-9277}, phone={+1-413-545-2590}, fax={+1-413-545-2921}, email={mash@econs.umass.edu} ]
\defineletterelement[layer][location][example]% {\setuptabulate[bodyfont=normal] \startcolor[maroon] \starttabulate[|lw(.4\textwidth)|rw(.55\textwidth)|] \NC \tfa \sc University of Massachusetts \NC \NR \NC \tfa \sc Amherst \NC \correspondenceparameter{dept} \NR \NC \NC \NR \NC\correspondenceparameter{building} \NC tel \correspondenceparameter{phone} \NR \NC\correspondenceparameter{street} \NC fax \correspondenceparameter{fax}\NC\NR \NC\correspondenceparameter{city} \NC \correspondenceparameter{email} \NC\NR \stoptabulate \stopcolor}
\setupletterlayer[location] [alternative=example, x=42mm, y=4mm ]
\starttext
\startletter[ toname={Professor Addressee}, toaddress={123 West Home Ave.\\Chicago, IL 60614}, opening={Dear Dr. Addressee,}, subject={A test letter}, closing={Best regards,}, signature={\externalfigure[dummy]\\Michael Ash} ]
Thank you very much for the invitation I am truly honored by the opportunity and delighted to attend. I look forward to meeting you. Thank you again for the invitation.
\stopletter
\stoptext