ligature in \localleftbox \localrightbox
Hi, LuaTeX does not handle ligature inside \localleftbox / \localrightbox. (I found that \localleftbox{\hbox{<<~}} is OK, but ...) The following source reproduces the problem: \hsize=300pt \font\x=ec-lmr10\x {<<~\localleftbox{<<~}The original problem to be solved was for fine French typesetting, in which guillemets are placed running down the left side of a paragraph, as in this paragraph, so long as material is being quoted.~>>} Since \TeX\ breaks paragraphs in arbitrary places, it was impossible to develop a robust macro package that could, in a single pass, place the guillemets in the right positions. \bye The source compiles fine with Aleph. Is this change intended for LuaTeX? Best regards, Hironobu Yamashita
On 5/19/2018 3:12 PM, Hironobu Yamashita wrote:
Hi,
LuaTeX does not handle ligature inside \localleftbox / \localrightbox. (I found that \localleftbox{\hbox{<<~}} is OK, but ...) The following source reproduces the problem:
\hsize=300pt \font\x=ec-lmr10\x {<<~\localleftbox{<<~}The original problem to be solved was for fine French typesetting, in which guillemets are placed running down the left side of a paragraph, as in this paragraph, so long as material is being quoted.~>>} Since \TeX\ breaks paragraphs in arbitrary places, it was impossible to develop a robust macro package that could, in a single pass, place the guillemets in the right positions. \bye
The source compiles fine with Aleph. Is this change intended for LuaTeX? if you want the buildes applied, you can wrap the content in a regular hbox
\localleftbox{\hbox{<<~}} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Hi Hans,
if you want the buildes applied, you can wrap the content in a regular \hbox \localleftbox{\hbox{<<~}}
I know, as in first comment ;-)
LuaTeX does not handle ligature inside \localleftbox / \localrightbox. (I found that \localleftbox{\hbox{<<~}} is OK, but …)
The question is
Is this change intended for LuaTeX?
as I could not find any documents about it Hironobu
On 5/19/2018 3:33 PM, Hironobu Yamashita wrote:
Hi Hans,
if you want the buildes applied, you can wrap the content in a regular \hbox \localleftbox{\hbox{<<~}}
I know, as in first comment ;-)
LuaTeX does not handle ligature inside \localleftbox / \localrightbox. (I found that \localleftbox{\hbox{<<~}} is OK, but …)
The question is
Is this change intended for LuaTeX?
as I could not find any documents about it
it's quite likely that any change is intended -) these local boxes are kind of special anyway .. their content is picked up and just packed, nothing special is done with it ... anyway, it's no big deal to apply the builders there so i'll do that (in luatex 1.09 / 1.10) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Hironobu Yamashita