Hy Simone,
as it said in the responded code, the problem is within your translated
files and not within the makefile.
For me the changed version works in all languages as also the english
version except the failed translation files themself but this has nothing to
do with the makefile.
But I am not using Mac. I only tested under cygwin and linux.
You can commit the change as long as it depends on your language.
Greetings
Thomas Weidner, I18N Team Leader
http://www.thomasweidner.com
----- Original Message -----
From: "Simone Carletti" <[EMAIL PROTECTED]>
To: "Thomas Weidner" <[EMAIL PROTECTED]>
Cc: <[email protected]>; <[EMAIL PROTECTED]>
Sent: Sunday, March 09, 2008 10:09 PM
Subject: Re: [fw-general] Re: CHM Documentation
I confirm Thomas.
I reverted my changes at r8716 and I get the following error back:
Macintosh:ita weppos$ autoconf
Macintosh:ita weppos$ ./configure
checking for xep... no
checking for xinc... no
checking for fop... no
checking for xsltproc... /opt/local/bin/xsltproc
checking for xmllint... /opt/local/bin/xmllint
configure: creating ./config.status
config.status: creating Makefile
Macintosh:ita weppos$ make
Makefile:59: *** missing separator (did you mean TAB instead of 8
spaces?).
Stop.
Then I opened makefile and changes softwrap at line 59 to a TAB and it
worked.
Well... it worked at least until line 340 of manual.xml when it failed for
an unknown reason.
manual.xml:339: element include: XInclude error : could not load
ref/requirements.xml, and no fallback was found
warning: failed to load external entity "ref/coding_standard.xml"
manual.xml:340: element include: XInclude error : could not load
ref/coding_standard.xml, and no fallback was found
make: *** [html/index.html] Error 1
I'm going to investigate it, it should depend on an outdated
manual.xml.infile.
What about the TAB vs soft wraps spaces? Are you going to fix them or
should
I commit an update? :)
-- Simone
Macintosh:ita weppos$ make
sed -e
'[EMAIL PROTECTED]@!http://framework.zend.com/docbook/xml/4.5/docbookx.dtd!'
manual.xml.in > manual.xml
sed -e
'[EMAIL PROTECTED]@!http://framework.zend.com/docbook-xsl/htmlhelp/htmlhelp.xsl!'
html.xsl.in > html.xsl
Rendering the whole manual with /opt/local/bin/xsltproc...
/opt/local/bin/xmllint --xinclude --output _temp_manual.xml manual.xml
Or, at least, it started... unfortunately
On Sun, Mar 9, 2008 at 9:49 PM, Simone Carletti <[EMAIL PROTECTED]> wrote:
ooops, I forgot to tell you the reason I changed Makefile was that your
changes broken the build process.
Here's the error:
Macintosh:it weppos$ make
Makefile:59: *** missing separator (did you mean TAB instead of 8
spaces?). Stop.
I noticed your like uses soft wraps while the other lines a TAB.
I'm going to revert my change to your revision and fix your line with a
TAB instead of soft wraps.
I'll let you know if it fixes the issue.
Stay tuned! ;)
-- Simone
On Sun, Mar 9, 2008 at 9:47 PM, Simone Carletti <[EMAIL PROTECTED]>
wrote:
> Hi Thomas,
> don't worry about r8716. Those changes are not related to this issue, I
> just discovered (working on this issue) that I forgot to sync the
> italian
> xinclude with the latest changes made at r7499.
>
> Update: I'm going to revert changes at makefile. I committed them by
> mistake.
>
> About the CHM, I finally created it.
> Microsoft HTMLHelp Workshop 1.3 worked as well. I used hhw (as I told
> you I don't have hhc in the version 1.3) and I passed the html as an
> argument.
> It opened the GUI pre-filled with all files, then I just pressed
> "compile" and it worked.
>
> -- Simone
>
>
>
> On Sun, Mar 9, 2008 at 9:38 PM, Thomas Weidner <[EMAIL PROTECTED]>
> wrote:
>
> > Hy simon,
> >
> > The needed software is Microsoft HTMLHelp Workshop 1.4.
> >
> > And no... hhw is wrong... there is a hhc.exe which is the commandline
> > tool.
> > hhw is the windows tool which can not be accessed by commandline.
> >
> > To make a CHM you should previously be able to generate the HTML
> > source from
> > docbook anyway.
> > This part has not changed.
> >
> > Btw: You should not change the Makefile (SVN-8716)... this is the
> > build file
> > and it must differ from english, otherwise it makes problems if there
> > are
> > parts of the manual not translated.
> >
> > I changed all languages, so you should not change it back again. It
> > really
> > works.
> >
> > Greetings
> > Thomas Weidner, I18N Team Leader
> > http://www.thomasweidner.com
> >
> > ----- Original Message -----
> > From: "Simone Carletti" <[EMAIL PROTECTED]>
> > To: "Thomas Weidner" <[EMAIL PROTECTED]>
> > Cc: <[email protected]>; <[EMAIL PROTECTED]>
> > Sent: Sunday, March 09, 2008 9:15 PM
> > Subject: Re: CHM Documentation
> >
> >
> > > Hi Thomas,
> > > first thanks for your new contribution.
> > >
> > > I've a question for you. I'm sorry if it appears a newbie question,
> > but in
> > > fact it is.
> > > I've never built a CHM file before.
> > >
> > > I read your instructions in the README file but I think they made
> > too much
> > > assumptions for a person who want to create a CHM itself.
> > > I tried to follow them and first I searched for the additional
> > libraries
> > > to
> > > install.
> > >
> > > A query for MsHtmlHelpWorkshop didn't return any result thus I
> > assumed it
> > > was a "tiny name".
> > > I run an additional search for the name of the binary file you
> > indicate in
> > > the readme and I discovered the link
> > >
> >
http://www.microsoft.com/downloads/details.aspx?FamilyID=00535334-c8a6-452f-9aa0-d597d16580cc&displaylang=enthat
> > > appears to be the closest match.
> > > Is this the right file? If so, I would suggest to put a direct link
> > in the
> > > readme file.
> > >
> > > Then I installed the library but I noticed the binary file is
> > > hhw.exeinstead of
> > > hhc.exe.
> > > Am I on the right way?
> > >
> > > -- Simone
> > >
> > >
> > > On Sat, Mar 8, 2008 at 8:08 PM, Thomas Weidner <
> > [EMAIL PROTECTED]>
> > > wrote:
> > >
> > >> Hy Frameworkers,
> > >>
> > >> I just integrated CHM generation for all languages within the Zend
> > >> Framework.
> > >>
> > >> Those of you who want to build it themself will have to download
> > the
> > >> latest
> > >> trunk and see into the README file in each language for how to do
> > this.
> > >>
> > >> Those of you who are not able to generate the manual can download
> > it from
> > >> my
> > >> homepage. But not all at once :-)
> > >>
> > >> All of you who want to have the CHM documentation also in future
> > and for
> > >> new
> > >> releases can vote in this issue
> > >> http://framework.zend.com/issues/browse/ZF-2454 for integration...
> > maybe
> > >> we
> > >> can persuade Wil to do this for us. :-)
> > >>
> > >> The german team and I are working on integrating also an index...
> > german
> > >> speakers can look here
> > >> http://www.zfforum.de/showthread.php?p=15527#post15527 for
> > >> details.
> > >>
> > >> Greetings
> > >> Thomas Weidner, I18N Team Leader
> > >> http://www.thomasweidner.com
> > >>
> > >>
> > >
> >
> >
>