From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25246 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: indenting in XML environment Date: Mon, 16 Jan 2006 12:09:19 +0100 Message-ID: <43CB7EDF.7070200@elvenkind.com> References: <43C9849B.70909@elvenkind.com> <43CA8F59.30608@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137409772 18703 80.91.229.2 (16 Jan 2006 11:09:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2006 11:09:32 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 16 12:09:27 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EySEp-0008LA-43 for gctc-ntg-context-518@m.gmane.org; Mon, 16 Jan 2006 12:09:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B67101278E; Mon, 16 Jan 2006 12:09:26 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22346-01-8; Mon, 16 Jan 2006 12:09:22 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CECD1127D3; Mon, 16 Jan 2006 12:09:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F2A3C127D3 for ; Mon, 16 Jan 2006 12:09:20 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22346-01-7 for ; Mon, 16 Jan 2006 12:09:20 +0100 (CET) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id 150A61278E for ; Mon, 16 Jan 2006 12:09:20 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id DBA141833B for ; Mon, 16 Jan 2006 12:09:19 +0100 (CET) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28229-01 for ; Mon, 16 Jan 2006 12:09:19 +0100 (CET) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 8883E16DC0 for ; Mon, 16 Jan 2006 12:09:19 +0100 (CET) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <43CA8F59.30608@wxs.nl> X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25246 Archived-At: Hans Hagen wrote: > Christopher G D Tipper wrote: > >> Hi Taco, >> >> I've found the miscreant. In my stylesheet I have >> \def\eDroppedCaps >> {\DroppedCaps >> {} {ptmr8r} >> {2.2\baselineskip} {2pt} {\baselineskip} {2}} >> >> and in my XML I have: >> \defineXMLcommand [dropped-caps] \eDroppedCaps >> >> and for some reason this screws up all paragraph indenting. Has this >> changed recently, because it used to work? > > well, indenting has been extended (and a bit fixed) My guess is this patch to supp-fun is needed (untested): \def\DroppedCaps#1#2#3#4#5#6#7% does not yet handle accented chars {\convertargument #7\to\asciia \convertcommand \DroppedString\to\asciib \ExpandBothAfter\doifinstringelse\asciia\asciib - {\noindenting + {\noindentation \dontleavehmode %\ifhmode\hskip-\parindent\fi % sensitive for context mechanism Cheers, Taco