Handbook translation
Ganbold
ganbold at micom.mng.net
Mon Oct 16 01:59:55 UTC 2006
Giorgos,
Giorgos Keramidas wrote:
> On 2006-10-13 18:48, Ganbold <ganbold at micom.mng.net> wrote:
>
>> Thanks, Giorgos.
>>
>> We have already set up repo. I'm on RELENG_6.
>>
>> # uname -an
>> FreeBSD daemon.micom.mng.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #6:
>> Mon Sep 18 12:56:04 ULAST 2006
>> root at daemon.micom.mng.net:/usr/obj/usr/src/sys/GDAEMON i386
>>
>> According to FDP-Primer I set env variables before checking sgml file. I
>> have already installed textproc/docproj.
>>
>> setenv SGML_ROOT /usr/local/share/sgml
>> setenv SGML_CATALOG_FILES ${SGML_ROOT}/jade/catalog
>> setenv SGML_CATALOG_FILES ${SGML_ROOT}/iso8879/catalog:$SGML_CATALOG_FILES
>> setenv SGML_CATALOG_FILES ${SGML_ROOT}/html/catalog:$SGML_CATALOG_FILES
>> setenv SGML_CATALOG_FILES
>> ${SGML_ROOT}/docbook/4.1/catalog:$SGML_CATALOG_FILES
>> setenv SGML_CATALOG_FILES /usr/doc/share/sgml/catalog:$SGML_CATALOG_FILES
>> setenv SGML_CATALOG_FILES
>> /usr/doc/en_US.ISO8859-1/share/sgml/catalog:$SGML_CATALOG_FILES
>>
>> However I see errors when I try to check original en_US documents:
>>
>> daemon#pwd
>> /usr/doc/en_US.ISO8859-1
>> daemon# cd books/handbook/
>> daemon#
>> daemon# nsgmls -s colophon.sgml
>> nsgmls:colophon.sgml:7:0:E: no document type declaration; will parse
>> without validation
>> nsgmls:colophon.sgml:18:26:E: general entity "tex" not defined and no
>> default entity
>> daemon# nsgmls -s book.sgml
>> nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:54:0:E: cannot open
>> "/usr/local/share/sgml/docbook/4.1/iso-amsa.gml" (No such file or directory)
>> nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:61:0:E: cannot open
>> "/usr/local/share/sgml/docbook/4.1/iso-amsb.gml" (No such file or directory)
>> nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:68:0:E: cannot open
>> "/usr/local/share/sgml/docbook/4.1/iso-amsc.gml" (No such file or directory)
>> nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:75:0:E: cannot open
>> "/usr/local/share/sgml/docbook/4.1/iso-amsn.gml" (No such file or directory)
>> nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:82:0:E: cannot open
>> "/usr/local/share/sgml/docbook/4.1/iso-amso.gml" (No such file or directory)
>> nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:89:0:E: cannot open
>> "/usr/local/share/sgml/docbook/4.1/iso-amsr.gml" (No such file or directory)
>> nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:96:0:E: cannot open
>> "/usr/local/share/sgml/docbook/4.1/iso-box.gml" (No such file or directory)
>> nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:103:0:E: cannot open
>> "/usr/local/share/sgml/docbook/4.1/iso-cyr1.gml" (No such file or directory)
>>
>> Am I missing something?
>>
>
> Have you installed a recent version of any of the textproc/docproj* ports?
>
> % ls -dl /usr/ports/textproc/docproj*
> drwxr-xr-x 3 root wheel - 512 Sep 22 23:51 /usr/ports/textproc/docproj
> drwxr-xr-x 2 root wheel - 512 Sep 22 23:51 /usr/ports/textproc/docproj-jadetex
> drwxr-xr-x 2 root wheel - 512 Sep 22 23:51 /usr/ports/textproc/docproj-nojadetex
> %
>
I have update my ports already, but check reveals:
# ls -dl /usr/ports/textproc/docproj*
drwxr-xr-x 3 root wheel 512 Oct 14 14:44 /usr/ports/textproc/docproj
drwxr-xr-x 2 root wheel 512 Jun 8 23:32
/usr/ports/textproc/docproj-jadetex
drwxr-xr-x 2 root wheel 512 Jun 8 23:32
/usr/ports/textproc/docproj-nojadetex
> You seem to be missing the docbook 4.1 port:
>
> % ls -dl /usr/local/share/sgml/docbook/4.1/*
> -r--r--r-- 1 root wheel - 2095 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/40chg.txt
> -r--r--r-- 1 root wheel - 254 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/41chg.txt
> -r--r--r-- 1 root wheel - 1459 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/50issues.txt
> -r--r--r-- 1 root wheel - 3192 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/ChangeLog
> -r--r--r-- 1 root wheel - 14447 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/cals-tbl.dtd
> -r--r--r-- 1 root wheel - 3734 May 12 22:45 /usr/local/share/sgml/docbook/4.1/catalog
> -r--r--r-- 1 root wheel - 5640 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/dbcent.mod
> -r--r--r-- 1 root wheel - 1546 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/dbgenent.mod
> -r--r--r-- 1 root wheel - 60153 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/dbhier.mod
> -r--r--r-- 1 root wheel - 4291 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/dbnotn.mod
> -r--r--r-- 1 root wheel - 203767 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/dbpool.mod
> -r--r--r-- 1 root wheel - 3678 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/docbook.cat
> -r--r--r-- 1 root wheel - 2517 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/docbook.dcl
> -r--r--r-- 1 root wheel - 4464 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/docbook.dtd
> -r--r--r-- 1 root wheel - 351 Jun 19 2000 /usr/local/share/sgml/docbook/4.1/readme.txt
> %
>
>
I think I have all of them:
# ls -dl /usr/local/share/sgml/docbook/4.1/*
-r--r--r-- 1 root wheel 2095 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/40chg.txt
-r--r--r-- 1 root wheel 254 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/41chg.txt
-r--r--r-- 1 root wheel 1459 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/50issues.txt
-r--r--r-- 1 root wheel 3192 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/ChangeLog
-r--r--r-- 1 root wheel 14447 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/cals-tbl.dtd
-r--r--r-- 1 root wheel 3734 Oct 14 11:44
/usr/local/share/sgml/docbook/4.1/catalog
-r--r--r-- 1 root wheel 5640 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/dbcent.mod
-r--r--r-- 1 root wheel 1546 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/dbgenent.mod
-r--r--r-- 1 root wheel 60153 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/dbhier.mod
-r--r--r-- 1 root wheel 4291 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/dbnotn.mod
-r--r--r-- 1 root wheel 203767 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/dbpool.mod
-r--r--r-- 1 root wheel 3678 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/docbook.cat
-r--r--r-- 1 root wheel 2517 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/docbook.dcl
-r--r--r-- 1 root wheel 4464 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/docbook.dtd
-r--r--r-- 1 root wheel 351 Jun 19 2000
/usr/local/share/sgml/docbook/4.1/readme.txt
# pkg_info|grep doc
docbook-1.3 Meta-port for the different versions of the DocBook DTD
docbook-241_2 V2.4.1 of the DocBook DTD, designed for technical
documenta
docbook-3.0_2 V3.0 of the DocBook DTD, designed for technical
documentati
docbook-3.1_2 V3.1 of the DocBook DTD, designed for technical
documentati
docbook-4.0_2 V4.0 of the DocBook DTD, designed for technical
documentati
docbook-4.1_2 V4.1 of the DocBook DTD, designed for technical
documentati
docbook-4.3 DocBook/SGML DTD V4.3, designed for technical
documentation
docbook-sk-4.1.2_3 XML version of the DocBook DTD version controlled
for Scrol
docbook-xml-4.2_1 XML version of the DocBook DTD
docbook-xml-4.3 DocBook/XML DTD V4.3, designed for technical
documentation
docbook-xml-4.4 DocBook/XML DTD V4.4, designed for technical
documentation
docbook-xsl-1.69.1_1 XSL DocBook stylesheets
docproj-1.17 The "meta-port" for the FreeBSD Documentation Project
dsssl-docbook-modular-1.79,1 DSSSL stylesheets for the DocBook DTD by
Norman Walsh
linuxdoc-1.1_1 The Linuxdoc SGML DTD
sdocbook-xml-4.1.2.5_2 "Simplified" DocBook XML DTD
But I still get errors:
SGML_ROOT=/usr/local/share/sgml
SGML_CATALOG_FILES=/usr/doc/en_US.ISO8859-1/share/sgml/catalog:/usr/doc/share/sgml/catalog:/usr/local/share/sgml/docbook/4.1/catalog:/usr/local/share/sgml/html/catalog:/usr/local/share/sgml/iso8879/catalog:/usr/local/share/sgml/jade/catalog
daemon# nsgmls -s book.sgml
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:54:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-amsa.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:61:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-amsb.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:68:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-amsc.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:75:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-amsn.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:82:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-amso.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:89:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-amsr.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:96:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-box.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:103:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-cyr1.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:110:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-cyr2.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:117:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-dia.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:124:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-grk1.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:131:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-grk2.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:138:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-grk3.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:145:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-grk4.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:152:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-lat1.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:159:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-lat2.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:166:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-num.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:173:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-pub.gml" (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:180:0:E: cannot open
"/usr/local/share/sgml/docbook/4.1/iso-tech.gml" (No such file or directory)
nsgmls:book.sgml:119:25:E: general entity "trade" not defined and no
default entity
nsgmls:book.sgml:119:25:E: general entity "reg" not defined and no
default entity
nsgmls:book.sgml:143:18:E: general entity "url.relprefix" not defined
and no default entity
nsgmls:preface/preface.sgml:193:22:E: general entity "nbsp" not defined
and no default entity
nsgmls:preface/preface.sgml:568:47:E: general entity "gt" not defined
and no default entity
nsgmls:book.sgml:193:8:E: end tag for "PART" which is not finished
nsgmls:book.sgml:243:8:E: end tag for "PART" which is not finished
nsgmls:book.sgml:272:8:E: end tag for "PART" which is not finished
...
I think either I'm missing something or FDP-Primer information is not
enough. Correct me if I'm wrong here.
thanks,
Ganbold
>
>
>
More information about the freebsd-doc
mailing list