Some Chinese Ghosts by Lafcadio Hearn
  • TeX 89.7%
  • Lua 6.7%
  • Makefile 3.6%
Find a file
2025-11-26 21:54:20 -07:00
src ch1 ephigraph 2025-11-26 21:54:20 -07:00
.gitignore git ignore 2025-11-25 17:53:22 -07:00
CC-1.0-Universal.txt CC0 1.0 Universal 2025-11-25 17:53:13 -07:00
CHANGELOG.txt v0.7.0 2025-11-26 21:10:46 -07:00
Makefile make files 2025-11-25 17:58:56 -07:00
README.md Elstob font noted 2025-11-26 13:24:52 -07:00
requirements.txt Add Python deps 2025-11-25 18:05:27 -07:00

Some Chinese Ghosts

Bilingual parallel text in French and English.

Status: Initial setup

PDFs:

Cover

Some Chinese Ghosts cover

Sample page

Some Chinese Ghosts sample page

Sources

Build

To clean the build environment, for instance if a build fails run:

make clean

The "main" command to build a PDF of the document, with the paperback ISBN, run:

make pdf

To build a PDF for a hardcover version. This changes the ISBN on the copyright page to the hardcover version.

make hardcover

To convert the PDF to a Postcript document:

make ps

To build a PDF of the cover:

make cover

To convert the PDF to a Postscript version of the cover:

make cover-ps

To build a PDF of the dust jacket:

make dustjacket

To build a PDF "2up" version of the document, with two pages per leaf (e.g. verso and recto).

make 2uppdf

To build a Postcript "2up" version of the document, with two pages per leaf (e.g. verso and recto).

make 2up

To build PDF and Postscript signatures for local printing and binding into a book:

make signatures

To build everything:

make

Convert

  • Download a copy.
  • Convert to .tex with pandoc.
  • Remove the header.

Project Gutenberg

wget https://gutenberg.org/cache/epub/16261/pg16261-h.zip
unzip pg16261-h.zip
pandoc -o en.tex pg16261-images.html

Repository Images

To generate images to view in the repository README.

convert some-chinese-ghosts-cover-*.pdf img/cover.png
pdftoppm -png -f 6 -l 7 some-chinese-ghosts-v*\.*\.*\.pdf tmp/sample
convert +append tmp/sample-006.png tmp/sample-007.png img/sample.png

Fonts

Copy the .otf and/or .ttf files to ~/.fonts/. Run this to rebuild the font cache:

fc-cache -fv ~/.fonts/

Canterbury

The Canterbury font was created by Dieter Steffmann. It is used for one line on the Dedication page.

"...I am giving out my fonts to everyone for free for commercial purposes without any restrictions..."

Elstob

Elstob is the main font used in the text.

Copyright 20202023 by Peter S. Baker.

The Font Software is licensed under the SIL Open Font License, Version 1.1.

Nimbus

The ISBN font above the barcode on the back cover is Nimbus Sans condensed. The font is freely available and in Debian.

OCR-A

The ISBN in the interior pages is in OCR-A. OCR-A is a font designed by the American National Standards Institute (ANSI) in the 1960s.

The version used was designed by John Sauter and is in the public domain.

It is available in Debian.

OCR-B

The ISBN font below the barcode on the back cover is OCR-B. The font is freely available and in Debian and TeX Live.

Lulu

The book will be printed by Lulu, which can also distribute.

There are various project forms to be filled out.

Start

  • Print book.
  • Publish Your Book: Lulu Bookstore.
  • Project Title: Some Chinese Ghosts
  • Book Language: XXX. XXX Only one can be selected.
  • Book Category: XXX.
  • Title: Some Chinese Ghosts
  • Subtitle (optional): Bilingual Parallel Text in XXX and English
  • Edition (optional), drop down selection: Bilingual 'facing page' edition
  • Edition statement (optional): <blank>
  • Contributors:
    • Original Author: Lafcadio Hearn
    • Edited by: Jeff Moe
  • Copyright: No Rights Reserved - Public Domain
    • Creative Commons Zero (CC 0)
  • ISBN: I have my own ISBN
    • ISBN Paperback: 978-1-968646- XXX
    • ISBN Hardcover: 978-1-968646- XXX
    • Imprint/Publisher: Jeff Moe
    • Contact Informantion: Jeff Moe, address, etc.

