Re: DOCBOOK-APPS: Re: [Fink-users] MacOS X, Fink DocBook bundle
On Tuesday, April 23, 2002, at 07:41 PM, Josh Kuperman wrote: > What is the correct way to specify the DOCTYPE. It doesn't seem to > find the correct DTD, so teh rest of the errors are meainingless. > I thought that have this as the first line is sufficient, but I think > I need to put in something different. > > If you are using DocBook XML, I believe you need to specify the location of the dtd file on your system. Also, the document type (article, book, etc.) should be lower case. The following should work for a docbook article. > The second problem isn't really a problem. I get "DTDDECL catalog > entries are not supported" errors as follows: > openjade:/sw/share/sgml/dtd/docbook/3.0/docbook.cat:30:0:W: DTDDECL > catalog entries are not supported > openjade:/sw/share/sgml/dtd/docbook/3.1/docbook.cat:22:0:W: DTDDECL > catalog entries are not supported > openjade:/sw/share/sgml/dtd/docbook/4.0/docbook.cat:22:0:W: DTDDECL > catalog entries are not supported > openjade:/sw/share/sgml/dtd/docbook/4.1/docbook.cat:22:0:W: DTDDECL > catalog entries are not supported > > I don't know what causes them but I really only have a desire to use > the current docbook DTD and it seems to be checking quite a few in the > catalog. Is there a way to eliminate the older ones, or at least get > them out of the catalog. Well, you could manually edit the catalog that fink installs (/sw/share/xml/ dtd/docbookx/catalog) so that it only points to the version of DocBook you are using. I configured the package to make them all work so that the user wouldn't have to do any fiddling "out of the box." These DTDDECL errors are not a serious problem, by the way. But, if you want to get rid of them all together, you can simply comment them out of the DocBook DTDs. good luck, sasha ___ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] Setting the MacOS X shell environment for Fink DocBook packages.
Here's a working example of some lines that can be included in an initialization file after installing the DocBook packages with Fink on Mac OS X. Note that I use the bash shell, so Cshellers out there will have to rewrite things a bit. # SGML_SHARE=/sw/share/sgml XML_SHARE=/sw/share/xml JADE_HOME=/sw/share/sgml/openjade-1.3 export SGML_CATALOG_FILES=$SGML_SHARE/catalog export SP_CHARSET_FIXED='YES' # Uncomment following line if you are using DocBook XML. # export SP_ENCODING='XML' #stylesheet locations NWALSH_DSSSL=$SGML_SHARE/dsssl/docbook-dsssl-nwalsh export DSL_HTML=$NWALSH_DSSSL/html/docbook.dsl export DSL_PRINT=$NWALSH_DSSSL/print/docbook.dsl export LDP_HTML=$NWALSH_DSSSL/html/ldp.dsl\#html export LDP_PRINT=$NWALSH_DSSSL/print/ldp.dsl\#print # If working with XML DocBook, add XML_SOC to the end of SGML_CATALOG_FILES. # Remember to use onsgmls with -wxml option. export XML_DCL=$JADE_HOME/pubtext/xml.dcl export XML_SOC=$JADE_HOME/pubtext/xml.soc # Some useful aliases: # # Setup environment for validating xml with onsgmls alias setupval="export SGML_CATALOG_FILES=$SGML_CATALOG_FILES:$XML_SOC" # Validate xml; reset your environment before using openjade alias onxmls="setupval; /sw/bin/onsgmls -sv -wxml " # Generate output. # Multiple HTML files in "chunks." alias genhtml="openjade -t sgml -d $LDP_HTML $XML_DCL " # Single big HTML file. Usage: # genhtmlbig filename.xml > filename.html alias genhtmlbig="openjade -t sgml -V nochunks -d $LDP_HTML $XML_DCL " # RTF format for use with Microsoft Word. alias genrtf="openjade -t rtf -d $LDP_PRINT $XML_DCL " # good luck, Sasha ___ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] Re: MacOS X, Fink DocBook bundle
Yeah, all the docbook dtds that are archived at www.oasis-open.org are in there...at the time it seemed like a neat idea ;) s On Thursday, February 28, 2002, at 02:51 PM, Norman Walsh wrote: > / Sasha Zucker <[EMAIL PROTECTED]> was heard to say: > | docbook-dtd's (all sgml and xml releases) with working catalog files > > All of them? Anything prior to about DocBook 3.1 is really just for > historical interest. Not that there's anything wrong with distributing > them, > of course... -- Sasha Zucker [EMAIL PROTECTED] ___ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
Re: DOCBOOK-APPS: Re: [Fink-users] MacOS X, Fink DocBook bundle
www.linuxdoc.org appears to be back up on the Net. I hope that the docbook packages work out for everyone. s -- Sasha Zucker [EMAIL PROTECTED] ___ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] MacOS X, Fink DocBook bundle
The file originally came from: http://www.linuxdoc.org/authors/tools/ldp.dsl but www.linuxdoc.org is no longer around, unexpectedly. The file is covered by the GPL license. The linux doc project appears to have moved to www.linux.org, but I can't find the ldp authors' tools. I'm going to investigate this further later this weekend. In the mean time, if anyone knows what happened to linuxdoc.org and where I can find ldp.dsl on the net, let me know. thanks, s On Sunday, February 24, 2002, at 06:24 AM, Neil Tiffin wrote: > Sasha, > > I would put this file up on our server (http://www.gnuenterprise.org) > except that with casual look I could not ascertain the copyrights or > origin of it. > > Do you have any pointer to the origin of the file? > > Neil > > At 4:58 PM -0800 2/23/02, Sasha Zucker wrote: >> On Saturday, February 23, 2002, at 04:13 PM, Neil Tiffin wrote: >> >>> I am also eager to try it but get the same error. >> >> It seems that www.linuxdoc.org no longer exists. I'm going to try to >> locate an alternative source. If anyone knows where I can d/l ldp.dsl let >> me know. >> In the mean time, the file that the ldp package fetches is attached. > > -- Sasha Zucker [EMAIL PROTECTED] ___ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] MacOS X, Fink DocBook bundle
On Saturday, February 23, 2002, at 04:13 PM, Neil Tiffin wrote: > I am also eager to try it but get the same error. It seems that www.linuxdoc.org no longer exists. I'm going to try to locate an alternative source. If anyone knows where I can d/l ldp.dsl let me know. In the mean time, the file that the ldp package fetches is attached. good luck and happy finking, s -- Sasha Zucker [EMAIL PROTECTED] ldp.dsl Description: Binary data
[Fink-users] MacOS X, Fink DocBook bundle
For those of you who use Mac OS X to develop technical documentation, the Fink package manager (http://fink.sourceforge.net) now has a several packages available that allow you to set up a docbook authoring environment. The packages I have contributed to the fink project include: docbook-dtd's (all sgml and xml releases) with working catalog files for the most recent releases ISO 8879 sgml entities nwalsh stylesheets and documentation linuxdoc project stylesheets The files are available in fink's unstable branch, which you can make available to the fink command by editing the "Trees" field of /sw/etc/fink.conf to look something like this: Trees: << local/main local/bootstrap stable/main stable/crypto unstable/main unstable/crypto << fink's docbook-bundle pacakge conveniently installs everything at once. $ fink install docbook-bundle All the files will be downloaded and installed by fink. Of course, you will need openjade, which is also available from fink. After installing the docbook packages with fink, you will have to complete other tasks before everything is running, such as setting SGML_CATALOG_FILES=/sw/share/sgml/catalog:/sw/share/xml/catalog. Refer to http://www.linuxdoc.org/HOWTO/mini/DocBook-Install/ for lots of useful information. good luck, s -- Sasha Zucker [EMAIL PROTECTED]
[Fink-users] Re: DocBook
On Wed, Jan 16, 2002 at 05:39:05PM +0100, Shaun Roe wrote: > Forgive the intrusion, I picked up your name from > http://www.dpawson.co.uk/docbook/tools.html#d56e355 > After a 'sherlock' search. I am looking for a reader for SGML DocBooks under > OSX...if I understand correctly, I may be able to install this from fink but > there are some quirks. Do you have a recipe or any advice before I try this? Well, that settles it. I am going to finish the fink packages for DocBook that I have been putting off since Thanksgiving. I'll resubmit the packages later tonight or maybe tommorow. hopefully the fink maintainers will put it in the unstable branch in a week or so. In any event, you should read: http://www.linuxdoc.org/HOWTO/mini/DocBook-Install/ The Fink packages I have been working on automate many of the tasks listed here. s -- Sasha Zucker [EMAIL PROTECTED] ___ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users