emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Andreas Leha <andreas.leha@med.uni-goettingen.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] Bug? export with 'hidden' tables
Date: Mon, 28 Feb 2011 12:32:46 -0700	[thread overview]
Message-ID: <874o7oc5up.fsf@gmail.com> (raw)
In-Reply-To: <4D6BF4AC.2070106@med.uni-goettingen.de> (Andreas Leha's message of "Mon, 28 Feb 2011 20:17:00 +0100")

Ah,

This is a bug I introduced in one of my weekend commits.  I've just
pushed up a fix.

Thanks for catching this -- Eric

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:

> Hi Eric,
>
> thanks a lot for this quick answer.  I indeed was not aware of the
> COMMENT keyword.
>
> Unfortunately it does not solve the problem.  When I try to export the
> sample file below I still get:
> 'if: reference 'tbl_directories' not found in this buffer'
>
> Cheers,
> Andreas
>
> PS: the sample (try to export it)
> ======================
>
> * COMMENT Parameters
>   #+CAPTION: Directories
>   #+LABEL: tbl:directories
>   #+tblname: tbl_directories
>   | directory      | path   |
>   |----------------+--------|
>   | data directory | /home/ |
>   | plot directory | /home/ |
>   | code directory | /home/ |
>
>   #+CAPTION: Data Files
>   #+LABEL: tbl:data_files
>   #+tblname: tbl_data_files
>   | file                | path   |
>   |---------------------+--------|
>   | original data       | data   |
>   | original data (csv) | data_m |
>
>
> * Test
>   #+begin_src R :session :exports results :results silent :var
> data_dir=tbl_directories[2,1]
>     library("tikzDevice")
>   #+end_src
>
> ======================
>
>
> Am 28.02.2011 19:56, schrieb Eric Schulte:
>> Hi Andreas,
>>
>> I don't know about :noexport:, but to keep a subtree from exporting, I
>> use the COMMENT keyword in the title, which can be done with the
>> `org-toggle-comment' command bound to C-c ;.
>>
>> Hope this helps -- Eric
>>
>> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>>
>>   
>>> Hi all,
>>>
>>> I used to have parameters in org tables, which were in secions marked
>>> with 'noexport'.  Since this weekend, this does not work for me anymore.
>>> Is this a bug or am I doing sth wrong here?
>>>
>>> Regards,
>>> Andreas
>>>
>>> PS: the example (try to export)
>>> ====================
>>> * Parameters                               :noexport:
>>>   #+CAPTION: Directories
>>>   #+LABEL: tbl:directories
>>>   #+tblname: tbl_directories
>>>   | directory      | path   |
>>>   |----------------+--------|
>>>   | data directory | /home/ |
>>>   | plot directory | /home/ |
>>>   | code directory | /home/ |
>>>
>>>   #+CAPTION: Data Files
>>>   #+LABEL: tbl:data_files
>>>   #+tblname: tbl_data_files
>>>   | file                | path   |
>>>   |---------------------+--------|
>>>   | original data       | data   |
>>>   | original data (csv) | data_m |
>>>
>>>
>>> * Test
>>>   #+begin_src R :session :exports results :results silent :var
>>> data_dir=tbl_directories[2,1]
>>>     library("tikzDevice")
>>>   #+end_src
>>>
>>>
>>> ====================
>>>
>>> _______________________________________________
>>> Emacs-orgmode mailing list
>>> Please use `Reply All' to send replies to the list.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>>     
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>   

  reply	other threads:[~2011-02-28 19:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28 18:41 [babel] Bug? export with 'hidden' tables Andreas Leha
2011-02-28 18:56 ` Eric Schulte
2011-02-28 19:17   ` Andreas Leha
2011-02-28 19:32     ` Eric Schulte [this message]
2011-03-01  7:01       ` Andreas Leha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874o7oc5up.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).