Understanding and Configuring  the FO Plug-in  for Generating PDF Files Part II (Beginner Level) Adena Frazer Suite Solutions
Who am I? Background in Computer Science and Education Experience in several computer companies over  the past decade+ Web applications Telecommunications Early member of the Suite Solutions team Various webinars and on-site training seminars  in Boston and Santa Clara PDF and HTML style sheet projects FO plug-in support for PDF output Project Management
What is Suite Solutions? Our Mission To increase our customers’ profitability by significantly improving the efficiency of their  information development and delivery processes. Qualitative Advantage Content Lifecycle Implementation (CLI) is Suite Solutions’  comprehensive approach – from concept to publication – to maximizing the value of your information assets. Our professionals are with you at every phase, determining, recommending and implementing the most cost-effective, flexible and long term solution for your business.
Configuring FO Plug-in Part II Main Topics How to Customize the FO Plug-in Customization Units Customization Case Studies
How to Customize (1) Pick a directory Put your customizations directly in the ‘customization’ directory OR  Create your own customization directory by copying ‘customization’ and renaming  Include changed templates Copy relevant template files to customization\fo\xsl and include file names in  customization\fo\xsl\custom.xsl  OR Paste whole changed templates directly into  customization\fo\xsl\custom.xsl
How to Customize (2) Include changed attribute sets Copy attribute files to  customization\fo\attr  dir and include file names in  customization\fo\attr\custom.xsl  OR  Paste whole changed attributes sets directly into  customization\fo\attr\custom.xsl NOTE:  Pasting code directly into custom.xsl is only prudent for small customizations.  We generally recommend including changed files in custom.xsl  Change the entry in  customization\catalog.xml Copy  catalog.xml.orig Rename to  catalog.xml Uncomment relevant entries
How to Customize (3) If you created your own customization directory, send the name of your customization directory as a parameter in your ANT build file. <param name=&quot;customization.dir&quot; value=“<your customization dir>&quot; /> NOTE:   Customization allows you to easily install your changes on another machine by simply transferring the customization directory to the  demo\fo  or  plugin\fo  directory of that machine and sending the appropriate parameter in the ANT build file.
Configuring FO Plug-in Part II Main Topics How to Customize the FO Plug-in Customization Units Customization Case Studies
Templates (1) Question :  How much of the template files should be retained? Best Practice :  Save only those templates that are being changed.  Your custom template replaces the out of the box template.  Makes your custom files smaller  Allows for easier upgrading to subsequent plug-in releases.  Templates you haven’t touched will be automatically upgraded, and you will only have to maintain changes in templates you have changed.
Problem :  I customized my template, and the PDF renders, but I still don’t see my change.  Where did it go? Solution : Check that you remembered to include the changed file in custom.xsl and that you updated the catalog file accordingly. Check that the file you changed is the one that is being used. Check which file you changed.  Make sure it is being saved where you think it is being saved.  Beware of duplicate file names and directory names. Best Practice :  Develop a system for keeping track of which are the custom files and which are the originals. Make sure that changes are always made in the COPY of the file, and not the original. Templates (2)
Attribute Sets (1) Question :  How much of the original attribute file should be retained? Answer – Unresolved: Only changed attributes sets – same advantages are for templates: smaller files, only need to maintain changes. All attribute sets – formatting is interdependent.  Don’t necessarily want your formatting changed when plug-in is upgraded.  You end up touching most attributes sets anyway because so many attributes are repeated in different places.
Attribute Sets (2) Problem :  Where did all of these attributes in my document come from?  I don’t remember defining them in my custom attribute set. Answer :  The toolkit MERGES the standard attribute sets with the custom attribute sets.  This means that any attribute that you did not replace will still appear in the final output, whether or not you want it. Best Practice :  When customizing attribute sets, copy the WHOLE standard attribute set to the new file.  This way you will be aware of all of the attributes that will be included in the PDF.  Then change the desired attributes.
Attribute Sets (3) Note :  This can in theory become a problem again after the toolkit upgraded, if the attribute sets are updated.  Beware of formatting changes creeping into your document after an update. Problem :  Some attributes exist in the standard attribute set that I don’t want at all.  How do I delete an attribute? Answer :  Where relevant, set the value of the attribute to 0 in the new attribute set.  If that is not possible, you may have to create a new attribute set with a different name that does not include the problematic attribute.  You can then reference the new attribute set from the templates.
Configuring FO Plug-in Part II Main Topics How to Customize the FO Plug-in Customization Units Customization Case Studies
Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
Customizing the Document Body (1) Goal :  Customize the titles in the body of the document. Problem:   There is no file called body.xsl.  Where is the information stored? Answer:   When all else fails, reference commons.xsl.  Note the file size.  Contains a lot of general (common) formatting and template information. Best Practice:  We strongly recommend using a good searching program that can do quick text searching in subdirectories.  (i.e. Textpad, grep, google desktop).  It is often much quicker to do a direct search than untangle the web of files.
Customizing the Document Body (2) Relevant files :   commons.xsl, commons-attr.xsl  Problem :   I see the topic.topic.title attribute set, but when I searched, I can’t find a use-attribute-sets reference anywhere.  Where is topic.topic.title being used? Answer :  commons.xsl GENERATES the topic.topic… attribute set names in  createTopicAttrsName  template.  The number of topics reflects the number of levels. Solution:   Customize the topic.title attribute sets in commons-attr.xsl.
Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
Customizing Tables (1) Goal :  Display borders around each cell of a table. Relevant files :  tables.xsl, tables1.0.xsl, tables-attr.xsl. Suggestion :  Insert attributes for borders in relevant attribute sets. Problem :  DITA supports special table border definitions within the actual DITA files. colsep  - Column separator : 0 - no separators; 1 - separators   rowsep  - Row separator : 0 - no separators; 1 - separators   frame  - Specifies which portion of a border should surround the element. Possible values:  top | bottom | topbot | all | sides | none
Note:  Hardcoding the table borders in the attribute sets will work if you ALWAYS want this look.  If, however, you want the table borders to vary based on the presence of the CALS table attributes, this solution will not be effective. Solution :  Make the change in the tables.xsl or tables1.0.xsl files, and NOT in the attribute set files.  In my case, I made a change in the template  generateTableEntryBorder. Customizing Tables (2)
Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
Customizing Lists (1) Goal :  Ensure that the first and last list items are not alone on a page Relevant files :  lists.xsl, lists-attr.xsl Method: This can be accomplished by using XPATH within the attribute set.  Note:  XSL can be used within an attribute set.  It must be used within the attribute – can not be used to determine which attribute should be there.
Sample Code: Customizing Lists (2)
Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
Customizing Related Links (1) Goal:  Display related links after each topic in the PDF Relevant files :  links.xsl, links-attr.xsl Question :  I can render the document but I don’t see any related links.  I thought this was a built-in function? Answer :  This is a built-in function, and links are displayed by default – for online documents.  To get the links to appear in the PDF, you can send a parameter in your build file –  disableRelatedLinks=‘no’ .  This should work in all versions of the Toolkit.
Customizing Related Links (2) There is a new parameter in the toolkit which controls the display of links called  args.fo.include.rellinks Values (from a comment in basic_settings.xsl): none  -  no links are included. This is the default, to match previous settings. all -  all links are included.  If the original parameter $ disableRelatedLinks  is customized to &quot;no&quot;, this is the default, to match previous settings. nofamily -  excludes links with @role = parent, child, next, previous, ancestor, descendant, sibling, cousin.
Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
Configuring the FO Plug-in to Use Antenna House and Render X To configure the FO Plug-in to use Antenna House or Render X, set the  pdf.formatter  parameter in the project build file. Values fop  – (default) ah  – Antenna House xep  – RenderX It is much more complicated to do this using previous versions of the toolkit.  We recommend upgrading to the latest version of the toolkit to take advantage of this feature and other improvements.
Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
Configuring FO Plug-in Part II Main Topics How to Customize the FO Plug-in Customization Units Customization Case Studies
End of Session:  Understanding and Configuring the FO Plug-in  for Generating PDF Files Part II (Beginner Level)

