On Wednesday, 17 May 2017 at 18:46, Sharon Kimble wrote:
> Eric S Fraga <e.fr...@ucl.ac.uk> writes:
>
>> On Wednesday, 17 May 2017 at 12:06, Sharon Kimble wrote:
>>> How can I have an org-mode table in an org-mode document that is
>>> exported to latex, but the table is *NOT* exported, please?
>>
>> I tend to "hide" things like this (data tables, source codes) that I do
>> not want exported within an inline task with :noexport: tag.  Useful for
>> having the data/code close to where it might be used without having to
>> work around the hierarchical structure of org headings.
>
> Thanks for this Eric.
>
> Unfortunately, with this as my table block
>
> #+BEGIN_SRC org :noexport:
> | date       | change                   | version |
> |------------+--------------------------+---------|
> | 2016/11/18 | initial draft            |     1.0 |
> | 2017/05/04 | put in models of grief   |     1.5 |
> | 2017/05/16 | removed creative commons |     1.6 |
> |            |                          |         |
> #+END_SRC

No, this is not what I suggested.  Others have suggested this and I have
no idea if this is meant to work or not.  What I suggested is hiding the
table within an inline task, as in this example:

--8<---------------cut here---------------start------------->8---
* Normal heading
*************** hidden table                    :noexport:
| date       | change                   | version |
|------------+--------------------------+---------|
| 2016/11/18 | initial draft            |     1.0 |
| 2017/05/04 | put in models of grief   |     1.5 |
| 2017/05/16 | removed creative commons |     1.6 |
|            |                          |         |
*************** END
--8<---------------cut here---------------end--------------->8---

You would probably want to name the table so you can access it
elsewhere, of course.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.6-432-g6fee6b.dirty

Attachment: signature.asc
Description: PGP signature

Reply via email to