ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setupinitial: style Parameter resets size
@ 2021-07-25  8:24 Axel Kielhorn
  0 siblings, 0 replies; only message in thread
From: Axel Kielhorn @ 2021-07-25  8:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

since the lettrine module does not work with LMTX, I’ve looked into \setupinitial.
(There is a different thread about this.)

There is a „style“ parameter to change the style, but whenever I change the style, the font size is reset.
This is not what I expected.

This was the case in context before LMTX, thus it is not a regression.

% !TEX TS-program = ConTeXt (LuaTeX LMTX2021)
% !TEX encoding = UTF-8 Unicode

\starttext

\setupinitial[color=red]

\start
\setupinitial[n=2,m=1]
\placeinitial\input ward
\stop

\start
\setupinitial[style=\tf,n=2,m=1]
\placeinitial\input ward
\stop

\start
\setupinitial[font=Roman at 32 pt,n=2,m=1]
\placeinitial\input ward
\stop

\start
\setupinitial[style=\it,n=2,m=1]
\placeinitial\input ward
\stop

\start
\setupinitial[font=Italic at 32 pt,n=2,m=1]
\placeinitial\input ward
\stop

\start
\setupinitial[style=\it,font=Italic at 32 pt,n=2,m=1]
\placeinitial\input ward
\stop

\stoptext

Are my expectations wrong?

Greetings
Axel
___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2021-07-25  8:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-25  8:24 \setupinitial: style Parameter resets size Axel Kielhorn

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).