>
> Seems to be the Python function call 'os.path.join("C:
> \a_test","","ahm.jpg")' that is failing - escaping the backslashes
> seems to work better:
>
> Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit
> (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import os
>>>> os.path.join("C:\a_test","","ahm.jpg")
> 'C:\x07_test\\ahm.jpg'
>>>> os.path.join("C:\\a_test","","ahm.jpg")
> 'C:\\a_test\\ahm.jpg'
>
>
>
> Is this a known issue?  Is there a fix?


This is correct Python string behaviour, see
http://docs.python.org/reference/lexical_analysis.html#literals

The fix is to make the strings raw strings.

You should file a bug, all the strings in all the asciidoc conf files
will have to be checked for this problem when Stuart ends his winter
hibernation :-)

Cheers
Lex

>
> Cheers,
> Will
>
> --
> 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.
>
>

-- 
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.

Reply via email to