From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5537 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: m-bib: passing extra information to \cite Date: Fri, 07 Sep 2001 12:40:04 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010907123745.02e18ec8@server-1> References: <3B988205.D0802432@elvenkind.com> <5.1.0.14.0.20010906214816.00a7bd90@public.uni-hamburg.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035396125 2528 80.91.224.250 (23 Oct 2002 18:02:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:02:05 +0000 (UTC) Cc: Taco Hoekwater , ConTeXt mailing list Original-To: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= In-Reply-To: <5.1.0.14.0.20010907103821.00a81fd0@public.uni-hamburg.de> Xref: main.gmane.org gmane.comp.tex.context:5537 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5537 At 10:58 AM 9/7/2001 +0200, Eckhart Guthöhrlein wrote: >At 10:15 07.09.2001 +0200, Taco Hoekwater wrote: >>\cite{..} is accepted as meaning the same as \cite[..]. It is in there >>because existing databases use this syntax when refering to other items >>in the database. But: it is very latexy and not in sync with the context >>rule that typeset arguments use {} and setup arguments use []. >> >>So, question: to remove or not to remove? How many people share bibtex >>databases between latex en context? (removal makes it easier to implement >>the 'extra info'). > >As far as I am concerned, it can be removed, since I'm planning to abandon >the use of latex entirely and do not have large bibtex databases yet. > >A more general solution could be to use a different command for >cross-referencing inside the bib file, let's call it \crosscite for >example. Then you could say something like > >\def\crosscite#1{\cite[#1]} % for context > >or > >\def\crosscite#1{\cite{#1}} % for latex then, how about: \let\simplecite\cite \def\complexcite[#1]{\normalcite{#1}} \definecomplexorsimple\cite now \cite[bla] and \cite{bla} both work (but i favor the [] only approach). Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------