sillsdev / sillsdev/ptx2pdf

Covers and diglots (work-around)

Open
#998 0 comments 0 reactions 2 assignees View on GitHub

@mhosken is already working on this.

Since Mar 28, 2025.

Python
Dominant language
Python
Stars
33
Forks
15
PR merge metrics
No merged PRs in 30d

Description

In a diglot publication, there can be three versions of each periph, (1) having no side specified, (2) having content for L, and (3) having content for R. These are important e.g. for book introductions. The content of the periph can of course include material from any language, as long as that is specified inside.

The cover-generating code currently expects that periphs that define the content of covers get generated without any side being specified. I.e. the fully specified cover should might look something like this:

\zglot|\*
\periph front cover |id="coverfront"
\zglot|L\*
\mt The tile in the main language
\zglot|R\*
\mt The title in the second language

At present, the front matter file starts with a slightly confused state, and without the initial zglot above, the periph will be saved as for R, and not be used.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.