[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [dita] content model for <fig>?
Just affirming Paul's answer. Although the default FO processor in the DITA Open Toolkit is no paragon of outstanding design, it did anticipate this issue by allowing users to customize output style parameters and thereby regularly manage whether titles for figures and tables appear over or under the rendered content. It is expected that most output transforms will eventually support an external style language that defines overall layout and design intent. From the Toolkit file xsl/xslfo/topic2foImpl.xsl, these parameters establish a default "over" placement, and may be changed singly or together to change the placement to "under." <!-- "FORMAT" GLOBAL DECLARATIONS --> <xsl:variable name="fmt-fig-lbl-loc">over</xsl:variable> <!-- values: over, under --> <xsl:variable name="fmt-tbl-lbl-loc">over</xsl:variable> <!-- values: over, under --> Regards, -- Don Day Chair, OASIS DITA Technical Committee IBM Lead DITA Architect Email: dond@us.ibm.com 11501 Burnet Rd. MS9033E015, Austin TX 78758 Phone: +1 512-838-8550 T/L: 678-8550 "Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?" --T.S. Eliot "Grosso, Paul" <pgrosso@ptc.com> To 04/11/2007 08:49 "Alan Houser" AM <arh@groupwellesley.com>, <dita@lists.oasis-open.org> cc Subject RE: [dita] content model for <fig>? Where a figure caption appears in the output is a style issue, not a markup issue. So the answer to your last question is yes (if that's how the style is defined in your case). paul > -----Original Message----- > From: Alan Houser [mailto:arh@groupwellesley.com] > Sent: Tuesday, 2007 April 10 22:21 > To: dita@lists.oasis-open.org > Subject: [dita] content model for <fig>? > > I'm trying to determine the customary DITA structure for > representing an > image with a following caption. I presume that <fig> would be the > appropriate container, but <fig> includes an optional <title> element > before (not after) <image>. > > I suspect this was discussed and decided long ago. Am I missing an > appropriate structure for representing an image followed by a > caption? > Was there a rationale for placing the optional <title> at the > beginning > of the content model for <fig>? Is there an expectation that the > processor might globally swap the order of <title> and <image> if > appropriate?
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]