[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:Re: Re: [Texmacs-dev] beamer style is broken under Windows
From: |
Zou Hu |
Subject: |
Re:Re: Re: [Texmacs-dev] beamer style is broken under Windows |
Date: |
Sun, 26 Sep 2010 12:02:17 +0800 (CST) |
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
>