Hi, XFC seemed not to correctly render the title-page. By comparing the pdf and the wml options we noticed that in the wml the title-page option is not indicated. By indicating the option, XFC started correctly to render the title-page....that means "our fault" :D
Thanks for the support, Emiliano On Fri, Sep 24, 2010 at 1:49 PM, Hussein Shafie <[email protected]> wrote: > ∋mim∈ wrote: > > > > I'm currently using /*ditac*/ and */xfc pro java version 4.4.0/ *and > > recently I tried to apply my personal fo customization using the -t > option. > > > > The result is not the expected one. XFC does not apply the > > customizations provided with my input xsl, while XEP correctly applies > them. > > > > The command given from ditac to XFC seems correct. > > > > Here follows debug information I gathered for you to check what is the > > problem. In green you can see the options and the command used to > > execute ditac; in red ditac debug information. > > > > If the problem is related to ditac, then I cannot reproduce it. > > I ran > > [1] ditac -ignoreoptionsfile -xep /opt/xep/xep \ > -t "/home/hussein/src/ditac/docsrc/manual/custom_fo.xsl" \ > -p use-note-icon yes \ > -p number "all" \ > -p page-inner-margin "0.60in" \ > -p xsl-resources-directory \ > "/home/hussein/src/ditac/update_xxe/xsl/fo/resources" \ > -p prepend-chapter-to-section-number "yes" \ > -p page-outer-margin "0.60in" \ > manual.pdf manual.ditamap > > [2] ditac -ignoreoptionsfile \ > -xfc /home/hussein/src/xfc/java/bin/fo2rtf \ > -t "/home/hussein/src/ditac/docsrc/manual/custom_fo.xsl" \ > -p use-note-icon yes \ > -p number "all" \ > -p page-inner-margin "0.60in" \ > -p xsl-resources-directory \ > "/home/hussein/src/ditac/update_xxe/xsl/fo/resources" \ > -p prepend-chapter-to-section-number "yes" \ > -p page-outer-margin "0.60in" \ > manual.wml manual.ditamap > > where custom_fo.xsl is: > --- > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:fo="http://www.w3.org/1999/XSL/Format" > version="2.0"> > > <xsl:import href="ditac-xsl:fo/fo.xsl"/> > > <xsl:attribute-set name="p" use-attribute-sets="block-style"> > <xsl:attribute name="background-color">#C0E0C0</xsl:attribute> > </xsl:attribute-set> > > </xsl:stylesheet> > --- > > and in both cases, I got exactly the results I expected. > > May be the problem is related to XFC and not to ditac. I would need a > copy of your W:/System/styles/ditac/fo/ditac.xsl and also a description > of what's wrong (e.g. a PDF and the corresponding WML) in order to help > you more. > > > > --- > PS: It's -p prepend-chapter-to-section-number yes, and not > -p prepend-chapter-to-section-number true. > > > > > > > Building ditac output... > > > >>> Loading project configuration... > >>> Source: > > > W:/Projects/XXX_War_Room/ReadMe_XXXAddon/output/dita/ReadMe_XXXAddon.ditamap > >>> Destination: > > W:/Projects/XXX_War_Room/ReadMe_XXXAddon/output/wml/ReadMe_XXXAddon.wml > >>> Options: W:/Projects/XXX_War_Room/ReadMe_XXXAddon\config\ditac.options > >>> Loading wml customization... > >>> Loading options from W:/System/tools/xmldoc/bin > >>> W:/System/tools/xmldoc/bin/ditac.yaml > >>> W:/System/tools/xmldoc/bin/ditac_wml.yaml > >>> Loading options from W:/Projects/XXX_War_Room/ReadMe_XXXAddon/config > >>> W:/Projects/XXX_War_Room/ReadMe_XXXAddon/config/ditac.yaml > >>> W:/Projects/XXX_War_Room/ReadMe_XXXAddon/config/ditac_wml.yaml > >>> Saving W:/Projects/XXX_War_Room/ReadMe_XXXAddon\config\ditac.options > >>> ==Options== > >>> -hhc "C:/Program Files/HTML Help Workshop/hhc.exe" > > -xfc "W:/System/tools/xfc_pro_java-4_4_0/bin/fo2rtf.bat" > > -t "W:/System/styles/ditac/fo/ditac.xsl" > > -xep "W:/System/tools/DITA-OT1.5/demo/fo/lib/xep/xep.bat" > > -p number "all" > > -p page-inner-margin "0.60in" > > -p xsl-resources-directory "W:/System/styles/ditac/fo/resources" > > -p prepend-chapter-to-section-number "true" > > -p page-outer-margin "0.60in" > >>> =========== > > > > Building ditac output... > > > >>> Executing W:/System/tools/ditac/bin\ditac.bat -vvv -errout -o > > W:/Projects/XXX_War_Room/ReadMe_XXXAddon\config\ditac.options > > W:/Projects/XXX_War_Roo > > m/ReadMe_XXXAddon/output/wml/ReadMe_XXXAddon.wml > > > W:/Projects/XXX_War_Room/ReadMe_XXXAddon/output/dita/ReadMe_XXXAddon.ditamap > > Generating ReadMe_XXXAddon.wml > > ditac: DEBUG: Registering external XSL-FO converter XFC[rtf]: > > ""W:\System\tools\xfc_pro_java-4_4_0\bin\fo2rtf.bat" "%I" "%O""... > > ditac: DEBUG: Registering external XSL-FO converter XFC[wml]: > > ""W:\System\tools\xfc_pro_java-4_4_0\bin\fo2wml.bat" "%I" "%O""... > > ditac: DEBUG: Registering external XSL-FO converter XFC[docx]: > > ""W:\System\tools\xfc_pro_java-4_4_0\bin\fo2docx.bat" "%I" "%O""... > > ditac: DEBUG: Registering external XSL-FO converter XFC[odt]: > > ""W:\System\tools\xfc_pro_java-4_4_0\bin\fo2odt.bat" "%I" "%O""... > > ditac: DEBUG: Registering external XSL-FO converter XEP[ps]: > > ""W:\System\tools\DITA-OT1.5\demo\fo\lib\xep\xep.bat" -quiet -fo "%I" > > -ps "%O""... > > ditac: DEBUG: Registering external XSL-FO converter XEP[pdf]: > > ""W:\System\tools\DITA-OT1.5\demo\fo\lib\xep\xep.bat" -quiet -fo "%I" > > -pdf "%O""... > > ditac: INFO: Loading input file > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\dita\ReadMe_XXXAddon.ditamap"... > > ditac: INFO: Processing inclusions in the topic map... > > ditac: DEBUG: Iteration #0. > > ditac: DEBUG: All documents have been processed after 1 iterations > (32ms). > > ditac: INFO: Loading the topics contained in file > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\dita\topics\overview.xml"... > > ditac: INFO: Loading the topics contained in file > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\dita\topics\before_you_start.xml"... > > ditac: INFO: Loading the topics contained in file > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\dita\topics\important_notes.xml"... > > ditac: INFO: Loading the topics contained in file > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\dita\topics\installing.xml"... > > ditac: INFO: Loading the topics contained in file > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\dita\topics\whats_new_sp3.xml"... > > ditac: INFO: Loading the topics contained in file > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\dita\topics\whats_new.xml"... > > ditac: INFO: Loading the topics contained in file > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\dita\topics\known_issues.xml"... > > ditac: INFO: Loading the topics contained in file > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\dita\topics\fixed_issues_intro.xml"... > > ditac: INFO: Loading the topics contained in file > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\dita\topics\fixed_issues.xml"... > > ditac: INFO: Processing inclusions in the topics... > > ditac: DEBUG: Iteration #0. > > ditac: DEBUG: All documents have been processed after 1 iterations (0ms). > > ditac: INFO: Adding attributes and metadata to the topics... > > ditac: INFO: Filtering the topics... > > ditac: INFO: Adding related links to the topics... > > ditac: INFO: Determining which files are to contain the topics... > > ditac: INFO: Processing IDs and links... > > ditac: INFO: Saving information about preprocessed files to > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\wml\ditac_lists.ditac_lists"... > > ditac: INFO: Saving preprocessed file > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\wml\ReadMe_XXXAddon.ditac"... > > ditac: INFO: Transforming > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\wml\ReadMe_XXXAddon.ditac" > > to "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\out > > put\wml\ReadMe_XXXAddon.fo" using W:\System\styles\ditac\fo\ditac.xsl... > > ditac: DEBUG: caching style sheet > > "file:/W:/System/styles/ditac/fo/ditac.xsl" > > ditac: INFO: Converting > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\wml\ReadMe_XXXAddon.fo" > > to "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\w > > ml\ReadMe_XXXAddon.wml" using XFC... > > ditac: VERBOSE: XFC[wml]: executing command > > ""W:\System\tools\xfc_pro_java-4_4_0\bin\fo2wml.bat" > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\wml\ > > ReadMe_XXXAddon.fo" > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\wml\ReadMe_XXXAddon.wml""... > > ditac: DEBUG: Deleting > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\wml\ReadMe_XXXAddon.fo"... > > ditac: DEBUG: Deleting > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\wml\ditac_lists.ditac_lists"... > > ditac: DEBUG: Deleting > > > "W:\Projects\XXX_War_Room\ReadMe_XXXAddon\output\wml\ReadMe_XXXAddon.ditac"... > > Done. > >>> Deleting W:/Projects/XXX_War_Room/ReadMe_XXXAddon\config\ditac.options > > > > > >
-- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

