emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fuzzy link can't be exported when \begin{foo} is there


From: James Powell
Subject: fuzzy link can't be exported when \begin{foo} is there
Date: Fri, 26 Mar 2021 16:55:17 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

First time poster, long time user.  Glad to be here.

This seems to a bug.

- Org mode version 9.4.4
- GNU Emacs 25.3.1

If I write in a little table like this:

: In Table [[tableOne]] I show that this site has AADT 143925, by TVT_Detailed_2019.xlsx.
:
: #+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 |

It should be org-lint clean and export as a link when I export to latex.  And it is and it does.

So far so good.   When I add some latex in the middle:
<<start>>
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}
<<end>>
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".

If you wish, you may paste the text from <<start>> to <<end>> noninclusive above in this email to reproduce.  The manual says that it should work: "The following snippets will be identified as LaTeX source code [...] Environments of any kind" ( *info* (org) LaTeX fragments).  I searched the mailing list for help, I see lots of comments about org-lint but not so much on this.  I scanned the open bugs at https://updates.orgmode.org/#bugs and nothing seemed relevant.

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.

Many thanks.

- JP


--
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]