emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Table in org-mode not to be exported to latex


From: Sharon Kimble
Subject: Re: [O] Table in org-mode not to be exported to latex
Date: Thu, 18 May 2017 12:16:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Eric S Fraga <address@hidden> writes:

> On Wednesday, 17 May 2017 at 18:46, Sharon Kimble wrote:
>> Eric S Fraga <address@hidden> 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:
>
> * 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
>
> You would probably want to name the table so you can access it
> elsewhere, of course.

Thanks for this Eric, it works beautifully, and doesn't show in the PDF
file. I shall definetly use this in other projects. :)

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk  
Debian 8.8, fluxbox 1.3.5-2, emacs 25.1.1.1, org-mode 9.0.7

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]