From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Two questions about code references and HTML export Date: Wed, 6 May 2009 12:18:14 +0200 Message-ID: <47D93C64-8A88-45B9-B617-A07AD461AA25@gmail.com> References: <49F9EB48.50408@slugfest.demon.co.uk> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1eIP-0003yP-Ox for emacs-orgmode@gnu.org; Wed, 06 May 2009 06:24:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1eIL-0003xu-PT for emacs-orgmode@gnu.org; Wed, 06 May 2009 06:24:13 -0400 Received: from [199.232.76.173] (port=36396 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1eIL-0003xr-Fo for emacs-orgmode@gnu.org; Wed, 06 May 2009 06:24:09 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:42676) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1eIL-0002Je-4b for emacs-orgmode@gnu.org; Wed, 06 May 2009 06:24:09 -0400 Received: by ewy6 with SMTP id 6so5973323ewy.42 for ; Wed, 06 May 2009 03:24:08 -0700 (PDT) In-Reply-To: <49F9EB48.50408@slugfest.demon.co.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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 > : 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 ':') 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