RE: [sword-devel] IMAGES in SWORD

2002-03-05 Thread Stephen Denne
> > If we change the filter to strip the basename from the url on lex/dict > > and genbooks, then for these modules, the module authors will have to > > add an extra directory to the url. As it stands now, the extra > > directory is already added for them for these 3 cases. Does this make > > se

Re: [sword-devel] IMAGES in SWORD

2002-03-05 Thread Joachim Ansorg
Troy, thank you for your answer! > If we change the filter to strip the basename from the url on lex/dict > and genbooks, then for these modules, the module authors will have to > add an extra directory to the url. As it stands now, the extra > directory is already added for them for the

Re: [sword-devel] IMAGES in SWORD

2002-03-04 Thread Troy A. Griffitts
> > Ok, there is now a check to be sure buf ends in '/' before skipping the > > '/' at the beginning of the image url. > > Won't compile on ym box :) yeah, I caught it also, after I already commited it. Please try again. > > Not arguing the merits of this naming scheme (it's too late to chang

Re: [sword-devel] IMAGES in SWORD

2002-03-04 Thread Joachim Ansorg
> Ok, there is now a check to be sure buf ends in '/' before skipping the > '/' at the beginning of the image url. Won't compile on ym box :) /bin/sh ../libtool --mode=compile g++ -DUNIX -I. -I. -I.. -I../include -g -O2 -Werror -c -o thmlhtml.lo ` test -f ../src/modules/filters/thmlhtml.cpp

Re: [sword-devel] IMAGES in SWORD

2002-03-04 Thread Troy A. Griffitts
> thanks for implementing this! Thanks for reporting the bugs! > The thmlhtml filter works almost right ;) > > You wrote > c++;// skip '/' > but if you skip the slash you have to make > module->getConfigEntry("AbsoluteDataPath") > have a trailing one, otherwise the

Re: [sword-devel] IMAGES in SWORD

2002-03-04 Thread Joachim Ansorg
Troy, thanks for implementing this! > And besides, I just added image support. Here's how it works... > > Make the src of your image look like this or if > you prefer,