logo       

refdbib + latex: msg#00001

Subject: refdbib + latex
Hi,

Damien Jade Duff writes:
 > t_refdb.refdb_citekey='CAWKELL1976,GALLESELAKOFF2005,WILLIAMSSCHNIER1996'
 > 
 > ...which returns no references at all. What you'd want here I suppose is...
 > 
 > WHERE t_refdb.refdb_citekey in
 > ('CAWKELL1976','GALLESELAKOFF2005','WILLIAMSSCHNIER1996')
 > 
 > ...I notice that in readris.c add_id_from_aux the comments say this
 > subroutine is returning a comma separated list but I think that list is
 > just handed straight to the select statement. I really don't envy you
 > all that string stuff you've done in C - it looks like a nightmare of &s
 > and *s and ->s and **s - well, you get used to it I suppose.
 > 

You've got close to the problem. As far as I can tell my code is not
prepared to handle multi-head citations in .aux files at all. The code
simply assumes that each \citation{} block contains a single citation
which it adds to said comma-separated list. Instead, it should inspect
each \citation{} and tokenize it as needed. I'll supply a fix as soon
as time permits.

 > ...yes, so I don't know if you'd consider that a bug given that you may
 > require all users to enter their usernames on the command line (I don't
 > see that putting someones' username in the system-wide rc file is
 > preferrable though).

The manual is apparently a bit unclear about this point. In no case
you're supposed to enter usernames or passwords into the system-wide
config files. That's the job of the personal config files in your home
directory (~/.refdbibrc in this case). Make it read/writable only for
yourself and all should be fine.

 > It did cause me trouble because runbib uses the
 > second method by default, piping input from an .aux file through to
 > refdbib and because I have in the past just been allowing the refdb
 > clients to pick up my username from the environment. It works sometimes.
 > 

I'll have to check whether there is an error in refdbib which fails to
check for missing usernames/passwords. If they're not specified in
either a config file or on the command line, it should not attempt to
pass them to refdbd, causing the command-line parsing on the server
side to fail. I can't explain why it appears to work "sometimes" in
your case, unless you use a database engine without password
check. I'll investigate this.

regards,
Markus

-- 
Markus Hoenicka
markus.hoenicka@xxxxxxx
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe