From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52519 Path: news.gmane.org!not-for-mail From: Derek CORDEIRO Newsgroups: gmane.comp.tex.context Subject: Re: Contents label before contents Date: Mon, 24 Aug 2009 00:12:05 +0530 Message-ID: <33c64e670908231142wbd070cbu993eddff89394744@mail.gmail.com> References: <4A918BB5.8000500@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0568605886==" X-Trace: ger.gmane.org 1251052952 17636 80.91.229.12 (23 Aug 2009 18:42:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Aug 2009 18:42:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 23 20:42:26 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 1MfI1F-0007Tu-9z for gctc-ntg-context-518@m.gmane.org; Sun, 23 Aug 2009 20:42:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 01B30C9AD9; Sun, 23 Aug 2009 20:42: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 UEH1Sur4VXm4; Sun, 23 Aug 2009 20:42:18 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 34A92C9ABB; Sun, 23 Aug 2009 20:42:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8E082C9ABB for ; Sun, 23 Aug 2009 20:42:16 +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 c2UiiZWz9Y6V for ; Sun, 23 Aug 2009 20:42:11 +0200 (CEST) Original-Received: from mail-fx0-f219.google.com (mail-fx0-f219.google.com [209.85.220.219]) by balder.ntg.nl (Postfix) with ESMTP id EE389C9A9C for ; Sun, 23 Aug 2009 20:42:05 +0200 (CEST) Original-Received: by fxm19 with SMTP id 19so609782fxm.2 for ; Sun, 23 Aug 2009 11:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=JwTli+C133BYFX8Qbu+/MMT54CsAr1W1b7OpEM+IyM0=; b=w3dAddnCKAvZzF8fTMcTi5ujW5hwuzADcuEo4ZX8yBvakcjibXsGvTLsz3SXC24xqx 7rL0kHMn9zC6qeacQhtXO4Z4Je0sPypBz8TQBHHfdr8orsMTwL5nDlyAnDVyQQxHMeDu FgTvRsY3tPM05ZomS3M2uVyqO4RcMno26nNiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=u2hH/2Ptl8hmdha/5cZsK2EGTM5jp7bbTgWOlLKyiBOwHxVBxV7IDgT9S9WlkxE7Ve V7p3dBA0YIcNMWIk9sylaNeuZ8DUti+PQTNT4R/RkBk2awrCmDp+9n/JVujRXmMhZd5F NjiAHe2NuOFCugrOR/UsEmz7hcJz6Zjm9ssNE= Original-Received: by 10.86.16.9 with SMTP id 9mr2568142fgp.8.1251052925751; Sun, 23 Aug 2009 11:42:05 -0700 (PDT) In-Reply-To: <4A918BB5.8000500@gmail.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:52519 Archived-At: --===============0568605886== Content-Type: multipart/alternative; boundary=00148530af263c14160471d375ff --00148530af263c14160471d375ff Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Mon, Aug 24, 2009 at 12:04 AM, Vyatcheslav Yatskovsky < yatskovsky@gmail.com> wrote: > Hello > > I want to place contents in the beginning of the document with "Contents" > label above it. If I do like > > \placecontent > > \section{Sec1} > > \section{Sec2} > ... > > it's ok, but > > \section{Contents} > > \placecontent > > \section{Sec1} > > \section{Sec2} > ... > Why not use the first option and use \completecontent instead of \placecontent? It will give you the Contents heading you want. So try: \completecontent \section{Sec1} \section{Sec2} ... --00148530af263c14160471d375ff Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mon, Aug 24, 2009 at 12:04 AM, Vyatcheslav Ya= tskovsky <yats= kovsky@gmail.com> wrote:
Hello

I want to place contents in the beginning of the document with "Conten= ts" label above it. If I do like

\placecontent

\section{Sec1}

\section{Sec2}
...

it's ok, but

\section{Contents}

\placecontent

\section{Sec1}

\section{Sec2}
...

Why not use the first option and use \completeconten= t instead of \placecontent? It will give you the Contents heading you want.= So try:

\completecontent

\section{Sec1}

\section{Sec2}
...
--00148530af263c14160471d375ff-- --===============0568605886== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0568605886==--