[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 关于 qref.sf.net 的中文翻译 debian.sgml 报错



Haifeng Chen wrote:

>debian.sgml 翻译结束。
>其中 aptitude 还有部分没有翻译,等待 aptitude 的翻译更新之后再补上。
>还是修改了原来翻译中中英问直接没有空格的情况,这样看上去更加舒服。
>完成的 debian.sgml 在附件中,请大家一起来校验一下。
>  
>
debian.sgml 在编译的时候报如下错误:

make html LANGS1=zh-cn LANGS2=zh-cn
echo "<!ENTITY language \"zh-cn\">" > reference.zh-cn.ent
echo "<!ENTITY % lang-zh-cn \"INCLUDE\">" >> reference.zh-cn.ent
echo "<!ENTITY docdate \"$(bin/getdocdate zh-cn)\">" >> reference.zh-cn.ent
echo "<!ENTITY docversion \"CVS\">" >> reference.zh-cn.ent
echo "<!ENTITY % f-ref \"INCLUDE\">" >> reference.zh-cn.ent
echo "<!ENTITY % q-ref \"IGNORE\">" >> reference.zh-cn.ent
ln -sf fix.html.ent fix.ent
debiandoc2html -t reference -l $(echo zh-cn | bin/getlocale) -c
reference.zh-cn .sgml
nsgmls:zh-cn/debian.sgml:11:10:E: general entity "deian" not defined and
no defa ult entity
nsgmls:zh-cn/debian.sgml:207:49:E: end tag for element "TT" which is not
open
nsgmls:zh-cn/debian.sgml:208:5:E: document type does not allow element
"ITEM" he re
nsgmls:zh-cn/debian.sgml:209:49:E: end tag for element "TT" which is not
open
nsgmls:zh-cn/debian.sgml:210:5:E: document type does not allow element
"ITEM" he re
nsgmls:zh-cn/debian.sgml:211:49:E: end tag for element "TT" which is not
open
nsgmls:zh-cn/debian.sgml:212:5:E: document type does not allow element
"ITEM" he re
nsgmls:zh-cn/debian.sgml:213:48:E: end tag for element "TT" which is not
open
nsgmls:zh-cn/debian.sgml:214:5:E: document type does not allow element
"ITEM" he re
nsgmls:zh-cn/debian.sgml:216:5:E: document type does not allow element
"ITEM" he re; missing one of "LIST", "ENUMLIST" start-tag
nsgmls:zh-cn/debian.sgml:218:5:E: document type does not allow element
"ITEM" he re; missing one of "LIST", "ENUMLIST" start-tag
nsgmls:zh-cn/debian.sgml:221:5:E: document type does not allow element
"ITEM" he re; missing one of "LIST", "ENUMLIST" start-tag
nsgmls:zh-cn/debian.sgml:223:5:E: document type does not allow element
"ITEM" he re; missing one of "LIST", "ENUMLIST" start-tag
nsgmls:zh-cn/debian.sgml:225:5:E: document type does not allow element
"ITEM" he re; missing one of "LIST", "ENUMLIST" start-tag
nsgmls:zh-cn/debian.sgml:227:5:E: document type does not allow element
"ITEM" he re; missing one of "LIST", "ENUMLIST" start-tag
nsgmls:zh-cn/debian.sgml:229:6:E: end tag for "VAR" omitted, but its
declaration does not permit this
nsgmls:zh-cn/debian.sgml:213:32: start tag was here
nsgmls:zh-cn/debian.sgml:229:6:E: end tag for "VAR" omitted, but its
declaration does not permit this
nsgmls:zh-cn/debian.sgml:211:33: start tag was here
nsgmls:zh-cn/debian.sgml:229:6:E: end tag for "VAR" omitted, but its
declaration does not permit this
nsgmls:zh-cn/debian.sgml:209:33: start tag was here
nsgmls:zh-cn/debian.sgml:229:6:E: end tag for "VAR" omitted, but its
declaration does not permit this
nsgmls:zh-cn/debian.sgml:207:33: start tag was here
nsgmls:zh-cn/debian.sgml:283:111:E: end tag for element "VAR" which is
not open
nsgmls:zh-cn/debian.sgml:283:128:E: end tag for element "VAR" which is
not open
nsgmls:zh-cn/debian.sgml:283:170:E: end tag for "VAR" omitted, but its
declarati
on does not permit this
nsgmls:zh-cn/debian.sgml:283:130: start tag was here
make: *** [reference.zh-cn.html.stamp] 错误 1
rm reference.zh-cn.ent


肖盛文(Faris Xiao)
Email:atzlinux@163.com




Reply to: