Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] PDF manual

Date2010-03-17 10:43
FromFrancois PINOT
SubjectRe: [Cs-dev] PDF manual
AttachmentsNone  None  
Well, with fop-0.20.5, the error appeared toward the end of compilation. And I remembered that we once had the same problem with quickref.xml. In fact, examples.xml is not well formed referring to docbook. The <part> component should have a direct child among those ones: <appendix>, <chapter>, etc (see http://www.docbook.org/tdg/en/html/part.html). Maybe we could generate a single file from quickref.py that would include both opcodes quickref and examples as two <chapter> children of the <part> element? I can investigate to produce a static xml example before we modify quickref.xml, but I've no time to do it in the next few days.

With fop-0.95 it doesn't work anyway. I even try with a trunk version from apache svn with the same errors. By googling about the topic, it seems that it's a known problem between docbook and fop-0.9x. So I would recommend to stay with fop-0.20.5

Regards

François

Date: Wed, 17 Mar 2010 10:17:53 +0000
From: Andres Cabrera <mantaraya36@gmail.com>
Subject: Re: [Cs-dev] PDF manual
To: Developer discussions <csound-devel@lists.sourceforge.net>
Message-ID:
       <6d8a7ed21003170317r6cd1e27ep4488455dd68135f8@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hi,
Thanks, I've now found the problem.

How did you know where it was? Did you have to do it by trial and error?

Cheers,
Andr?s

On Tue, Mar 16, 2010 at 9:16 PM, PINOT Francois <fggpinot@gmail.com> wrote:
> The problem comes from misc/example.xml. If you comment out the entity
> for that file in misc/top.xml (<!-- ?&miscexamples;-->), then the pdf
> manual will compile with fop-0.20.5.
>
> Regards
>
> Francois Pinot
>
> csound-devel-request@lists.sourceforge.net a ?crit :
>> Date: Tue, 16 Mar 2010 12:32:45 +0000
>> From: Andres Cabrera <mantaraya36@gmail.com>
>> Subject: Re: [Cs-dev] PDF manual
>> To: Developer discussions <csound-devel@lists.sourceforge.net>
>> Message-ID:
>> ? ? ? <6d8a7ed21003160532u5e53d401qe971f53394ed6a5@mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Thanks Steven.
>>
>> Cheers,
>> Andr?s
>>
>> On Tue, Mar 16, 2010 at 12:03 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>
>>> Thanks Andres,
>>>
>>> I remember having issues like this with fop when first doing the pdf
>>> manual as well as when transitioning to fop 0.95 for the blue manual.
>>> I had to look at the fo output file and it usually lead to something
>>> that was malformed in the original docbook which worked fine for html
>>> but not PDF. I'll try building the manual here in just a bit to
>>> reproduce the bug and will reply back if I find anything.
>>>
>>> Thanks!
>>> Steven
>>>
>>> On 3/16/10, Andres Cabrera <mantaraya36@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> No, it's not the memory exception (I solved that already) it's a
>>>> different strange error on fop 0.9X. On the older version, things go
>>>> fine (it seems that it's generating things, goes through all 2000 plus
>>>> pages, but doesn't produce any final output due to the error (it's not
>>>> a crash):
>>>>
>>>> [ERROR] property - "background-position-horizontal" is not implemented yet.
>>>>
>>>> this comes from the generated fo file which contains this properties,
>>>> which actually doesn't come from the document, but seems related to my
>>>> docbook package. Probably something was added to docbook which is
>>>> incompatible with the older version of fop, but there's something
>>>> somewhere which is incompatible with the current version.
>>>>
>>>> The error for the current version (fop-0.95) is:
>>>>
>>>> fop -fo Csound5.12_manual.fo -pdf Csound5.12_manual.pdf
>>>>
>>>> 16-Mar-2010 08:56:36 org.apache.fop.cli.Main startFOP
>>>> SEVERE: Exception
>>>> javax.xml.transform.TransformerException:
>>>> org.apache.fop.apps.FOPException:
>>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>>> Error(2/29388): No element mapping definition found for (Namespace
>>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>>> "destination")
>>>> ? ? ? at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
>>>> ? ? ? at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>>>> Caused by: javax.xml.transform.TransformerException:
>>>> org.apache.fop.apps.FOPException:
>>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>>> Error(2/29388): No element mapping definition found for (Namespace
>>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>>> "destination")
>>>> ? ? ? at
>>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
>>>> ? ? ? at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>>>> ? ? ? ... 3 more
>>>> Caused by: org.apache.fop.apps.FOPException:
>>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>>> Error(2/29388): No element mapping definition found for (Namespace
>>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>>> "destination")
>>>> ? ? ? at
>>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>>>> ? ? ? at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>>>> ? ? ? at org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>>>> ? ? ? at
>>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>>>> ? ? ? at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>>>> ? ? ? at
>>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>>>> Source)
>>>> ? ? ? at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>>>> ? ? ? at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>>>> Source)
>>>> ? ? ? at
>>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>>>> Source)
>>>> ? ? ? at
>>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>>> Source)
>>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>>>> ? ? ? at
>>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>>>> ? ? ? ... 4 more
>>>>
>>>> ---------
>>>>
>>>> javax.xml.transform.TransformerException:
>>>> org.apache.fop.apps.FOPException:
>>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>>> Error(2/29388): No element mapping definition found for (Namespace
>>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>>> "destination")
>>>> ? ? ? at
>>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
>>>> ? ? ? at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>>>> ? ? ? at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>>>> Caused by: org.apache.fop.apps.FOPException:
>>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>>> Error(2/29388): No element mapping definition found for (Namespace
>>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>>> "destination")
>>>> ? ? ? at
>>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>>>> ? ? ? at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>>>> ? ? ? at org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>>>> ? ? ? at
>>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>>>> ? ? ? at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>>>> ? ? ? at
>>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>>>> Source)
>>>> ? ? ? at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>>>> ? ? ? at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>>>> Source)
>>>> ? ? ? at
>>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>>>> Source)
>>>> ? ? ? at
>>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>>> Source)
>>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>>>> ? ? ? at
>>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>>>> ? ? ? ... 4 more
>>>> ---------
>>>> org.apache.fop.apps.FOPException:
>>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>>> Error(2/29388): No element mapping definition found for (Namespace
>>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>>> "destination")
>>>> ? ? ? at
>>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>>>> ? ? ? at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>>>> ? ? ? at org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>>>> ? ? ? at
>>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>>>> ? ? ? at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>>>> ? ? ? at
>>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>>>> Source)
>>>> ? ? ? at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>>>> ? ? ? at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>>>> Source)
>>>> ? ? ? at
>>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>>>> Source)
>>>> ? ? ? at
>>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>>> Source)
>>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>>> ? ? ? at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>>>> ? ? ? at
>>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>>>> ? ? ? at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>>>> ? ? ? at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>>>>
>>>>
>>>> At the reported line and column you find:
>>>> <fox:outline internal-destination="PrefaceHistory">
>>>>
>>>> but later you do find:
>>>> <fo:block id="PrefaceHistory">
>>>>
>>>> So I'm not sure what's wrong...
>>>>
>>>> Cheers,
>>>> Andr?s
>>>>
>>>> On Tue, Mar 16, 2010 at 1:16 AM, Steven Yi <stevenyi@gmail.com> wrote:
>>>>
>>>>> Hi Andres,
>>>>>
>>>>> I haven't tried building the manual in quite a while, but for the
>>>>> crashing, is it memory related (OutOfMemoryException)? ?If so, you may
>>>>> be able to increase the max memory used for fop.sh in the script that
>>>>> comes installed from the package manager. ?(I remember having memory
>>>>> issues with building pdf's and I think I may have written in something
>>>>> in the readme). If that's not it, could you post what the crashing
>>>>> error message was if any was given?
>>>>>
>>>>> Thanks!
>>>>> steven
>>>>>
>>>>> On Sun, Mar 14, 2010 at 5:51 AM, Andres Cabrera <mantaraya36@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I'm having trouble building the pdf manual. hadn't done it for a while...
>>>>>>
>>>>>> I'm on Ubuntu 9.10 using the docbook, xsltproc packages from the
>>>>>> Ubuntu repositories. Html building is fine.
>>>>>>
>>>>>> But for pdf I find:
>>>>>> fop 0.9X won't work, it crashes.
>>>>>> the older 0.20.5 release will run OK, but report these errors:
>>>>>> [ERROR] property - "background-position-horizontal" is not implemented
>>>>>> yet.
>>>>>>
>>>>>> and therefore not produce output.
>>>>>> If I look for those on the .fo file, they are related to this image:
>>>>>> <fo:region-body margin-bottom="0.5in" margin-top="0.5in"
>>>>>> column-gap="12pt" column-count="1"
>>>>>> background-image="http://docbook.sourceforge.net/release/images/draft.png"
>>>>>> background-attachment="fixed" background-repeat="no-repeat"
>>>>>> background-position-horizontal="center"
>>>>>> background-position-vertical="center"/>
>>>>>>
>>>>>> Any ideas?
>>>>>>
>>>>>> Cheers,
>>>>>> Andr?s
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Download Intel&#174; Parallel Studio Eval
>>>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>>>>> proactively, and fine-tune applications for parallel performance.
>>>>>> See why Intel Parallel Studio got high marks during beta.
>>>>>> http://p.sf.net/sfu/intel-sw-dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Download Intel&#174; Parallel Studio Eval
>>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>>>> proactively, and fine-tune applications for parallel performance.
>>>>> See why Intel Parallel Studio got high marks during beta.
>>>>> http://p.sf.net/sfu/intel-sw-dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> Andr?s
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Download Intel&#174; Parallel Studio Eval
>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>>> proactively, and fine-tune applications for parallel performance.
>>>> See why Intel Parallel Studio got high marks during beta.
>>>> http://p.sf.net/sfu/intel-sw-dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>> --
>>> Sent from my mobile device
>>>
>>> ------------------------------------------------------------------------------
>>> Download Intel&#174; Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>
>>
>>
>>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



