Need help with the "letter" module
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
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]--
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
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
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
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
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
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
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
participants (5)
-
Andreas Schneider
-
Matija Šuklje
-
Mehdi Omidali
-
Mojca Miklavec
-
Wolfgang Schuster