ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: letter/correspondence module
Date: Mon, 29 Jun 2009 11:51:35 +0200	[thread overview]
Message-ID: <B843991B-4B35-448F-9464-8233159E299B@gmail.com> (raw)
In-Reply-To: <247A75D9-1059-45B9-8BA8-B3E59481A994@fiee.net>


Am 28.06.2009 um 23:12 schrieb Henning Hraban Ramm:

> Hallo Wolfgang! ;-)
>
> Since my old letter and CV environment doesn't work anymore in MkIV,  
> I'm trying to reproduce it with t-letter.
>
> At the moment I struggle with the reference keys:
>
> \setupletterstyle[reference][
> 	alternative=d,
> 	list={name,street,city,,phone,skype,email,,date},
> 	]

Interesting way to insert empty lines, I never thought about this method
and use myself the special key 'line' to insert a empty line.

> \setupletter[name,street,phone,date,skype,email][
> 	separator={: },
> 	titlestyle={\ss\tfxx},
> ]
>
> The keys street, city and skype aren't defined in your module.

There is *no* predefined keys (except line in the reference line) for  
\setupletter in my module.

> I found where the other keys are defined (and I guess I could mine  
> in or use a similar approach in my environment), but I'm clueless,  
> where the translation comes from - I grepped eg. after "Telefon"  
> without results, and I think I looked into every file of your module.
>
> I guess it would be interesting how to define your own keys, maybe  
> some IM adresses etc., also for other users.
> Would it be possible to use unknown keys just unchanged? I.e. if I say

I don't define keys in my module, I set only labels for the text in  
the left column
which can be find in the file 'label.nle', to get a text for skype,  
street etc. put
the following lines in your document (or add them to label.nle and  
send me the extended
list):

\setuplabeltext[de][letter:skype=Skype]
\setuplabeltext[de][letter:street=Stra\ssharp e]
\setuplabeltext[de][letter:city=Ort] % or Stadt ...
...

> \setupletter[
> 	Skype={fiee.visuelle}
> ]
>
> to get just "Skype: fiee.visuelle"?

TeX is case sensitive, write 'skype=fiee.visuelle".

> More questions will follow... I'll try to get my logo at the right  
> place by myself before...

The module provides a few layers you can use to position your graphic.

\setupletterstyle
   [lettermain]
   [hoffset=..cm,
    voffset=..cm,
    symbol={\externalfigure[...]},
    state=repeat] % repeat=place on each page, start=only on first  
page, ...

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2009-06-29  9:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-28 21:12 Henning Hraban Ramm
2009-06-29  7:56 ` Henning Hraban Ramm
2009-06-29  9:51 ` Wolfgang Schuster [this message]
2009-06-29 15:31   ` Henning Hraban Ramm
2009-06-29 16:38     ` Wolfgang Schuster
2009-07-01 20:33       ` Henning Hraban Ramm
2009-07-01 20:55         ` Henning Hraban Ramm
2009-07-02 13:56         ` Wolfgang Schuster
2009-07-03 11:07           ` Henning Hraban Ramm
2009-07-03 11:35             ` Wolfgang Schuster
2009-07-03 11:30           ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B843991B-4B35-448F-9464-8233159E299B@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).