From: Axel Kielhorn <tex@axelkielhorn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: \setupinitial: style Parameter resets size
Date: Sun, 25 Jul 2021 10:24:34 +0200 [thread overview]
Message-ID: <9C4C00EC-C8BA-4B3D-AA32-F930318BD485@axelkielhorn.de> (raw)
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
___________________________________________________________________________________
reply other threads:[~2021-07-25 8:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9C4C00EC-C8BA-4B3D-AA32-F930318BD485@axelkielhorn.de \
--to=tex@axelkielhorn.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).