More Related Content

PPT
CustomizingStyleSheetsForHTMLOutputs
PPT
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
PPTX
Overview of XSL, XPath and XSL-FO
PPTX
Overview of the DITA Open Toolkit
PPTX
Dita ot pipeline webinar
PPT
StrategiesForUsingMetadata
PDF
Programming Without Coding Technology (PWCT) Environment
ODP
An RDF Metadata Model for OpenDocument Format 1.2
CustomizingStyleSheetsForHTMLOutputs
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Overview of XSL, XPath and XSL-FO
Overview of the DITA Open Toolkit
Dita ot pipeline webinar
StrategiesForUsingMetadata
Programming Without Coding Technology (PWCT) Environment
An RDF Metadata Model for OpenDocument Format 1.2

What's hot (20)

PPT
Day Of Dot Net Ann Arbor 2007
ODP
Processing OpenDocument Format
PPT
Rational Publishing Engine with Rational DOORS
PPTX
Oracle Sql Developer Data Modeler 3 3 new features
PPT
Savitch Ch 06
PPT
Ch2 neworder
PPTX
Ot performance webinar
PDF
Compare And Merge Scripts
PPT
03 x files
PPTX
WEB PROGRAMMING
PPT
PPT
Learning XSLT
PPT
Oracle D2K reports
PPTX
Localization and Shared Preferences in android
PPT
oracle-reports6i
PDF
LaTeX for beginners
PDF
Understanding_Markdowns_Pandoc_and_YALM
DOC
Oracle report from ppt
PDF
Day Of Dot Net Ann Arbor 2007
Processing OpenDocument Format
Rational Publishing Engine with Rational DOORS
Oracle Sql Developer Data Modeler 3 3 new features
Savitch Ch 06
Ch2 neworder
Ot performance webinar
Compare And Merge Scripts
03 x files
WEB PROGRAMMING
Learning XSLT
Oracle D2K reports
Localization and Shared Preferences in android
oracle-reports6i
LaTeX for beginners
Understanding_Markdowns_Pandoc_and_YALM
Oracle report from ppt
Ad

