index generation error

Ganbold ganbold at micom.mng.net
Thu Mar 22 08:04:49 UTC 2007


Hi,

I'm having trouble generating index on Handbook translation.
It seems the problem is related to the mail chapter, however I can't 
find the cause of the problem.

I have following problem:

daemon# make FORMATS="html html-split" GEN_INDEX=yes
===> mn_MN.UTF-8 (all)
===> mn_MN.UTF-8/books (all)
===> mn_MN.UTF-8/books/handbook (all)
/usr/bin/perl 
/usr/local/share/sgml/docbook/dsssl/modular/bin/collateindex.pl -i 
doc-index -N -o index.sgml
/usr/bin/env SP_ENCODING=UTF-8 /usr/local/bin/jade -V html-index -V 
nochunks -ioutput.html -d 
/usr/home/tsgan/freebsd_mn_doc/share/sgml/default.dsl 
-ifreebsd.urls.relprefix.4 -V %generate-legalnotice-link% -V 
%generate-docformat-navi-link% -ioutput.html.images -i chap.index -i 
chap.audit -i chap.advanced-networking -i chap.basics -i 
chap.bibliography -i chap.boot -i chap.config -i chap.cutting-edge -i 
chap.desktop -i chap.disks -i chap.eresources -i chap.firewalls -i 
chap.geom -i chap.install -i chap.introduction -i chap.kernelconfig -i 
chap.l10n -i chap.linuxemu -i chap.mac -i chap.mail -i chap.mirrors -i 
chap.multimedia -i chap.network-servers -i chap.pgpkeys -i chap.ports -i 
chap.ppp-and-slip -i chap.printing -i chap.security -i chap.serialcomms 
-i chap.users -i chap.vinum -i chap.x11 -i chap.freebsd-glossary -D 
/usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/books/handbook/../../../share/images/books/handbook 
-D /usr/obj/usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/books/handbook -c 
/usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/share/sgml/catalog -c 
/usr/home/tsgan/freebsd_mn_doc/share/sgml/catalog -c 
/usr/local/share/sgml/docbook/dsssl/modular/catalog -c 
/usr/local/share/sgml/iso8879/catalog -c 
/usr/local/share/sgml/docbook/catalog -c 
/usr/local/share/sgml/jade/catalog -c 
/usr/local/share/sgml/catalog.ports -t sgml 
/usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/books/handbook/book.sgml > 
/dev/null
/usr/bin/perl 
/usr/local/share/sgml/docbook/dsssl/modular/bin/collateindex.pl -i 
doc-index -g -o index.sgml html.index
Processing html.index...
1034 entries loaded...
collateindex.pl: duplicated index entry found: 386BSD
collateindex.pl: duplicated index entry found: К.И.С. Беркли
collateindex.pl: duplicated index entry found: цөм тохиргооны файл
collateindex.pl: duplicated index entry found: KERMIT
collateindex.pl: duplicated index entry found: MX RECORD
collateindex.pl: duplicated index entry found: NET/2
collateindex.pl: duplicated index entry found: PKG_ADD
7 entries ignored...
Done.
/usr/bin/env SP_ENCODING=UTF-8 /usr/local/bin/jade -V nochunks 
-ioutput.html -d /usr/home/tsgan/freebsd_mn_doc/share/sgml/default.dsl 
-ifreebsd.urls.relprefix.4 -V %generate-legalnotice-link% -V 
%generate-docformat-navi-link% -ioutput.html.images -i chap.index -i 
chap.audit -i chap.advanced-networking -i chap.basics -i 
chap.bibliography -i chap.boot -i chap.config -i chap.cutting-edge -i 
chap.desktop -i chap.disks -i chap.eresources -i chap.firewalls -i 
chap.geom -i chap.install -i chap.introduction -i chap.kernelconfig -i 
chap.l10n -i chap.linuxemu -i chap.mac -i chap.mail -i chap.mirrors -i 
chap.multimedia -i chap.network-servers -i chap.pgpkeys -i chap.ports -i 
chap.ppp-and-slip -i chap.printing -i chap.security -i chap.serialcomms 
-i chap.users -i chap.vinum -i chap.x11 -i chap.freebsd-glossary -D 
/usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/books/handbook/../../../share/images/books/handbook 
-D /usr/obj/usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/books/handbook -c 
/usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/share/sgml/catalog -c 
/usr/home/tsgan/freebsd_mn_doc/share/sgml/catalog -c 
/usr/local/share/sgml/docbook/dsssl/modular/catalog -c 
/usr/local/share/sgml/iso8879/catalog -c 
/usr/local/share/sgml/docbook/catalog -c 
/usr/local/share/sgml/jade/catalog -c 
/usr/local/share/sgml/catalog.ports -t sgml 
/usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/books/handbook/book.sgml > 
book.html || (/bin/rm -f book.html && false)
/usr/local/bin/jade:/usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/books/handbook/index.sgml:1760:0:E: 
character data is not allowed here
/usr/local/bin/jade:/usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/books/handbook/index.sgml:1761:47:E: 
document type does not allow element "ULINK" here; missing one of 
"SEEIE", "SEEALSOIE", "SECONDARYIE" start-tag
*** Error code 1

Stop in /usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/books/handbook.
*** Error code 1

Stop in /usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8/books.
*** Error code 1

Stop in /usr/home/tsgan/freebsd_mn_doc/mn_MN.UTF-8.
*** Error code 1

Stop in /usr/home/tsgan/freebsd_mn_doc.
daemon#
--------------------------------------------------------------------------------------------
And the problematic lines in generated index.sgml are:

<indexentry>
<primaryie>цахим захидал
</primaryie>
<seeie>захидал</seeie>
,
<ulink url="#MAIL-SYNOPSIS" role="AEN31975">Ерөнхий Агуулга</ulink> 
<secondaryie>хүлээн авах,
<ulink url="#MAIL-RECEIVE" role="AEN32111">Захидал хүлээн авах нь</ulink>
</secondaryie>
</indexentry>

I appreciate if somebody can give me some advices and recommendations.

thanks in advance,

Ganbold






More information about the freebsd-doc mailing list