From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71760 Path: news.gmane.org!not-for-mail From: Jan Heinen Newsgroups: gmane.comp.tex.context Subject: Re: nice friends-book with ConText - quite ready Date: Fri, 14 Oct 2011 19:13:03 +0200 Message-ID: <4E986D9F.4020503@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1318612409 20116 80.91.229.12 (14 Oct 2011 17:13:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2011 17:13:29 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 14 19:13:25 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RElJz-0002OV-KU for gctc-ntg-context-518@m.gmane.org; Fri, 14 Oct 2011 19:13:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7D90DCAFFB; Fri, 14 Oct 2011 19:13:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RAEAR4s5U8u2; Fri, 14 Oct 2011 19:13:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7FFECB002; Fri, 14 Oct 2011 19:13:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 181F5CB002 for ; Fri, 14 Oct 2011 19:13:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Bsjl4ZgenuAE for ; Fri, 14 Oct 2011 19:13:07 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 332F6CAFFB for ; Fri, 14 Oct 2011 19:13:07 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9EHD6Pw006664 for ; Fri, 14 Oct 2011 19:13:06 +0200 Original-Received: from [192.168.178.101] (p57BA1203.dip0.t-ipconnect.de [87.186.18.3]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MPGl6-1RANbV2GBs-004nQa; Fri, 14 Oct 2011 19:13:05 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13 X-Provags-ID: V02:K0:xFyNWbUCTXInCdV6ZLHql3IOzngZLGJK0U/Mrm+x9QW 6V3ds8bR18G8W4cgE8IOEX/2KWFkuEtndYAL4QID/OPVcQud90 ovlkN5UQGOBkC+DcV55RlcmXWnolsDOJ5IjjUI5HJVggXlSIiO cCYkQFv7ECkGnR55Y2tAFpiHroJlokldW/4oehli1/rElDKGq0 XlhlTTmTC0oKgKOkmFP4e+cR1VhAu9SAQ4CJjKflN4qP1ApUTS KH1sAlY0+r011JUylVCnCCAYmn3FD3qlufZtXXGM+H/EfQaUM1 6QI1vAPAZg4VEaUXgGER7lKFSLaJxv3iIKBawA058LpAFnR6w= = X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.126.186; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bFIFd6um - 3a3c4e5e2d10 - 20111014 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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:71760 Archived-At: Hello it was a ConText-night, and as a newby I learned a lot about ConText :-) Here is what I wanted to get: http://www.imagebanana.com/view/f4o3un2c/Entwurffriends.png And here are my results: http://www.imagebanana.com/view/8vq30irn/ContextLayers.png There are only little things which could be improved: How?? 1. where comes the frame around the foto from? How can I switch it off? 2. There is a thin white line between layer A and the Infobox. How to rid of it? 3. How can I get padding into the Infobox? top, botttom, right and left And here is my code for everyone who likes the layout of my friends-book ;-) \definelayer[Kontaktdaten][x=20mm,y=30mm,width=65mm,height=30mm,state=start] \setupbackgrounds[paper][setups=ALayer,background=Kontaktdaten,state=start] \starttext \strut \setlayerframed[Kontaktdaten][background=color,backgroundcolor=lightgreen,width=10mm,height=130mm,frame=off,hoffset=-20mm,voffset=145mm,align=right]{A} \setlayerframed[Kontaktdaten][background=color,backgroundcolor=darkgreen,width=10mm,height=60mm,frame=off,hoffset=-20mm,voffset=85mm,align=right]{B} \setlayerframed[Kontaktdaten][background=color,backgroundcolor=lightgreen,width=60mm,height=175mm,frame=off,hoffset=-10mm,voffset=100mm,align=right]% {Infobox:\crlf Peter\crlf New York\crlf 0171/782801\crlf test@test.de} \setlayerframed[Kontaktdaten][width=30mm,height=40mm,frame=\LayoutTest,hoffset=-10mm,voffset=60mm][strut=no,offset=overlay]% {\externalfigure[niceImage][width=30mm,height=40mm]} \page \stoptext Regards Jannis ___________________________________________________________________________________ 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 ___________________________________________________________________________________