From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: question about org-coderef-label-format and HTML export Date: Wed, 07 Dec 2016 23:15:34 +0100 Message-ID: <87lgvrgzcp.fsf@nicolasgoaziou.fr> References: <87r35kiqkx.fsf@nicolasgoaziou.fr> <87zik8yudb.fsf@mn.cs.uvic.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEkUy-0000n9-NO for emacs-orgmode@gnu.org; Wed, 07 Dec 2016 17:15:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEkUu-0007gh-Hj for emacs-orgmode@gnu.org; Wed, 07 Dec 2016 17:15:36 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:33030) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cEkUu-0007fc-Bh for emacs-orgmode@gnu.org; Wed, 07 Dec 2016 17:15:32 -0500 In-Reply-To: <87zik8yudb.fsf@mn.cs.uvic.ca> (D. M. German's message of "Wed, 07 Dec 2016 01:13:36 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: D M German Cc: emacs-orgmode Hello, D M German writes: > I think I found a bug. It works in some cases but not in others: > > the following code properly defines the references abc and bfc. But it > does not define the one for (ref:jump). Here is a link to the exported > HTML file: > > http://turingmachine.org/~dmg/temp/ref-test.html > http://turingmachine.org/~dmg/temp/ref-test.org > > #+BEGIN_SRC C++ -r -l "//(ref:%s)" +n :main no :results output :exports both > #include > int main() > { //(ref:abc) > std::cout << "Hello world" << std::endl; > std::cout << "Hello world 2" << std::endl; > //(ref:jump) > return 0; //(ref:bcf) > } > #+END_SRC Fixed. Thank you. Regards, -- Nicolas Goaziou