From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31720 Path: news.gmane.org!not-for-mail From: gnwiii@gmail.com Newsgroups: gmane.comp.tex.context Subject: Re: Specifying BibTeX engine Date: Sat, 4 Nov 2006 11:09:03 -0400 Message-ID: <22af238a0611040709r4bbd8292j56bcc26917b8017a@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1162652979 31782 80.91.229.2 (4 Nov 2006 15:09:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Nov 2006 15:09:39 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 04 16:09:38 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 1GgN9M-0006i5-PY for gctc-ntg-context-518@m.gmane.org; Sat, 04 Nov 2006 16:09:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 550BE1FC78; Sat, 4 Nov 2006 16:09:32 +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 31754-05; Sat, 4 Nov 2006 16:09:26 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6DD341FC7A; Sat, 4 Nov 2006 16:09:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F7B81FB1F for ; Sat, 4 Nov 2006 16:09: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 31745-05 for ; Sat, 4 Nov 2006 16:09:05 +0100 (CET) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by ronja.ntg.nl (Postfix) with SMTP id 590E11FF67 for ; Sat, 4 Nov 2006 16:09:04 +0100 (CET) Original-Received: by nf-out-0910.google.com with SMTP id x29so1678786nfb for ; Sat, 04 Nov 2006 07:09:04 -0800 (PST) Original-Received: by 10.82.153.5 with SMTP id a5mr990327bue.1162652943593; Sat, 04 Nov 2006 07:09:03 -0800 (PST) Original-Received: by 10.82.129.11 with HTTP; Sat, 4 Nov 2006 07:09:03 -0800 (PST) Original-To: "mailing list for ConTeXt users" In-Reply-To: Content-Disposition: inline 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:31720 Archived-At: On 11/4/06, Philipp Reichmuth wrote: > Hi, > > texexec has been doing the necessary BibTeX calls for some time now, but > is there a way to configure which BibTeX engine is being called? I am > using BibTeX 8 (because of Unicode in my bibliography) and have been > renaming the executable so far, but it seems there should be a better way. I've been editing the installprogram line found with: $ grep bibtex $(kpsewhich t-bib.tex) %D \item bibtex is now registered as a program to be run by texexec (8/8/20= 06) %D \item support mlbibtex 2: file -- not found, waiting for bibtex \def\setupbibtex{\dosingleempty\dosetupbibtex} \def\dosetupbibtex[#1]% \installprogram{bibtex \jobname}}} %D This is the result of bibtex's `language' field. to replace "bibtex" with "ctxbibtex", which is a shell script I can edit to use bibtex8, etc. with appropriate arguments (e.g., for very large .bib files) as well as encoding tricks. A dirty hack is to put an \installprogram{ctxbibtex \jobname}}} line in your file (after the other setup). The job runs bibtex and then ctxbibtex, so you end up with the results of whatever is in your script. In MiKTeX-2.5 this works using "ctxbibtex.cmd" scripts. > (Incidentally, I've been using a Python script to convert BibTeX files > between Unicode and {\=3Da}-style accent notation and am currently > thinking of putting in ConTeXt {\adiaeresis}-style accents as well; > would this be of interest to anyone?) I use GNU recode for this, but not with ConTeXt, where "\enableregime[utf]" has been working with my utf8 bibliography, so I haven't needed ConTeXt {\adiaeresis}-style accents. My main concern is searchable .pdf files, where the default Adobe Reader configuration at work (Win32) seems to use plain old "a" in searches when I enter =E1, etc. (search for x=E1y finds xay, x=E0y, etc.). I'd prefer to see a context encoding added to GNU recode for the benefit of future archeologists trying to decipher ancient documents. -- = George N. White III Head of St. Margarets Bay, Nova Scotia