From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38929 Path: news.gmane.org!not-for-mail From: morgan.brassel@free.fr Newsgroups: gmane.comp.tex.context Subject: Re: Indenting (again!): a real problem in indentnext=yes Date: Fri, 01 Feb 2008 14:04:42 +0100 Message-ID: <1201871082.47a318eabb6e8@imp.free.fr> References: <1201729616.47a0f0505ea23@imp.free.fr> <47A0F764.9000500@elvenkind.com> <1201733051.47a0fdbb603b8@imp.free.fr> <47A102A9.2060203@elvenkind.com> <1201735947.47a1090b92efb@imp.free.fr> <47A17EF4.1090407@elvenkind.com> <1201777642.47a1abea0491a@imp.free.fr> <47A1BB69.8090109@elvenkind.com> <1201783684.47a1c384f127e@imp.free.fr> <47A2D7BE.6080701@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201871210 26822 80.91.229.12 (1 Feb 2008 13:06:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Feb 2008 13:06:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 01 14:07:10 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1JKvbY-00057B-HA for gctc-ntg-context-518@m.gmane.org; Fri, 01 Feb 2008 14:06:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C139D1FC0B; Fri, 1 Feb 2008 14:06:24 +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 14053-04-2; Fri, 1 Feb 2008 14:05:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 174321FC39; Fri, 1 Feb 2008 14:05:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D8A571FBEB for ; Fri, 1 Feb 2008 14:05:19 +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 16309-02-2 for ; Fri, 1 Feb 2008 14:04:47 +0100 (CET) Original-Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by ronja.ntg.nl (Postfix) with ESMTP id 789B01FBF9 for ; Fri, 1 Feb 2008 14:04:47 +0100 (CET) Original-Received: from smtp6-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp6-g19.free.fr (Postfix) with ESMTP id 271585FD7C for ; Fri, 1 Feb 2008 14:04:47 +0100 (CET) Original-Received: from imp4-g19.free.fr (imp4-g19.free.fr [212.27.42.4]) by smtp6-g19.free.fr (Postfix) with ESMTP id 235685FD78 for ; Fri, 1 Feb 2008 14:04:47 +0100 (CET) Original-Received: by imp4-g19.free.fr (Postfix, from userid 33) id 24369159F; Fri, 1 Feb 2008 14:04:43 +0100 (CET) Original-Received: from pas38-3-82-226-102-214.fbx.proxad.net (pas38-3-82-226-102-214.fbx.proxad.net [82.226.102.214]) by imp.free.fr (IMP) with HTTP for ; Fri, 01 Feb 2008 14:04:42 +0100 In-Reply-To: <47A2D7BE.6080701@elvenkind.com> User-Agent: Internet Messaging Program (IMP) 3.2.8 X-Originating-IP: 82.226.102.214 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:38929 Archived-At: Selon Taco Hoekwater : > \defineenumeration[theorem][indenting=always] > > This is actually easier to find, because it actually is documented > in texshow: http://texshow.contextgarden.net/ You're right. I found it there just after I sent the mail... Thank you, and sorry I didn't look at it first. > The thing is that the formal specification is not clearly defined, > not even if you mention all cases. _You_ may not want indented > footnotes, but _I_ have typeset a book that did. It's not exactly about what _I_ want: my only wish was to recover the LaTeX specification. And actually, I don't know if it is clearly defined or not. Maybe I'm too used to LaTeX choices. > And consider this: > > Text text text text > \startquotation > Quoted text quoted text > \stopquotation > Text text text text > > is the next "Text" indented, yes or no? Whether this is a 'display' or > a standalone paragraph is very much up to the document designer. Without an empty line over it, it "should not" be indented. It's the rule in LaTeX, and it seems quite natural (to me). If you want it indented, you have to start a new paragraph, with an empty line or \par. All this because quotation can be part of a paragraph. Formulae, itemize, can also be part of a paragraph, that's why the rule should be the same for them. Floats, footnotes, etc. "can't" be part of a paragraph, that's why the rule is different for them. > In english mathematical texts, Theorems and such are often seen as a > kind of run-in header, so that "Theorem 1. Text text text" is not > indented, but that usually does not apply to "Proof. Text text text" > and "Remark 1. Text text text": those usually _are_ indented. For theorem like environments, I'd follow the choices of the AMS. The text inside theorems should follow the same rule as the main text outside. The "head" of theorems never get indented (by default). > I am being hesitant about a 'global switch' because I fear that any > automated solution only takes care of one particular set of settings, > and so does will really help that much and will become a documentation > nightmare. Imagine: > > The command \indentallparagraphs will make sure that every > paragraph in the document will get indented, regardless of its > surroundings, with the following exceptions: > > * the bodies of the predefined floating objects figures, tables, > intermezzos, graphics. > * the bodies of the predefined footnotes & endnotes, and floating > marginals > * the contents of float captions > * the paragraph following a \stopformula, if that formula is > not preceded by \placeformula, and there is not empty line > inbetween. \placeformula shouldn't modify anything there... > * any itemgroups, enumerations, descriptions, floats etc. that > were not predefined in the context core. > * ... > > I hope you see the problem with that. Even a simple command like > > \setupindentnext[yes] > > does not work out-of-the-box, because you actually wanted > > \setupformulae[indentnext=auto] % not yes auto seems indeed to be the default in LaTeX. > > > As I said before, it may be much easier to put all this in a module > (by you, or someone else, but I guess you now have the list of desired > commands pretty much at hand?). Then you can say > > \usemodule[indentall] > > and the context core would not have to think about all these border > cases. I understand that it's delicate to modify the core for such questions. My point is that I always found indenting "clear" or "coherent" in LaTeX: you want an indented line, then leave an empty line before. In ConTeXt, I had to fight a bit to recover this "simple" rule. But as I said, maybe I'm too used to LaTeX choices... As you suggest, I will put every command I used in a separate file, and try to produce a module out of it. I'm not sure I have sufficient knowledge for this yet, but I'll try. Last of all, I want to thank you for all your answers, and apologize for my poor english: I might seem a bit "rude", but this is clearly not my wish. Best regards, Morgan ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________