There seem to be a new bug in 0.9.1 that I only just noticed: add_media.sh now fails. If your image path in the uploaded XML file is "./media/chapter-01/test.png", then it is changed to "content/books/xml/mybook/en/./chapter-01/test.png". But that's not where add_media.sh has put the file: it has put it in content/books/workspace/xml/mybook/en/chapter-01/. One way of fixing this would be by applying the attached patch.

--
Jeremy Malcolm LLB (Hons) B Com
Internet and Open Source lawyer, IT consultant, actor
host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F! '{print $3}'
--- add_media.sh.old    2007-07-01 20:09:59.000000000 +0800
+++ add_media.sh        2007-07-01 20:09:12.000000000 +0800
@@ -27,8 +27,8 @@
   book_id=${book_id%%.*}
 fi
 
-### copy media files to the workspace directory of the book
-book_dir=workspace/xml/$book_id/$lng
+### copy media files to the xml directory of the book
+book_dir=xml/$book_id/$lng
 if [ ! -d $book_dir ]
 then
   echo "$0: Could not find '$book_dir'"
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Doc-book-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doc-book-users

Reply via email to