ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Romain Diss <romain.diss@yahoo.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with letter module
Date: Thu, 19 Jan 2012 23:06:45 +0100	[thread overview]
Message-ID: <201201192306.46029.romain.diss@yahoo.fr> (raw)
In-Reply-To: <2B9F266F-36BD-4FFC-897C-5E1D01DA9EA0@googlemail.com>

Le jeudi 19 janvier 2012, Wolfgang Schuster a écrit :
> Am 19.01.2012 um 15:28 schrieb Romain Diss:
> > Le jeudi 19 janvier 2012, vous avez écrit :
> >> Am 18.01.2012 um 21:14 schrieb Romain Diss:
> >>> Hi,
> >>> (...)
> >>> So is there any command which replace \encl{}? And is there any
> >>> documentation (even succint) of the new module?
> >> 
> >> With the new version of the module I tried to get rid of a few things
> >> which lead to problems or which didn’t fit into context normal syntax.
> >> The \encl, \cc and \ps had been such a thing and all three value can
> >> now only bet set as keyval argument, e.g. \startletter[enclosure=…]
> >> 
> >> There isn’t a new documentation yet but I’ll give a short overview:
> >> (...)
> > 
> > Unfortunatly, I have now another problem which I didn't notice before
> > because the \encl{} error didn't let me go to the end of the tex
> > processing. (...)
> >
> It’s a bug a fixed a while ago but I hadn’t uploaded the new version yet.
Thank you for the new version. It now works...

However, this leads me to new questions...

1. When I run context on a context letter input (like the previous minimal 
example), the log let me suppose that the \usemodule[letter] command loads the 
t-letter.mkii instead of the t-letter.mkiv. Is this the case and why. 
Moreover, t-letter.mkiv goal seems to only print an error message, even if my 
context version is more recent than the one recommended.

2. The enclosure formatting is not good: there is no space between the encl. 
label and the text. Here is a minimal exemple:
% start
\usemodule[letter]
\setupletter
 [enclosure=Something]
\startletter
  \input tufte
\stopletter
% end
Is this a bug or is this something to be set by hand? In the latter case, what 
is the best way to do (I think \setuplettertext[\s!en][\v!enclosure={encl:~}] 
should work but one have then to modify the text for all the languages).

3. I respond to one of my previous post: the \getbuffer command works as 
argument of the enclosure key. But in the following minimal example case, this 
leads to strange sapcing. Any idea of what causes this?
%start
\usemodule[letter]
\startbuffer[enclosure]
  \startitemize
    \startitem something; \stopitem
    \startitem and something else. \stopitem
  \stopitemize
\stopbuffer

\setupletter
 [enclosure={\getbuffer[enclosure]}]
\startletter
  \input tufte
\stopletter
% end

Thanks in advance.

-- 
Romain Diss
<romain.diss@yahoo.fr>
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2012-01-19 22:06 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-18 20:14 Romain Diss
2012-01-18 23:21 ` Wolfgang Schuster
2012-01-19 14:28   ` Romain Diss
2012-01-19 19:52     ` Wolfgang Schuster
2012-01-19 22:06       ` Romain Diss [this message]
2012-01-19 22:24         ` Wolfgang Schuster
2012-01-19 22:57           ` Romain Diss
2012-01-19 23:05             ` Wolfgang Schuster
2012-01-19 23:20               ` Romain Diss
2012-01-19 23:59                 ` Wolfgang Schuster
2012-01-20 21:44                   ` Romain Diss
2012-01-21  0:16                     ` Hans Hagen
2012-01-21  9:12                     ` Wolfgang Schuster
2012-01-19 14:28   ` Romain Diss
2012-01-19 22:08     ` Wolfgang Schuster
2012-02-05 23:05   ` Henning Hraban Ramm
2012-02-06 11:40     ` Wolfgang Schuster
     [not found] <mailman.1854.1326987164.4232.ntg-context@ntg.nl>
2012-01-19 17:47 ` Michael Green
2012-01-19 20:12   ` Romain Diss
  -- strict thread matches above, loose matches on Subject: below --
2011-09-19  8:41 problem " Henning Hraban Ramm
2011-09-19 10:35 ` Hans Hagen
2011-09-19 12:13   ` Henning Hraban Ramm
2011-09-19 20:02     ` Wolfgang Schuster
2011-09-19 21:34       ` Henning Hraban Ramm

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=201201192306.46029.romain.diss@yahoo.fr \
    --to=romain.diss@yahoo.fr \
    --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).