* t-letter: Colons : in \setupletter[postscript={…}] not escaped properly
@ 2012-08-25 19:33 Paul Menzel
2012-08-26 8:26 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Paul Menzel @ 2012-08-25 19:33 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1.1: Type: text/plain, Size: 857 bytes --]
Dear ConTeXt folks,
using
ConTeXt ver: 2012.08.16 22:20 MKIV fmt: 2012.8.25 int: english/english
and the example
\usemodule[letter]
\starttext
\setupletter
[fromname={John Simmons},
fromaddress={Parkstreet 12\\8257 Green Bay}]
\setupletter
[toname={Steve Wilson},
toaddress={Nightstreet 4a\\9183 Cotton Village}]
\setupletter
[postscript={PS: word : word : word}]
\startletter
[opening={Dear Mr Wilson,},
subject={Brand new templates for Word},
closing={Best regards},
signature={John Simmons}]
\input knuth\par
\stopletter
\stoptext
the »PS:« is cut off and also the part after the second colon.
Thanks,
Paul
[-- Attachment #1.1.2: 20120825--postscriptum.pdf --]
[-- Type: application/pdf, Size: 19183 bytes --]
[-- Attachment #1.1.3: 20120825--postscriptum.tex --]
[-- Type: text/x-tex, Size: 478 bytes --]
\usemodule[letter]
\starttext
\setupletter
[fromname={John Simmons},
fromaddress={Parkstreet 12\\8257 Green Bay}]
\setupletter
[toname={Steve Wilson},
toaddress={Nightstreet 4a\\9183 Cotton Village}]
\setupletter
[postscript={PS: word : word : word}]
\startletter
[opening={Dear Mr Wilson,},
subject={Brand new templates for Word},
closing={Best regards},
signature={John Simmons}]
\input knuth\par
\stopletter
\stoptext
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: t-letter: Colons : in \setupletter[postscript={…}] not escaped properly
2012-08-25 19:33 t-letter: Colons : in \setupletter[postscript={…}] not escaped properly Paul Menzel
@ 2012-08-26 8:26 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2012-08-26 8:26 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Paul Menzel
Am 25.08.2012 um 21:33 schrieb Paul Menzel <paulepanter@users.sourceforge.net>:
> Dear ConTeXt folks,
>
>
> using
>
> ConTeXt ver: 2012.08.16 22:20 MKIV fmt: 2012.8.25 int: english/english
>
> and the example
>
> \usemodule[letter]
>
> \starttext
>
> \setupletter
> [fromname={John Simmons},
> fromaddress={Parkstreet 12\\8257 Green Bay}]
>
> \setupletter
> [toname={Steve Wilson},
> toaddress={Nightstreet 4a\\9183 Cotton Village}]
>
> \setupletter
> [postscript={PS: word : word : word}]
>
> \startletter
> [opening={Dear Mr Wilson,},
> subject={Brand new templates for Word},
> closing={Best regards},
> signature={John Simmons}]
>
> \input knuth\par
>
> \stopletter
>
> \stoptext
>
> the »PS:« is cut off and also the part after the second colon.
Fixed.
BTW: As the postscript entry is a description you can set the “PS: ” string separate with \setuplettertext.
\setuplettertext[postscript=PS: ]
\setupletter
[postscript={word 1 : word 2 : word 3}]
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-26 8:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-25 19:33 t-letter: Colons : in \setupletter[postscript={…}] not escaped properly Paul Menzel
2012-08-26 8:26 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).