From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Export org file to pdf: unable to resolve link Date: Thu, 11 Feb 2016 01:03:43 +0100 Message-ID: <87fux05d0g.fsf@nicolasgoaziou.fr> References: <30701A91-FEFF-4BAD-B35F-2E155717F91D@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTeha-0003hH-5d for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 19:01:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTehZ-0003Kd-2L for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 19:01:42 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:57286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTehY-0003KP-Si for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 19:01:41 -0500 In-Reply-To: <30701A91-FEFF-4BAD-B35F-2E155717F91D@gmail.com> (Sergio Bacelar's message of "Wed, 10 Feb 2016 19:10:05 +0000") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sergio Bacelar Cc: emacs-orgmode@gnu.org Hello, Sergio Bacelar writes: > I am trying with no success to export the most important text from > Vikas Rawal > https://github.com/vikasrawal/orgpaper/blob/master/orgpapers.org > to > pdf via LaTeX. I tried C-c C-e l o but I obtain always the error > message =E2=80=9CUnable to resolve link readata-code=E2=80=9D. > This happens because the link readapt-code is not working: > > > Code block [[readdata-code]] is an example of such a code block. Note > ~:results value silent~ switch used in the ~#+begin_src~ line. > > #+BEGIN_SRC org > ,#+NAME: readdata-code > ,#+BEGIN_SRC R :results value silent > > read.data("datafile1.csv",sep=3D",",header=3DT)->mydata1 > > > ,#+END_SRC > #+END_SRC > > If #+NAME was not inside the SRC block and there was no comma before #+NA= ME the link should work. > Does anyone can help me to export this file to pdf? Couldn't you also copy #+NAME: readdata-code outside of the block? Regards, --=20 Nicolas Goaziou