Design

  • Interior File Upload: Upload XXX-[VERSION].pdf git tagged version.
  • Book size: US Trade
  • Interior Color: Standard Black & White
  • Paper Type: 60# Cream -- Uncoated
  • Binding Type: Paperback Perfect Bound
  • Cover Finish: Glossy
  • Upload Your Cover: Upload XXX-cover-[VERSION].pdf git tagged version.
  • Download Print-Ready Files, and review.

Details

  • Description (required): XXX

  • Table of Contents (optional): <blank>

  • Lulu Bookstore Category: XXX

  • BISAC Main Category: FICTION / Classics

  • BISAC Category 2 (recommended): FICTION / Literary

  • BISAC Category 3 (recommended): FICTION / XXX

  • Keywords (one required, 50 max): XXX

  • Audience: General/Trade Adult fiction and nonfiction

  • This Book contains Explicit Content: XXX

Pricing and Payees

  • Set Price: Revenue Goal
  • Revenue Goal: $0.00
  • Currency: USD
  • List Price: Automatically generated, keep defaults
  • Your Estimated Revenue: $0.00
  • Set Payees. Required to set one, even for $0.00 revenue.
  • Payees for your book: Must connect to PayPal payee.
  • Share: 100%

Final Review

  • When ready, click <Confirm and Publish>

Bowker ISBN

Bowker Publishing Services is the exclusive agent (monopoly) for assigning ISBNs in the USA.

The ISBN will be:

  • ISBN Paperback: 978-1-968646- XXX
  • ISBN Hardcover: 978-1-968646- XXX

The form on their site has the following form details to fill out.

Book Cover Image

To create the cover image for Bowker (must be JPG), run this:

convert -density 300 some-chinese-ghosts-cover-*.pdf -crop 50%x100%+2314+0 img/front_cover.jpg

Front Cover

Some Chinese Ghosts -- front cover

Title Information

Authors & Contributors

  • Contributor 1:
    • Individual
    • First Name: Lafcadio
    • Last Name: Hearn
    • Biography: XXX
    • Function: Original Author
  • Contributor 2:
    • Individual
    • First Name: Jeff
    • Last Name: Moe
    • Biography: <blank>
    • Function: Editor, Prepared for Publication by, Cover Design by

Medium & Format

  • Medium (dropdown): Print
  • Format: Paperback
  • Format Details: Digest format paperback (XXX no "novella" format) XXX US Trade
  • Packaging Description: No outer packaging
  • Trade Catalog: US open market edition
  • Size Details
    • Weight: <blank>. XXX unknown.
    • Units (weight): <blank>. XXX unknown.
    • Number of pages: XXX may change.
    • Number of illustrations: <blank>. Can't be 0.
    • Carton quantity: <blank>
    • Size Units: Inches. Can't use Millimeters because values must be less than 99.
    • Length(1) (they mean how tall!): XXX
    • Width(2): XXX
    • Height(3) (how thick): <blank>. XXX unknown.

Subjects & Genres

  • First Genre:
    • XXX
  • Second Genre:
    • XXX

Sales & Pricing

United States

  • Publisher: Jeff\Moe. XXX It won't let that field be changed, and "" is hard-coded in there. Though on the main page about the account, the "" isn't there, so it must just be how they do it (?).
  • Publication Date: XXX
    • Month: XXX
    • Day: XXX
    • Year: XXX
  • Title Status: Active Record
  • Target Audience: Trade
  • From Age: XXX
  • To Age: XXX
  • Academic Grade From: XXX
  • Academic Grade To: XXX
  • Title Ship Date: XXX Update
    • Month: XXX
    • Day: XXX
    • Year: XXX
  • Final Return Date: <blank>
  • On Sale Date: XXX
    • Month: XXX
    • Day: XXX Update
    • Year: XXX
  • Out of Print Date: <blank>
  • Is The Title Returnable?: No
  • Series Title: <blank>
  • Series Volume: <blank>
  • Book Price:
    • Set Dollar Amount
    • $: XXX update base on Lulu final number.
  • Currency: US Dollars
  • Price Type: Retail Price
  • Price Availability: Manufactured on demand (POD)
  • Distributor: <blank> No options in the drop down. Should Lulu be added?
  • Discount Code: <blank>

License

Thiis public domain text in LaTeX and the resultant outputs are placed in the public domain.

CC0 1.0 Universal

2025, Jeff Moe