patchGNU TeXmacs - Patches: patch #10176, images in html export

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #10176: images in html export

Submitter:  Philippe Joyez <pjoyez>
Submitted:  Mon 07 Feb 2022 10:39:34 AM UTC
   
 
Category:  Conversion Action:  Done
Privacy:  Public Assigned to:  vdhoeven
Open/Closed:  Closed Release: 
Fixed Release:  Stable: 

Fri 03 Nov 2023 05:34:37 PM UTC, comment #3: 

Thanks!

Applied in revision 14281.

Joris van der Hoeven <vdhoeven>
Group administrator
Sat 19 Mar 2022 12:38:55 PM UTC, comment #2: 

Yes, my mistake, sorry. It should be fixed in the updated patch. Also it now considers "htm" extension, since it is explicitly proposed in the file dialog.

(file #53006)

Philippe Joyez <pjoyez>
Group Member
Wed 16 Mar 2022 09:22:18 PM UTC, comment #1: 

I made a few changes (see attached patch).

However, I am not happy with it: when creating a website
for a collection of files with linked images,
many of the links seem to be replaced by copies of the images.


(file #52994)

Joris van der Hoeven <vdhoeven>
Group administrator
Mon 07 Feb 2022 10:39:34 AM UTC, original submission:  

Images in formats accepted in html (svg, jpeg, gif, bmp) are directly linked (and no longer converted to png by default). This seems more logical to me.

When exporting a single file to html (possibly in another directory), the code now takes care that the relative path of the images is correct, copying the images as needed.

I tested that the website creation still works with this patch.

Philippe Joyez <pjoyez>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #53006:  tmhtml.patch added by pjoyez (4KiB - text/x-patch)
file #52994:  html-images-export.patch added by vdhoeven (4KiB - application/octet-stream - New version of patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Updated the item)
  • -email is unavailable- added by pjoyez (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-11-03 vdhoeven CategoryNone Conversion
        ActionUpdate Done
        Open/ClosedOpen Closed
    2022-03-19 pjoyez Attached File- Added tmhtml.patch, #53006
    2022-03-16 vdhoeven Attached File- Added html-images-export.patch, #52994
        ActionNone Update
        Assigned toNone vdhoeven
    2022-02-07 pjoyez Attached File- Added 2-keep-valid-images-in-html-export.patch, #52817

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code