From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10351 invoked from network); 21 Sep 2023 16:05:24 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 21 Sep 2023 16:05:24 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id BBCE8483273 for ; Thu, 21 Sep 2023 18:04:44 +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 In_Rn86FaGFx for ; Thu, 21 Sep 2023 18:04:44 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 51F92483188 for ; Thu, 21 Sep 2023 18:04:24 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id DCDFD483028 for ; Thu, 21 Sep 2023 18:04:06 +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 qoQjfwHaj6Lm for ; Thu, 21 Sep 2023 18:04:06 +0200 (CEST) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 9C2F7483026 for ; Thu, 21 Sep 2023 18:04:06 +0200 (CEST) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-5041cc983f9so1905463e87.3 for ; Thu, 21 Sep 2023 09:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695312246; x=1695917046; darn=ntg.nl; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=+/JTZr6rAacUJmjAVrAOog2x5t1os3iyEr6OOYyiPdk=; b=R7xK2q5DQwiKtsNqW9ZaYXIoPlbp3qIuel98SRFPfVxn/zeFOgcELS1q+lrC13WSD/ UQJnJXvMOA9I1DfwiLCO9U5UfZnGy6Llf5Dovwgrvarl269Ubye3DdVgYu8p3BGfPezF b+FDq5eGndDSuWby+vUFPxau2aiuHEVH7dUG24yqfb72hnocHLOkNSXNhfME3oMau3Sw BxBnO8U5e68Amtz2ZdN/6ew7bLx6R8xwyygasp6uEYDSbbI/6zT9J+FTYys0YQOtEJ99 /TFqWEx7uZ0oqwN5epX0UQXRHpFrv0A4kiSe5cNYrKDtHC/7Pizyhz27ihNtdLdBB1Ct iwSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695312246; x=1695917046; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+/JTZr6rAacUJmjAVrAOog2x5t1os3iyEr6OOYyiPdk=; b=WUS2DitHvODMEWZ6oV0NhN2zK/rWSEvbx3QOmrMj11b+YhHoYthj6jLK/ywj1ZJb5r VSPR+0cHsr7XTMJrzGWuDZTKrsAD+DTitrViJ6PvDUJLbcneoHS4BkEcTtwCBSU+Mu8E qOiZSjhWK4SGUb8526aXOaoLiKAF2439PO3oZaIZOK4n2jIkQ+LpnnzTEIyCMc/sCbfi /FyEz9fBHBhYDEl99MvQUmVHTWxr0a66a/L0kDV8kqLMx3CWTLnlq9j+5KsqjcIvz2e8 zYqNJ47Web6lAuTJ/7j0W6G9EN6hCk5Fo8lmR35dP4CLOUgp5WSlJl3Ojyym+ufPyrZU woeQ== X-Gm-Message-State: AOJu0Yxc2eUdZKDCxQUZ0bYWD6Lgp/uKFobcIBI5oWPrv1PWcuvoa28q /mTnCdYOltKTB3yWO0Oj0yowTvyl374cpQ== X-Google-Smtp-Source: AGHT+IHoMSUCXn/iiZjD+GsD9pbkmbQs2GB8HDU/LnM1UYLywp3ULxlUuV1nXL6srvhGo6JgXN77fw== X-Received: by 2002:ac2:5f71:0:b0:504:2730:40cc with SMTP id c17-20020ac25f71000000b00504273040ccmr2234730lfc.49.1695312245552; Thu, 21 Sep 2023 09:04:05 -0700 (PDT) Received: from ?IPv6:2a02:810d:a8bf:dc10:bdcd:5d4:3814:c820? ([2a02:810d:a8bf:dc10:bdcd:5d4:3814:c820]) by smtp.gmail.com with ESMTPSA id r21-20020aa7c155000000b005227e53cec2sm1023592edp.50.2023.09.21.09.04.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Sep 2023 09:04:05 -0700 (PDT) To: jbf References: <5316a271-08fc-5ab7-89cc-afa1b820eeb1@gmail.com> <122e1a2d-d050-32ef-40cb-fd08caecf1ba@gmail.com> <615a9f7c-e33e-e2ef-5fc3-3e57a7c048e2@gmail.com> From: Wolfgang Schuster Message-ID: Date: Thu, 21 Sep 2023 18:04:01 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 MIME-Version: 1.0 In-Reply-To: <615a9f7c-e33e-e2ef-5fc3-3e57a7c048e2@gmail.com> Content-Language: en-US Message-ID-Hash: UD4WRR4BRKL3RS4RXWDHUYGHZKPCOT3D X-Message-ID-Hash: UD4WRR4BRKL3RS4RXWDHUYGHZKPCOT3D X-MailFrom: wolfgang.schuster.lists@gmail.com 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 CC: mailing list for ConTeXt users X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: \underbar in head List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit jbf schrieb am 21.09.2023 um 07:01: > However, Wolfgang, if I do, e.g. > > \setuphead[chapter][textcommand={\setbar[underbar]}] > > \starttext > > \startchapter[title={My title}] > > \input ward > > \stopchapter > > \stoptext > > Then I do not get My Title with underline, which is what I want, and nor > is anything else underlined in 'Ward'. I get a line below the chapter title with LMTX and LuaTeX with the current ConTeXt version. %%%% begin example \setuphead [chapter] [textcommand={\setbar[underbar]}] \starttext \startchapter[title={My title}] \input ward \stopchapter \stoptext %%%% end example The line is limited to the title because the textcommand key is used to set \underbar, when you want a line below the whole chapter content you can use the insidesection and aftersection keys. %%%% begin example \setuphead [chapter] [insidesection={\startbar[underbar]}, aftersection={\stopbar}] \starttext \startchapter[title={My title}] \input ward \stopchapter \stoptext %%%% end example Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________