1 / 35

XSL-FO Basic Concepts and Markup Discussion in May 2013

Join us for a focused session on XSL-FO basics covering topics like page masters, sequences, and formatting. Explore goals, concepts, and practical implementations in this informative webinar.

hallarobert
Download Presentation

XSL-FO Basic Concepts and Markup Discussion in May 2013

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Conference Number: 805-309-0248Participant Code: 880-0006 Power HourMay 2013 XSL-FOBasic Concepts and Markup

  2. Power Hour – May 2013 Agenda • XSL-FOBasic Concepts and Markup • Survey Results • Webinar Schedule

  3. Power Hour – May 2013 XSL-FOBasic Concepts and Markup

  4. XSL-FO – Basic Concepts and Markup Experience

  5. XSL-FO – Basic Concepts and Markup What are your goals for this session?

  6. XSL-FO – Basic Concepts and Markup What are your goals for this session? • Two line headers and two line footers implementation • I'm experienced with FrameMaker, WebWorks, HTML/CSS publishing but new to XSL-FO • Nothing in particular. Just wanted to check out the topic.

  7. XSL-FO – Basic Concepts and Markup Today’s Goals • Create a custom title page • Two line headers and two line footers implementation • Leverage XSL-FO variables in headers/footers • Define new master pages (via ePublisher)

  8. XSL-FO – Basic Concepts and Markup Topics to cover: • Concepts (versus PDF and HTML) • Page and Page Sequence Masters • Page Sequences • Formatting • XSL-FO Markers

  9. XSL-FO – Basic Concepts and Markup Concepts (versus PDF and HTML) • HTML • Single page • Content can be modified or edited • Layout is dynamic, reacts to content

  10. XSL-FO – Basic Concepts and Markup Concepts (versus PDF and HTML) • PDF • Designed to “paint” a page • Editing not a consideration • Limited reflow support, primarily static layout

  11. XSL-FO – Basic Concepts and Markup Concepts (versus PDF and HTML) • XSL-FO • Defines rules for how to generate pages based on content • Content can change, pages created as needed during rendering process • Templates and layout hints (ala HTML+CSS)

  12. XSL-FO – Basic Concepts and Markup Page and Page Sequence Masters • Template for all pages • Define five content regions • Page sequence masters define left/right layout handling

  13. XSL-FO – Basic Concepts and Markup Page and Page Sequence Masters Margins Before Start Body End After

  14. XSL-FO – Basic Concepts and Markup Page and Page Sequence Masters<simple-page-master master-name="index-even-master-page" page-height="11in" page-width="8.5in" margin-bottom="0.1in" margin-left="0.5in" margin-right="0.5in" margin-top="0.5in"> <region-body region-name="index-body" margin-top="0.5in" margin-bottom="0.5in" /> <region-before region-name="index-even-header" extent="0.5in" /> <region-after region-name="index-even-footer" extent="0.5in" /></simple-page-master>

  15. XSL-FO – Basic Concepts and Markup Page and Page Sequence Masters • Reference defined page masters Before Before Start Start Body Body End End Margins Margins R L After After

  16. XSL-FO – Basic Concepts and Markup Page and Page Sequence Masters<page-sequence-master master-name="index-pages"> <repeatable-page-master-alternatives> <conditional-page-master-reference odd-or-even="even" master-reference="index-even-master-page" /> <conditional-page-master-reference odd-or-even="odd" master-reference="index-odd-master-page" /> </repeatable-page-master-alternatives></page-sequence-master>

  17. XSL-FO – Basic Concepts and Markup Page Sequences • Reference master page sequences • Contain zero or more static content definitions • Contain at least one flow

  18. XSL-FO – Basic Concepts and Markup Page Sequences<page-sequence master-reference="index-pages"> <static-content flow-name="index-odd-header"> <block>Index</block> </static-content> <static-content flow-name="index-even-header"> <block>Index</block> </static-content> <static-content flow-name="index-even-footer"> <block><page-number />- Index</block> </static-content> <static-content flow-name="index-odd-footer"> <block>Index - <page-number /></block> </static-content> <flow flow-name="index-body"> ... </flow></page-sequence>

  19. XSL-FO – Basic Concepts and Markup Flows • Content “body” content • Layout is determined by how they are processed into their master page sequence

  20. XSL-FO – Basic Concepts and Markup Flows<flow flow-name="index-body"> <block id="index-title">Index</block> <block>More stuff in the index.</block> ...</flow>

  21. XSL-FO – Basic Concepts and Markup Formatting • Generally use block level and inline elements • <fo:block> similar to HTML <div> • <fo:inline> similar to HTML <span> • Formatting • Explicit via attributes (nothing like CSS) • Inherited based on hierarchy

  22. XSL-FO – Basic Concepts and Markup Formatting<block id="lummOFoL054_XZvKvYkTiYQ_pID0E0PE0HA“ color="#000000" font-size="16pt" font-weight="bold" font-family="&quot;Times New Roman&quot;" margin-bottom="12pt" margin-top="12pt" margin-left="0pt" text-indent="0pt" page-break-before="true"> Creating Popup Windows</block><block> <inline font-family="&quot;Courier New&quot;" color="#000000" font-size="9pt"> Exploring ePublisher.doc </inline></block>

  23. XSL-FO – Basic Concepts and Markup XSL-FO Markers • Allow references to content based on layout results • Used to implement running header/footer titles

  24. XSL-FO – Basic Concepts and Markup XSL-FO Markers<fo:marker marker-class-name="RunningTitle"> Chapter 3 - Learning XSLT</fo:marker>...<fo:retrieve-marker retrieve-class-name="RunningTitle" retrieve-position="last-ending-within-page" />

  25. XSL-FO – Basic Concepts and Markup Today’s Goals • Create a custom title page • Two line headers and two line footers implementation • Leverage XSL-FO variables in headers/footers • Define new master pages (via ePublisher)

  26. Power Hour – May 2013 Survey Results

  27. Survey Results When to meet:

  28. Survey Results Voice Options:

  29. Survey Results Topics to cover:

  30. Survey Results Topics to cover: • No suggestions!

  31. Power Hour – May 2013 Webinar Schedule

  32. Webinar Schedule Power Hour: • June 27th at 2:00pm Central • PDFs from DITAExamining the process of DITA to XSL-FO to PDF Sign-up atwww.webworks.com/eSchool/Power_Hour/

  33. Webinar Schedule Show Me: • June 20th at 10:30am Central • Learn what the ePublisher platform can do for you • Repeats monthly on the 3rd Thursday Sign-up atwww.webworks.com/eSchool/Show_Me/

  34. Webinar Schedule Study Hall: • June 12th at 1:00pm Central • Open forum for ePublisher users • Repeats monthly on the 2nd and last Wednesdays Join atwww.webworks.com/eSchool/Study_Hall/

  35. Power HourMay 2013 XSL-FOBasic Concepts and Markup

More Related