ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: letter/correspondence module
Date: Fri, 3 Jul 2009 13:07:58 +0200	[thread overview]
Message-ID: <BAB485F7-766F-4DD6-AF51-CACD7327F1CA@fiee.net> (raw)
In-Reply-To: <6E2A4AA4-7E44-4166-978C-458DBAC50500@gmail.com>

Am 2009-07-02 um 15:56 schrieb Wolfgang Schuster:

>> I'd like to change the reference table of alternative "e" a little  
>> bit to fit my logo:
>>
>> voffset=130mm, % absolute coordinates
>> hoffset=40mm,
>> width=20mm, % width of label
>>
>> It doesn't work in \setupletterstyle[reference][].
>> Where must I put it?
>> Or should I define my own alternative, like yours in default.nli ?
>
> The alternatives a–e are not so easy to move to the place you prefer  
> because
> the start of the bodytext depends on the position (I try to keep  
> always two lines
> between them) but you can copy the layout of one element to another  
> one with
>
>  \copyletterlement[<element>][<new alternative>][<old alternative>]
>
> which looks for you
>
>  \copyletterelement[reference][hraban][e]
>
> You can now place the reference line with
>
>  \setupletterstyle
>    [reference]
>    [hoffset=...,
>     voffset=...]
>
> and the width of the elements in the reference line with
>
>  \setupletter
>    [phone,street,...]
>    [width=20mm]

Thank you! Offset works, width doesn't (i.e. stays automatical).

>> BTW: I'm using your simplefonts module for the first time in the  
>> same project - works great, thank you!
>> (I had to refresh my font database several times, until LuaTeX  
>> could find all faces of my font family, but that's not your  
>> module's fault.)
>
> mtxrun --script fonts --list --pattern=... helps to find the right  
> name.

I know, it's in the wiki (Fonts_in_LuaTeX). Thanks anyway.

> BTW: You can another example for the use of the simplefonts module
> in the source of the correspondence manual (correspondence- 
> environment.tex).

Just wanted to ask if you published the source anywhere - didn't check  
the "source" tree before...
Now I have enough examples for the moment, I think ;-)



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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


  reply	other threads:[~2009-07-03 11:07 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
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 [this message]
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=BAB485F7-766F-4DD6-AF51-CACD7327F1CA@fiee.net \
    --to=hraban@fiee.net \
    --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).