emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Links to headings not generated in Tables
@ 2013-11-20 20:04 Luke Crook
  2013-11-20 20:25 ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Luke Crook @ 2013-11-20 20:04 UTC (permalink / raw)
  To: emacs-orgmode

I am unable to get links of the following type to appear in Tables when 
exporting to HTML or Latex;

[[*Heading 1][A Heading]]

The links are valid in Emacs, meaning I can navigate to the target using C-c 
C-o. 

Links to headings using ID, or links to other tables ( e.g. [[tbl:aTable]]) do 
seem to work.

/Luke

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Links to headings not generated in Tables
  2013-11-20 20:04 Links to headings not generated in Tables Luke Crook
@ 2013-11-20 20:25 ` Nicolas Goaziou
  2013-11-20 21:01   ` Luke Crook
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2013-11-20 20:25 UTC (permalink / raw)
  To: Luke Crook; +Cc: emacs-orgmode

Hello,

Luke Crook <luke@balooga.com> writes:

> I am unable to get links of the following type to appear in Tables when 
> exporting to HTML or Latex;
>
> [[*Heading 1][A Heading]]
>
> The links are valid in Emacs, meaning I can navigate to the target using C-c 
> C-o. 
>
> Links to headings using ID, or links to other tables ( e.g. [[tbl:aTable]]) do 
> seem to work.

You are probably using an old Org revision (e.g. the one shipped with
Emacs 24.3).

Anyway, the problem doesn't seem to be in Org > 8.0.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Links to headings not generated in Tables
  2013-11-20 20:25 ` Nicolas Goaziou
@ 2013-11-20 21:01   ` Luke Crook
  2013-11-20 21:11     ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Luke Crook @ 2013-11-20 21:01 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <n.goaziou <at> gmail.com> writes:

>> 
> You are probably using an old Org revision (e.g. the one shipped with
> Emacs 24.3).
> 

Hi Nicolas, I'm definitely using 8.2.2, as reported by org-version.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Links to headings not generated in Tables
  2013-11-20 21:01   ` Luke Crook
@ 2013-11-20 21:11     ` Nicolas Goaziou
  2013-11-21 20:36       ` Luke Crook
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2013-11-20 21:11 UTC (permalink / raw)
  To: Luke Crook; +Cc: emacs-orgmode

Hello,

Luke Crook <luke@balooga.com> writes:

> Hi Nicolas, I'm definitely using 8.2.2, as reported by org-version.

OK. Then could you provide an ECM? I'm unable to reproduce the problem.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Links to headings not generated in Tables
  2013-11-20 21:11     ` Nicolas Goaziou
@ 2013-11-21 20:36       ` Luke Crook
  2013-11-21 21:04         ` Nick Dokos
  0 siblings, 1 reply; 10+ messages in thread
From: Luke Crook @ 2013-11-21 20:36 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <n.goaziou <at> gmail.com> writes:

> 
> Hello,
> 
> Luke Crook <luke <at> balooga.com> writes:
> 
> > Hi Nicolas, I'm definitely using 8.2.2, as reported by org-version.
> 
> OK. Then could you provide an ECM? I'm unable to reproduce the problem.
> 
> Regards,
> 


Hi Nicolas,

The first two work correctly, the third does not generate a link for me.



| [[id:6920d682-963f-412b-927b-af7dcfd57c79][Code 13]]  |
| [[*Code 13]] |
| [[*Code 13][Code 13]]  |


*** Code 13        
:PROPERTIES:
:ID:       6920d682-963f-412b-927b-af7dcfd57c79
:END:

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Links to headings not generated in Tables
  2013-11-21 20:36       ` Luke Crook
@ 2013-11-21 21:04         ` Nick Dokos
  2013-12-19 19:12           ` Luke Crook
  0 siblings, 1 reply; 10+ messages in thread
From: Nick Dokos @ 2013-11-21 21:04 UTC (permalink / raw)
  To: emacs-orgmode

Luke Crook <luke@balooga.com> writes:

> Nicolas Goaziou <n.goaziou <at> gmail.com> writes:
>
>> 
>> Hello,
>> 
>> Luke Crook <luke <at> balooga.com> writes:
>> 
>> > Hi Nicolas, I'm definitely using 8.2.2, as reported by org-version.
>> 
>> OK. Then could you provide an ECM? I'm unable to reproduce the problem.
>> 
>> Regards,
>> 
>
>
> Hi Nicolas,
>
> The first two work correctly, the third does not generate a link for me.
>
>
>
> | [[id:6920d682-963f-412b-927b-af7dcfd57c79][Code 13]]  |
> | [[*Code 13]] |
> | [[*Code 13][Code 13]]  |
>
>
> *** Code 13        
> :PROPERTIES:
> :ID:       6920d682-963f-412b-927b-af7dcfd57c79
> :END:

It does for me - here's the table in the HTML output:

--8<---------------cut here---------------start------------->8---
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />
</colgroup>
<tbody>
<tr>
<td class="left"><a href="#sec-1">Code 13</a></td>
</tr>

<tr>
<td class="left"><a href="#sec-1">1</a></td>
</tr>

<tr>
<td class="left"><a href="#sec-1">Code 13</a></td>
</tr>
</tbody>
</table>
--8<---------------cut here---------------end--------------->8---

Org-mode version 8.2.3c (release_8.2.3c-256-g5ea022.dirty @
/home/nick/elisp/org-mode/lisp/)

Nick

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Links to headings not generated in Tables
  2013-11-21 21:04         ` Nick Dokos
