OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Problem with images given as entity in xhtml output (template process.image)


On 22.5.2014 16:42, Fletcher, Brett wrote:
> I am (I think) trying to accomplish the same thing as Frank. I have
> multiple docs which use the same copy, but require different figures.
> I was hoping to define those figures in entity files so they would be
> easier to maintain. The references do not appear to be making it into
> the docs. This all sounds like what I am trying to do, but not being
> very familiar, I was hoping someone might offer a high-level
> explanation of how this is all working? Then perhaps I can understand
> the presented solutions.

First advice -- try to eliminate usage of entities in your documents. In
XML entities will give you more troubles then advantages (situation was
different in SGML where entities were more flexible).

In your case, you can put each set of images into different directory,
but using same filenames. Then use following parameter to switch
directory from which images will be loaded:

http://docbook.sourceforge.net/release/xsl/current/doc/html/img.src.path.html

					Jirka


-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]