[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] screenshot element/moving List of Figures to the end?
Hi, No, screenshot does essentially nothing in the stylesheets. It is simply a container, whose content is a mediaobject. You could use mediaobject, but you would lose the distinction between screenshot images and other images, in case you wanted the stylesheet to do something different with screenshots (draw a box, etc.). The order of content in a book's output is determined by the order of processing in the template with match="book" in the division.xsl file (fo or html). You can copy that template to a customization and change the order there. However, getting it between the content and the index is a minor problem, because the index output is triggered by the xsl:apply-templates when applied to the empty index element in the content. As it is, there is no opportunity to put something between the rest of the content and the index. You will need to change the template so it does not select index with the other elements, then process the figure list, then apply-templates to the index. BTW, I would recommend in the future that you put each different topic in a different email. I didn't notice the second question when I first read the mail. 8^) Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "Robert Nagle" <idiotprogrammer@gmail.com> To: <docbook-apps@lists.oasis-open.org> Sent: Tuesday, July 06, 2010 12:41 PM Subject: [docbook-apps] screenshot element/moving List of Figures to the end? > Hi, there, > > I'm writing a book which uses a lot of screenshots. > > I was wondering. Does the screenshot element do anything special for > screenshots? (either in print or HTML output)? > > It seems I could add images in my imageobject just as easily and not > add the screenshot element, Why then use the screeshot element anyway? > > Another question. I'm playing with the idea of move the List of > Figures to a different position inside the book. Rather than put it in > between the TOC and the content, I'd like to put it after the main > content and before the index. > > Can someone get my started about how such a thing might get done? I > can't seem to find anything in the Docbook XSL book about how you > might do this. > > Thanks. > > -- > Robert Nagle > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]