From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114903 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jbf via ntg-context Newsgroups: gmane.comp.tex.context Subject: a cross-reference query Date: Tue, 10 May 2022 12:03:43 +1000 Message-ID: <459a07bf-e2d9-d176-ed0b-7e3231ccec44@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1904695338955855583==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32121"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Cc: jbf To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 10 04:05:50 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 1noFG2-00088T-Hx for gctc-ntg-context-518@m.gmane-mx.org; Tue, 10 May 2022 04:05:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0D8733605DE; Tue, 10 May 2022 04:04:04 +0200 (CEST) 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 0qL50DkZPXjY; Tue, 10 May 2022 04:04:02 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F407836071A; Tue, 10 May 2022 04:04:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BF3BA36071A for ; Tue, 10 May 2022 04:04:00 +0200 (CEST) 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 UjSSW9og3Qg2 for ; Tue, 10 May 2022 04:03:59 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.215.180; helo=mail-pg1-f180.google.com; envelope-from=roma83537@gmail.com; receiver= Original-Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) (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 91B253605DE for ; Tue, 10 May 2022 04:03:59 +0200 (CEST) Original-Received: by mail-pg1-f180.google.com with SMTP id 15so13480126pgf.4 for ; Mon, 09 May 2022 19:03: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=f9bruDJWlEE45ukENVRxkrBa5JkQngO9lvRE4zl9riA=; b=IZCY6b2NKXt/Qa2J+zYOEEPFe5b4zzW5FJRn4A0cKZtYnQnyemN9SdPmfP/lnHrP0K W7BuD9SPKzbE7bTWMmoKN+FhvOCl0mCPWFtRhos6VLlSH+353ODmh4jAeHf1SxCejwzz A6gXYxx+l2O5Eqwi+jXlKnKW615byW5y9xZq2C93PjcZyqKxO/VaH9JJ55KHKi3jz6Sg Q6m0b0W5Ri4ZS5iku3vr8tLqJbJFE+Xr/ukJ3M43yr8cqcjbygSbDFSmsPQ2mX7j2A/m 2sxyslr8bge8RgcHU2O1wV1I2U2UDrkkf6dCdu2AeEcZAYM1zyXBe7Cv9SlFweI9x6Be yd+Q== 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=f9bruDJWlEE45ukENVRxkrBa5JkQngO9lvRE4zl9riA=; b=pj3Od42yBuVFmHkFqda8WMp7Eu8n/U0/M51OqAUdXLCJeZMMtCMzDHQcOMYBrf7FTv 2+V+gr+efooag7LFia6lpFQ9UtF7Vdjh56o9976LIDF/ncZ91GArGOxI1hn+6pFqpzhf PABZXzPPg7MDeOqM13m3kFsL0op8bsISUQRAyl0M8cPpBcBcF/9gKwPJpJScQbepHCyQ eKHo81vWwGWPbIEyQxmKY1QBDY3cSAIZx99nFY+XEDsIVqZKqRfp35tWM6O/iOju69OT zyb4xUEMbn29pZcCoo2a1n8p6lOJ4CEFzVpck+PgWPu4HGk816hid2F0xDVTEyBylblR jQNg== X-Gm-Message-State: AOAM531nIQmsKrlwYTUZ3Xb6mcmUDwstEQ/yH9WD/VpKPhChxld8htf9 saJ+gCfnqU7k5b6yCOE5QjcnDqT9El0= X-Google-Smtp-Source: ABdhPJxIlJC/3Fkvy1CRVvc+wuFMYMGl9ub7ANPow0inhPqmdZ7sYbWK39qDccGeN002llGo2LcCeQ== X-Received: by 2002:a05:6a00:134f:b0:50e:10e0:ef82 with SMTP id k15-20020a056a00134f00b0050e10e0ef82mr18300541pfu.45.1652148237079; Mon, 09 May 2022 19:03:57 -0700 (PDT) Original-Received: from [192.168.0.100] ([120.18.233.92]) by smtp.gmail.com with ESMTPSA id p43-20020a056a0026eb00b0050dc7628184sm9563487pfw.94.2022.05.09.19.03.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 May 2022 19:03: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:114903 Archived-At: This is a multi-part message in MIME format. --===============1904695338955855583== Content-Type: multipart/alternative; boundary="------------UQSTu8ElG2t3BpX9h0AwpxDz" Content-Language: en-US This is a multi-part message in MIME format. --------------UQSTu8ElG2t3BpX9h0AwpxDz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi list, In an attempt to make a dictionary interactive in certain ways, perhaps I am misusing the \in{}[] command here, but sometimes a reference works and sometimes it doesn't. I have no idea why it doesn't. Here is the situation: Each dictionary entry is a section that has been defined as 'entry', hence we have a \startentry[title=,marking=,reference=]...\stopentry structure. Many entries can refer to other entries in the dictionary (in most cases the headword is in Italian, but the definitions, explanations are in English in all cases). in 90% of cases my referencing is working, so here is an example of one that works when \setupinteraction[state=start] is set: \startentry[title={1aetà},marking={1aetà},reference={eta}]\\ 1. youth. 2. first age. {\emnp.} \bullet\enspaceThe age between adolescence and maturity and by extension all of the human being’sfirst age (as opposed to old age). Different cultures distinguish} age groupings in different ways. One would be unlikely to find, in English, terms like first age, second age etc. as recorded here. In fact there are probably only three general groupings in English: young, middle-aged, elderly, and the boundaries are rather flexible for these. Among the young category, English might distinguish infants, children, adolescents young adults. \rightarrow\enspace \in{giovani}[giovani] \stopentry In other words, there is an entry called 'giovani' and it begins \startentry[title={giovani},marking={giovani},reference={giovani}]. That correctly gives me a bold green clickable link which takes me to 'giovani'. There is no number or page reference involved. I simply want the link to take me to the entry concerned. But it does not always work. I have another entry called 'ad nutum' (Latin, not Italian in this case) with a reference to 'segretario' many pages on. I am absolutely sure I have the reference for segretario properly set up, both in its own entry and by calling it as I did for 'giovani', namely this time as \in{segretario}[segretario] but it is not recognized. This is not the only non-working case. There are several. Can anyone give me a hint as to what I might be doing wrong? I realise that usually these references call on page numbers or section numbers, but I don't want/need (or do I?) to use those. I simply the reader to be able to click on a hyperlink which takes them to the referenced entry. Julian --------------UQSTu8ElG2t3BpX9h0AwpxDz Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi list,

