Re: [NTG-context] Need help with the letter module

2010-04-05 Thread Wolfgang Schuster

Hi Andreas,

thank you answering the question.

Here is a new feature from the last version (4. April) which works only 
in mkiv:


\usemodule[letter]

\starttext

\startletter
\input knuth\par
\ps{postscript}
\cc{carbon copy}
\encl{enclosure}
\stopletter

\startletter[postscript={postscript},copy={carbon 
copy},enclosure={enclosure}]

\input knuth\par
\stopletter

\stoptext

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
___


[NTG-context] Need help with the letter module

2010-04-04 Thread Matija Šuklje
Hullo,

I'm trying to write a letter, but it gets all screwy. The first batch of 
letter settings works OK (opening, closing, signature); but then the from* 
and to* blocks fail resulting in a PDF that just quotes that code on a 
separate page.

Clearly I'm doing something wrong although I'm looking at the manuals:
http://dl.contextgarden.net/modules/t-
letter/doc/context/third/letter/correspondence.pdf

MkII from TexLive 2008.

Any help welcome :]

--[snip]--
\mainlanguage[en]
\enableregime[utf8]
\setuppapersize[a4][a4]

\usemodule[letter]

\setupletter
[opening={Dear FSFE,},
closing={Best regards,},
signature={Matija Šuklje\\Coordinator FSFE Fellowship group Slovenia}]

[fromname={Matija Šuklje},
fromaddress={Dvořakova 10\\SI-1000 Ljubljana\\Slovenia}]

[toname={Free Software Foundation Europe e.V.},
toaddress={Talstraße 110\\D-40217 Düsseldorf\\Germany}]

\starttext
\startletter

\input knuth

\stopletter
\stoptext
--[snap]--

-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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
___


Re: [NTG-context] Need help with the letter module

2010-04-04 Thread Andreas Schneider
Matija Šuklje wrote:

 Hullo,
 
 I'm trying to write a letter, but it gets all screwy. The first batch of
 letter settings works OK (opening, closing, signature); but then the from*
 and to* blocks fail resulting in a PDF that just quotes that code on a
 separate page.
 
 Clearly I'm doing something wrong although I'm looking at the manuals:
 http://dl.contextgarden.net/modules/t-
 letter/doc/context/third/letter/correspondence.pdf
 
 MkII from TexLive 2008.
 
 Any help welcome :]
 
 --[snip]--
 \mainlanguage[en]
 \enableregime[utf8]
 \setuppapersize[a4][a4]
 
 \usemodule[letter]
 
 \setupletter
 [opening={Dear FSFE,},
 closing={Best regards,},
 signature={Matija Šuklje\\Coordinator FSFE Fellowship group Slovenia}]
 
The following should not be a separate parameter. If you put another 
\setupletter in front of it, it should work. Or just leave out the 
additional [] pairs.

-- \setupletter[opening=..., closing=..., signature=..., fromname=..., 
fromaddress=...,toname=...,toaddress=...]

I usually prefer to split it up:
\setupletter[opening.]
\setupletter[fromname..]
\setupletter[toname.]

 [fromname={Matija Šuklje},
 fromaddress={Dvořakova 10\\SI-1000 Ljubljana\\Slovenia}]
 
 [toname={Free Software Foundation Europe e.V.},
 toaddress={Talstraße 110\\D-40217 Düsseldorf\\Germany}]
 
 \starttext
 \startletter
 
 \input knuth
 
 \stopletter
 \stoptext
 --[snap]--
 


___
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
___


Re: [NTG-context] Need help with the letter module

2010-04-04 Thread Matija Šuklje
Dne nedelja 4. aprila 2010 ob 16:01:44 je Andreas Schneider napisal(a):
 The following should not be a separate parameter. If you put another
 \setupletter in front of it, it should work. Or just leave out the
 additional [] pairs.
 
 -- \setupletter[opening=..., closing=..., signature=..., fromname=...,
 fromaddress=...,toname=...,toaddress=...]
 
 I usually prefer to split it up:
 \setupletter[opening.]
 \setupletter[fromname..]
 \setupletter[toname.]

Oh, OK. Makes sense in a way. Thanks :]

Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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
___


Re: [NTG-context] Need help with the letter module

2010-04-04 Thread Matija Šuklje
New problem:

Using the \ps{} command results in failure to generate the PDF, claiming \ps 
is not defined.

Is it perhaps not included in MkII (or Tex Live 2008)?


Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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
___


Re: [NTG-context] Need help with the letter module

2010-04-04 Thread Matija Šuklje
Is it normal that an empty line in the letter module does *not* trigger a 
paragraph?


Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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
___


Re: [NTG-context] Need help with the letter module

2010-04-04 Thread Wolfgang Schuster

Am 04.04.10 16:56, schrieb Matija Šuklje:

New problem:

Using the \ps{} command results in failure to generate the PDF, claiming \ps
is not defined.

Is it perhaps not included in MkII (or Tex Live 2008)?
   

The \ps, \cc etc. commands where added after the TeXLive 2008 release.

Using the latest version from thr garden/CTAN/minimals won't help because
it's not compatible with ConTeXt versions before 2009 due to changes in
ConTeXt itself.

What you can do is upgrade to TeXLive 2009 or install the ConTeXt minimals.

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
___