ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Need help with the "letter" module
@ 2010-04-04 13:10 Matija Šuklje
  2010-04-04 14:01 ` Andreas Schneider
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Matija Šuklje @ 2010-04-04 13:10 UTC (permalink / raw)
  To: ntg-context

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.suklje@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need help with the "letter" module
  2010-04-04 13:10 Need help with the "letter" module Matija Šuklje
@ 2010-04-04 14:01 ` Andreas Schneider
  2010-04-04 14:27   ` Matija Šuklje
  2010-04-05  8:13   ` Wolfgang Schuster
  2010-04-04 14:56 ` Need help with the "letter" module Matija Šuklje
  2010-04-04 15:52 ` Matija Šuklje
  2 siblings, 2 replies; 9+ messages in thread
From: Andreas Schneider @ 2010-04-04 14:01 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need help with the "letter" module
  2010-04-04 14:01 ` Andreas Schneider
@ 2010-04-04 14:27   ` Matija Šuklje
  2010-04-05  8:13   ` Wolfgang Schuster
  1 sibling, 0 replies; 9+ messages in thread
From: Matija Šuklje @ 2010-04-04 14:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.....]

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

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need help with the "letter" module
  2010-04-04 13:10 Need help with the "letter" module Matija Šuklje
  2010-04-04 14:01 ` Andreas Schneider
@ 2010-04-04 14:56 ` Matija Šuklje
  2010-04-04 16:24   ` Wolfgang Schuster
  2010-04-04 15:52 ` Matija Šuklje
  2 siblings, 1 reply; 9+ messages in thread
From: Matija Šuklje @ 2010-04-04 14:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.suklje@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need help with the "letter" module
  2010-04-04 13:10 Need help with the "letter" module Matija Šuklje
  2010-04-04 14:01 ` Andreas Schneider
  2010-04-04 14:56 ` Need help with the "letter" module Matija Šuklje
@ 2010-04-04 15:52 ` Matija Šuklje
  2 siblings, 0 replies; 9+ messages in thread
From: Matija Šuklje @ 2010-04-04 15:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.suklje@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need help with the "letter" module
  2010-04-04 14:56 ` Need help with the "letter" module Matija Šuklje
@ 2010-04-04 16:24   ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2010-04-04 16:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need help with the "letter" module
  2010-04-04 14:01 ` Andreas Schneider
  2010-04-04 14:27   ` Matija Šuklje
@ 2010-04-05  8:13   ` Wolfgang Schuster
  2010-04-05 10:58     ` Different characters in two fonts Mehdi Omidali
  1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2010-04-05  8:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Different characters in two fonts
  2010-04-05  8:13   ` Wolfgang Schuster
@ 2010-04-05 10:58     ` Mehdi Omidali
  2010-04-05 11:58       ` Mojca Miklavec
  0 siblings, 1 reply; 9+ messages in thread
From: Mehdi Omidali @ 2010-04-05 10:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,
When I use $\cong$, two different characters are displayed with "Latin 
Modern Math" and "Cambria". In fact, the one for Cambria is the correct 
one. Is this a problem of "Latin Modern font" (itself or context settings)?
Mehdi
___________________________________________________________________________________
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] 9+ messages in thread

* Re: Different characters in two fonts
  2010-04-05 10:58     ` Different characters in two fonts Mehdi Omidali
@ 2010-04-05 11:58       ` Mojca Miklavec
  0 siblings, 0 replies; 9+ messages in thread
From: Mojca Miklavec @ 2010-04-05 11:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Apr 5, 2010 at 12:58, Mehdi Omidali wrote:
> Hi all,
> When I use $\cong$, two different characters are displayed with "Latin
> Modern Math" and "Cambria". In fact, the one for Cambria is the correct one.
> Is this a problem of "Latin Modern font" (itself or context settings)?

It's definitely not the problem with the font itself, but maybe with
ConTeXt files. I cannot test since it doesn't work with mkiv on my
version of ConTeXt at all.

! Math error: parameter \Umathquad\displaystyle is not set.
l.2 a$\cong$

?

Thus it may make sense to wait for a new version of ConTeXt and new LuaTeX.

Mojca
___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2010-04-05 11:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-04 13:10 Need help with the "letter" module Matija Šuklje
2010-04-04 14:01 ` Andreas Schneider
2010-04-04 14:27   ` Matija Šuklje
2010-04-05  8:13   ` Wolfgang Schuster
2010-04-05 10:58     ` Different characters in two fonts Mehdi Omidali
2010-04-05 11:58       ` Mojca Miklavec
2010-04-04 14:56 ` Need help with the "letter" module Matija Šuklje
2010-04-04 16:24   ` Wolfgang Schuster
2010-04-04 15:52 ` Matija Šuklje

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).