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,HTML_MESSAGE,MAILING_LIST_MULTI, T_KAM_HTML_FONT_INVALID,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23291 invoked from network); 12 Sep 2023 19:31:42 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 12 Sep 2023 19:31:42 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 688BA4831AE for ; Tue, 12 Sep 2023 21:31:26 +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 k7-ZYwT4qKOi for ; Tue, 12 Sep 2023 21:31:25 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 4DD7D483069 for ; Tue, 12 Sep 2023 21:30:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A9CFF48305B for ; Tue, 12 Sep 2023 21:30:32 +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 1fS0i5Q3W6he for ; Tue, 12 Sep 2023 21:30:32 +0200 (CEST) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 6013B48305A for ; Tue, 12 Sep 2023 21:30:32 +0200 (CEST) Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-500913779f5so10414200e87.2 for ; Tue, 12 Sep 2023 12:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694547032; x=1695151832; darn=ntg.nl; h=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=59tz2fdVTFJ+UIndLg9vRBroG3tzXbn4xyami1xU/AU=; b=ZDIXFuTCNpmSAaJDUlnx4c35Si61K9w0S7PTXZKY3ewOZ/EwwxXmyhTYPGJBPzSvcC IXCRxUxeX+KFuu3YLckz3zOnTBcMeK9U18RE/sjQ6hVNf/J3ItEeUqgMzTmdL/BsWSQF 8ahjml1N4kGw71rGe/vsl4V9WNKYfsUGW0bgKgdgxOriJDqhPX+ZiXo5bKFqG4/ezf27 P4jVXqv66iB/oIMUCkTNNnaf6Unl3JVKyTo7pOew5fjNXx/S6awAoD0j+gzCTbvh3sx/ TqRFemqXhi5tOoNgh5j+UKDK1tIw7Nk2PtiAi+nBxAgY75Qmaz+B2YjSOFypgPJXcKBl ohyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694547032; x=1695151832; h=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=59tz2fdVTFJ+UIndLg9vRBroG3tzXbn4xyami1xU/AU=; b=MLCEKtcRyolQEKVJSjhug+oKpBSVIwq60weoBYUiKKL28q7+hNFKl27wtqlLYe9TbM XqrSCbd+nX+/B9RJbj3jWjUFZUNMKT0peVo0bAGk9J+yK4sK7GTXv/CZ9f1DTvk2EttZ 08YSRJQ3W8OD4RI/4cOUV33OJdQNHAwKPxN5slJKadyjqcxGZGmPJ1sbOKtvlQopSmIe t1/VGxmxSTobJQyl25KsXm8SZkHlk5kvG9JmolA5oShprjgLPwFyYOzKN/zuqReaUkUu x3q6cgVAsJIrm3WTrP3vb0nT9l0WHh/58LO/tOsntnYk7LcLlWts7q+juZRyDSq6r6KR l0Sw== X-Gm-Message-State: AOJu0YzC3L7ekWNRnTZoRcpBN0yUyn81WI0Fug/+I+u4AXI7oKWD5Crt xdd6EFXxxXPGkWAm1dAnPo/ySQ3v8EMXRJns X-Google-Smtp-Source: AGHT+IEGVyTnShgHpGj1dsJkKczz+EKv9gfRGcEUgpZUcc0WIVbXCNc2KF8rK0S2yh2+SwFM6ZWJPQ== X-Received: by 2002:a05:6512:3107:b0:500:977d:a4e1 with SMTP id n7-20020a056512310700b00500977da4e1mr335922lfb.40.1694547031408; Tue, 12 Sep 2023 12:30:31 -0700 (PDT) Received: from ?IPv6:2a00:11b1:1061:7138:8196:1d3:518c:e6b5? ([2a00:11b1:1061:7138:8196:1d3:518c:e6b5]) by smtp.gmail.com with ESMTPSA id i9-20020a056402054900b00528dc95ad4bsm6252751edx.95.2023.09.12.12.30.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2023 12:30:30 -0700 (PDT) To: denis.maier@unibe.ch References: From: Wolfgang Schuster Message-ID: <005bc695-fac3-18d0-f903-81f7720506d7@gmail.com> Date: Tue, 12 Sep 2023 21:30:28 +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: Content-Language: en-US Message-ID-Hash: 2VKU7N25RU2K6BYRSKZREMR7DXHTBFWT X-Message-ID-Hash: 2VKU7N25RU2K6BYRSKZREMR7DXHTBFWT 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: ntg-context@ntg.nl X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Using structureuservariables before the heading 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="===============4340684893838006584==" This is a multi-part message in MIME format. --===============4340684893838006584== Content-Type: multipart/alternative; boundary="------------3122298682AC16444D115ABE" Content-Language: en-US This is a multi-part message in MIME format. --------------3122298682AC16444D115ABE Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit denis.maier@unibe.ch schrieb am 12.09.2023 um 21:24: > > *Von:*Wolfgang Schuster > *Gesendet:* Dienstag, 12. September 2023 20:41 > *An:* mailing list for ConTeXt users ; Maier, > Denis Christian (UB) > *Betreff:* Re: [NTG-context] Using structureuservariables before the > heading > > denis.maier@unibe.ch schrieb am > 12.09.2023 um 17:47: > > Hi, > > is it possible to access a structureuservariable before the > heading’s title ? > > Using the «before» key does not seem to work. > > > There are ways but not in a general way because you try to access the > values > before they are known to ConTeXt. To provide a proper solution you have > to tell what you're trying to achieve. > > I’m just trying to output the author’s name above a chapter heading. > Do you need more information? > You can create a custom header for the chapter page and show the value of the author key which works without problems because the header is added after to the finished page after the value is available. Another option when the name should appear in the same space as the chapter title is a custom layout for the title. Wolfgang --------------3122298682AC16444D115ABE Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit denis.maier@unibe.ch schrieb am 12.09.2023 um 21:24:

 

Von: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Gesendet: Dienstag, 12.
September 2023 20:41
An: mailing list for ConTeXt users <ntg-context@ntg.nl>; Maier, Denis Christian (UB) <denis.maier@unibe.ch>
Betreff: Re: [NTG-context] Using structureuservariables before the heading

 

denis.maier@unibe.ch schrieb am 12.09.2023 um 17:47:

Hi,

 

is it possible to access a structureuservariable before the heading’s title ?

Using the «before» key does not seem to work.


There are ways but not in a general way because you try to access the values
before they are known to ConTeXt. To provide a proper solution you have
to tell what you're trying to achieve.

 

I’m just trying to output the author’s name above a chapter heading. Do you need more information?


You can create a custom header for the chapter page and show the value of the author key
which works without problems because the header is added after to the finished page
after the value is available.

Another option when the name should appear in the same space as the chapter title
is a custom layout for the title.

Wolfgang

--------------3122298682AC16444D115ABE-- --===============4340684893838006584== 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://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 ___________________________________________________________________________________ --===============4340684893838006584==--