Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #228983 > unrolled thread

LaTeX to epub

Started byEmanuel Berg <moasenwood@zoho.eu>
First post2020-11-24 03:20 +0100
Last post2020-11-24 17:00 +0100
Articles 6 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  LaTeX to epub Emanuel Berg <moasenwood@zoho.eu> - 2020-11-24 03:20 +0100
    Re: LaTeX to epub Emanuel Berg <moasenwood@zoho.eu> - 2020-11-24 06:50 +0100
      Re: LaTeX to epub Emanuel Berg <moasenwood@zoho.eu> - 2020-11-24 08:50 +0100
    Re: LaTeX to epub Curt <curty@free.fr> - 2020-11-24 14:10 +0100
      Re: LaTeX to epub Tom Browder <tom.browder@gmail.com> - 2020-11-24 16:50 +0100
        Re: LaTeX to epub Emanuel Berg <moasenwood@zoho.eu> - 2020-11-24 17:00 +0100

#228983 — LaTeX to epub

FromEmanuel Berg <moasenwood@zoho.eu>
Date2020-11-24 03:20 +0100
SubjectLaTeX to epub
Message-ID<Bew5X-5k8-1@gated-at.bofh.it>
Can I compile LaTeX to epub? ebook-convert gives an encoding error
ebook-convert from the PDF I mean and, if "PDF sucks" as people
say, how is one supposed to do it? what markup is preferred
for epub?

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal

[toc] | [next] | [standalone]


#228985

FromEmanuel Berg <moasenwood@zoho.eu>
Date2020-11-24 06:50 +0100
Message-ID<Beznb-7fe-1@gated-at.bofh.it>
In reply to#228983
> Can I compile LaTeX to epub?

pandoc can do this but it starts trashing, let's try with

systemd-run --scope -p MemoryLimit=500M pandoc -o x.epub x.tex

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal

[toc] | [prev] | [next] | [standalone]


#228990

FromEmanuel Berg <moasenwood@zoho.eu>
Date2020-11-24 08:50 +0100
Message-ID<BeBfj-8os-5@gated-at.bofh.it>
In reply to#228985
>> Can I compile LaTeX to epub?
>
> pandoc can do this but it starts trashing, let's try with
>
> systemd-run --scope -p MemoryLimit=500M pandoc -o x.epub x.tex

Runs out of memory after processing for a long time ... a baad
memory leak?

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal

[toc] | [prev] | [next] | [standalone]


#229003

FromCurt <curty@free.fr>
Date2020-11-24 14:10 +0100
Message-ID<BeGf0-37C-11@gated-at.bofh.it>
In reply to#228983
On 2020-11-24, Emanuel Berg <moasenwood@zoho.eu> wrote:
> Can I compile LaTeX to epub? ebook-convert gives an encoding error
> ebook-convert from the PDF I mean and, if "PDF sucks" as people
> say, how is one supposed to do it? what markup is preferred
> for epub?
>

I've only ever heard about 'tex4ebook' and haven't used it
(should be included in texlive-extra-utils). 

[toc] | [prev] | [next] | [standalone]


#229009

FromTom Browder <tom.browder@gmail.com>
Date2020-11-24 16:50 +0100
Message-ID<BeIJP-4sG-9@gated-at.bofh.it>
In reply to#229003
> On 2020-11-24, Emanuel Berg <moasenwood@zoho.eu> wrote:
> > Can I compile LaTeX to epub? ebook-convert gives an encoding error
> > ebook-convert from the PDF I mean and, if "PDF sucks" as people
> > say, how is one supposed to do it? what markup is preferred
> > for epub?

I'm sure you know 'ebook-convert' and 'ebook-meta' (in Debian package
'calibre') have LOTS of options for converting between various ebook
formats.

I have had limited but satisfactory success converting from pdf to
Amazon's mobi format.

I have a Raku friend (Larry Wall's new programming language. See
<https://raku.org>) who is quite an active and expert PDF format
person who may be able to help.  See David Warring's Raku PDF modules
at

    <https://github.com/pdf-raku>

He can be contacted at his email address (listed publicly as a Perl
CPAN author at <https://metacpan.org/author/WARRINGD>):

    <mailto:david.warring@gmail.com>

 Good luck.

Blessings,

-Tom

[toc] | [prev] | [next] | [standalone]


#229010

FromEmanuel Berg <moasenwood@zoho.eu>
Date2020-11-24 17:00 +0100
Message-ID<BeITv-4vP-1@gated-at.bofh.it>
In reply to#229009
Tom Browder wrote:

> <mailto:david.warring@gmail.com>

Thanks, I'll try that :)

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web