From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55227 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Re: =?windows-1252?q?Indent_after_=5Cstartline=5B=85=5D?= Date: Thu, 17 Dec 2009 00:28:01 +0100 Message-ID: References: <16826CAD-526A-4908-8188-6F3191CEED39@boede.nl> <68c491a60912150405q47de821akd7e925930241e6fb@mail.gmail.com> <200912151415.24908.alan.braslau@cea.fr> <3E42DCAB-ECCA-4902-8D11-5301773C4935@googlemail.com> <58891952-980B-4FBE-9441-787383A1DDB8@uni-koblenz.de> <5BD41161-8FE9-413E-A806-6A8857258CCF@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/mixed; boundary="===============0364220591==" X-Trace: ger.gmane.org 1261006130 30095 80.91.229.12 (16 Dec 2009 23:28:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2009 23:28:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 17 00:28:43 2009 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.50) id 1NL3IQ-0003LC-RN for gctc-ntg-context-518@m.gmane.org; Thu, 17 Dec 2009 00:28:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08896C9B8F; Thu, 17 Dec 2009 00:28: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 Urp5roY-bqgu; Thu, 17 Dec 2009 00:28:28 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1800BC9B1A; Thu, 17 Dec 2009 00:28:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A0DBDC9AC7 for ; Thu, 17 Dec 2009 00:28:17 +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 QbtWYlPgVDNQ for ; Thu, 17 Dec 2009 00:28:03 +0100 (CET) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by balder.ntg.nl (Postfix) with ESMTP id D23D9C9B1A for ; Thu, 17 Dec 2009 00:28:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id A3D5C78A31A4 for ; Thu, 17 Dec 2009 00:28:02 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13459-04 for ; Thu, 17 Dec 2009 00:28:02 +0100 (CET) X-CHKRCPT: Envelopesender noch aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (77-23-29-238-dynip.superkabel.de [77.23.29.238]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id ECD6B78A31A2 for ; Thu, 17 Dec 2009 00:28:01 +0100 (CET) In-Reply-To: <5BD41161-8FE9-413E-A806-6A8857258CCF@googlemail.com> X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: amavisd-new at uni-koblenz.de 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:55227 Archived-At: --===============0364220591== Content-Type: multipart/alternative; boundary=Apple-Mail-1--768960094 --Apple-Mail-1--768960094 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 16.12.2009 um 18:40 schrieb Wolfgang Schuster: >=20 > Am 16.12.2009 um 11:43 schrieb Andreas Harder: >=20 >> Hi all, >>=20 >> how can I prevent the indent after a \startline[=85]-construct. Here = is an example: >>=20 >> \setupindenting[medium,next,yes] >>=20 >> \def\NoIndent{\noindentation{\red\bf Indent?}\enspace}=20 >>=20 >> \startbuffer >> \dorecurse{3}{\dorecurse{10}{some text, } \par } >> \stopbuffer >>=20 >>=20 >> \starttext \showframe >> \getbuffer \blank >>=20 >> \startlinenumbering >> \startline[lin:1] >> \NoIndent \getbuffer >> \stopline[lin:1] >>=20 >> \NoIndent \getbuffer >> \stoplinenumbering >>=20 >> \blank \getbuffer >> \stoptext >>=20 >> To make myself clear, I want indenting but not inside the = linenumbering-environment. I tried already to play with = \setuplinenumbering but there is no =91before=92-key in the setup and = =91command=92 only applies to the numbers. >=20 > Define your own environment. >=20 > \definestartstop > [Linenumbering] > [before=3D{\setupindenting[no]\startlinenumbering}, > after=3D\stoplinenumbering] Thank you! It works if I put \setupindenting[no] after = \startlinenumbering.=20 Andreas= --Apple-Mail-1--768960094 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252

Am 16.12.2009 um 11:43 schrieb Andreas = Harder:

Hi = all,

how can I = prevent the indent after a \startline[=85]-construct. Here is an = example:

\setupindenting[medium,next,yes]

\def\NoIndent{\noindentation{\red\bf Indent?}\enspace} =

\startbuffer
= \dorecurse{3}{\dorecurse{10}{some text, } \par = }
\stopbuffer


\starttext =  \showframe
\getbuffer = \blank

\startlinenumbering
\startline[lin:1]
  \NoIndent = \getbuffer
= \stopline[lin:1]

\NoIndent = \getbuffer
\stoplinenumbering

\blank = \getbuffer
\stoptext

To make myself = clear, I want indenting but not inside the linenumbering-environment. I = tried already to play with \setuplinenumbering but there is no = =91before=92-key in the setup and =91command=92 only applies to the = numbers.

Define your own = environment.

\definestartstop
 [Linenumbering]
=  [before=3D{\setupindenting[no]\startlinenumbering},
=   after=3D\stoplinenumbering]

Than= k you! It works if I put  \setupindenting[no] = after \startlinenumbering. 

Andreas= --Apple-Mail-1--768960094-- --===============0364220591== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0364220591==--