[pmwiki-users] Bibliographies

Tom Backer Johnsen backer at psych.uib.no
Wed Sep 6 02:05:07 CDT 2006


John Rankin wrote:
> (resending -- I think your mail server has greylisting turned on)
> 
> On Wednesday, 6 September 2006 3:00 AM, Tom Backer Johnsen <backer at psych.uib.no> wrote:
>> In connection with a book project using PmWiki I would very much like 
>> a solution to two problems, one that is associated with PmWiki and the 
>> other one that is not necessarily so.
>>
>> Problem 1:  The BibTexRef addin in the cookbook does not work as I 
>> expect, and there seems to be a bug or two there.  Are there any 
>> alternatives around?  I see that the file is quite old, so that might 
>> be it.  I am very much a newbie in respect to PhP, but I'll have a 
>> look at it and see if I can locate the problem(s).  But the references 
>> in the text and the corresponding entries in the data base are at 
>> least linked.  That is a good start.
> 
> I found and fixed some bugs that were preventing someone from using
> it with the PublishPDF library -- the original version contains 
> some hard-coded HTML tags, which are easily removed.

Fine!  I have printed the source and have started looking for
something like that, but without success so far.  I'll download the
file again and test it.

>> Problem 2:  Since there are more than one author involved, it would be 
>> nice for each author to be able to add references (books, articles 
>> etc.) to the data base placed on the same server as the wiki using 
>> some kind of online procedure.  Ideally, this should be integrated in 
>>  PmWiki, but that is probably too much to ask for.  Does anybody know 
>> of such a tool? Preferably using only PhP.
> 
> You may be able to use the wikiforms recipe to maintain a page for
> each reference. It supports both input and output templates, so
> you can use a form to enter the references and display them in your
> preferred citation style.
> 
> If you use the optional form title plug-in, you can refer to each
> citation by its user-defined title, rather than by its (system
> allocated) unique reference number.

Thanks for the tip.  I'll have a look at it and try to apply knowledge
about Object Pascal to the problem of reading and understanding PhP.
> 
> And if you are lucky, there ought to be a way to generate an 
> alphabetic list of references used in the book. And if you are
> really lucky, we may be able to find a way to include this list 
> if you use the PublishPDF library to (:typeset-book:) --
> publish your book in its entirety directly off the wiki, with an
> autogenerated bibliography at the end.

That would be nice!
> 
> If this sounds as if it might be suitable, the first step would
> be to work out what the entry form should look like and how you'd
> like to cite bib entries from the wiki pages themselves.

As to the format of the entry or entry form, it seems to me that the
type of form used by the BibEdit (downloadble for free) program.  When
adding new references, the first entry to set is the reference type
(e.g. "article", "book", "inbook" etc.).  That determines which
required and which optional fields for BibTex to appear on the input form.

Since my field is psychology, my preference would be something like
the APA format, having the in-text reference in the author/year format
e.g. (Stevens, 1951) rather than the numbered type as used in some
fields like biology and medicine.

But one would like any solution to the problem to be general, so
ideally it should in some way use a style file (.bst?) for BibTex.
That should aid in the generation of a complete bibliography as well.

Tom
> 


-- 
+----------------------------------------------------------------+
| Tom Backer Johnsen, Psychometrics Unit,  Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen,  NORWAY |
| Tel : +47-5558-9185                        Fax : +47-5558-9879 |
| Email : backer at psych.uib.no    URL : http://www.galton.uib.no/ |
+----------------------------------------------------------------+





More information about the pmwiki-users mailing list