From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OHsWNvix116JMwAA0tVLHw (envelope-from ) for ; Wed, 03 Jun 2020 14:21:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WLbJMfix117IawAAbx9fmQ (envelope-from ) for ; Wed, 03 Jun 2020 14:21:44 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4E878940669 for ; Wed, 3 Jun 2020 14:21:44 +0000 (UTC) Received: from localhost ([::1]:38380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgUH1-0004hA-A5 for larch@yhetil.org; Wed, 03 Jun 2020 10:21:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgUGV-0004dz-KG for emacs-orgmode@gnu.org; Wed, 03 Jun 2020 10:21:11 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:37642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgUGR-0001gF-NU for emacs-orgmode@gnu.org; Wed, 03 Jun 2020 10:21:11 -0400 Received: by mail-ej1-x631.google.com with SMTP id mb16so2374205ejb.4 for ; Wed, 03 Jun 2020 07:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zzamboni-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=BWvtYUqVfYUVn+eKqEuZ4BQd1wHCAE5On//EXRy2zOA=; b=dwtd1pePn7ASNh4phA2uVk54kGpmohgfvvD1t/Ze2zZV3ZBHyG+myhqcUGYqQDpmMF 49bF70h6x4U3lI9IowDZiwPTx0MGeT83Alf9JQWG03E5mX2hv+3yak4NMhgMJ6do8hwJ 2rOJyM+ppER52Gwrc9iMcXtDl15+FYSMqh9pH+PcI/eHCWXvYmi0FUk5qlVExHPLro/n qTKAXFSl2zR0CxV9PSpTrMjegK0Rqz/kbmLuuOzPi2jR1XYlwNSPhi4kjqa8M2L3QpyL 0P3VtiKm8WaOJHNGCj9W0/dbvTdErx5iU/EAD7MXB2LoiaGctUB9fKk+Dj3EkrjQVm8k YfxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=BWvtYUqVfYUVn+eKqEuZ4BQd1wHCAE5On//EXRy2zOA=; b=IBhXoVNVc+BRPdUOndF1sRPLTTZGFkhqzpfaJG5rIPabnIkZr8l393fbM3AenZM20R RYPIyKYeN4ip2Il4xH7f6yW+FkOQ0Bb3hlvrRiAT8sqRL5Wxn3KSt61FLfCfYlIZOqt4 dpYttH/pEY9qtPTRr47EY/JPj5s17eHB2JIhuVF+SIt0HUOb+zo0k3BqxcEGd+nr68O3 XNatzS9+f6dGDYJMi8UO289KNXnlOxIfy2XKBkL8eKOVrVCFcIswKTfkq9r9MPAxlWcN ob6KoNmsSSuddTwb7O4HuZglaH3jOWCVIkNi66SwTaTjDkzK8gUyLpms42bYdVSGqjm1 0smA== X-Gm-Message-State: AOAM531Yi+skRMTSYqClkcoVcWZrMgydpPidssu7ep6HWIg84AhWcyC3 uNvjiw2h/IexGVE7O2cudGcrxQBBAhRCibioNAdcrw== X-Google-Smtp-Source: ABdhPJwpNBwDUUyHNuQXPDJbfWUJmKJqO5m/OsAl/u4kL77YPX/P3XoSaxi+zcPK+xQvtxCC8G7khCKxyoosvnvAd6s= X-Received: by 2002:a17:906:c812:: with SMTP id cx18mr7382738ejb.94.1591194065629; Wed, 03 Jun 2020 07:21:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Diego Zamboni Date: Wed, 3 Jun 2020 16:20:54 +0200 Message-ID: Subject: Re: Disambiguate internal links? To: Budiman Snowman Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2a00:1450:4864:20::631; envelope-from=diego@zzamboni.org; helo=mail-ej1-x631.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zzamboni-org.20150623.gappssmtp.com header.s=20150623 header.b=dwtd1peP; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: +F7OJvR4SPKN I almost always use a CUSTOM_ID property for this, e.g. * topic1 See topic [[#topic2][topic2]]. See glossary [[#glossary_topic2][topic2]]. * topic2 :PROPERTIES: :CUSTOM_ID: topic2 :END: * glossary ** topic1 :PROPERTIES: :CUSTOM_ID: glossary_topic2 :END: ** topic2 :PROPERTIES: :CUSTOM_ID: glossary_topic2 :END: On Wed, Jun 3, 2020 at 4:06 PM Budiman Snowman w= rote: > > I have this document: > > * topic1 > See topic [[topic2]]. > See glossary [[topic2]]. > > * topic2 > * glossary > ** topic1 > ** topic2 > > What are ways to disambiguate the internal links? The first link should l= ink to the topic2 first-level entry, while the second link should go to the= topic2 entry under glossary. They both have the same title. One way I know= is using a unique dedicated target, e.g.: > > * topic1 > See topic [[topic2]]. > See glossary [[glossary topic2][topic2]]. > > * topic2 > * glossary > ** <> topic1 > ** <> topic2 > > What are other ways available? > > Regards, > BS