From: Akira Yokosawa <akiyks@gmail.com>
To: Ferenc Fejes <ferenc@fejes.dev>, perfbook@vger.kernel.org
Cc: "Paul E . McKenney" <paulmck@kernel.org>,
Leonardo Bras <leobras.c@gmail.com>
Subject: Re: [RFC PATCH 3/7] utilities/runlwarp.sh: Add lwarp and Pandoc build driver
Date: Tue, 24 Nov 2026 20:35:47 +0900 [thread overview]
Message-ID: <ac69ab31-24b8-4771-b87f-b439385abd51@gmail.com> (raw)
In-Reply-To: <20261115210138.229034-4-ferenc@fejes.dev>
Hi,
I think I see what went wrong under Gitlab-CI.
See below.
On Sun, 15 Nov 2026 22:01:34 +0100, Ferenc Fejes wrote:
> Add utilities/runlwarp.sh to drive multi-pass lwarp HTML compilation,
> background SVG math rendering, and Pandoc EPUB3 packaging. After
> running epub-fixhtml.pl and appending epub.css, the script verifies
> anchor, equation, footnote, Quick Quiz, and epigraph counts and runs
> epubcheck when available.
>
> Signed-off-by: Ferenc Fejes <ferenc@fejes.dev>
> ---
> utilities/runlwarp.sh | 286 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 286 insertions(+)
> create mode 100644 utilities/runlwarp.sh
>
> diff --git a/utilities/runlwarp.sh b/utilities/runlwarp.sh
> new file mode 100644
> index 00000000..7e0dbd65
> --- /dev/null
> +++ b/utilities/runlwarp.sh
[...]
> +
> +# Wait for backgrounded pdfcrop/pdftocairo jobs spawned by `lwarpmk limages`.
> +wait_limages () {
> + while find "$base-images" -name '*.pdf' -o -size 0 2>/dev/null | grep -q .; do
It looks like "find" on Arch Linux needs explicit -print.
After adding it as follows:
while find "$base-images" -name '*.pdf' -o -size 0 -print 2>/dev/null | grep -q .; do
, both "make epub" and "make epub-endnotes" completed under Arch Linux.
> + sleep 0.1
Probably "sleep 1" or longer would suffice, I guess.
Hope this helps.
Thanks, Akira
> + done
> +}
> +
[...]
next prev parent reply other threads:[~2026-11-24 11:35 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-15 21:01 [RFC PATCH 0/7] Add reflowable HTML and EPUB3 build target Ferenc Fejes
2026-11-15 21:01 ` [RFC PATCH 1/7] reflow.ltx: Add LaTeX-to-HTML shims for lwarp builds Ferenc Fejes
2026-11-15 21:01 ` [RFC PATCH 2/7] utilities: Add EPUB3 post-processor and stylesheet Ferenc Fejes
2026-11-15 21:01 ` [RFC PATCH 3/7] utilities/runlwarp.sh: Add lwarp and Pandoc build driver Ferenc Fejes
2026-11-24 11:35 ` Akira Yokosawa [this message]
2026-11-15 21:01 ` [RFC PATCH 4/7] Makefile, .gitignore: Add epub and html build targets Ferenc Fejes
2026-11-15 21:01 ` [RFC PATCH 5/7] epub: Add endnote variant for readers without popup footnotes Ferenc Fejes
2026-11-15 21:01 ` [RFC PATCH 6/7] FAQ-BUILD.txt: Document HTML and EPUB build targets Ferenc Fejes
2026-11-15 21:01 ` [RFC PATCH 7/7] docker, gitlab-ci: Add EPUB build dependencies and CI job Ferenc Fejes
2026-11-21 18:09 ` Leonardo Bras
2026-11-16 4:41 ` [RFC PATCH 0/7] Add reflowable HTML and EPUB3 build target Akira Yokosawa
2026-11-16 17:21 ` Ferenc Fejes
2026-11-17 2:41 ` Akira Yokosawa
2026-11-17 9:44 ` Akira Yokosawa
2026-11-18 3:55 ` Ferenc Fejes
2026-11-18 10:32 ` Akira Yokosawa
2026-11-18 17:56 ` Ferenc Fejes
2026-11-29 8:57 ` Akira Yokosawa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ac69ab31-24b8-4771-b87f-b439385abd51@gmail.com \
--to=akiyks@gmail.com \
--cc=ferenc@fejes.dev \
--cc=leobras.c@gmail.com \
--cc=paulmck@kernel.org \
--cc=perfbook@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.