From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77539 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: simpleslides help needed Date: Tue, 24 Jul 2012 06:22:48 +0200 Message-ID: References: <5006062E.8090602@waroc.com> <7C274424-D006-4121-BF27-7E31CD803364@gmail.com> <500DC04F.50100@waroc.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1343103826 9436 80.91.229.3 (24 Jul 2012 04:23:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Jul 2012 04:23:46 +0000 (UTC) Cc: mailing list for ConTeXt users To: pavneet_arora@waroc.com Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 24 06:23:46 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 1StWev-0005dj-Ge for gctc-ntg-context-518@m.gmane.org; Tue, 24 Jul 2012 06:23:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7475910277; Tue, 24 Jul 2012 06:23:44 +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 CJbjtWVfzUl5; Tue, 24 Jul 2012 06:23:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9FF2A10257; Tue, 24 Jul 2012 06:23:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 978FB10257 for ; Tue, 24 Jul 2012 06:23: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 (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Zxivi4TOnGEc for ; Tue, 24 Jul 2012 06:23: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 76079101F5 for ; Tue, 24 Jul 2012 06:23:39 +0200 (CEST) Original-Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6O4Ncka014950 for ; Tue, 24 Jul 2012 06:23:38 +0200 Original-Received: by wibhm6 with SMTP id hm6so2702321wib.2 for ; Mon, 23 Jul 2012 21:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=USpzKGEjhfVNj41S+1j2/3vTJG1Ek0mVI/fGaE3M7M4=; b=CQtknnNESpH7KHOmdUCkbCzzLDN3i/MdyI3GasP7KJq1SCnJMpbCZMBrrN1uaUzgUr 2e0Wg2CiVH5v5JMQNKzSeX3a5IUr/4F69uw6+TMaM3I5RUvmW3fCCdtEsWwiTomn6dWK DbQQE/wAQ+br5QMgBHqJ3mF7CRoR9CZPdYW0lIn0nlmubar/4wXLxK/grj16OuVoo9Zx URI7t0abISBnsCgwuv5R9MvreC1Eq6Bk/Y5/pHsC8ZlQTYCLz4lncOfiovOW40m2ubyo wk7iOqwJYl5T9eVxdH4ghV+fF29aXD36LTx7ckQGyave+PH2HQcicScoKfExucuoDpsm 4mFg== Original-Received: by 10.180.82.39 with SMTP id f7mr3300922wiy.2.1343103818357; Mon, 23 Jul 2012 21:23:38 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AF9852.dip.t-dialin.net. [87.175.152.82]) by mx.google.com with ESMTPS id k20sm2248743wiv.11.2012.07.23.21.23.14 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Jul 2012 21:23:37 -0700 (PDT) In-Reply-To: <500DC04F.50100@waroc.com> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.173; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06HC4nCMy - ff881f6cc3e8 - 20120724 (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.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77539 Archived-At: Am 23.07.2012 um 23:21 schrieb Pavneet Arora: > Dear Wolfgang, > = > I have tried what I believe to be the two approaches you suggested for co= ntrolling the margins of a quotation: > = > 1. Using the switches offered via \setupdelimitedtext in the \setupquota= tion command: > = > \setupquotation[leftmargin=3D1.5in] > \quotation{Pito Salas, a developer at ATG, decided to attack this problem= . After a few months of studying existing real-world examples, it became cl= ear that the data, views of that data, and the formulas that acted on that = data were very separate concepts. Yet in every case, the existing spreadshe= et programs required the user to type all of these items into the same (typ= ically single) sheet's cells.} > = > The result in this case is that neither margin is affected with any combi= nation of leftmargin=3D and rightmargin=3D, either alone or in combination. > = > 2. Creating an environment file env-myquotation.tex, which has as its co= ntents: > = > \startenvironment myquotation > \setuplayout[leftmargin=3D1.5in,backspace=3D1.5in,rightmargin=3D1.5in] > \stopenvironment > = > ...and then the slide: > = > \SlideTitle{An exception: Lotus Improv, an exceptional spreadsheet} > \blank > %\setupquotation[leftmargin=3D1.5in] > {\environment env-myquotation.tex > \quotation{Pito Salas, a developer at ATG, decided to attack this problem= . After a few months of studying existing real-world examples, it became cl= ear that the data, views of that data, and the formulas that acted on that = data were very separate concepts. Yet in every case, the existing spreadshe= et programs required the user to type all of these items into the same (typ= ically single) sheet's cells.} > } > \par > \startalignment[flushright] > \blank[2*big] > {\em Source: Wikipedia/Lotus Improv} > \stopalignment > = > In this case, the margins seem to work for the quotation, but, unfortunat= ely, the title is also shifted by the leftmargin (but not the right margin = as title width appears to remain the same; this title is longer than a sing= le line), and the credit which I did not need brought in was also shifted i= n to the right margin of the environment. > = > So am I limited in my control over margins within a slide do you think? = Or is there another approach? You=92re doing to wrong, below you can see two different ways to have a quo= tation with margins. The first method uses the quotation environment where = you can control the margin with the leftmargin and =93rightmargin keys, the= second method uses the quotation command which is put in a narrower enviro= nment to create the margins/offset. \showframe[text][text] \startbuffer Pito Salas, a developer at ATG, decided to attack this problem. After a few months of studying existing real-world examples, it became clear that the data, views of that data, and the formulas that acted on that data were very separate concepts. Yet in every case, the existing spreadsheet programs required the user to type all of these items into the same (typically single) sheet=92s cells.% \stopbuffer \starttext \startquotation \getbuffer \stopquotation \setupdelimitedtext[quotation][leftmargin=3D3cm] \startquotation \getbuffer \stopquotation \quotation{\getbuffer} \startnarrower[3*middle] \quotation{\getbuffer} \stopnarrower \stoptext Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________