@ 2013-12-19 19:12           ` Luke Crook
  2013-12-19 19:19             ` Luke Crook
  2013-12-19 20:48             ` Nicolas Goaziou
  0 siblings, 2 replies; 10+ messages in thread
From: Luke Crook @ 2013-12-19 19:12 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1732 bytes --]

Hi Nicolas,

What about the following code.  In the following, <<1>> and <<2>> are not
appearing in the HTML or the Latex exorts.



* test
  One, [[1]] and two, [[2]].


* blee

| ID    | Descr | Descr |
|-------+-------+-------|
| <<1>> | One   | One   |
| <<2>> | Two   | Two   |



On Thu, Nov 21, 2013 at 1:04 PM, Nick Dokos <ndokos@gmail.com> wrote:

> Luke Crook <luke@balooga.com> writes:
>
> > Nicolas Goaziou <n.goaziou <at> gmail.com> writes:
> >
> >>
> >> Hello,
> >>
> >> Luke Crook <luke <at> balooga.com> writes:
> >>
> >> > Hi Nicolas, I'm definitely using 8.2.2, as reported by org-version.
> >>
> >> OK. Then could you provide an ECM? I'm unable to reproduce the problem.
> >>
> >> Regards,
> >>
> >
> >
> > Hi Nicolas,
> >
> > The first two work correctly, the third does not generate a link for me.
> >
> >
> >
> > | [[id:6920d682-963f-412b-927b-af7dcfd57c79][Code 13]]  |
> > | [[*Code 13]] |
> > | [[*Code 13][Code 13]]  |
> >
> >
> > *** Code 13
> > :PROPERTIES:
> > :ID:       6920d682-963f-412b-927b-af7dcfd57c79
> > :END:
>
> It does for me - here's the table in the HTML output:
>
> --8<---------------cut here---------------start------------->8---
> <table border="2" cellspacing="0" cellpadding="6" rules="groups"
> frame="hsides">
>
>
> <colgroup>
> <col  class="left" />
> </colgroup>
> <tbody>
> <tr>
> <td class="left"><a href="#sec-1">Code 13</a></td>
> </tr>
>
> <tr>
> <td class="left"><a href="#sec-1">1</a></td>
> </tr>
>
> <tr>
> <td class="left"><a href="#sec-1">Code 13</a></td>
> </tr>
> </tbody>
> </table>
> --8<---------------cut here---------------end--------------->8---
>
> Org-mode version 8.2.3c (release_8.2.3c-256-g5ea022.dirty @
> /home/nick/elisp/org-mode/lisp/)
>
> Nick
>
>
>

[-- Attachment #2: Type: text/html, Size: 3170 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Links to headings not generated in Tables
  2013-12-19 19:12           ` Luke Crook
@ 2013-12-19 19:19             ` Luke Crook
  2013-12-19 20:48             ` Nicolas Goaziou
  1 sibling, 0 replies; 10+ messages in thread
From: Luke Crook @ 2013-12-19 19:19 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2398 bytes --]

Here is the html export.  The anchor is generated, but with no text.

<a id="1" name="1"></a></td>

<thead>
<tr>
<th scope="col" class="left">ID</th>
<th scope="col" class="left">Descr</th>
<th scope="col" class="left">Descr</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left"><a id="1" name="1"></a></td>
<td class="left">One</td>
<td class="left">One</td>
</tr>
 <tr>
<td class="left"><a id="2" name="2"></a></td>
<td class="left">Two</td>
<td class="left">Two</td>
</tr>
</tbody>
</table>



On Thu, Dec 19, 2013 at 11:12 AM, Luke Crook <luke@balooga.com> wrote:

