Hi,
Prefixing the parameters passed to os.path.join with 'r' seems to work
as a work around as escaped characters are not processed and treated
as literals (see http://docs.python.org/reference/lexical_analysis.html).
For example, edit xhtml11.conf for [image-inlinemacro] and [image-
blockmacro]:
change:
{data-uri#}{sys3:python -uc "import base64,sys;
base64.encode(sys.stdin,sys.stdout)" <
"{eval:os.path.join("{indir={outdir}}","{imagesdir=}","{target}")}"}" /
>
to:
{data-uri#}{sys3:python -uc "import base64,sys;
base64.encode(sys.stdin,sys.stdout)" <
"{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}" /
>
Cheers,
Will
On Jul 29, 2:00 pm, LeRouge <[email protected]> wrote:
> Hi will,
>
> On Jul 29, 8:36 am, Will <[email protected]> wrote:
>
> > Hi,
>
> > I have a problem including images in my docs when the a directory in
> > the directory tree starts with a certain character for example 'a' or
> > 'b'. I'm using AsciiDoc 8.6.5 under Windows XP SP3. For example:
> > [snip]
> > Is this a known issue? Is there a fix?
>
> There is one report about this
> here:http://code.google.com/p/asciidoc-win32/issues/detail?id=1
>
> lerouge
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.