magentastripe / willorapdf

Document preparation system for self-publishers based on Asciidoctor
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Colophon needs to be templatized to accommodate potentially different ISBN #1

Closed dressupgeekout closed 11 months ago

dressupgeekout commented 1 year ago

Among the text in the colophon is the ISBN of the book, but the ISBN is different depending which format and/or edition of the book it is. For example, a paperback, hardcover and eBook all released at the same time actually take up 3 different ISBNs.

Therefore, there are n different colophons, one per format -- not just one.

We can achieve this with a macro of sorts -- the author writes %ISBN% or something, and then the Makefile can map which ISBN corresponds to which edition.

dressupgeekout commented 1 year ago

An alternative to require all ISBNs to be mentioned in the colophon, I have at least one book which does this. Not sure how I feel about that though

dressupgeekout commented 1 year ago

I've begun implementing this downstream -- need to finish it off and then I'll merge it back here

dressupgeekout commented 11 months ago

Committed in f4f8589d49f4ab946ff9bd5d734418e1d3998935