Re: missing interword spaces
barbara beeton <[email protected]> Wed, 4 Jun 2025 02:28:09 +0200 (CEST)
| Newsgroups | gmane.comp.tex.pdftex |
|---|---|
| Message-ID | <[email protected]> |
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--70178654-1616619952-1748996889=:1600265
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT
On Tue, 3 Jun 2025, Ross Moore wrote:
> Hi Karl, Thanh.
>
> OK. Here’s the real problem, cut down to bare minimum.
> The source document is for Plain TeX.
>
>
> [IMAGE]
>
>
>
> The interword space between glue and the \pdfliteral is what is missing.
> (Overfull lines was a probably a furphy.)
>
> A PdfTeX-Space character needs to be inserted either
> 1. *before* the ET preceding the \pdfliteral{EMC} , or
> 2. within its own BT .. ET sequence preceding the EMC .
> This is for the glue that is evident in the shipped-out tracing in the
> .log file.
>
>
> The next image shows how this affects a real-world document, that is fully
> tagged.
> The marked content sequences correspond to meaningful pieces of text that
> are used to build a bibliography entry.
>
>
> [IMAGE]
In the typeset output, what's the vertical rule that precedes and
overprints the "M" in "Maron"? That's very peculiar.
-- bb
> In that last image, the blue boxes and arrows show where I’ve been able to
> include \pdffakespace explicitly into the LaTeX-code expansions, to
> compensate for pdfTeX not (yet) putting it in automatically.
> The red box is where I’ve not yet succeeded in finding the correct place
> (within amazingly complicated macro processing) to insert the \pdffakespace
> .
>
> My contention, however, is that this should not be necessary.
> Rather, pdfTeX ought to be identifying that the glue is due to a visual
> space in the content,
> placed either explicitly in the source, or inserted via a \space (or
> similar) LaTeX or TeX macro.
>
> Note that it might be useful to allow other primitives between letters, the
> glue, and the \pdfliteral{EMC}.
> In programming for this, I changed the order of the \pdfliteral{EMC} and the
> \write3{…} command, in case that affects the result — it doesn’t.
>
>
> Hope this helps.
>
> Ross
>
> [...]
--70178654-1616619952-1748996889=:1600265--