ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* one quick remark about textext.dflt (vs textext.dlft)
@ 2021-05-09 18:01 Garulfo
  2021-05-10  7:41 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Garulfo @ 2021-05-09 18:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 ?




___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: one quick remark about textext.dflt (vs textext.dlft)
  2021-05-09 18:01 one quick remark about textext.dflt (vs textext.dlft) Garulfo
@ 2021-05-10  7:41 ` Hans Hagen
  2021-09-05 13:07   ` MetaFun : textext.dflt / textext.dlft and MkIV / LMTX Garulfo via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2021-05-10  7:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Garulfo

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* MetaFun : textext.dflt / textext.dlft and MkIV / LMTX
  2021-05-10  7:41 ` Hans Hagen
@ 2021-09-05 13:07   ` Garulfo via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Garulfo via ntg-context @ 2021-09-05 13:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Garulfo

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-05 13:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-09 18:01 one quick remark about textext.dflt (vs textext.dlft) Garulfo
2021-05-10  7:41 ` Hans Hagen
2021-09-05 13:07   ` MetaFun : textext.dflt / textext.dlft and MkIV / LMTX Garulfo via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).