bugGNU TeXmacs - Bugs: bug #58750, TeXmacs -> Html exports should...

 
 

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

bug #58750: TeXmacs -> Html exports should take "Clipboard image format" into account

Submitter:  Aeh9quu9 <ohnie0ai>
Submitted:  Sat 11 Jul 2020 03:46:52 PM UTC
   
 
Category:  Conversion Priority:  5 - Normal
Item Group:  Wishlist Status:  Wont Fix
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

Tue 08 Feb 2022 04:51:21 PM UTC, comment #2: 

One of the motivation is that many e-book readers (e-Ink ones) don't support mathml. `svg` images are better when zooming. But this is not very important anyway.

Aeh9quu9 <ohnie0ai>
Tue 08 Feb 2022 09:44:44 AM UTC, comment #1: 

The preference you mention is explicitly meant to specify the format for exporting the selection as an image onto the system clipboard (for pasting into other application); it does not apply for file export, where you must specify the desired format.

The Html export preference "Export mathematical formulas as images" yields png images format (as stated in the documentation). The usual ways to avoid having formulas as bitmap images is by using mathjax or mathml, and TeXmacs offers both. One could indeed export formulas as svg images, as you suggest, but I have never seen this anywhere on the web. I believe the reason is that it would make web pages much larger and slower to render (in svg images, each character must be exported as a vector outlines, in each image).

Thus, at this point, there is no motivation to implement such non-standard stuff.

If you really want it for yourself, you can try to hack it in the file tmhtml.scm, tweaking the function tmhtml-png to generate svg instead of png. I believe it should work more or less straightforwardly.


Philippe Joyez <pjoyez>
Group Member
Sat 11 Jul 2020 03:46:52 PM UTC, original submission:  

Dear all,

I am talking about exporting from TeXmacs to html. I check "Export mathematical formulas as images", and select "svg" as "Clipboard image format" in TeXmacs -> Image conversion. However, I see that formulae are exported as png, that is to say, the configuration "Clipboard image format" is ignored.

I think that it is reasonable to take this into account when exporting html or something else when the formulae are converted into images.

Best wishes,

Aeh9quu9 <ohnie0ai>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pjoyez (Posted a comment)
  • -email is unavailable- added by ohnie0ai (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-08 pjoyez StatusNone Wont Fix
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code