logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: "make html" fails with Error 1, $SGML_CATALOG_FILES is claimed not set.: msg#00070

Subject: Re: "make html" fails with Error 1, $SGML_CATALOG_FILES is claimed not set.
I'm sure others on the list will have far more expert advice to give
you, but two possibilities come to my mind:


1. Regarding the SGML_CATALOG_FILES variable error using Makefile.

One obvious possibility is that you have set the variable but not
exported it (I apologise in advance for pointing out the bleeding
obvious). Funny things can happen with shells and subshells if you don't
export. In bash you can set and export like so:

SGML_CATALOG_FILES=/usr/local/share/refdb/refdb.cat
export SGML_CATALOG_FILES

or you can do it in one command:

export SGML_CATALOG_FILES=/usr/local/share/refdb/refdb.cat

The fact that you can 'echo' the variable does not necessarily mean
you've exported it.


2. Regarding the 'warning: failed to load external entity
"manualbib.xml"' error using runbib.

I use docbook xml so I'm not sure how much of this applies to TEI xml.

You've said your initial test document is a pre-existing document you
have converted to use refdb. Perhaps the error lies in the conversion
process.

I can produce the same error on my machine easily by mistyping the name
of the bibliography file. For example, the first lines of a typical
document look like:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"; [
<!ENTITY bibliography SYSTEM "experimental.bib.xml">
]>

The 'experimental' in 'experimental.bib.xml' is the same as the root
name of the xml source document itself, eg. 'experimental.short.xml'. If
I alter the file name in the entity declaration I get the same error you
did. Have you ensured the root name of the bibliography file in the
entity declaration is the same as the root name of the TEI xml document
itself?

When using 'make html' you specified the source document as
'drtest.xml'. When using runbib you specified the source document as
'manualbib.xml'. Are you running the tests on two different source
documents?


I strongly suggest you create a minimal refdb document from scratch
using 'refdbnd'. Add a single sentence with a single reference and make
sure the doc is valid xml and the citation code is correct. Then try
'make html'. If that works, the problem you describe lay with the
initial conversion.

When I first started with refdb I had trouble with runbib. I tried
refdbnd and it 'just worked'.

Regards,
David.


David Riggs wrote:

>
> I am running under Cygwin (WinXP), Postgresql, latest versions available.
>
> I am trying to do my first generation of a bibliography from a paper,
> by doing the simplest possible example. I just used a paper I had
> already done with TEI and added short references, to my new RefDB
> database.
>
> I used the scripts to set up the environment in a new directory with
> "refdbnd" for TEI, all seemed to go well. I put in a few citations
> following the Tutorial, and made sure to include the entity for the
> new bibliography. Then:
>
>
> $ make html
> refdbxp -t teix < drtest.short.xml > drtest.xml
> runbib -d dr1 -S J.Biol.Chem. -t teix drtest.xml
> Variable $SGML_CATALOG_FILES not set
> Please enter your password:
> server error: style spec error0 reference(s) formatted, 0 failed
> make: *** [drtest.bib.xml] Error 1
>
> But I did set that variable:
>
> $ echo $SGML_CATALOG_FILES
> /usr/local/share/refdb/refdb.cat
>
> If I try to do the same kind of thing "manually" with "runbib", I get
> a similar result:
>
> $ runbib -d dr1 -S "J.Biol.Chem." -t teix manualbib.xml
> Variable $SGML_CATALOG_FILES not set
> warning: failed to load external entity "manualbib.xml"
> unable to parse manualbib.xml
> Please enter your password:
> server error: style spec error0 reference(s) formatted, 0 failed
>
>
>
> Any help is very much appreciated.
>
> David
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Refdb-users mailing list
> Refdb-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/refdb-users
>



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click


<Prev in Thread] Current Thread [Next in Thread>