--


Andr?s



------------------------------

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


End of Csound-devel Digest, Vol 47, Issue 40
********************************************



Date2010-03-17 10:55
FromAndres Cabrera
SubjectRe: [Cs-dev] PDF manual
Hi,

Thanks for the information. Don't worry, I've fixed generation of
examples.xml, the problem was empty urls and also the problems in the
docbook structure. It's now generated properly, and pdf builds fine.

I've also put up the pdf versions of the manual on the sourceforge page.

Cheers,
Andrés

On Wed, Mar 17, 2010 at 10:43 AM, Francois PINOT  wrote:
> Well, with fop-0.20.5, the error appeared toward the end of compilation. And
> I remembered that we once had the same problem with quickref.xml. In fact,
> examples.xml is not well formed referring to docbook. The  component
> should have a direct child among those ones: , , etc (see
> http://www.docbook.org/tdg/en/html/part.html). Maybe we could generate a
> single file from quickref.py that would include both opcodes quickref and
> examples as two  children of the  element? I can investigate
> to produce a static xml example before we modify quickref.xml, but I've no
> time to do it in the next few days.
>
> With fop-0.95 it doesn't work anyway. I even try with a trunk version from
> apache svn with the same errors. By googling about the topic, it seems that
> it's a known problem between docbook and fop-0.9x. So I would recommend to
> stay with fop-0.20.5
>
> Regards
>
> François
>
>> Date: Wed, 17 Mar 2010 10:17:53 +0000
>> From: Andres Cabrera 
>> Subject: Re: [Cs-dev] PDF manual
>> To: Developer discussions 
>> Message-ID:
>>        <6d8a7ed21003170317r6cd1e27ep4488455dd68135f8@mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Hi,
>> Thanks, I've now found the problem.
>>
>> How did you know where it was? Did you have to do it by trial and error?
>>
>> Cheers,
>> Andr?s
>>
>> On Tue, Mar 16, 2010 at 9:16 PM, PINOT Francois 
>> wrote:
>> > The problem comes from misc/example.xml. If you comment out the entity
>> > for that file in misc/top.xml (), then the pdf
>> > manual will compile with fop-0.20.5.
>> >
>> > Regards
>> >
>> > Francois Pinot
>> >
>> > csound-devel-request@lists.sourceforge.net a ?crit :
>> >> Date: Tue, 16 Mar 2010 12:32:45 +0000
>> >> From: Andres Cabrera 
>> >> Subject: Re: [Cs-dev] PDF manual
>> >> To: Developer discussions 
>> >> Message-ID:
>> >> ? ? ? <6d8a7ed21003160532u5e53d401qe971f53394ed6a5@mail.gmail.com>
>> >> Content-Type: text/plain; charset=UTF-8
>> >>
>> >> Thanks Steven.
>> >>
>> >> Cheers,
>> >> Andr?s
>> >>
>> >> On Tue, Mar 16, 2010 at 12:03 PM, Steven Yi  wrote:
>> >>
>> >>> Thanks Andres,
>> >>>
>> >>> I remember having issues like this with fop when first doing the pdf
>> >>> manual as well as when transitioning to fop 0.95 for the blue manual.
>> >>> I had to look at the fo output file and it usually lead to something
>> >>> that was malformed in the original docbook which worked fine for html
>> >>> but not PDF. I'll try building the manual here in just a bit to
>> >>> reproduce the bug and will reply back if I find anything.
>> >>>
>> >>> Thanks!
>> >>> Steven
>> >>>
>> >>> On 3/16/10, Andres Cabrera  wrote:
>> >>>
>> >>>> Hi,
>> >>>>
>> >>>> No, it's not the memory exception (I solved that already) it's a
>> >>>> different strange error on fop 0.9X. On the older version, things go
>> >>>> fine (it seems that it's generating things, goes through all 2000
>> >>>> plus
>> >>>> pages, but doesn't produce any final output due to the error (it's
>> >>>> not
>> >>>> a crash):
>> >>>>
>> >>>> [ERROR] property - "background-position-horizontal" is not
>> >>>> implemented yet.
>> >>>>
>> >>>> this comes from the generated fo file which contains this properties,
>> >>>> which actually doesn't come from the document, but seems related to
>> >>>> my
>> >>>> docbook package. Probably something was added to docbook which is
>> >>>> incompatible with the older version of fop, but there's something
>> >>>> somewhere which is incompatible with the current version.
>> >>>>
>> >>>> The error for the current version (fop-0.95) is:
>> >>>>
>> >>>> fop -fo Csound5.12_manual.fo -pdf Csound5.12_manual.pdf
>> >>>>
>> >>>> 16-Mar-2010 08:56:36 org.apache.fop.cli.Main startFOP
>> >>>> SEVERE: Exception
>> >>>> javax.xml.transform.TransformerException:
>> >>>> org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>> >>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>> >>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>> >>>> Caused by: javax.xml.transform.TransformerException:
>> >>>> org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>> >>>> ? ? ? ... 3 more
>> >>>> Caused by: org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>> >>>> ? ? ? ... 4 more
>> >>>>
>> >>>> ---------
>> >>>>
>> >>>> javax.xml.transform.TransformerException:
>> >>>> org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>> >>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>> >>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>> >>>> Caused by: org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>> >>>> ? ? ? ... 4 more
>> >>>> ---------
>> >>>> org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>> >>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>> >>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>> >>>>
>> >>>>
>> >>>> At the reported line and column you find:
>> >>>> 
>> >>>>
>> >>>> but later you do find:
>> >>>> 
>> >>>>
>> >>>> So I'm not sure what's wrong...
>> >>>>
>> >>>> Cheers,
>> >>>> Andr?s
>> >>>>
>> >>>> On Tue, Mar 16, 2010 at 1:16 AM, Steven Yi 
>> >>>> wrote:
>> >>>>
>> >>>>> Hi Andres,
>> >>>>>
>> >>>>> I haven't tried building the manual in quite a while, but for the
>> >>>>> crashing, is it memory related (OutOfMemoryException)? ?If so, you
>> >>>>> may
>> >>>>> be able to increase the max memory used for fop.sh in the script
>> >>>>> that
>> >>>>> comes installed from the package manager. ?(I remember having memory
>> >>>>> issues with building pdf's and I think I may have written in
>> >>>>> something
>> >>>>> in the readme). If that's not it, could you post what the crashing
>> >>>>> error message was if any was given?
>> >>>>>
>> >>>>> Thanks!
>> >>>>> steven
>> >>>>>
>> >>>>> On Sun, Mar 14, 2010 at 5:51 AM, Andres Cabrera
>> >>>>> 
>> >>>>> wrote:
>> >>>>>
>> >>>>>> Hi all,
>> >>>>>>
>> >>>>>> I'm having trouble building the pdf manual. hadn't done it for a
>> >>>>>> while...
>> >>>>>>
>> >>>>>> I'm on Ubuntu 9.10 using the docbook, xsltproc packages from the
>> >>>>>> Ubuntu repositories. Html building is fine.
>> >>>>>>
>> >>>>>> But for pdf I find:
>> >>>>>> fop 0.9X won't work, it crashes.
>> >>>>>> the older 0.20.5 release will run OK, but report these errors:
>> >>>>>> [ERROR] property - "background-position-horizontal" is not
>> >>>>>> implemented
>> >>>>>> yet.
>> >>>>>>
>> >>>>>> and therefore not produce output.
>> >>>>>> If I look for those on the .fo file, they are related to this
>> >>>>>> image:
>> >>>>>> > >>>>>> column-gap="12pt" column-count="1"
>> >>>>>>
>> >>>>>> background-image="http://docbook.sourceforge.net/release/images/draft.png"
>> >>>>>> background-attachment="fixed" background-repeat="no-repeat"
>> >>>>>> background-position-horizontal="center"
>> >>>>>> background-position-vertical="center"/>
>> >>>>>>
>> >>>>>> Any ideas?
>> >>>>>>
>> >>>>>> Cheers,
>> >>>>>> Andr?s
>> >>>>>>
>> >>>>>>
>> >>>>>> ------------------------------------------------------------------------------
>> >>>>>> Download Intel® Parallel Studio Eval
>> >>>>>> Try the new software tools for yourself. Speed compiling, find bugs
>> >>>>>> proactively, and fine-tune applications for parallel performance.
>> >>>>>> See why Intel Parallel Studio got high marks during beta.
>> >>>>>> http://p.sf.net/sfu/intel-sw-dev
>> >>>>>> _______________________________________________
>> >>>>>> Csound-devel mailing list
>> >>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>> ------------------------------------------------------------------------------
>> >>>>> Download Intel® Parallel Studio Eval
>> >>>>> Try the new software tools for yourself. Speed compiling, find bugs
>> >>>>> proactively, and fine-tune applications for parallel performance.
>> >>>>> See why Intel Parallel Studio got high marks during beta.
>> >>>>> http://p.sf.net/sfu/intel-sw-dev
>> >>>>> _______________________________________________
>> >>>>> Csound-devel mailing list
>> >>>>> Csound-devel@lists.sourceforge.net
>> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>
>> >>>>>
>> >>>>
>> >>>> --
>> >>>>
>> >>>>
>> >>>> Andr?s
>> >>>>
>> >>>>
>> >>>> ------------------------------------------------------------------------------
>> >>>> Download Intel® Parallel Studio Eval
>> >>>> Try the new software tools for yourself. Speed compiling, find bugs
>> >>>> proactively, and fine-tune applications for parallel performance.
>> >>>> See why Intel Parallel Studio got high marks during beta.
>> >>>> http://p.sf.net/sfu/intel-sw-dev
>> >>>> _______________________________________________
>> >>>> Csound-devel mailing list
>> >>>> Csound-devel@lists.sourceforge.net
>> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>
>> >>>>
>> >>> --
>> >>> Sent from my mobile device
>> >>>
>> >>>
>> >>> ------------------------------------------------------------------------------
>> >>> Download Intel® Parallel Studio Eval
>> >>> Try the new software tools for yourself. Speed compiling, find bugs
>> >>> proactively, and fine-tune applications for parallel performance.
>> >>> See why Intel Parallel Studio got high marks during beta.
>> >>> http://p.sf.net/sfu/intel-sw-dev
>> >>> _______________________________________________
>> >>> Csound-devel mailing list
>> >>> Csound-devel@lists.sourceforge.net
>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Download Intel® Parallel Studio Eval
>> > Try the new software tools for yourself. Speed compiling, find bugs
>> > proactively, and fine-tune applications for parallel performance.
>> > See why Intel Parallel Studio got high marks during beta.
>> > http://p.sf.net/sfu/intel-sw-dev
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>>
>>
>> --
>>
>>
>> Andr?s
>>
>>
>>
>> ------------------------------
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>>
>> ------------------------------
>>
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> End of Csound-devel Digest, Vol 47, Issue 40
>> ********************************************
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>



-- 


Andrés

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge

Date2010-03-17 11:32
Fromandy fillebrown
SubjectRe: [Cs-dev] PDF manual
The html and pdf links on csound.sourceforge.net have been updated for
the downloads of the English version of the manual.  The links to the
other older versions of the manual are there, too, but should really
be updated.  The list of links needing updates includes...

- the online manual at csounds.com
- the Windows compressed html version
- all the French versions

Please let me know if/when these links need to be changed.

Cheers,
~ andy.f



On Wed, Mar 17, 2010 at 6:55 AM, Andres Cabrera  wrote:
> Hi,
>
> Thanks for the information. Don't worry, I've fixed generation of
> examples.xml, the problem was empty urls and also the problems in the
> docbook structure. It's now generated properly, and pdf builds fine.
>
> I've also put up the pdf versions of the manual on the sourceforge page.
>
> Cheers,
> Andrés
>
> On Wed, Mar 17, 2010 at 10:43 AM, Francois PINOT  wrote:
>> Well, with fop-0.20.5, the error appeared toward the end of compilation. And
>> I remembered that we once had the same problem with quickref.xml. In fact,
>> examples.xml is not well formed referring to docbook. The  component
>> should have a direct child among those ones: , , etc (see
>> http://www.docbook.org/tdg/en/html/part.html). Maybe we could generate a
>> single file from quickref.py that would include both opcodes quickref and
>> examples as two  children of the  element? I can investigate
>> to produce a static xml example before we modify quickref.xml, but I've no
>> time to do it in the next few days.
>>
>> With fop-0.95 it doesn't work anyway. I even try with a trunk version from
>> apache svn with the same errors. By googling about the topic, it seems that
>> it's a known problem between docbook and fop-0.9x. So I would recommend to
>> stay with fop-0.20.5
>>
>> Regards
>>
>> François
>>
>>> Date: Wed, 17 Mar 2010 10:17:53 +0000
>>> From: Andres Cabrera 
>>> Subject: Re: [Cs-dev] PDF manual
>>> To: Developer discussions 
>>> Message-ID:
>>>        <6d8a7ed21003170317r6cd1e27ep4488455dd68135f8@mail.gmail.com>
>>> Content-Type: text/plain; charset=UTF-8
>>>
>>> Hi,
>>> Thanks, I've now found the problem.
>>>
>>> How did you know where it was? Did you have to do it by trial and error?
>>>
>>> Cheers,
>>> Andr?s
>>>
>>> On Tue, Mar 16, 2010 at 9:16 PM, PINOT Francois 
>>> wrote:
>>> > The problem comes from misc/example.xml. If you comment out the entity
>>> > for that file in misc/top.xml (), then the pdf
>>> > manual will compile with fop-0.20.5.
>>> >
>>> > Regards
>>> >
>>> > Francois Pinot
>>> >
>>> > csound-devel-request@lists.sourceforge.net a ?crit :
>>> >> Date: Tue, 16 Mar 2010 12:32:45 +0000
>>> >> From: Andres Cabrera 
>>> >> Subject: Re: [Cs-dev] PDF manual
>>> >> To: Developer discussions 
>>> >> Message-ID:
>>> >> ? ? ? <6d8a7ed21003160532u5e53d401qe971f53394ed6a5@mail.gmail.com>
>>> >> Content-Type: text/plain; charset=UTF-8
>>> >>
>>> >> Thanks Steven.
>>> >>
>>> >> Cheers,
>>> >> Andr?s
>>> >>
>>> >> On Tue, Mar 16, 2010 at 12:03 PM, Steven Yi  wrote:
>>> >>
>>> >>> Thanks Andres,
>>> >>>
>>> >>> I remember having issues like this with fop when first doing the pdf
>>> >>> manual as well as when transitioning to fop 0.95 for the blue manual.
>>> >>> I had to look at the fo output file and it usually lead to something
>>> >>> that was malformed in the original docbook which worked fine for html
>>> >>> but not PDF. I'll try building the manual here in just a bit to
>>> >>> reproduce the bug and will reply back if I find anything.
>>> >>>
>>> >>> Thanks!
>>> >>> Steven
>>> >>>
>>> >>> On 3/16/10, Andres Cabrera  wrote:
>>> >>>
>>> >>>> Hi,
>>> >>>>
>>> >>>> No, it's not the memory exception (I solved that already) it's a
>>> >>>> different strange error on fop 0.9X. On the older version, things go
>>> >>>> fine (it seems that it's generating things, goes through all 2000
>>> >>>> plus
>>> >>>> pages, but doesn't produce any final output due to the error (it's
>>> >>>> not
>>> >>>> a crash):
>>> >>>>
>>> >>>> [ERROR] property - "background-position-horizontal" is not
>>> >>>> implemented yet.
>>> >>>>
>>> >>>> this comes from the generated fo file which contains this properties,
>>> >>>> which actually doesn't come from the document, but seems related to
>>> >>>> my
>>> >>>> docbook package. Probably something was added to docbook which is
>>> >>>> incompatible with the older version of fop, but there's something
>>> >>>> somewhere which is incompatible with the current version.
>>> >>>>
>>> >>>> The error for the current version (fop-0.95) is:
>>> >>>>
>>> >>>> fop -fo Csound5.12_manual.fo -pdf Csound5.12_manual.pdf
>>> >>>>
>>> >>>> 16-Mar-2010 08:56:36 org.apache.fop.cli.Main startFOP
>>> >>>> SEVERE: Exception
>>> >>>> javax.xml.transform.TransformerException:
>>> >>>> org.apache.fop.apps.FOPException:
>>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>> >>>> "destination")
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>>> >>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>>> >>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>>> >>>> Caused by: javax.xml.transform.TransformerException:
>>> >>>> org.apache.fop.apps.FOPException:
>>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>> >>>> "destination")
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>>> >>>> ? ? ? ... 3 more
>>> >>>> Caused by: org.apache.fop.apps.FOPException:
>>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>> >>>> "destination")
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>>> >>>> ? ? ? ... 4 more
>>> >>>>
>>> >>>> ---------
>>> >>>>
>>> >>>> javax.xml.transform.TransformerException:
>>> >>>> org.apache.fop.apps.FOPException:
>>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>> >>>> "destination")
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>>> >>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>>> >>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>>> >>>> Caused by: org.apache.fop.apps.FOPException:
>>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>> >>>> "destination")
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>>> >>>> ? ? ? ... 4 more
>>> >>>> ---------
>>> >>>> org.apache.fop.apps.FOPException:
>>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>>> >>>> "destination")
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>> >>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>>> >>>> Source)
>>> >>>> ? ? ? at
>>> >>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>>> >>>> ? ? ? at
>>> >>>>
>>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>>> >>>> ? ? ? at
>>> >>>> org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>>> >>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>>> >>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>>> >>>>
>>> >>>>
>>> >>>> At the reported line and column you find:
>>> >>>> 
>>> >>>>
>>> >>>> but later you do find:
>>> >>>> 
>>> >>>>
>>> >>>> So I'm not sure what's wrong...
>>> >>>>
>>> >>>> Cheers,
>>> >>>> Andr?s
>>> >>>>
>>> >>>> On Tue, Mar 16, 2010 at 1:16 AM, Steven Yi 
>>> >>>> wrote:
>>> >>>>
>>> >>>>> Hi Andres,
>>> >>>>>
>>> >>>>> I haven't tried building the manual in quite a while, but for the
>>> >>>>> crashing, is it memory related (OutOfMemoryException)? ?If so, you
>>> >>>>> may
>>> >>>>> be able to increase the max memory used for fop.sh in the script
>>> >>>>> that
>>> >>>>> comes installed from the package manager. ?(I remember having memory
>>> >>>>> issues with building pdf's and I think I may have written in
>>> >>>>> something
>>> >>>>> in the readme). If that's not it, could you post what the crashing
>>> >>>>> error message was if any was given?
>>> >>>>>
>>> >>>>> Thanks!
>>> >>>>> steven
>>> >>>>>
>>> >>>>> On Sun, Mar 14, 2010 at 5:51 AM, Andres Cabrera
>>> >>>>> 
>>> >>>>> wrote:
>>> >>>>>
>>> >>>>>> Hi all,
>>> >>>>>>
>>> >>>>>> I'm having trouble building the pdf manual. hadn't done it for a
>>> >>>>>> while...
>>> >>>>>>
>>> >>>>>> I'm on Ubuntu 9.10 using the docbook, xsltproc packages from the
>>> >>>>>> Ubuntu repositories. Html building is fine.
>>> >>>>>>
>>> >>>>>> But for pdf I find:
>>> >>>>>> fop 0.9X won't work, it crashes.
>>> >>>>>> the older 0.20.5 release will run OK, but report these errors:
>>> >>>>>> [ERROR] property - "background-position-horizontal" is not
>>> >>>>>> implemented
>>> >>>>>> yet.
>>> >>>>>>
>>> >>>>>> and therefore not produce output.
>>> >>>>>> If I look for those on the .fo file, they are related to this
>>> >>>>>> image:
>>> >>>>>> >> >>>>>> column-gap="12pt" column-count="1"
>>> >>>>>>
>>> >>>>>> background-image="http://docbook.sourceforge.net/release/images/draft.png"
>>> >>>>>> background-attachment="fixed" background-repeat="no-repeat"
>>> >>>>>> background-position-horizontal="center"
>>> >>>>>> background-position-vertical="center"/>
>>> >>>>>>
>>> >>>>>> Any ideas?
>>> >>>>>>
>>> >>>>>> Cheers,
>>> >>>>>> Andr?s
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> ------------------------------------------------------------------------------
>>> >>>>>> Download Intel® Parallel Studio Eval
>>> >>>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> >>>>>> proactively, and fine-tune applications for parallel performance.
>>> >>>>>> See why Intel Parallel Studio got high marks during beta.
>>> >>>>>> http://p.sf.net/sfu/intel-sw-dev
>>> >>>>>> _______________________________________________
>>> >>>>>> Csound-devel mailing list
>>> >>>>>> Csound-devel@lists.sourceforge.net
>>> >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >>>>>>
>>> >>>>>>
>>> >>>>>
>>> >>>>> ------------------------------------------------------------------------------
>>> >>>>> Download Intel® Parallel Studio Eval
>>> >>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> >>>>> proactively, and fine-tune applications for parallel performance.
>>> >>>>> See why Intel Parallel Studio got high marks during beta.
>>> >>>>> http://p.sf.net/sfu/intel-sw-dev
>>> >>>>> _______________________________________________
>>> >>>>> Csound-devel mailing list
>>> >>>>> Csound-devel@lists.sourceforge.net
>>> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >>>>>
>>> >>>>>
>>> >>>>
>>> >>>> --
>>> >>>>
>>> >>>>
>>> >>>> Andr?s
>>> >>>>
>>> >>>>
>>> >>>> ------------------------------------------------------------------------------
>>> >>>> Download Intel® Parallel Studio Eval
>>> >>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> >>>> proactively, and fine-tune applications for parallel performance.
>>> >>>> See why Intel Parallel Studio got high marks during beta.
>>> >>>> http://p.sf.net/sfu/intel-sw-dev
>>> >>>> _______________________________________________
>>> >>>> Csound-devel mailing list
>>> >>>> Csound-devel@lists.sourceforge.net
>>> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >>>>
>>> >>>>
>>> >>> --
>>> >>> Sent from my mobile device
>>> >>>
>>> >>>
>>> >>> ------------------------------------------------------------------------------
>>> >>> Download Intel® Parallel Studio Eval
>>> >>> Try the new software tools for yourself. Speed compiling, find bugs
>>> >>> proactively, and fine-tune applications for parallel performance.
>>> >>> See why Intel Parallel Studio got high marks during beta.
>>> >>> http://p.sf.net/sfu/intel-sw-dev
>>> >>> _______________________________________________
>>> >>> Csound-devel mailing list
>>> >>> Csound-devel@lists.sourceforge.net
>>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > Download Intel® Parallel Studio Eval
>>> > Try the new software tools for yourself. Speed compiling, find bugs
>>> > proactively, and fine-tune applications for parallel performance.
>>> > See why Intel Parallel Studio got high marks during beta.
>>> > http://p.sf.net/sfu/intel-sw-dev
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>>
>>>
>>>
>>> --
>>>
>>>
>>> Andr?s
>>>
>>>
>>>
>>> ------------------------------
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> End of Csound-devel Digest, Vol 47, Issue 40
>>> ********************************************
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
>
>
> --
>
>
> Andrés
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-17 14:35
FromSteven Yi
SubjectRe: [Cs-dev] PDF manual
Hi Francois,