> Hi Nicolas,
>
> What about the following code.  In the following, <<1>> and <<2>> are not
> appearing in the HTML or the Latex exorts.
>
>
>
> * test
>   One, [[1]] and two, [[2]].
>
>
> * blee
>
> | ID    | Descr | Descr |
> |-------+-------+-------|
> | <<1>> | One   | One   |
> | <<2>> | Two   | Two   |
>
>
>
> On Thu, Nov 21, 2013 at 1:04 PM, Nick Dokos <ndokos@gmail.com> wrote:
>
>> Luke Crook <luke@balooga.com> writes:
>>
>> > Nicolas Goaziou <n.goaziou <at> gmail.com> writes:
>> >
>> >>
>> >> Hello,
>> >>
>> >> Luke Crook <luke <at> balooga.com> writes:
>> >>
>> >> > Hi Nicolas, I'm definitely using 8.2.2, as reported by org-version.
>> >>
>> >> OK. Then could you provide an ECM? I'm unable to reproduce the problem.
>> >>
>> >> Regards,
>> >>
>> >
>> >
>> > Hi Nicolas,
>> >
>> > The first two work correctly, the third does not generate a link for me.
>> >
>> >
>> >
>> > | [[id:6920d682-963f-412b-927b-af7dcfd57c79][Code 13]]  |
>> > | [[*Code 13]] |
>> > | [[*Code 13][Code 13]]  |
>> >
>> >
>> > *** Code 13
>> > :PROPERTIES:
>> > :ID:       6920d682-963f-412b-927b-af7dcfd57c79
>> > :END:
>>
>> It does for me - here's the table in the HTML output:
>>
>> --8<---------------cut here---------------start------------->8---
>> <table border="2" cellspacing="0" cellpadding="6" rules="groups"
>> frame="hsides">
>>
>>
>> <colgroup>
>> <col  class="left" />
>> </colgroup>
>> <tbody>
>> <tr>
>> <td class="left"><a href="#sec-1">Code 13</a></td>
>> </tr>
>>
>> <tr>
>> <td class="left"><a href="#sec-1">1</a></td>
>> </tr>
>>
>> <tr>
>> <td class="left"><a href="#sec-1">Code 13</a></td>
>> </tr>
>> </tbody>
>> </table>
>> --8<---------------cut here---------------end--------------->8---
>>
>> Org-mode version 8.2.3c (release_8.2.3c-256-g5ea022.dirty @
>> /home/nick/elisp/org-mode/lisp/)
>>
>> Nick
>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 9051 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Links to headings not generated in Tables
  2013-12-19 19:12           ` Luke Crook
  2013-12-19 19:19             ` Luke Crook
@ 2013-12-19 20:48             ` Nicolas Goaziou
  2013-12-20  1:08               ` Luke Crook
  1 sibling, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2013-12-19 20:48 UTC (permalink / raw)
  To: Luke Crook; +Cc: Nick Dokos, emacs-orgmode

Hello,

Luke Crook <luke@balooga.com> writes:

> What about the following code.  In the following, <<1>> and <<2>> are not
> appearing in the HTML or the Latex exorts.
>
>
>
> * test
>   One, [[1]] and two, [[2]].
>
>
> * blee
>
> | ID    | Descr | Descr |
> |-------+-------+-------|
> | <<1>> | One   | One   |
> | <<2>> | Two   | Two   |

This is the expected behaviour. Targets are always invisible. See
section 4.2 in manual.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Links to headings not generated in Tables
  2013-12-19 20:48             ` Nicolas Goaziou
@ 2013-12-20  1:08               ` Luke Crook
  0 siblings, 0 replies; 10+ messages in thread
From: Luke Crook @ 2013-12-20  1:08 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Nick Dokos, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

Ok.  I feel quite quite silly now.

Thanks
/Luke





On Thu, Dec 19, 2013 at 12:48 PM, Nicolas Goaziou <n.goaziou@gmail.com>wrote:

> Hello,
>
> Luke Crook <luke@balooga.com> writes:
>
> > What about the following code.  In the following, <<1>> and <<2>> are not
> > appearing in the HTML or the Latex exorts.
> >
> >
> >
> > * test
> >   One, [[1]] and two, [[2]].
> >
> >
> > * blee
> >
> > | ID    | Descr | Descr |
> > |-------+-------+-------|
> > | <<1>> | One   | One   |
> > | <<2>> | Two   | Two   |
>
> This is the expected behaviour. Targets are always invisible. See
> section 4.2 in manual.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #2: Type: text/html, Size: 1353 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-12-20  1:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-20 20:04 Links to headings not generated in Tables Luke Crook
2013-11-20 20:25 ` Nicolas Goaziou
2013-11-20 21:01   ` Luke Crook
2013-11-20 21:11     ` Nicolas Goaziou
2013-11-21 20:36       ` Luke Crook
2013-11-21 21:04         ` Nick Dokos
2013-12-19 19:12           ` Luke Crook
2013-12-19 19:19             ` Luke Crook
2013-12-19 20:48             ` Nicolas Goaziou
2013-12-20  1:08               ` Luke Crook

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).