From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31650 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: formula, bookmarks and misc Date: Tue, 31 Oct 2006 09:45:52 +0100 Message-ID: <115224fb0610310045r258f7760x5b53fcef5a8795d8@mail.gmail.com> References: <4543FF4E.5050905@free.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0499904412==" X-Trace: sea.gmane.org 1162284387 765 80.91.229.2 (31 Oct 2006 08:46:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Oct 2006 08:46:27 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 31 09:46:26 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 1GepGI-0007xF-8F for gctc-ntg-context-518@m.gmane.org; Tue, 31 Oct 2006 09:46:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E4C21FDE7; Tue, 31 Oct 2006 09:46:21 +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 08646-05; Tue, 31 Oct 2006 09:46:07 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5D4B41FDEC; Tue, 31 Oct 2006 09:46:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3E7B41FDEF for ; Tue, 31 Oct 2006 09:46:05 +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 08751-03-3 for ; Tue, 31 Oct 2006 09:45:54 +0100 (CET) Original-Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.195]) by ronja.ntg.nl (Postfix) with SMTP id 4AD931FDE7 for ; Tue, 31 Oct 2006 09:45:54 +0100 (CET) Original-Received: by nz-out-0102.google.com with SMTP id 14so1330013nzn for ; Tue, 31 Oct 2006 00:45:53 -0800 (PST) Original-Received: by 10.35.66.1 with SMTP id t1mr6151476pyk; Tue, 31 Oct 2006 00:45:53 -0800 (PST) Original-Received: by 10.35.39.7 with HTTP; Tue, 31 Oct 2006 00:45:52 -0800 (PST) Original-To: "mailing list for ConTeXt users" In-Reply-To: <4543FF4E.5050905@free.fr> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:31650 Archived-At: --===============0499904412== Content-Type: multipart/alternative; boundary="----=_Part_3861_973546.1162284352953" ------=_Part_3861_973546.1162284352953 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Sebastian, 2006/10/29, Sebastian Rooks : > > Dear ConTeXters, > > 1/ I would like to use a named formula with a reference containing > several subformulae each with a reference. The closer I can get to is to > add an empty namedformula followed by subformulae (see test file below). > How can I get rid of the empty line with a number in the pdf ? > > 2/ I'm using bookmarks but abbreviations in heads do not work properly. > I've used a workaround some 3 years ago but I cannot remember which. Any > suggestion ? (see test file below) \setupinteraction[state=start] \appendtoks \def\UK{UK} \to \simplifiedcommands \placebookmarks[chapter,section,subsection] \abbreviation [UK] {UK} {United Kingdom of Great Britain and Northern Ireland} \starttext \chapter{Weather in the \UK} \dorecurse {2} {\input dawkins \par} \stoptext 3/ What should I do to get the bookmarks numbered with their > chapter/section/ etc. number ? (see test file below) > > 4/ How can I redefine the \vec command in my formulae without having a > warning "system : command \vec is already defined" > > 5/ I do like a lot the minimum distribution so easy to install. It would > be even better if bibtex can be added. It's only 82.8 KiB > > Thanks for ConTeXt (special thanks to Hans and Taco of course), it's > really a pleasure to work with it. > > Regards, > > Seb > > > test.tex > %%%%% %>< %>< %>< %%%%% > > \setupinteraction[state=start] > > \placebookmarks[chapter,section,subsection] > > \abbreviation [UK] {UK} {United Kingdom of Great Britain and > Northern > Ireland} > > \starttext > \placelist[formula] > \chapter{Math formulae} > > \placenamedformula > [eq:well_known] > {Well known equalities} > \startformula > \stopformula > \placesubformula[eq:first]{a} > \startformula > 1+0=1 > \stopformula > > \placesubformula[eq:second]{b} > \startformula > 1+1=2 > \stopformula > > > \chapter{Weather in the \UK} > \dorecurse {2} {\input dawkins \par} > > \stoptext > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > Wolfgang ------=_Part_3861_973546.1162284352953 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

Hi Sebastian,

 
2006/10/29, Sebastian Rooks <sebastian.rooks@free.fr>:
Dear ConTeXters,

1/ I would like to use a named formula with a reference containing
several subformulae each with a reference. The closer I can get to is to
add an empty namedformula followed by subformulae (see test file below).
How can I get rid of the empty line with a number in the pdf ?

2/ I'm using bookmarks but abbreviations in heads do not work properly.
I've used a workaround some 3 years ago but I cannot remember which. Any
suggestion ? (see test file below)
 

\setupinteraction[state=start]

\appendtoks \def\UK{UK} \to \simplifiedcommands

\placebookmarks[chapter,section,subsection]

\abbreviation [UK] {UK} {United Kingdom of Great Britain and Northern Ireland}

\starttext

\chapter{Weather in the \UK}
\dorecurse {2} {\input dawkins \par}

\stoptext


3/ What should I do to get the bookmarks numbered with their
chapter/section/ etc. number ? (see test file below)

4/ How can I redefine the \vec command in my formulae without having a
warning "system          : command \vec is already defined"

5/ I do like a lot the minimum distribution so easy to install. It would
be even better if bibtex can be added. It's only 82.8 KiB

Thanks for ConTeXt (special thanks to Hans and Taco of course), it's
really a pleasure to work with it.

Regards,

Seb


test.tex
%%%%%    %><    %><    %><    %%%%%

\setupinteraction[state=start]

\placebookmarks[chapter,section,subsection]

\abbreviation [UK]      {UK}    {United Kingdom of Great Britain and Northern
Ireland}

\starttext
\placelist[formula]
\chapter{Math formulae}

   \placenamedformula
     [eq:well_known]
     {Well known equalities}
     \startformula
     \stopformula
   \placesubformula[eq:first]{a}
   \startformula
         1+0=1
   \stopformula

   \placesubformula[eq:second]{b}
   \startformula
     1+1=2
       \stopformula


\chapter{Weather in the \UK}
\dorecurse {2} {\input dawkins \par}

\stoptext
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Wolfgang
 
------=_Part_3861_973546.1162284352953-- --===============0499904412== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0499904412==--