hgbook build
Faheem Mitha
faheem at email.unc.edu
Wed Mar 16 07:02:27 UTC 2011
On Tue, 15 Mar 2011, Dongsheng Song wrote:
> If you post error message of 'make html LINGUA=en', I can give you some help.
> I do not think you have problems after you install dot and inkscape.
I can generate the en version both with Apache/Java/FOP and with dblatex.
I was having problems with the fr version with dblatex - if dblatex works
I would rather use that. I'm sure the problem is not with the
dependencies.
The problem (which is common between the FOP and dblatex approach to PDF
generation) is that sometimes the example scripts (or whatever they are
called) that generate some of the figures, error out. Not sure why.
>> As you are one of the authors of the Chinese translation, do you know why
>> the gkai fonts don't work? Are the cyberbit fonts required? BTW, this is my
>> ignorance speaking, but since there are multiple Chinese languages, which
>> one is being used here?
>> Regards, Faheem
>>
>
> Please blame dblatex why it can not use gbsn/gaki font or uming/ukai font.
>
> Font uming (general used for body) and ukai (general used for title) include
> almost all Chinese glyphs.
>
> 1) dblatex generate invalid font reference
> ~/vcs/hg/hgbook/build/zh/source$ dblatex -t tex -P latex.encoding=utf8
> hgbook.xml
> ~/vcs/hg/hgbook/build/zh/source$ less hgbook.tex
[snip]
> 2) If I update font reference
[snip]
> Then I can generate valid pdf file output:
> ~/vcs/hg/hgbook/build/zh/source$ xelatex hgbook.tex
>
> https://bitbucket.org/dongsheng/hgbook/downloads
> https://bitbucket.org/dongsheng/hgbook/downloads/hgbook-zh-dblatex-20100511.pdf
>
> But the pdf output quality is very very poor, e.g. line size are
> incorrect, lots of text out of line, etc.
> There have very very long way for dblatex used for CJK output.
Ok. I don't understand the issues with the Chinese translation, but maybe
it is worth submitting a bug report? In any case, do you agree using
dblatex (or some other simple thing) is reasonable for the other languages
like en for which it works correctly?
Regards, Faheem
More information about the Mercurial-devel
mailing list