hgbook build

Faheem Mitha faheem at email.unc.edu
Thu Mar 17 00:51:21 CDT 2011



On Thu, 17 Mar 2011, Faheem Mitha wrote:

> On Thu, 17 Mar 2011, Dongsheng Song wrote:
>
>> On Thu, Mar 17, 2011 at 04:19, Faheem Mitha <faheem at email.unc.edu> wrote:
>
>>> Replacing FOP etc for en for example?
>>> 
>> 
>> No, just add dblatex support, please do NOT drop fop support.
>> 
>> dblatex is only an experimental feature for pdf output.
>> I do not think fop users should switch to dblatex.
>> 
>> You like dblatex, no problem, but please do not force others like it.
>> 
>> For example, you can add another target:
>>    make pdf-by-dblatex [LINGUA=en|...]
>
> Ok. Fair enough.
>
>>> I'm consistently having trouble getting the fr version to compile with 
>>> dblatex. Does it work for you? I don't read french, but it seems to me 
>>> that it should work.

>> Since fr not in my repository, I can not test fr support.
>> But I can build hgbook smoothly for en, es, it and ja.
>
> Build smoothly with FOP or with dblatex?
>
> I thought there was one repository. fr is in
> https://bitbucket.org/bos/hgbook/ and in
> http://hg.serpentine.com/mercurial/book

Also, I don't see es or ja targets here. When I added es, it errored out 
almost immediately.

PO_LANGUAGES := zh
DBK_LANGUAGES := en it fr

faheem at orwell[default branch:rev 1114]:~/hgbook-clone$ make clean
faheem at orwell[default branch:rev 1114]:~/hgbook-clone$ make pdf
for l in es ; do \
             make pdf LINGUA=$l; \
         done
make[1]: Entering directory `/home/faheem/hgbook-clone'
make[1]: *** No rule to make target `es/figs/caution.png', needed by 
`build/es/source/hgbook.xml'.  Stop.
make[1]: Leaving directory `/home/faheem/hgbook-clone'
make: *** [pdf] Error 2
cy

                                                                   Faheem


More information about the Mercurial-devel mailing list