Skip to content

Commit

Permalink
[39_4] Fix: Failed to render tmdoc image for remote tmdoc file
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii authored Nov 4, 2023
1 parent 8406c8c commit 61607c7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Typeset/Concat/concat_active.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,12 @@ concater_rep::typeset_image (tree t, path ip) {
if (N (image_tree->label) == 0)
error_image (tree (WITH, "color", "red", "no image"));
url im= cork_to_utf8( image_tree->label);
image= resolve (relative (env->base_file_name, im));
image= concretize_url (image);
if (is_rooted (im)) {
image= im;
} else {
image= resolve (relative (env->base_file_name, im));
image= concretize_url (image);
}
if (is_none (image) && suffix (im) == "")
image= resolve (relative (env->base_file_name, ::glue (im, ".eps")));
if (is_none (image) && suffix (im) == "")
Expand Down

0 comments on commit 61607c7

Please sign in to comment.