From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59949 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: nomarking function in MKIV Date: Thu, 1 Jul 2010 10:16:03 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <201007011016.04168.alan.braslau@cea.fr> References: <87iq516cjj.fsf@devereux.me.uk> <201006301019.23763.alan.braslau@cea.fr> <4C2BC6C0.1030400@googlemail.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: dough.gmane.org 1277972191 1518 80.91.229.12 (1 Jul 2010 08:16:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2010 08:16:31 +0000 (UTC) Cc: mailing list for ConTeXt users , Peter =?utf-8?q?M=C3=BCnster?= To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 01 10:16:30 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 1OUEwd-0007TY-R7 for gctc-ntg-context-518@m.gmane.org; Thu, 01 Jul 2010 10:16:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 35DEFC9AE3; Thu, 1 Jul 2010 10:16:26 +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 OeKqC77MkQp2; Thu, 1 Jul 2010 10:16:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56B27C9B0D; Thu, 1 Jul 2010 10:16:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8AEA0C9B0D for ; Thu, 1 Jul 2010 10:16:21 +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 h0udgR3CXHoD for ; Thu, 1 Jul 2010 10:16:19 +0200 (CEST) Original-Received: from oxalide-out.extra.cea.fr (oxalide-out.extra.cea.fr [132.168.224.1]) by balder.ntg.nl (Postfix) with ESMTP id 0AB9EC9AE3 for ; Thu, 1 Jul 2010 10:16:19 +0200 (CEST) Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by oxalide.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id o618GH7I032630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 1 Jul 2010 10:16:17 +0200 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire2.extra.cea.fr (8.14.4/8.14.4) with ESMTP id o618GH5T007225; Thu, 1 Jul 2010 10:16:17 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-ha-003840.localnet (iram-ha-003840.extra.cea.fr [132.166.25.152]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.1) with ESMTP id o618GHj3021563; Thu, 1 Jul 2010 10:16:17 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.32; KDE/4.4.4; x86_64; ; ) In-Reply-To: <4C2BC6C0.1030400@googlemail.com> 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:59949 Archived-At: On Thursday 01 July 2010 00:35:44 Wolfgang Schuster wrote: > Am 30.06.10 10:19, schrieb Alan BRASLAU: > > > > Additionally, > > \chapter [title={First chapter},list={First}] > > does not work. Logically this should work just as \startchapter. > > This won't happen So it is not a good idea? Or just complicated to implement, currently? > but what you can do is to write a macro which accepts > different values for > headers/footers, the running text and the toc (i know the entries in the > toc and text are wrong). There is an entire class of users who will not get involved writing macros, for whom \unprotect \protect is unknown. I know that this is certainly *not* your case. Following is a (somewhat long) reflection: Functionality such as the subject of this thread should be available by default, without having to mess with macros. In particular, functionality present in LaTeX for quite some time should be possible within ConTeXt rather easily, the ConTeXt way, of course. Thus, \chapter[toc-entry]{title} of LaTeX should have its equivalent in ConTeXt, and this would be logically something like: \chapter [title={title},list={toc-entry}] Furthermore, \chapter*{title} of LaTeX should also have its simple equivalent in ConTeXt, and this would be logically something like: \chapter [number=no] {title} Considering figures, tables, etc., in LaTeX we have: \begin{figure}[where] figure \caption[lof-entry]{figure caption} \label{fig:reference} \end{figure} and in ConTeXt: \placefigure [where] [fig:reference] {caption} {figure} which could very logically be: \placefigure [where] [fig:reference] [caption=no] {figure} and \placefigure [where] [fig:reference] [caption={caption},list={lof-entry}] {figure} the ConTeXt way! Alan P.S. While on the subject, in TeX, LaTeX and ConTeXt we have: $$ displayed math $$ and additionally in LaTeX, we have: \begin*{equation} displayed math \end{equation} while in ConTeXt we have \placeformula [-] $$ displayed math $$ or, alternately (to get spacing right) \placeformula [-] \startformula displayed math \stopformula Whereas I understand \placelist, \placecontent, etc. I don't really understand the logic of \placeformula, \placefigure, \placetable for floats. Especially now that I just discovered the existence of \startfiguretext \stopfiguretext OK, there are different mechanisms behind \startfiguretext and \placefigure: it is not a float but a box: \startfiguretext [left] {none} {\externalfigure [figure] [width=w]} text \stopfiguretext akin to \placesidebyside {\externalfigure [figure] [width=w]} {\framed [frame=no,width=\textwidth-w,align=text] {text}} Would not \startfloatfigure [where] [fig:reference] [caption={text}] figure \stopfloatfigure and \startfloattable [where] [tab:reference] [caption={text}] figure \stopfloattable etc. be much more logical, coherent? Furthermore, we could have: \startformula [where] [eqn:reference] [number=no] displayed math \stopformula where "where" could be "here", "inline", etc. ___________________________________________________________________________________ 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 ___________________________________________________________________________________