View Single Post
Old 09-24-2020, 07:38 PM   #41
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by KevinH View Post
FWIW, it is possible to use the command line and the stream editor "sed" to automate mass find replace upon any set of files (even 500 of them). So the option of fixing the svg is possible.
Or Notepad++ has a "Find in Files", where you are able to Find/Replace over entire folders + filters.

So what I would do to handle the "gray maths issue":

1. Unzip the EPUB.

2. Notepad++ (or similar) to replace all rgb(0%,0%,0%) with rgb(0,0,0).

3. Repack EPUB. (Manually, or just open/save the EPUB in Calibre/Sigil.)

Quote:
Originally Posted by RbnJrg View Post
Well, after studying your .svg image, I can tell you the following:

1) Your .svg is an image made of "paths".
2) Your .svg is not a plain .svg, so it can produce issues with some ereaders.
3) Your .svg, even after converted as plain .svg, it has some instruccions not supported by ADE.

[...]

So your best bet IMHO is to convert them (batch conversion) as .pgn using a conversor like Irfanwiew or ImageMagick.
Agreed.

IF you want to stick with SVG, I know many times over the years we've discussed "Plain SVG" output from Inkscape.

Or you could convert to PNG formulas, while not as nice/crisp, at least it'll display in horrible non-standards-compliant readers such as Moon+ Reader.

All depends on what you're trying to accomplish, and what your source material is.

Last edited by Tex2002ans; 09-24-2020 at 07:44 PM.
Tex2002ans is offline   Reply With Quote