Similar to Understanding and Configuring the FO Plug-in for Generating PDF Files: Part II (beginner level) (20)

DOCX
Must be similar to screenshotsI must be able to run the projects.docx
PPT
Drupal Modules
PPT
Single Sourcingon Shoestring
PDF
Angular Best Practices - Perfomatix
PPT
RPE - Template formating, style and stylesheet usage
PPT
Roger Kenner Automating Posting
PPTX
7 Theming in Drupal
PDF
Customising IBM Connections 3.0.x
ODP
Theming tips and tricks
DOCX
Xaml Guidelines Draft0
PPTX
Easy steps to convert your content to structured (frame maker and xml)
PPT
Drupal - Introduction to Drupal Creating Modules
PPT
Fm Text Insets
PDF
Elements_Creating_Content_Models.pdf
PPT
Developing Plugins
PPTX
Creating and Theming Custom Content Types
PPTX
Intro to OctoberCMS
PPTX
Zend Framework And Doctrine
PDF
Designing for magento
PDF
Creating and Theming Custom Content Types
Must be similar to screenshotsI must be able to run the projects.docx
Drupal Modules
Single Sourcingon Shoestring
Angular Best Practices - Perfomatix
RPE - Template formating, style and stylesheet usage
Roger Kenner Automating Posting
7 Theming in Drupal
Customising IBM Connections 3.0.x
Theming tips and tricks
Xaml Guidelines Draft0
Easy steps to convert your content to structured (frame maker and xml)
Drupal - Introduction to Drupal Creating Modules
Fm Text Insets
Elements_Creating_Content_Models.pdf
Developing Plugins
Creating and Theming Custom Content Types
Intro to OctoberCMS
Zend Framework And Doctrine
Designing for magento
Creating and Theming Custom Content Types
Ad

More from Suite Solutions (20)

