abelardopardo / abelardopardo/Adagio

Production rule: docbook -> epub

未关闭
#6 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
XML
星标
5
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

A production rule would be desirable that given a single docbook file produces an epub package. The styles are present in docbook-xsl (although without profiling). The difficulty comes from the fact that two directories are created, the images need to be copied in the proper location as an additional step, a few additional passes are required and the zip created.

The rule would receive a single file name and perform all these steps. The trickiest one could be the inclusion of the right images or auxiliary files, but parsing the opf file could help detect anomalies.

This issue is likely to be open for quite some time.

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 描述了添加一条构建规则,将单个 DocBook 文件转换为 EPUB 包。首先检查 repository 中现有的构建系统,以了解规则是如何定义的。查看 docbook-xsl 样式以及所需的步骤:创建目录、复制图像、执行多次处理并创建 zip 文件。文中提到解析 OPF 文件以处理图像。检查代码库中是否已有类似规则或脚本的示例。

由索引模型根据 Issue 内容生成。

评估

领域
build-system, documentation
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。