Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-28 Thread Richard
If that isn't a start, I don't know what is. The JSON file can potentially give an idea about what the other files do. Am Fr., 28. Juni 2024 um 03:33 Uhr schrieb Van Snyder < van.sny...@sbcglobal.net>: > *.kfx, *.yjr and *.yjf are all "data". *.mf is "JSON". >

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-28 Thread Richard
Actually, magika does tell you quite well what you need to know. .yjf could be something comparable to a JPEG, .kfx seems to be very similar to a BMP image. .meta seems to be just a JSON text file. .mf could be too, but at least it will be a text file. The rest is unknown binary data you'll probabl

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Max Nikulin
On 28/06/2024 01:38, Van Snyder wrote: So, back to trying to find a competent PDF -to- ePub or PDF -to- mobi converter (I haven't yet tried texmate to create a mobi or ePub from the LaTeX). If you seek a solution that allows to get result in a single click then the following would not help.

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Van Snyder
On Thu, 2024-06-27 at 22:22 +0200, Richard wrote: > I didn't miss that. "file" will always tell you something, I doubt > there can be any situation where it will just give you an empty > output. You because it can get specific, it will tell you if > something is a text file or binary format it what

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Richard
I didn't miss that. "file" will always tell you something, I doubt there can be any situation where it will just give you an empty output. You because it can get specific, it will tell you if something is a text file or binary format it whatever. So what's the output? On Thu, Jun 27, 2024, 19:33

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Van Snyder
On Thu, 2024-06-27 at 10:02 +0200, Richard wrote: > You could try if Googles ML model "magika" can do a better job > (available via pypi). Otherwise, what exactly does "file" or better > "file -i" say? Worst case, you could open the files in a hex editor > and google the first few bits. Chances are

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Curt
On 2024-06-27, Richard wrote: > > Have you completely lost it? You should leave this and any other mailing > lists before you are being sued and kicked out for what you write. And > trust me, this message of yours is more than enough reason for that. > I'm confident I'll be sued for your rudeness

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Richard
Have you completely lost it? You should leave this and any other mailing lists before you are being sued and kicked out for what you write. And trust me, this message of yours is more than enough reason for that. Am Do., 27. Juni 2024 um 15:56 Uhr schrieb Curt : > On 2024-06-26, Van Snyder wrote

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Curt
On 2024-06-26, Van Snyder wrote: > > I downloaded everything with the same base name as I sent -- a file and > a directory. LibreOffice can't read any of it. Calibre can't read any > of it, either in the download or in the mounted Kindle. "file" has no > idea what any of the files are. > This is

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread eben
On 6/27/24 04:02, Richard wrote: Am Do., 27. Juni 2024 um 06:33 Uhr schrieb Van Snyder < van.sny...@sbcglobal.net>: "file" has no idea what any of the files are. > Otherwise, what exactly does "file" or better "file -i" say? I think you missed that.

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Richard
You could try if Googles ML model "magika" can do a better job (available via pypi). Otherwise, what exactly does "file" or better "file -i" say? Worst case, you could open the files in a hex editor and google the first few bits. Chances are the format uses "magic bits", so the first few bits in he

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-26 Thread Van Snyder
On Tue, 2024-06-25 at 13:26 +, Curt wrote: > On 2024-06-24, Van Snyder wrote: > > > > I composed a book in LaTeX because I wanted the equations to be set > > correctly -- and because I've been using LaTeX for decades and am > > most > > comfortable using it. > > > > All I know is if I send

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-25 Thread Curt
On 2024-06-24, Van Snyder wrote: > > I composed a book in LaTeX because I wanted the equations to be set > correctly -- and because I've been using LaTeX for decades and am most > comfortable using it. > All I know is if I send a pdf file to my Kindle with the word "convert" in the subject line (

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Van Snyder
On Tue, 2024-06-25 at 08:59 +1000, David wrote: > On Mon, 2024-06-24 at 22:42 +, Russell L. Harris wrote: > > tex4ht may be of use to you.  I love the package. > That's what Texmaker employs to translate LaTeX to HTML. It couldn't find the tfm file for the fonts that Amazon recommended. pdflat

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread David
On Mon, 2024-06-24 at 22:42 +, Russell L. Harris wrote: > tex4ht may be of use to you.  I love the package. That's what Texmaker employs to translate LaTeX to HTML. Cheers!

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Russell L. Harris
tex4ht may be of use to you. I love the package. RLH

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Van Snyder
On Tue, 2024-06-25 at 04:55 +0800, Bret Busby wrote: > Why not simply publish it as a PDF file? It's available on Amazon in print-on-demand (paperback or hardback) which I did indeed publish as PDF. But Amazon doesn't let you upload a PDF to be published for Kindle readers. They accept only Windoz

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Richard
First weapon of choice when trying to convert document formats would be pandoc. Have a look at it, it can handle quite a lot of formats. Other than that, there are guides like this [1], but it looks to me that you should just stick to LaTeX, as it's the best solution for typesetting, especially eq

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Bret Busby
On 25/6/24 04:01, Van Snyder wrote: I composed a book in LaTeX because I wanted the equations to be set correctly -- and because I've been using LaTeX for decades and am most comfortable using it. How do I create an ePub (or mobi) from LaTeX or PDF? I tried latex2ebook, which is based on late

ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Van Snyder
I composed a book in LaTeX because I wanted the equations to be set correctly -- and because I've been using LaTeX for decades and am most comfortable using it. How do I create an ePub (or mobi) from LaTeX or PDF? I tried latex2ebook, which is based on latex2html. It crashes a few pages in. I tr