[texworks] Advanced invoking of bibtex as tool
heck.johannes at googlemail.com
heck.johannes at googlemail.com
Wed May 2 16:31:37 CEST 2012
Hi,
thanks for the replies. I think the biblatex manual was a bit misleading at this point...
According to the manual, mincrossrefs is not a package option that can be passed to biblatex in the preamble with \usepackage[mincrossefs=99]{biblatex} (it doesn’t work either).
I understood the manual as it has to be passed at load-time, but not as regular argument. I don’t know if what Stefan suggested (bibtex -min-crossrefs=99 auxname.aux) works, but I found that adding the Line
\ExecuteBibliographyOptions{mincrossrefs=99}
to biblatex.cfg works, even for biber.
So there’s no need to write a script actually
@ Herbert Schulz:
In your workflow, do you only have to request latex-mk run once or still run biblatex/biber separately from Texworks? Does latex-mk support Unicode and Bidi Text (Hebrew) as XeTeX?
Regards,
Johannes
From: Stefan Löffler
Sent: Tuesday, May 01, 2012 8:43 PM
To: texworks at tug.org
Subject: Re: [texworks] Advanced invoking of bibtex as tool
Hi,
On 2012-04-25 19:00, heck.johannes at googlemail.com wrote:
has anyone of you already experimented with the biblatex workflow automation as suggested here?
I haven't, but I'll try to give some suggestions nevertheless. This website just deals with biblatex, but not biber, am I right?
I need to pass a very special variable to biblatex (mincrossref=99), but this won’t work as simple argument.
“mincrossrefs={integer} default: 2
Sets the minimum number of cross references to hintegeri when requesting a
BibTeX run. Note that this package option merely affects the format of certain
requests written to the transcript file. It will not have any effect if the editor or
compiler script launching BibTeX does not include dedicated biblatex support or
if BibTeX is manually launched from the command-line. See § 2.4.4 for details.
” (biblatex manual, p. 49)
§ 2.4.4 only points to loqreq package which not yet has a manual and to the wiki-link I’ve already posted.
As I understand it, the mincrossrefs you mention (from the biblatex manual) is actually a package option, i.e., something to set like
\usepackage[mincrossefs=99]{biblatex}
If I understand it correctly, this is not to be confused with the "-min-crossrefs" argument you can pass to bibtex like
bibtex -min-crossrefs=99 auxname.aux
although the two are related somewhat (I guess biblatex passes its value on to bibtex somehow?).
At the moment, I call Biber from the tools pull-down menu. I added
[002]
name=Biber
program=biber.exe
arguments=$basename
showPdf=false
to my tools.ini.
Is it possible to write a python or perl script which invokes biber/biblatex with those special options and then call this script from Texworks tools?
For biber, I didn't find any command line option corresponding to "-min-crossrefs", but "mincrossrefs" is referenced in the documentation a few times. So I would guess that biblatex passes its value on to biber automatically (e.g., through some configuration file).
Writing python/perl/... scripts is certainly possible. The question is rather if it's really necessary?
HTH
Stefan
P.S.: 0.5r998 runs very smoothly on my machine. I have the feeling that TW runs faster, lower latencies when opening a document or the preview.
No errors occured yet, only the launchPDF script is not working, the Statusbar says: “Skript: ‘open in default viewer’: TypeError: Result of Expression ‘TW.app.launchFile’ [undefinded] is not a function.”
Thanks for sharing. The problem with the launchPdf script seems to be related to an old version of the script (which may not get updated, e.g., if you made any changes to it). The most current version of the script is available at http://texworks.googlecode.com/svn/trunk/res/resfiles/scripts/launchPdf.js
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20120502/6e9de00a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wlEmoticon-winkingsmile[1].png
Type: image/png
Size: 1130 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20120502/6e9de00a/attachment.png>
More information about the texworks
mailing list