On Fri, Sep 11, 2009 at 9:50 PM, Yuki KODAMA <endflow....@gmail.com> wrote:
> On Sat, Sep 12, 2009 at 11:34, Steve Borho <st...@borho.org> wrote:
>> On Fri, Sep 11, 2009 at 8:53 PM, Yuki KODAMA <endflow....@gmail.com> wrote:
>>> On Sat, Sep 12, 2009 at 02:55, Steve Borho <st...@borho.org> wrote:
>>>> Are the JA docs far enough along for me to offer them for download on the 
>>>> Wiki?
>>>> I've found that I can easily build them.
>>>
>>> Yep, it's nearing completion. But I've requested some screenshots to
>>> my friend, I want to wait them. Could you wait a bit while?
>>
>> Sure.
>>
>>> BTW, I can generate HTML help, but cannot generate CHM and PDF help.
>>> When I executed command ("Build.bat chm ja"), it introduces following 
>>> errors:
>>>
>>> Traceback (most recent call last):
>>>  File 
>>> "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\cmdline.py",
>>> line 172, in main
>>>    app.build(all_files, filenames)
>>>  File 
>>> "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\application.py",
>>> line 130, in build
>>>    self.builder.build_update()
>>>  File 
>>> "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\builders\__init__.py",
>>> line 265, in build_update
>>>    'out of date' % len(to_build))
>>>  File 
>>> "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\builders\__init__.py",
>>> line 323, in build
>>>    self.finish()
>>>  File 
>>> "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\builders\html.py",
>>> line 572, in finish
>>>    self.handle_finish()
>>>  File 
>>> "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\builders\htmlhelp.py",
>>> line 145, in handle_finish
>>>    self.build_hhx(self.outdir, self.config.htmlhelp_basename)
>>>  File 
>>> "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\builders\htmlhelp.py",
>>> line 185, in build_hhx
>>>    'modindex.html'))
>>> UnicodeEncodeError: 'ascii' codec can't encode characters in position
>>> 64-71: ordinal not in range(128)
>>>
>>> Do you get same errors?
>>> I'm using sphinx 0.6.2 and Python 2.5.4.
>>
>> Yeah, I spoke too soon.  I can build HTML but not PDF or CHM.
>>
>> These are probably questions for the Sphinx folks.
>
> Finally, I could build CHM help. It's just environment path problem.
> I already installed HTML Help Workshop in expected place,
> but Build.bat didn't recognize it. I assume there lines (Build.bat):
>
> if "%hhc_compiler" equ "" (
>    set hhc_compiler="%ProgramFiles%\HTML Help Workshop\hhc.exe"
> )
>
> work well if environment variable is empty.
> However, it didn't fill "hhc_compiler" variable. So I add HHC path manually
> and I got valid CHM file.
>
> Anyway, when I finish doc work, I'll send compiled CHM file.
> In my environment, it can be compiled correctly.
> I have no time to debug Sphinx now :P
> And you know, encoding problem is very tricky & twisted.

Without a doubt.

> Thanks for attention to Japanese docs.

I look forward to the end results. Thanks.

--
Steve Borho

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to