Fix plate overhang inside quotations; clear the last build warnings

Four plates overhung the measure and displaced into the right margin.
On those pages the original interrupts a displayed quotation with a
plate (p0129/30/31/32, p0217/18, p0386/87), so \plateop ran inside
extract's \addmargin, where the paragraph is set by \parshape to
\linewidth — while the minipage was built at \textwidth. The quotation
indents 0.5in + 0.3in, so the overhang was exactly 0.8in, which is also
\marginparwidth; that coincidence made it look like a marginnote fault
for a long time. \plateop, \plate and \fig now build at \linewidth,
correct in any context and unchanged on the other 174 plates.

Also: \mdseries on the three \bnsignfont cells of the Scheme of
Transliteration, which inherited the table's \bfseries and asked for a
bold Tiro Bangla that does not exist.

The build log is now clean — no overfull boxes, no font warnings. The
remaining underfulls are the documented cost of ragged right with
hyphenation off.

Docs: PLAN.md's Type row carried four stale values (11pt, 5.2in measure,
leading 1.22, hyphenation on) and now records the measured leading and
its derivation; CLAUDE.md's macro table documents \chapstart's optional
short title and \toclnp; QUESTIONS.md splits the quotation slips by
whether the source can be consulted at all — five are unpublished
archive material and are a record, not a task.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
bdeshiandClaude Opus 5 committed 2026-09-14 20:29:55 +06:00
1 parent 82849eb94d
commit 113d280103
6 files changed
+41 -19

No files matched your search