PPTX
SuiteHelp 4.0: Latest Features in Enterprise Webhelp
PPTX
Moving your Organization up the Knowledge Value Chain (Proposal for Lavacon 2...
PPTX
Increasing Findability with Subject Schemes (Advanced DITA Webinar)
PPTX
SuiteHelp 3.2.5 Latest Features
PPTX
Using Taxonomy for Customer-centric Dynamic Publishing
PPTX
DITA Quick Start Webinar: Defining Your Style Sheet Requirements
PPTX
DITA Quick Start Webinar Series: Building a Project Plan
PPTX
DITA Quick Start Webinar Series: Building a Project Plan
PPTX
DITA Quick Start: System Architecture of a Basic DITA Toolset
PPTX
DITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
PPTX
DITA Quick Start Webinar Series: Getting Started with Information Architecture
PPT
Introduction to S1000D
PPTX
DITA Quick Start for Authors Part II
PPTX
DITA Quick Start for Authors - Part I
PPTX
Suite Labs: Generating SuiteHelp Output
PPTX
Overview of SuiteHelp 3.1 for DITA
PDF
Svg and graphics
PPT
C:\Users\User\Desktop\Eclipse Infocenter
PPT
LocalizingStyleSheetsForHTMLOutputs
PPT
ImplementingChangeTrackingAndFlagging
SuiteHelp 4.0: Latest Features in Enterprise Webhelp
Moving your Organization up the Knowledge Value Chain (Proposal for Lavacon 2...
Increasing Findability with Subject Schemes (Advanced DITA Webinar)
SuiteHelp 3.2.5 Latest Features
Using Taxonomy for Customer-centric Dynamic Publishing
DITA Quick Start Webinar: Defining Your Style Sheet Requirements
DITA Quick Start Webinar Series: Building a Project Plan
DITA Quick Start Webinar Series: Building a Project Plan
DITA Quick Start: System Architecture of a Basic DITA Toolset
DITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
DITA Quick Start Webinar Series: Getting Started with Information Architecture
Introduction to S1000D
DITA Quick Start for Authors Part II
DITA Quick Start for Authors - Part I
Suite Labs: Generating SuiteHelp Output
Overview of SuiteHelp 3.1 for DITA
Svg and graphics
C:\Users\User\Desktop\Eclipse Infocenter
LocalizingStyleSheetsForHTMLOutputs
ImplementingChangeTrackingAndFlagging

Recently uploaded (20)

PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PPTX
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PPTX
SGT Report The Beast Plan and Cyberphysical Systems of Control
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Statistics on Ai - sourced from AIPRM.pdf
PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
Module 1 Introduction to Web Programming .pptx
Advancing precision in air quality forecasting through machine learning integ...
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
SGT Report The Beast Plan and Cyberphysical Systems of Control
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
Data Virtualization in Action: Scaling APIs and Apps with FME
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Statistics on Ai - sourced from AIPRM.pdf
Auditboard EB SOX Playbook 2023 edition.
sbt 2.0: go big (Scala Days 2025 edition)
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
Rapid Prototyping: A lecture on prototyping techniques for interface design

Understanding and Configuring the FO Plug-in for Generating PDF Files: Part II (beginner level)

  • 1. Understanding and Configuring the FO Plug-in for Generating PDF Files Part II (Beginner Level) Adena Frazer Suite Solutions
  • 2. Who am I? Background in Computer Science and Education Experience in several computer companies over the past decade+ Web applications Telecommunications Early member of the Suite Solutions team Various webinars and on-site training seminars in Boston and Santa Clara PDF and HTML style sheet projects FO plug-in support for PDF output Project Management
  • 3. What is Suite Solutions? Our Mission To increase our customers’ profitability by significantly improving the efficiency of their information development and delivery processes. Qualitative Advantage Content Lifecycle Implementation (CLI) is Suite Solutions’ comprehensive approach – from concept to publication – to maximizing the value of your information assets. Our professionals are with you at every phase, determining, recommending and implementing the most cost-effective, flexible and long term solution for your business.
  • 4. Configuring FO Plug-in Part II Main Topics How to Customize the FO Plug-in Customization Units Customization Case Studies
  • 5. How to Customize (1) Pick a directory Put your customizations directly in the ‘customization’ directory OR Create your own customization directory by copying ‘customization’ and renaming Include changed templates Copy relevant template files to customization\fo\xsl and include file names in customization\fo\xsl\custom.xsl OR Paste whole changed templates directly into customization\fo\xsl\custom.xsl
  • 6. How to Customize (2) Include changed attribute sets Copy attribute files to customization\fo\attr dir and include file names in customization\fo\attr\custom.xsl OR Paste whole changed attributes sets directly into customization\fo\attr\custom.xsl NOTE: Pasting code directly into custom.xsl is only prudent for small customizations. We generally recommend including changed files in custom.xsl Change the entry in customization\catalog.xml Copy catalog.xml.orig Rename to catalog.xml Uncomment relevant entries
  • 7. How to Customize (3) If you created your own customization directory, send the name of your customization directory as a parameter in your ANT build file. <param name=&quot;customization.dir&quot; value=“<your customization dir>&quot; /> NOTE: Customization allows you to easily install your changes on another machine by simply transferring the customization directory to the demo\fo or plugin\fo directory of that machine and sending the appropriate parameter in the ANT build file.
  • 8. Configuring FO Plug-in Part II Main Topics How to Customize the FO Plug-in Customization Units Customization Case Studies
  • 9. Templates (1) Question : How much of the template files should be retained? Best Practice : Save only those templates that are being changed. Your custom template replaces the out of the box template. Makes your custom files smaller Allows for easier upgrading to subsequent plug-in releases. Templates you haven’t touched will be automatically upgraded, and you will only have to maintain changes in templates you have changed.
  • 10. Problem : I customized my template, and the PDF renders, but I still don’t see my change. Where did it go? Solution : Check that you remembered to include the changed file in custom.xsl and that you updated the catalog file accordingly. Check that the file you changed is the one that is being used. Check which file you changed. Make sure it is being saved where you think it is being saved. Beware of duplicate file names and directory names. Best Practice : Develop a system for keeping track of which are the custom files and which are the originals. Make sure that changes are always made in the COPY of the file, and not the original. Templates (2)
  • 11. Attribute Sets (1) Question : How much of the original attribute file should be retained? Answer – Unresolved: Only changed attributes sets – same advantages are for templates: smaller files, only need to maintain changes. All attribute sets – formatting is interdependent. Don’t necessarily want your formatting changed when plug-in is upgraded. You end up touching most attributes sets anyway because so many attributes are repeated in different places.
  • 12. Attribute Sets (2) Problem : Where did all of these attributes in my document come from? I don’t remember defining them in my custom attribute set. Answer : The toolkit MERGES the standard attribute sets with the custom attribute sets. This means that any attribute that you did not replace will still appear in the final output, whether or not you want it. Best Practice : When customizing attribute sets, copy the WHOLE standard attribute set to the new file. This way you will be aware of all of the attributes that will be included in the PDF. Then change the desired attributes.
  • 13. Attribute Sets (3) Note : This can in theory become a problem again after the toolkit upgraded, if the attribute sets are updated. Beware of formatting changes creeping into your document after an update. Problem : Some attributes exist in the standard attribute set that I don’t want at all. How do I delete an attribute? Answer : Where relevant, set the value of the attribute to 0 in the new attribute set. If that is not possible, you may have to create a new attribute set with a different name that does not include the problematic attribute. You can then reference the new attribute set from the templates.
  • 14. Configuring FO Plug-in Part II Main Topics How to Customize the FO Plug-in Customization Units Customization Case Studies
  • 15. Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
  • 16. Customizing the Document Body (1) Goal : Customize the titles in the body of the document. Problem: There is no file called body.xsl. Where is the information stored? Answer: When all else fails, reference commons.xsl. Note the file size. Contains a lot of general (common) formatting and template information. Best Practice: We strongly recommend using a good searching program that can do quick text searching in subdirectories. (i.e. Textpad, grep, google desktop). It is often much quicker to do a direct search than untangle the web of files.
  • 17. Customizing the Document Body (2) Relevant files : commons.xsl, commons-attr.xsl Problem : I see the topic.topic.title attribute set, but when I searched, I can’t find a use-attribute-sets reference anywhere. Where is topic.topic.title being used? Answer : commons.xsl GENERATES the topic.topic… attribute set names in createTopicAttrsName template. The number of topics reflects the number of levels. Solution: Customize the topic.title attribute sets in commons-attr.xsl.
  • 18. Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
  • 19. Customizing Tables (1) Goal : Display borders around each cell of a table. Relevant files : tables.xsl, tables1.0.xsl, tables-attr.xsl. Suggestion : Insert attributes for borders in relevant attribute sets. Problem : DITA supports special table border definitions within the actual DITA files. colsep - Column separator : 0 - no separators; 1 - separators rowsep - Row separator : 0 - no separators; 1 - separators frame - Specifies which portion of a border should surround the element. Possible values: top | bottom | topbot | all | sides | none
  • 20. Note: Hardcoding the table borders in the attribute sets will work if you ALWAYS want this look. If, however, you want the table borders to vary based on the presence of the CALS table attributes, this solution will not be effective. Solution : Make the change in the tables.xsl or tables1.0.xsl files, and NOT in the attribute set files. In my case, I made a change in the template generateTableEntryBorder. Customizing Tables (2)
  • 21. Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
  • 22. Customizing Lists (1) Goal : Ensure that the first and last list items are not alone on a page Relevant files : lists.xsl, lists-attr.xsl Method: This can be accomplished by using XPATH within the attribute set. Note: XSL can be used within an attribute set. It must be used within the attribute – can not be used to determine which attribute should be there.
  • 24. Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
  • 25. Customizing Related Links (1) Goal: Display related links after each topic in the PDF Relevant files : links.xsl, links-attr.xsl Question : I can render the document but I don’t see any related links. I thought this was a built-in function? Answer : This is a built-in function, and links are displayed by default – for online documents. To get the links to appear in the PDF, you can send a parameter in your build file – disableRelatedLinks=‘no’ . This should work in all versions of the Toolkit.
  • 26. Customizing Related Links (2) There is a new parameter in the toolkit which controls the display of links called args.fo.include.rellinks Values (from a comment in basic_settings.xsl): none - no links are included. This is the default, to match previous settings. all - all links are included. If the original parameter $ disableRelatedLinks is customized to &quot;no&quot;, this is the default, to match previous settings. nofamily - excludes links with @role = parent, child, next, previous, ancestor, descendant, sibling, cousin.
  • 27. Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
  • 28. Configuring the FO Plug-in to Use Antenna House and Render X To configure the FO Plug-in to use Antenna House or Render X, set the pdf.formatter parameter in the project build file. Values fop – (default) ah – Antenna House xep – RenderX It is much more complicated to do this using previous versions of the toolkit. We recommend upgrading to the latest version of the toolkit to take advantage of this feature and other improvements.
  • 29. Configuring FO Plug-in Part II Main Topics Customization Case Studies Document Body Tables Lists Related Links Rendering Engine
  • 30. Configuring FO Plug-in Part II Main Topics How to Customize the FO Plug-in Customization Units Customization Case Studies
  • 31. End of Session: Understanding and Configuring the FO Plug-in for Generating PDF Files Part II (Beginner Level)

Editor's Notes

  • #3: Suite Solutions: DITA Quick Start Training for Authors iDTP, March 16-18, 2009
  • #4: Suite Solutions: DITA Quick Start Training for Authors iDTP, March 16-18, 2009
  • #6: DITA Open Toolkit Workshop September 2008
  • #7: DITA Open Toolkit Workshop September 2008
  • #8: DITA Open Toolkit Workshop September 2008
  • #10: DITA Open Toolkit Workshop September 2008
  • #11: DITA Open Toolkit Workshop September 2008
  • #12: DITA Open Toolkit Workshop September 2008
  • #13: DITA Open Toolkit Workshop September 2008
  • #14: DITA Open Toolkit Workshop September 2008
  • #17: DITA Open Toolkit Workshop September 2008
  • #18: DITA Open Toolkit Workshop September 2008