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