+11 -6
View File
@@ -58,13 +58,18 @@
\pgmarknote{#1}{\color{black!45}\rule[-0.3ex]{0.5pt}{1.8ex}}\hspace{0.15em}\fi\ignorespaces}
% \plateop{N}{no}{img}{caption}: a plate that begins original page N — the
% page mark stays with the plate wherever it is placed.
% Built at \linewidth, never \textwidth: on four pages the original interrupts a
% displayed quotation with a plate (p0129/30/31/32, p0217/18, p0386/87), and inside
% extract's \addmargin the paragraph is set by \parshape to \linewidth. A minipage
% at \textwidth overhung the measure there by the quotation's 0.8in indent — which
% is also \marginparwidth, a coincidence that made it look like a margin-note fault.
% NB \marginnote cannot place a note inside a minipage — it falls back to
% setting it inline, which overflows the measure when the plate fills the full
% width. So the page mark goes outside the minipage.
\newcommand{\plateop}[4]{\par\medskip\noindent\InsertMark{origpg}{#1}%
\hypertarget{page.#1}{}\pgmarknote{#1}%
\begin{minipage}{\textwidth}\centering
\includegraphics[width=\textwidth,height=0.74\textheight,keepaspectratio]{#3}\par\smallskip
\begin{minipage}{\linewidth}\centering
\includegraphics[width=\linewidth,height=0.74\textheight,keepaspectratio]{#3}\par\smallskip
{\footnotesize\setstretch{1.05}\raggedright #2. #4\par}\end{minipage}\par\medskip}
% \notesection: the endnotes set a step smaller and tighter than the text —
% there are hundreds of them and they are consulted, not read through.
@@ -222,11 +227,11 @@
% cut is wider than the measure, in which case it shrinks to fit.
\newsavebox{\figbox}
\newcommand{\fig}[1]{\par\medskip\sbox{\figbox}{\includegraphics[scale=\igscale]{#1}}%
\begin{center}\ifdim\wd\figbox>\textwidth
\resizebox{\textwidth}{!}{\usebox{\figbox}}\else\usebox{\figbox}\fi
\begin{center}\ifdim\wd\figbox>\linewidth
\resizebox{\linewidth}{!}{\usebox{\figbox}}\else\usebox{\figbox}\fi
\end{center}\par\medskip}
\newcommand{\plate}[3]{\par\medskip\noindent\begin{minipage}{\textwidth}\centering
\includegraphics[width=\textwidth,height=0.74\textheight,keepaspectratio]{#2}\par\smallskip
\newcommand{\plate}[3]{\par\medskip\noindent\begin{minipage}{\linewidth}\centering
\includegraphics[width=\linewidth,height=0.74\textheight,keepaspectratio]{#2}\par\smallskip
{\footnotesize\setstretch{1.05}\raggedright #1. #3\par}\end{minipage}\par\medskip}
% \ig{img}: an inline type specimen cut from the 300 dpi scan by
% tools/crop_inline.py, set at its natural size (1 px = 1/300 in) so that
+3 -3
View File
@@ -25,9 +25,9 @@ ca & \B{চ} & śa & \B{শ} \\
cha & \B{ছ} & ṣa & \B{ষ} \\
ja & \B{জ} & sa & \B{স} \\
jha & \B{ঝ} & ha & \B{হ} \\
ña & \B{ঞ} & ṃ & {\large\bnsignfont\XeTeXglyph 824} \\
ṭa & \B{ট} & \textasciitilde & {\large\bnsignfont\XeTeXglyph 822} \\
ṭha & \B{ঠ} & ḥ & {\large\bnsignfont\XeTeXglyph 827} \\
ña & \B{ঞ} & ṃ & {\mdseries\large\bnsignfont\XeTeXglyph 824} \\
ṭa & \B{ট} & \textasciitilde & {\mdseries\large\bnsignfont\XeTeXglyph 822} \\
ṭha & \B{ঠ} & ḥ & {\mdseries\large\bnsignfont\XeTeXglyph 827} \\
ḍa & \B{ড ড়} & & \\
\end{tabular}
\end{center}
+11 -6
View File
@@ -58,13 +58,18 @@
\pgmarknote{#1}{\color{black!45}\rule[-0.3ex]{0.5pt}{1.8ex}}\hspace{0.15em}\fi\ignorespaces}
% \plateop{N}{no}{img}{caption}: a plate that begins original page N — the
% page mark stays with the plate wherever it is placed.
% Built at \linewidth, never \textwidth: on four pages the original interrupts a
% displayed quotation with a plate (p0129/30/31/32, p0217/18, p0386/87), and inside
% extract's \addmargin the paragraph is set by \parshape to \linewidth. A minipage
% at \textwidth overhung the measure there by the quotation's 0.8in indent — which
% is also \marginparwidth, a coincidence that made it look like a margin-note fault.
% NB \marginnote cannot place a note inside a minipage — it falls back to
% setting it inline, which overflows the measure when the plate fills the full
% width. So the page mark goes outside the minipage.
\newcommand{\plateop}[4]{\par\medskip\noindent\InsertMark{origpg}{#1}%
\hypertarget{page.#1}{}\pgmarknote{#1}%
\begin{minipage}{\textwidth}\centering
\includegraphics[width=\textwidth,height=0.74\textheight,keepaspectratio]{#3}\par\smallskip
\begin{minipage}{\linewidth}\centering
\includegraphics[width=\linewidth,height=0.74\textheight,keepaspectratio]{#3}\par\smallskip
{\footnotesize\setstretch{1.05}\raggedright #2. #4\par}\end{minipage}\par\medskip}
% \notesection: the endnotes set a step smaller and tighter than the text —
% there are hundreds of them and they are consulted, not read through.
@@ -222,11 +227,11 @@
% cut is wider than the measure, in which case it shrinks to fit.
\newsavebox{\figbox}
\newcommand{\fig}[1]{\par\medskip\sbox{\figbox}{\includegraphics[scale=\igscale]{#1}}%
\begin{center}\ifdim\wd\figbox>\textwidth
\resizebox{\textwidth}{!}{\usebox{\figbox}}\else\usebox{\figbox}\fi
\begin{center}\ifdim\wd\figbox>\linewidth
\resizebox{\linewidth}{!}{\usebox{\figbox}}\else\usebox{\figbox}\fi
\end{center}\par\medskip}
\newcommand{\plate}[3]{\par\medskip\noindent\begin{minipage}{\textwidth}\centering
\includegraphics[width=\textwidth,height=0.74\textheight,keepaspectratio]{#2}\par\smallskip
\newcommand{\plate}[3]{\par\medskip\noindent\begin{minipage}{\linewidth}\centering
\includegraphics[width=\linewidth,height=0.74\textheight,keepaspectratio]{#2}\par\smallskip
{\footnotesize\setstretch{1.05}\raggedright #1. #3\par}\end{minipage}\par\medskip}
% \ig{img}: an inline type specimen cut from the 300 dpi scan by
% tools/crop_inline.py, set at its natural size (1 px = 1/300 in) so that