From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114538 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jbf via ntg-context Newsgroups: gmane.comp.tex.context Subject: \setupheadertexts for chapters with different authors Date: Fri, 18 Mar 2022 11:48:53 +1100 Message-ID: <9f7c72cd-7b3d-6188-8a17-96f008edf7a0@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1659252721991471072==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14399"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Cc: jbf To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 18 01:49:41 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nV0oH-0003a7-1B for gctc-ntg-context-518@m.gmane-mx.org; Fri, 18 Mar 2022 01:49:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 288232A332C; Fri, 18 Mar 2022 01:49:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MoYwOSM-cMo2; Fri, 18 Mar 2022 01:49:04 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E8A6D2A332F; Fri, 18 Mar 2022 01:49:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 790112A332B for ; Fri, 18 Mar 2022 01:49:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5rmdFXJD8pAc for ; Fri, 18 Mar 2022 01:48:59 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.169; helo=mail-pf1-f169.google.com; envelope-from=roma83537@gmail.com; receiver= Original-Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 310D32A3305 for ; Fri, 18 Mar 2022 01:48:59 +0100 (CET) Original-Received: by mail-pf1-f169.google.com with SMTP id t2so8193070pfj.10 for ; Thu, 17 Mar 2022 17:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:content-language:to:from :subject; bh=tGKCQinn7kZB85+PWwyFge+aMwVwaxKahWVXv7/uXHA=; b=i5orGMZsDEhwcdXzcPDxGzmHA9JHV8LGkpBxAmOBQJRskoWlH4eUyMCNxP9RXZEz/x N30XqJ3i07icHFRpO84f0UkisW8BQSKeHDs01c6a8OFRZYdreHhyHGG6IxtWkFZDhlwf Bm/p83u5R0LfZxG2FcmiqhlaP2BfqkOXJ7Pkx4spHJHMJu7sx/zxitHw9UtYB7i5UeFL fQWg1rDJQbarZeB7wfD99vf9FtHNPhxbHkAZCMs06ibR+jiVrB2ZOdHQBB8OdUDzlHO1 RIcJdctSKRs+4gHVvfFsAcav2ZcMQ6DrPMJkvaHWHzc/CfWm8GoMqhU/5Z+/uZ+wjhve Zn0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:from:subject; bh=tGKCQinn7kZB85+PWwyFge+aMwVwaxKahWVXv7/uXHA=; b=6Z3zCJL1xoY+3GOt8Qq3R3v7249VyRff24vG1ACMPAb2TdL6GwM4OS49PCus8csOyY bAEtKp8F4vQx+NPXqNm65sO3pDcKyTOVtsN368neqgVdRUZaXcjT+qGL777ZUkXxst4/ Xq6QtzGfE2rjjisvDFk27kDTinATFFPVULajCcSsqOzcAg6X8dTSkxuz88HMPEqgALMt g3+rKuynEt+koDYdcMb8IykmDleiVOZgh7FKDRXj/WqyZvgG7wGHYsC1YduUtgCQUdo/ 6V5tSPCgx4sGCcGrP56zGD37SzYu16Zb9WxVgNicX4cL6zxzTzj3CA2ZvLw2l9i+DyAO MRow== X-Gm-Message-State: AOAM532SNTPFPQkrOhYYGrFacqsN2HGepHIeWMGZgNsLsUNNjjJ7+3YL euQOQR8MkMHyCJL4GCfwg7OKyqrARXw= X-Google-Smtp-Source: ABdhPJwRw9hl53aDVnAGOR696A0ini7WkcjzLnvVHxwPBY3PL+ttH8E7eb8606K4xAcT5bKqdX1utg== X-Received: by 2002:a63:1243:0:b0:381:6713:241b with SMTP id 3-20020a631243000000b003816713241bmr5796375pgs.76.1647564537004; Thu, 17 Mar 2022 17:48:57 -0700 (PDT) Original-Received: from [192.168.0.100] ([120.21.192.198]) by smtp.gmail.com with ESMTPSA id oa12-20020a17090b1bcc00b001bf430c3909sm11610997pjb.32.2022.03.17.17.48.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Mar 2022 17:48:56 -0700 (PDT) Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:114538 Archived-At: This is a multi-part message in MIME format. --===============1659252721991471072== Content-Type: multipart/alternative; boundary="------------7wLKygloQqIq6H9dZ5QzH6Ji" Content-Language: en-US This is a multi-part message in MIME format. --------------7wLKygloQqIq6H9dZ5QzH6Ji Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I thought this should work, since \structurelistuservariable{author} works fine to call the author name into the TOC, but the same does not work for header texts it seems: \setupheadertexts [{\hfill\getmarking[\structurelistuservariable{author}]\hfill}][] [{\hfill\documentvariable{metadata:title}\hfill}][] But it doesn't. What am I doing wrong? Julian --------------7wLKygloQqIq6H9dZ5QzH6Ji Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

I thought this should work, since \structurelistuservariable{author} works fine to call the author name into the TOC, but the same does not work for header texts it seems:

\setupheadertexts
  [{\hfill\getmarking[\structurelistuservariable{author}]\hfill}][] 
  [{\hfill\documentvariable{metadata:title}\hfill}][] 

But it doesn't. What am I doing wrong?

Julian

--------------7wLKygloQqIq6H9dZ5QzH6Ji-- --===============1659252721991471072== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1659252721991471072==--