[racket] Is Scribble supposed to overwrite old image files during rendering?
The enclosing tag prefix not used currently, because names generated
within a document are made distinct automatically.
I think we could make the generated names sensitive to the tag prefix,
but I'm not sure whether it would be better to solve this problem by
adding a tag prefix to the document source or adding a command-line
flag to `scribble' to be applied from outside the document.
At Fri, 6 Jul 2012 17:52:49 -0400, Matthias Felleisen wrote:
>
> doesn't tag-prefix solve this problem? (If not, perhaps it should.)
>
> On Jul 6, 2012, at 5:28 PM, Danny Yoo wrote:
>
> > We're using Scribble with the "--dest" output flag; when we apply
> > scribble individually on files that have images into the same
> > destination directory, the autogenerated image names can collide. For
> > example, the names 'pict.png' and 'pict_2.png' can easily collide.
> >
> > Does anyone have suggested workarounds? It might be nice to put a
> > prefix on the names of the files so that there's no collision nor
> > inadvertent image overwrite.
> >
> >
> > (Alternatively, I suppose I can probably call into the html-renderer
> > directly, without going through the command line utility. That way,
> > whatever hidden state is being used to create fresh names continues to
> > be fresh. But if there's something I can do from the command line
> > utility, that'd be great.)
> >
> > Thanks!
> > ____________________
> > Racket Users list:
> > http://lists.racket-lang.org/users
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users