unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Yuval Langer <yuvallangerontheroad@gmail.com>, help-guix@gnu.org
Subject: Re: Problem: a makeinfo running in build stages cannot output epub3?
Date: Thu, 11 Jul 2024 11:46:01 +0200	[thread overview]
Message-ID: <87ttgwgt2e.fsf@gmail.com> (raw)
In-Reply-To: <CABKQn8HNneEDMtRdJsj_v-4SF058JxJ_uKdPiAhynvqRgJBDkw@mail.gmail.com>

Hi,

Sorry for the late reply.


On Sun, 12 May 2024 at 07:17, Yuval Langer <yuvallangerontheroad@gmail.com> wrote:

> I am having problems generating epub because the native-input texinfo
> package does not accept the `--epub3` (or `--epub`) flag.  I have
> tried adding the perl-archive-zip package as well, but that did not
> work.

Indeed, I get this error using the example you provided.

--8<---------------cut here---------------start------------->8---
$ guix build -L . r7rs-small-epub

[...]

phase `unpack' succeeded after 0.0 seconds
starting phase `compile-the-files'
makeinfo  --set-customization-variable HTML_MATH=mathjax --no-split --epub r7rs-small.texinfo
Unknown option: epub
error: in phase 'compile-the-files': uncaught exception:

[...]
--8<---------------cut here---------------end--------------->8---

And if one replace ’epub’ by ’epub3’, the error seems still there:

--8<---------------cut here---------------start------------->8---
starting phase `unpack-fix'
phase `unpack-fix' succeeded after 0.0 seconds
starting phase `compile-the-files'
makeinfo  --set-customization-variable HTML_MATH=mathjax --no-split --epub3 r7rs-small.texinfo
Unknown option: epub3
error: in phase 'compile-the-files': uncaught exception:
--8<---------------cut here---------------end--------------->8---


Since,

        $ guix shell -C texinfo -- makeinfo --help | grep -C 5 epub
              --version               display version information and exit.

        Output format selection (default is to produce Info):
              --docbook               output Docbook XML.
              --html                  output HTML.
              --epub3                 output EPUB 3.
              --latex                 output LaTeX.
              --plaintext             output plain text rather than Info.
              --xml                   output Texinfo XML.
              --dvi, --dvipdf, --ps, --pdf  call texi2dvi to generate given output,
                                        after checking validity of TEXINFO-FILE.

indeed, something is unexpected.  Note that the package ’texinfo’
contains:

--8<---------------cut here---------------start------------->8---
    (inputs (modify-inputs (package-inputs texinfo)
              (append perl-archive-zip)))        ;needed for 'tex2any --epub3'
--8<---------------cut here---------------end--------------->8---

Hum, I do not know where the issue could come from.

Cheers,
simon


      reply	other threads:[~2024-07-11  9:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-12  4:17 Problem: a makeinfo running in build stages cannot output epub3? Yuval Langer
2024-07-11  9:46 ` Simon Tournier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ttgwgt2e.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=yuvallangerontheroad@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).