From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63616 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: ppchtex questions Date: Wed, 17 Nov 2010 17:00:51 +0100 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <201011171700.51512.alan.braslau@cea.fr> References: <4CE3BE7E.7040601@unibas.ch> <201011171413.32800.alan.braslau@cea.fr> <4CE3F30D.2030100@unibas.ch> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1290009714 19349 80.91.229.12 (17 Nov 2010 16:01:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2010 16:01:54 +0000 (UTC) Cc: mailing list for ConTeXt users To: =?iso-8859-1?q?J=F6rg_Hagmann?= Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 17 17:01:49 2010 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 1PIkSC-0000C5-Ld for gctc-ntg-context-518@m.gmane.org; Wed, 17 Nov 2010 17:01:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1BDA4CA871; Wed, 17 Nov 2010 17:01:48 +0100 (CET) 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 RdQ-hhkOrhW5; Wed, 17 Nov 2010 17:01:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 20013CA864; Wed, 17 Nov 2010 17:01:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B6B24CA864 for ; Wed, 17 Nov 2010 17:01:34 +0100 (CET) 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 SLp+WrI4v3Fj for ; Wed, 17 Nov 2010 17:01:32 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id A21A6CA863 for ; Wed, 17 Nov 2010 17:01:32 +0100 (CET) Original-Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.166.172.106]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAHG1Vde025020 for ; Wed, 17 Nov 2010 17:01:32 +0100 Original-Received: from epeire1.extra.cea.fr (epeire1.extra.cea.fr [132.167.198.31]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id oAHG1V7N001249 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 17 Nov 2010 17:01:31 +0100 Original-Received: from orpin2.extra.cea.fr (orpin2.extra.cea.fr [132.167.198.5]) by epeire1.extra.cea.fr (8.14.4/8.14.4) with ESMTP id oAHG1Bsm013968; Wed, 17 Nov 2010 17:01:11 +0100 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-ha-003840.localnet (iram-ha-003840.extra.cea.fr [132.166.25.152]) by orpin2.extra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.1) with ESMTP id oAHG1BHe003811; Wed, 17 Nov 2010 17:01:11 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.32; KDE/4.4.5; x86_64; ; ) In-Reply-To: <4CE3F30D.2030100@unibas.ch> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.166.172.106; country=FR; region=A3; city=Gif-sur-yvette; latitude=48.6833; longitude=2.1333; http://maps.google.com/maps?q=48.6833,2.1333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08Dwg1vRb - 50871a4a681e - 20101117 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:63616 Archived-At: On Wednesday 17 November 2010 16:21:49 J=F6rg Hagmann wrote: > Thanks, Alan. > = > On 11/17/10 2:13 PM, Alan BRASLAU wrote: > >> 1. Is there a way to define a frame offset (there is "fit" and there a= re > >> dimensions, but an offset would be more convenient)? > > = > > [left=3D,top=3D] > = > This gives absolute values. I would prefer something giving me "fit + > " width=3D,left=3D,right=3D,height=3D,top=3D,bottom=3D (of course, only two o= f width, left, = and right are to be used at a time, as well as two of height, top, and bott= om) = define the bounding box of the drawing. This is given in units of 4000 per = standard bond length. To visualize this, try, \startchemical [frame=3Don,axis=3Don,width=3D4000,height=3D4000] \chemical [ONE,SB,Z0] [O] \chemical [THREE,B] \chemical [FOUR,B] \chemical [FIVE,B] \chemical [SIX,B,R,RZ] [1,2,3,4,5,6] \chemical [EIGHT,B] \stopchemical For fit+offset, I suggest positioning the chemical drawing inside a = \framed[frame=3Doff]{} box using offsets, or some other variant (I particul= arly = like using collectors). > When playing with top, bottom etc again I discovered that increasing the > bottom dimension also moves \bottext down. So there only remains > question number 3: I would like the atom labels (but not the bodyfont of > the document) as \ss -- without including \ss for every single atom. Try "style=3Dsans". We also have "color=3D" and "rulecolor=3D". > > Are you using mkii (texexec) or mkiv (context) or LaTeX? > = > I am using mkiv (of course!)... There are some problems still in mkiv, notably with CARBON, NEWMANSTAGGER, = NEWMANECLIPSE, and CHAIR. Hans (and I) intend to work on this but it is not = too high of a priority for the moment. Let me know if you have other proble= ms = in using ppchtex. Alan ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________