Hi all,
one remark, I was expecting to be allowed to use textext.dlft but finally the appropriate command appears to be textext.dflt which require to switch F and L letters.
Is it on purpose ? would it make sense to have a dlft version to match LeFT ?
On 5/9/2021 8:01 PM, Garulfo wrote:
Hi all,
one remark, I was expecting to be allowed to use textext.dlft but finally the appropriate command appears to be textext.dflt which require to switch F and L letters.
Is it on purpose ? would it make sense to have a dlft version to match LeFT ?
dflt == default
----------------------------------------------------------------- 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,
After https://mailman.ntg.nl/pipermail/ntg-context/2021/102052.html
It seems that there is no backward compatibility between MkIV and LMTX for textext.dflt (MVE below)
| MkIV | LMTX | -------------|-------|------| textext.dflt | OK | KO | as DefauLT (unlike ulft and llft) textext.dlft | KO | OK | as Default + LeFT (like ulft and llft)
For backward compatibility, would it be possible to add textext.dflt to LMTX as a synonym of textext.dlft ?
%============================
\startuseMPgraphic{MonGraphique}
StartPage ;
picture Pict ;
% Pict := textext.dlft("Brouillon DLFT") xsized (.5PaperWidth); % OK with LMTX 2021.09.03 18:49 % KO with MkIV 2020.03.10 14:44
Pict := textext.dflt("Brouillon DFLT") xsized (.5PaperWidth); % KO with LMTX 2021.09.03 18:49 % OK with MkIV 2020.03.10 14:44
Pict := Pict shifted (bbwidth Pict /2 , (bbheight Pict / -2) ) ; Pict := Pict rotated 45; Pict := Pict shifted (.5PaperWidth, .5PaperHeight) ;
draw Pict withcolor darkyellow ;
StopPage ;
\stopuseMPgraphic
%-----------------
\defineoverlay[MonOverlay][\useMPgraphic{MonGraphique}]
\setupbackgrounds[page][background=MonOverlay]
\starttext \input knuth \stoptext