350 likes | 364 Views
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.
E N D
Conference Number: 805-309-0248Participant Code: 880-0006 Power HourMay 2013 XSL-FOBasic Concepts and Markup
Power Hour – May 2013 Agenda • XSL-FOBasic Concepts and Markup • Survey Results • Webinar Schedule
Power Hour – May 2013 XSL-FOBasic Concepts and Markup
XSL-FO – Basic Concepts and Markup Experience
XSL-FO – Basic Concepts and Markup What are your goals for this session?
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.
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)
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
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
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
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)
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
XSL-FO – Basic Concepts and Markup Page and Page Sequence Masters Margins Before Start Body End After
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>
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
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>
XSL-FO – Basic Concepts and Markup Page Sequences • Reference master page sequences • Contain zero or more static content definitions • Contain at least one flow
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>
XSL-FO – Basic Concepts and Markup Flows • Content “body” content • Layout is determined by how they are processed into their master page sequence
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>
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
XSL-FO – Basic Concepts and Markup Formatting<block id="lummOFoL054_XZvKvYkTiYQ_pID0E0PE0HA“ color="#000000" font-size="16pt" font-weight="bold" font-family=""Times New Roman"" margin-bottom="12pt" margin-top="12pt" margin-left="0pt" text-indent="0pt" page-break-before="true"> Creating Popup Windows</block><block> <inline font-family=""Courier New"" color="#000000" font-size="9pt"> Exploring ePublisher.doc </inline></block>
XSL-FO – Basic Concepts and Markup XSL-FO Markers • Allow references to content based on layout results • Used to implement running header/footer titles
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" />
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)
Power Hour – May 2013 Survey Results
Survey Results When to meet:
Survey Results Voice Options:
Survey Results Topics to cover:
Survey Results Topics to cover: • No suggestions!
Power Hour – May 2013 Webinar Schedule
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/
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/
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/
Power HourMay 2013 XSL-FOBasic Concepts and Markup