Presentation is loading. Please wait.

Presentation is loading. Please wait.

Power Hour May 2013 XSL-FO Basic Concepts and Markup

Similar presentations


Presentation on theme: "Power Hour May 2013 XSL-FO Basic Concepts and Markup"— Presentation transcript:

1 Power Hour May 2013 XSL-FO Basic Concepts and Markup
Conference Number: Participant Code: Power Hour May 2013 XSL-FO Basic Concepts and Markup

2 XSL-FO Basic Concepts and Markup
Power Hour – May 2013 Agenda XSL-FO Basic Concepts and Markup Survey Results Webinar Schedule

3 XSL-FO Basic Concepts and Markup
Power Hour – May 2013 XSL-FO Basic 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 Margins Before Body Start End After L Margins Before Body Start End After R

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> 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=""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>

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 Power Hour: Webinar Schedule June 27th at 2:00pm Central
PDFs from DITA Examining the process of DITA to XSL-FO to PDF Sign-up at

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

34 Study Hall: Webinar Schedule June 12th at 1:00pm Central
Open forum for ePublisher users Repeats monthly on the 2nd and last Wednesdays Join at

35 Power Hour May 2013 XSL-FO Basic Concepts and Markup


Download ppt "Power Hour May 2013 XSL-FO Basic Concepts and Markup"

Similar presentations


Ads by Google