emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Two questions about code references and HTML export
@ 2009-04-30 18:17 Shaun Johnson
  2009-05-06 10:18 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Shaun Johnson @ 2009-04-30 18:17 UTC (permalink / raw)
  To: Org Mode

Hi,

Consider the following Org file:

    * Test

     See [[(foo)][FOOBIE]]

     #+BEGIN_EXAMPLE
     <foo>: blah blah       (ref:foo)
     #+END_EXAMPLE

Question 1)
   In Org mode the link displays as FOOBIE, in the exported HTML it
   displays as (foo). Is there any way to cause the link to use the
   description (FOOBIE) in HTML? If not would this be a useful option
   to add?

Question 2)
   Is there any way to remove the label (displayed as '(foo)') from the
   line (starting '<foo>:') in the exported HTML. Again, if not, would
   this be a useful option to add? Maybe a new option on the
   #+BEGIN... line.

Thanks in advance,

Shaun.

P.s. I am using version 6.26d in Emacs 22.2.

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

* Re: Two questions about code references and HTML export
  2009-04-30 18:17 Two questions about code references and HTML export Shaun Johnson
@ 2009-05-06 10:18 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-05-06 10:18 UTC (permalink / raw)
  To: Shaun Johnson; +Cc: Org Mode


On Apr 30, 2009, at 8:17 PM, Shaun Johnson wrote:

> Hi,
>
> Consider the following Org file:
>
>   * Test
>
>    See [[(foo)][FOOBIE]]
>
>    #+BEGIN_EXAMPLE
>    <foo>: blah blah       (ref:foo)
>    #+END_EXAMPLE
>
> Question 1)
>  In Org mode the link displays as FOOBIE, in the exported HTML it
>  displays as (foo). Is there any way to cause the link to use the
>  description (FOOBIE) in HTML? If not would this be a useful option
>  to add?

This is, I think, a bug, now fixed.

>
> Question 2)
>  Is there any way to remove the label (displayed as '(foo)') from the
>  line (starting '<foo>:') in the exported HTML. Again, if not, would
>  this be a useful option to add? Maybe a new option on the
>  #+BEGIN... line.

I think is this is only useful if the lines are numbered, because
the relation between the link and the line should be visible also  
without
hovering the mouse.

Currently, the targets are removed if you give both the -n and -r  
switches.
Can you explain under what circumstances you'd like to have it removed?
Can you give a real-world example?


>
> Thanks in advance,
>
> Shaun.
>
> P.s. I am using version 6.26d in Emacs 22.2.
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2009-05-06 10:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-30 18:17 Two questions about code references and HTML export Shaun Johnson
2009-05-06 10:18 ` Carsten Dominik

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