From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76548 Path: news.gmane.org!not-for-mail From: Florian Wobbe Newsgroups: gmane.comp.tex.context Subject: Re: Where is the documentation of the letter module Date: Wed, 30 May 2012 13:10:35 +0200 Message-ID: References: <1DA637AA-69EC-4B3D-9632-593A8509D6A8@gmail.com> <7164ECF8-BC8B-4041-A307-6D5CADC17885@awi.de> <0D93CAB2-FD46-4C0D-ACCC-BE282B1E94CD@googlemail.com> <9FFF4F99-A9BA-4C03-8447-10148A09E37C@awi.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1338376245 23458 80.91.229.3 (30 May 2012 11:10:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 May 2012 11:10:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 30 13:10:44 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SZgnb-0001Zf-SO for gctc-ntg-context-518@m.gmane.org; Wed, 30 May 2012 13:10:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E188101E3; Wed, 30 May 2012 13:10:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9qbXD0TT0V8T; Wed, 30 May 2012 13:10:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7374101E0; Wed, 30 May 2012 13:10:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4A50E101E0 for ; Wed, 30 May 2012 13:10:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VMjFUM+Yv4H1 for ; Wed, 30 May 2012 13:10:39 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id EFBB1101DD for ; Wed, 30 May 2012 13:10:38 +0200 (CEST) Original-Received: from mails2.awi.de (mails2.awi.de [134.1.2.16]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4UBAbp5018657 for ; Wed, 30 May 2012 13:10:38 +0200 Original-Received: from localhost (mails2.awi.de [127.0.0.1]) by mails2.awi.de (Postfix) with ESMTP id 685841200CA for ; Wed, 30 May 2012 13:10:35 +0200 (CEST) X-Virus-Scanned: Ubuntu amavisd-new at awi.de Original-Received: from localhost ([127.0.0.1]) by localhost (mails2.awi.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PhbqsHEvOOhf for ; Wed, 30 May 2012 13:10:35 +0200 (CEST) Original-Received: from msg.awi.de (msg.awi.de [134.1.3.16]) by mails2.awi.de (Postfix) with ESMTP id 54D511200C9 for ; Wed, 30 May 2012 13:10:35 +0200 (CEST) Original-Received: from gsysm199.dmawi.de ([unknown] [172.18.14.60]) by msg.awi.de (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTPSA id <0M4U00JVI1PNNT30@msg.awi.de> for ntg-context@ntg.nl; Wed, 30 May 2012 13:10:35 +0200 (MEST) In-reply-to: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=134.1.2.16; country=DE; region=03; city=Bremerhaven; latitude=53.5500; longitude=8.5833; http://maps.google.com/maps?q=53.5500,8.5833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06HgbaB0O - c73e5ede3dc9 - 20120530 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:76548 Archived-At: >>>>>> [...] I'm struggling to get the enclosures into an itemized list. Th= is used to work with the old letter module but now fails: >>>> = >>>> \startletter[enclosure=3D{A\\B\\C}, ...] --> encl: AcrlfBcrlfC >>>> = >>>> In http://www.ntg.nl/pipermail/ntg-context/2012/064721.html Wolfgang p= roposed \startletter[enclosure=3D{list:one,two,three}, ...] to get an itemi= zed list. But this does not seem to be implemented yet. How would I get thi= s right? >>> = >>> It does work but you need MkIV: >>> = >>> \usemodule[letter] >>> = >>> \setupletterdescription >>> [enclosure] >>> [ >>> location=3Dtop, >>> leftmargin=3D1em, >>> symbol=3Dbullet, >>> ] >>> = >>> \setupletter >>> [enclosure=3D{list:One,Two,Three}] >>> = >>> \startletter >>> \input knuth >>> \stopletter >> = >> Thanks, Wolfgang, got that working now. But I'd like to change the forma= tting of the list further from >> = >> encl: >> * One >> * Two >> * Three >> = >> to >> = >> encl: One >> Two >> Three >> = >> without symbols. So I tried: >> = >> \setupletterdescription [enclosure] [symbol=3Dbullet] >> = >> This did not work so I tried: >> = >> \definesymbol[nosymbol][{}] >> \setupletterdescription [enclosure] [symbol=3Dnosymbol] > = > ConTeXt has a empty symbol with the name =93none=94. Very helpful indeed! >> But that results in: >> = >> encl: One >> Two >> Three >> = >> I cannot remove the extra space with: >> = >> \setupletterdescription [enclosure] [symbol=3Dnosymbol,distance=3D0em] >> = >> Note, that this works: >> = >> \setupitemize[each][fit][distance=3D0em] >> \startitemize >> \item no extra space before bullet >> \stopitemize >> = >> --> *no extra space before bullet >> = >> However, it does not work with an enumeration once the symbol was remove= d: >> = >> \setupitemize[each][fit][symbol=3D{},distance=3D0em] > = > \setupitemize[each][symbol=3Dnone,width=3D0pt,distance=3D0pt] Good! >> \startitemize >> \item item >> \stopitemize >> = >> --> item > = > I uploaded a new revision which doesn=92t insert an extra space when you = use =93symbol=3Dnone=94. Thanks for this quick enhancement, works now! Just for completeness: How do= I change the distance between bullet and item text in your original sugges= tion? Adding 'width=3D' here does not change anything: \setupletterdescription [enclosure] [ location=3Dtop, leftmargin=3D1em, width=3D5pt, symbol=3Dbullet ] Florian ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________