From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 399CE2E908 for ; Wed, 4 Sep 2024 12:31:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 45F9F485861 for ; Wed, 4 Sep 2024 12:28:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=flump.de Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id elk7sJoUbypL for ; Wed, 4 Sep 2024 12:28:43 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 62CE6485BE4 for ; Wed, 4 Sep 2024 12:27:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AFB1C485999 for ; Wed, 4 Sep 2024 12:27:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NLm6SccpKPwY for ; Wed, 4 Sep 2024 12:27:28 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.163.118.210; helo=flump.de; envelope-from=gerion.entrup@flump.de; receiver= Received: from flump.de (flump.de [185.163.118.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 73049485994 for ; Wed, 4 Sep 2024 12:27:28 +0200 (CEST) Received: from falbala.localnet (ip4d1692dd.dynamic.kabel-deutschland.de [77.22.146.221]) by flump.de (Postfix) with ESMTPSA id 2C07816642D2 for ; Wed, 4 Sep 2024 12:27:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=flump.de; s=mail; t=1725445648; bh=e3ziNV6iXWIxxX7ycjabVyv0YFtO4eKO34uIVnb8aKs=; h=From:To:Subject:Date:In-Reply-To:References; b=oS5cZ2r+ZkhCWOevtP2VWICfZKQq7pQodsH1dS4dyYRMyfBrSCYLdlzPF0nGO9fxb kBIjON4tbLL4rjKBO33x+vS6ObiT8uNQHWYTXmkv+vS1v9c/2iAU/iqlSsZP+btV5n mfq+su9CKG04hDWi85C2GbHb6OAs43G3c20olhvA= From: Gerion Entrup To: mailing list for ConTeXt users Date: Wed, 04 Sep 2024 12:27:27 +0200 Message-ID: <2204365.Mh6RI2rZIc@falbala> In-Reply-To: References: <2195893.irdbgypaU6@falbala> MIME-Version: 1.0 Message-ID-Hash: EKONNMUXJKPRWTYRONIPWQWK5CQZKLYE X-Message-ID-Hash: EKONNMUXJKPRWTYRONIPWQWK5CQZKLYE X-MailFrom: gerion.entrup@flump.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Combining styles (especially bold and italic) List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============4849979063225605559==" --===============4849979063225605559== Content-Type: multipart/signed; boundary="nextPart3643722.R56niFO833"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart3643722.R56niFO833 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Gerion Entrup To: mailing list for ConTeXt users Date: Wed, 04 Sep 2024 12:27:27 +0200 Message-ID: <2204365.Mh6RI2rZIc@falbala> In-Reply-To: MIME-Version: 1.0 Am Dienstag, 3. September 2024, 20:51:39 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 03.09.2024 um 18:28: > > Hi, > > > > I have the situation that I want to typeset a special formatted name within a section heading. > > The name contains an italic part while the heading is bold, but both styles are defined at another place. > > Is there a way to tell ConTeXt to combine them, so that it is bold _and_ italic? > > > > Here is a minimal example: > > ``` > > \define\somename{HX\style[italic]{print}\autoinsertnextspace} > > You want \italicface (or \style[italicface]) which selects either \it or > \bi. > > \define\somename{HX{\italicface print}\autoinsertnextspace} > > or > > \define\somename{HX\style[italicface]{print}\autoinsertnextspace} > > Wolfgang > > Thanks, that answers my question! Gerion --nextPart3643722.R56niFO833 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEM/tVN9WpYYHnPZHxloeAdSYJHeoFAmbYNg8ACgkQloeAdSYJ HerOXgv7BuqDCeYK3NBM8zJifDXYlmP3hhGDjmC4X6rl6mfYwgc4/ew3oOvhs8In FSeSc1M45zC3Y17L5X8HdIkDgP6ZgNTpeYtx6rraVaYSfzw9ayw69zCkgxpVjR+A mrcSXgK0R3mREtGwrjKKruBPE+YoJDBGSO0ifJJzELVNXAKr1Q8WZBL4RCxuQssh eUqXQZthJ++ioJeannO4SvlDDD5szqiyHOfkC1LqV5YZb/8TU1hZJDmrOAwi17ob oyzPF9Tk6C//SO4fEZMNa0gPJ+TyW+y6pniDGOp6/vLnEOuS04Gcbw73D/RqicvW BAGgR2pw4Rw7nQhh2U4+noU4OSKo7wMkr/6qHOG/PpPs2YbdvjQHVtbL7DjcWUrq e0P/BmE6lqdhGS0n1Nb2let9kqD/q8iN9Bq8gfJrjslAQWdrua/nWV5k2YscXGdv rEvm0JObZBgZHkfExA3xE06VHssANkSD8UdUNkTs1+wHEsVVBuj3USqrVVma+b4u /j/kfIqW =PlCE -----END PGP SIGNATURE----- --nextPart3643722.R56niFO833-- --===============4849979063225605559== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============4849979063225605559==--