[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org link to OCaml comment
From: |
Alan Schmitt |
Subject: |
Re: org link to OCaml comment |
Date: |
Thu, 06 Feb 2020 16:39:23 +0100 |
Hello John,
On 2020-02-06 09:58, John Kitchin <address@hidden> writes:
> I think you need to do it like this:
>
> #+BEGIN_SRC test.ml -r
>
> (* Object projection functions *) (ref:opf)
>
>
> #+END_SRC
>
> [[file:2020-02-05.org::(opf)]]
>
> The -r in the header removes the coderef when you run it.
Thank you for the suggestion. Unfortunately I need to link to an
external ml file. I can change it, but I need to get a syntactically
valid file.
I tried putting the ref part inside the comment and unfortunately it
does not work.
The strange part is that linking to arbitrary code works. It seems that
the OCaml comment syntax is problematic here.
Best,
Alan
- org link to OCaml comment, Alan Schmitt, 2020/02/06
- Re: org link to OCaml comment, John Kitchin, 2020/02/06
- Re: org link to OCaml comment,
Alan Schmitt <=
- Re: org link to OCaml comment, Nicolas Goaziou, 2020/02/06
- Re: org link to OCaml comment, Alan Schmitt, 2020/02/06
- Re: org link to OCaml comment, Nicolas Goaziou, 2020/02/07
- Re: org link to OCaml comment, Alan Schmitt, 2020/02/07
- Re: org link to OCaml comment, Nicolas Goaziou, 2020/02/19
- Re: org link to OCaml comment, Alan Schmitt, 2020/02/20