Change that line into URL_STANDARD still could not fix the problem. The error 
message is similar to the message before modification. Seems the string could 
not directly include any : on Windows. Best.
On 2010-09-26 12:02:17 Zou Hu wrote:
Sorry for the mistakenly sent mail to you. I have tried URL_UNIX while finding 
this patch but it did not fix the problem (the url was changed into 
/c:/path/to/the/image.png which was wrong). I will try URL_STANDARD later. Best.

On 2010-09-25 23:25:26,Joris van der Hoeven wrote:
>On Sat, Sep 25, 2010 at 10:03:29PM +0800, Zou Hu wrote:
>> Hi all,
>> At last I found the patch for this bug:
>> In line 1544 of Typeset/Env/env_exec.cpp and line 190 of 
>> Style/Evaluate/evaluate_misc.cpp, change
>>   tree r (PATTERN, image, w, h);
>> to
>>   tree r (PATTERN, "$TEXMACS_PATTERN_PATH/" * exec_string (t[0]), w, h);
>> Would fix the problem of beamer style on Windows. It seems that if we use 
>> absolute path here, the background images would not be loaded on Windows.
>
>Thanks for this useful feedback. The fix is not quite fine yet.
>Could you please try the following variant: change
>
>        tree r (PATTERN, as_string (image), w, h);
>
>into
>
>        tree r (PATTERN, as_string (image, URL_STANDARD), w, h);
>
>or, maybe,
>
>        tree r (PATTERN, as_string (image, URL_UNIX), w, h);
>
>Thanks, --Joris
>
_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to