In an attempt to make a dictionary interactive in certain ways, perhaps I am misusing the \in{}[] command here, but sometimes a reference works and sometimes it doesn't. I have no idea why it doesn't. Here is the situation:

Each dictionary entry is a section that has been defined as 'entry', hence we have a \startentry[title=,marking=,reference=]...\stopentry structure. Many entries can refer to other entries in the dictionary (in most cases the headword is in Italian, but the definitions, explanations are in English in all cases). in 90% of cases my referencing is working, so here is an example of one that works when \setupinteraction[state=start] is set:

\startentry[title={1a età},marking={1a età},reference={eta}]\\
1. youth. 2. first age. {\em np.} \bullet\enspace The age between adolescence and maturity and by extension all of the human being’s first age (as opposed to old age). 
Different cultures distinguish} age groupings in different ways. One would be unlikely to find, in English, terms like first age, second age etc. as recorded here. 
In fact there are probably only three general groupings in English: young, middle-aged, elderly, and the boundaries are rather flexible for these. 
Among the young category, English might distinguish infants, children, adolescents young adults. \rightarrow\enspace \in{giovani}[giovani]
\stopentry

In other words, there is an entry called 'giovani' and it begins \startentry[title={giovani},marking={giovani},reference={giovani}]. That correctly gives me a bold green clickable link which takes me to 'giovani'. There is no number or page reference involved. I simply want the link to take me to the entry concerned.

But it does not always work. I have another entry called 'ad nutum' (Latin, not Italian in this case) with a reference to 'segretario' many pages on. I am absolutely sure I have the reference for segretario properly set up, both in its own entry and by calling it as I did for 'giovani', namely this time as \in{segretario}[segretario] but it is not recognized. This is not the only non-working case. There are several.

Can anyone give me a hint as to what I might be doing wrong? I realise that usually these references call on page numbers or section numbers, but I don't want/need (or do I?) to use those. I simply the reader to be able to click on a hyperlink which takes them to the referenced entry.

Julian

--------------UQSTu8ElG2t3BpX9h0AwpxDz-- --===============1904695338955855583== 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== --===============1904695338955855583==--