Could you elaborate on the known problem?  I use 0.95 with blue's
manual and haven't had problems and want to know if there's anything I
should be avoiding.

Thanks!
steven

On Wed, Mar 17, 2010 at 6:43 AM, Francois PINOT  wrote:
> Well, with fop-0.20.5, the error appeared toward the end of compilation. And
> I remembered that we once had the same problem with quickref.xml. In fact,
> examples.xml is not well formed referring to docbook. The  component
> should have a direct child among those ones: , , etc (see
> http://www.docbook.org/tdg/en/html/part.html). Maybe we could generate a
> single file from quickref.py that would include both opcodes quickref and
> examples as two  children of the  element? I can investigate
> to produce a static xml example before we modify quickref.xml, but I've no
> time to do it in the next few days.
>
> With fop-0.95 it doesn't work anyway. I even try with a trunk version from
> apache svn with the same errors. By googling about the topic, it seems that
> it's a known problem between docbook and fop-0.9x. So I would recommend to
> stay with fop-0.20.5
>
> Regards
>
> François
>
>> Date: Wed, 17 Mar 2010 10:17:53 +0000
>> From: Andres Cabrera 
>> Subject: Re: [Cs-dev] PDF manual
>> To: Developer discussions 
>> Message-ID:
>>        <6d8a7ed21003170317r6cd1e27ep4488455dd68135f8@mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Hi,
>> Thanks, I've now found the problem.
>>
>> How did you know where it was? Did you have to do it by trial and error?
>>
>> Cheers,
>> Andr?s
>>
>> On Tue, Mar 16, 2010 at 9:16 PM, PINOT Francois 
>> wrote:
>> > The problem comes from misc/example.xml. If you comment out the entity
>> > for that file in misc/top.xml (), then the pdf
>> > manual will compile with fop-0.20.5.
>> >
>> > Regards
>> >
>> > Francois Pinot
>> >
>> > csound-devel-request@lists.sourceforge.net a ?crit :
>> >> Date: Tue, 16 Mar 2010 12:32:45 +0000
>> >> From: Andres Cabrera 
>> >> Subject: Re: [Cs-dev] PDF manual
>> >> To: Developer discussions 
>> >> Message-ID:
>> >> ? ? ? <6d8a7ed21003160532u5e53d401qe971f53394ed6a5@mail.gmail.com>
>> >> Content-Type: text/plain; charset=UTF-8
>> >>
>> >> Thanks Steven.
>> >>
>> >> Cheers,
>> >> Andr?s
>> >>
>> >> On Tue, Mar 16, 2010 at 12:03 PM, Steven Yi  wrote:
>> >>
>> >>> Thanks Andres,
>> >>>
>> >>> I remember having issues like this with fop when first doing the pdf
>> >>> manual as well as when transitioning to fop 0.95 for the blue manual.
>> >>> I had to look at the fo output file and it usually lead to something
>> >>> that was malformed in the original docbook which worked fine for html
>> >>> but not PDF. I'll try building the manual here in just a bit to
>> >>> reproduce the bug and will reply back if I find anything.
>> >>>
>> >>> Thanks!
>> >>> Steven
>> >>>
>> >>> On 3/16/10, Andres Cabrera  wrote:
>> >>>
>> >>>> Hi,
>> >>>>
>> >>>> No, it's not the memory exception (I solved that already) it's a
>> >>>> different strange error on fop 0.9X. On the older version, things go
>> >>>> fine (it seems that it's generating things, goes through all 2000
>> >>>> plus
>> >>>> pages, but doesn't produce any final output due to the error (it's
>> >>>> not
>> >>>> a crash):
>> >>>>
>> >>>> [ERROR] property - "background-position-horizontal" is not
>> >>>> implemented yet.
>> >>>>
>> >>>> this comes from the generated fo file which contains this properties,
>> >>>> which actually doesn't come from the document, but seems related to
>> >>>> my
>> >>>> docbook package. Probably something was added to docbook which is
>> >>>> incompatible with the older version of fop, but there's something
>> >>>> somewhere which is incompatible with the current version.
>> >>>>
>> >>>> The error for the current version (fop-0.95) is:
>> >>>>
>> >>>> fop -fo Csound5.12_manual.fo -pdf Csound5.12_manual.pdf
>> >>>>
>> >>>> 16-Mar-2010 08:56:36 org.apache.fop.cli.Main startFOP
>> >>>> SEVERE: Exception
>> >>>> javax.xml.transform.TransformerException:
>> >>>> org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>> >>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>> >>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>> >>>> Caused by: javax.xml.transform.TransformerException:
>> >>>> org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>> >>>> ? ? ? ... 3 more
>> >>>> Caused by: org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>> >>>> ? ? ? ... 4 more
>> >>>>
>> >>>> ---------
>> >>>>
>> >>>> javax.xml.transform.TransformerException:
>> >>>> org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>> >>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>> >>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>> >>>> Caused by: org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>> >>>> ? ? ? ... 4 more
>> >>>> ---------
>> >>>> org.apache.fop.apps.FOPException:
>> >>>> file:/home/andres/src/manual/Csound5.12_manual.fo:2:29388:
>> >>>> Error(2/29388): No element mapping definition found for (Namespace
>> >>>> URI: "http://xml.apache.org/fop/extensions", Local Name:
>> >>>> "destination")
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>> >>>> ? ? ? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>> >>>> Source)
>> >>>> ? ? ? at
>> >>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>> >>>> ? ? ? at
>> >>>>
>> >>>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>> >>>> ? ? ? at
>> >>>> org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>> >>>> ? ? ? at org.apache.fop.cli.Main.startFOP(Main.java:166)
>> >>>> ? ? ? at org.apache.fop.cli.Main.main(Main.java:197)
>> >>>>
>> >>>>
>> >>>> At the reported line and column you find:
>> >>>> 
>> >>>>
>> >>>> but later you do find:
>> >>>> 
>> >>>>
>> >>>> So I'm not sure what's wrong...
>> >>>>
>> >>>> Cheers,
>> >>>> Andr?s
>> >>>>
>> >>>> On Tue, Mar 16, 2010 at 1:16 AM, Steven Yi 
>> >>>> wrote:
>> >>>>
>> >>>>> Hi Andres,
>> >>>>>
>> >>>>> I haven't tried building the manual in quite a while, but for the
>> >>>>> crashing, is it memory related (OutOfMemoryException)? ?If so, you
>> >>>>> may
>> >>>>> be able to increase the max memory used for fop.sh in the script
>> >>>>> that
>> >>>>> comes installed from the package manager. ?(I remember having memory
>> >>>>> issues with building pdf's and I think I may have written in
>> >>>>> something
>> >>>>> in the readme). If that's not it, could you post what the crashing
>> >>>>> error message was if any was given?
>> >>>>>
>> >>>>> Thanks!
>> >>>>> steven
>> >>>>>
>> >>>>> On Sun, Mar 14, 2010 at 5:51 AM, Andres Cabrera
>> >>>>> 
>> >>>>> wrote:
>> >>>>>
>> >>>>>> Hi all,
>> >>>>>>
>> >>>>>> I'm having trouble building the pdf manual. hadn't done it for a
>> >>>>>> while...
>> >>>>>>
>> >>>>>> I'm on Ubuntu 9.10 using the docbook, xsltproc packages from the
>> >>>>>> Ubuntu repositories. Html building is fine.
>> >>>>>>
>> >>>>>> But for pdf I find:
>> >>>>>> fop 0.9X won't work, it crashes.
>> >>>>>> the older 0.20.5 release will run OK, but report these errors:
>> >>>>>> [ERROR] property - "background-position-horizontal" is not
>> >>>>>> implemented
>> >>>>>> yet.
>> >>>>>>
>> >>>>>> and therefore not produce output.
>> >>>>>> If I look for those on the .fo file, they are related to this
>> >>>>>> image:
>> >>>>>> > >>>>>> column-gap="12pt" column-count="1"
>> >>>>>>
>> >>>>>> background-image="http://docbook.sourceforge.net/release/images/draft.png"
>> >>>>>> background-attachment="fixed" background-repeat="no-repeat"
>> >>>>>> background-position-horizontal="center"
>> >>>>>> background-position-vertical="center"/>
>> >>>>>>
>> >>>>>> Any ideas?
>> >>>>>>
>> >>>>>> Cheers,
>> >>>>>> Andr?s
>> >>>>>>
>> >>>>>>
>> >>>>>> ------------------------------------------------------------------------------
>> >>>>>> Download Intel® Parallel Studio Eval
>> >>>>>> Try the new software tools for yourself. Speed compiling, find bugs
>> >>>>>> proactively, and fine-tune applications for parallel performance.
>> >>>>>> See why Intel Parallel Studio got high marks during beta.
>> >>>>>> http://p.sf.net/sfu/intel-sw-dev
>> >>>>>> _______________________________________________
>> >>>>>> Csound-devel mailing list
>> >>>>>> Csound-devel@lists.sourceforge.net
>> >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>> ------------------------------------------------------------------------------
>> >>>>> Download Intel® Parallel Studio Eval
>> >>>>> Try the new software tools for yourself. Speed compiling, find bugs
>> >>>>> proactively, and fine-tune applications for parallel performance.
>> >>>>> See why Intel Parallel Studio got high marks during beta.
>> >>>>> http://p.sf.net/sfu/intel-sw-dev
>> >>>>> _______________________________________________
>> >>>>> Csound-devel mailing list
>> >>>>> Csound-devel@lists.sourceforge.net
>> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>>
>> >>>>>
>> >>>>
>> >>>> --
>> >>>>
>> >>>>
>> >>>> Andr?s
>> >>>>
>> >>>>
>> >>>> ------------------------------------------------------------------------------
>> >>>> Download Intel® Parallel Studio Eval
>> >>>> Try the new software tools for yourself. Speed compiling, find bugs
>> >>>> proactively, and fine-tune applications for parallel performance.
>> >>>> See why Intel Parallel Studio got high marks during beta.
>> >>>> http://p.sf.net/sfu/intel-sw-dev
>> >>>> _______________________________________________
>> >>>> Csound-devel mailing list
>> >>>> Csound-devel@lists.sourceforge.net
>> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>
>> >>>>
>> >>> --
>> >>> Sent from my mobile device
>> >>>
>> >>>
>> >>> ------------------------------------------------------------------------------
>> >>> Download Intel® Parallel Studio Eval
>> >>> Try the new software tools for yourself. Speed compiling, find bugs
>> >>> proactively, and fine-tune applications for parallel performance.
>> >>> See why Intel Parallel Studio got high marks during beta.
>> >>> http://p.sf.net/sfu/intel-sw-dev
>> >>> _______________________________________________
>> >>> Csound-devel mailing list
>> >>> Csound-devel@lists.sourceforge.net
>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Download Intel® Parallel Studio Eval
>> > Try the new software tools for yourself. Speed compiling, find bugs
>> > proactively, and fine-tune applications for parallel performance.
>> > See why Intel Parallel Studio got high marks during beta.
>> > http://p.sf.net/sfu/intel-sw-dev
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>>
>>
>> --
>>
>>
>> Andr?s
>>
>>
>>
>> ------------------------------
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>>
>> ------------------------------
>>
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> End of Csound-devel Digest, Vol 47, Issue 40
>> ********************************************
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net