This is the mail archive of the docbook-tools-discuss@sourceware.org mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: docbook 2 html with images


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>Alas none of the images were copied into the subdirectory which left me
>>with only part of what I needed.

> It's an old issue. The difficulty is to guess which images should be copied 
> where from and where to. I can imagine how you can write a script that works 
> for you, but not how you can write a script that would work for everyone. If 
> you have a generic solution of course it is more than welcome.

I used the SRC tag in the resulting html files.  In fact, two checks
would make the process more efficient.

for each SRC tag found in resulting html files
  if srcfile does not exist
    if srcfile does exist in original files
      copy srcfile

This is done easily in shell with unix utilities.  I dont know if it
could be integrated into a makefile.  are makefiles just shell commands?

- --
JT Morée
PC Xperience, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD457YucZ4lMT2d5IRAtH8AKCNb/fbcgSQQIpnVkpybxj2z+KD+ACfYbUV
0KUFnv3uXxs+Kke8rkoWi8s=
=cJIr
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]