From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uHkPMnbUZGDpUQAAgWs5BA (envelope-from ) for ; Wed, 31 Mar 2021 21:58:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wNXeK3bUZGBKQwAAB5/wlQ (envelope-from ) for ; Wed, 31 Mar 2021 19:58:46 +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 88A4913511 for ; Wed, 31 Mar 2021 21:58:46 +0200 (CEST) Received: from localhost ([::1]:38222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRgzE-0001kp-Q1 for larch@yhetil.org; Wed, 31 Mar 2021 15:58:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRgxP-0001Wv-U0 for emacs-orgmode@gnu.org; Wed, 31 Mar 2021 15:56:51 -0400 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:40843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRgxK-0006Ay-GU for emacs-orgmode@gnu.org; Wed, 31 Mar 2021 15:56:48 -0400 Received: by mail-pl1-x62d.google.com with SMTP id h8so8467812plt.7 for ; Wed, 31 Mar 2021 12:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdx-edu.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=5C/KOwChc4qIO93rYtWEd6SrVIZYvzeVRKRhUvED9X0=; b=z7qAEEObUNm1uOzumCsk/PABq/GAFR8nyNZIY76PSQBn3mK/EKfVYD82TcOTXuKw18 tsP1E1siaYOzOq5DgpK5jt1PIodnLbRDbXgGYOP11Pp0rrhxnHtNAV7poqYauRACMkLP vTT0Qa7inERF443wKk5wVY3hSrUOi3VMl/APvJ/qSRClJ3SYnZ1s9KSY7W6nynLCkGVj MvDpn0imr6g+dBhwZl5GRbE0cmRQ49ON2XenttNUKqorn5k8ju8/Fw06hMyo2lkeANjq /tetLNsm5AwnNBXdINRMkjDEIBWsZl/Ly7EeyliRPjJm10x2pflR/gGukA9K9iw3ksrn r/jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=5C/KOwChc4qIO93rYtWEd6SrVIZYvzeVRKRhUvED9X0=; b=HDO9CmNfl9Aty0/SB3wlbwlET6c1G8cNToeXb6t+fHYPe2UVjl+R5esLDMxarP7Cze DpyujIoR6hqFBUEbqJKNhPDs3eFruYUrLsfgCA8oR597A1Db0YkqqQew1ypLI3vZcB5e NrhAdJzcJIsxK94o/qURKP9ZsLNJ4hkQ6lx1yKVjxwuV3LGkhjk4rTqf/rIXoVBEIvfe WjYxqxRDhdUs+9Jc8CqDqL1DJ6OsKbr9HBFwlwcvpzC7JqszMjQdIOY0pN2kBJXUax07 rDXXI7gfHpEk/rlRdGnG8qZ/xU1Xv2puyMMEZ/G7vTqDZ9/lelo9nYrxDT7hKNhUYCCa 8GHg== X-Gm-Message-State: AOAM530BfIRsGCpsWQa1e18tmJPFNX7LesSa7knQn0EtOJBmG5i3vO2g GrW2BFCPCOlMo8CU5baivlK+E0LabmNFetmFGWVHpXK5FOE9IooBSJ8OLiNn/1jWjpTutWaRdSV Let2WYcDRao9zmOC5yLtkquEe8hZmfWCEx49K1H3Z6tbbhEja5lO8hpuzsLsqbg== X-Google-Smtp-Source: ABdhPJyVtojE0E3kNr8Xv6oFCP0w4K4k6qXd8K22ZjipRpclAfcH9CfEgl9NXDrOSg5hVNDCuErC8w== X-Received: by 2002:a17:902:6b8c:b029:e7:1f28:bd74 with SMTP id p12-20020a1709026b8cb02900e71f28bd74mr4529683plk.31.1617220602633; Wed, 31 Mar 2021 12:56:42 -0700 (PDT) Received: from [192.168.0.6] (75-164-186-91.ptld.qwest.net. [75.164.186.91]) by smtp.gmail.com with ESMTPSA id o76sm2886629pfg.217.2021.03.31.12.56.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Mar 2021 12:56:42 -0700 (PDT) Subject: Re: fuzzy link can't be exported when \begin{foo} is there To: Kyle Meyer References: <738aa0ec-2e65-1e3c-3c46-f7f6686b05e4@pdx.edu> <87r1jx2qre.fsf@kyleam.com> From: James Powell Message-ID: Date: Wed, 31 Mar 2021 12:56:41 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <87r1jx2qre.fsf@kyleam.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=powellj@pdx.edu; helo=mail-pl1-x62d.google.com 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 88A4913511 X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: hJ3T4NEhYqkd Thank you Kyle.  I can see how using the latex environments the way I did caused the table part to not be org-mode at all any more.  I didn't realize org behaved that way, and the workaround of using #+LATEX works wonderfully. Incidentally would not org-mode benefit from a bug tracker? Ordinarily here I would say "close the bug" but this is close enough I hope? - JP On 3/29/21 9:45 PM, Kyle Meyer wrote: > James Powell writes: > >> First time poster, long time user.  Glad to be here. > Welcome. > >> This seems to a bug. > [...] >> When I add some latex in the middle: >> <> >> In Table [[tableOne]] I show that this site has AADT 143925, by >> TVT_Detailed_2019.xlsx. >> >> \begin{landscape} >> #+NAME: tableOne >> #+CAPTION: Site 26016 has AADT 143925. >> | SITE_ID | LRM      |  BEGMP |  ENDMP | CLASS_01 | [...] |   AADT | >> K_FACTOR | D_FACTOR | Ton_Factor | >> |   26016 | 00100I00 | 297.31 | 298.93 |     0.11 | [...] | 143925 >> |      7.5 |       52 |          4 | >> \end{landscape} >> <> >> I expect it to keep on working.  But instead, now I get >> >> :      1 high  Unknown fuzzy location "tableOne" >> in org-lint.  Latex export reports "BROKEN LINK". > I believe the above text is sent as is (i.e. that won't be processed as > an Org table). Calling org-element-at-point on it reports that it's a > latex-environment. > > Perhaps you want > > --8<---------------cut here---------------start------------->8--- > #+LATEX: \begin{landscape} > #+NAME: tableOne > #+CAPTION: Site 26016 has AADT 143925. > | SITE_ID | LRM | BEGMP | ENDMP | CLASS_01 | [...] | AADT | K_FACTOR | D_FACTOR | Ton_Factor | > | 26016 | 00100I00 | 297.31 | 298.93 | 0.11 | [...] | 143925 | 7.5 | 52 | 4 | > #+LATEX: \end{landscape} > --8<---------------cut here---------------end--------------->8--- > >> Incidentally I started this bug report with org-mode 9.3.6.  Back in >> 9.3.6, it was worse: not only would org-lint report 'unknown fuzzy' >> and latex export say "BROKEN LINK" but also C-c C-o >> (org-open-at-point) would fail to find the target and make the jump. > The type error was guarded against with 3bb073b63 (ol: Fix type error in > org-link-search corner case, 2020-11-30). There's no name here, so it > then falls back to fuzzy search. > Compare > > (org-element-property :name (org-element-at-point)) > > in with point on the table in your original snippet and the suggested > one above. -- James E. Powell, MS Pronouns: he/him/his Applied Physics PhD Candidate Department of Physics Portland State University Home page: http://web.pdx.edu/~powellj Office: SRTC 409B Phone: +1-503-725-8515