emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sharon Kimble <boudiccas@skimble.plus.com>
To: emacs-orgmode@gnu.org
Subject: Re: Table in org-mode not to be exported to latex
Date: Thu, 18 May 2017 12:16:56 +0100	[thread overview]
Message-ID: <87wp9eza6v.fsf@skimble.plus.com> (raw)
In-Reply-To: <87bmqqimtg.fsf@delle7240> (Eric S. Fraga's message of "Thu, 18 May 2017 09:36:11 +0100")

[-- Attachment #1: Type: text/plain, Size: 2195 bytes --]

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Wednesday, 17 May 2017 at 18:46, Sharon Kimble wrote:
>> Eric S Fraga <e.fraga@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:
>
> * 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2017-05-18 11:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <33f8af2df09e4c8bb9cdd33b768fdb36@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-05-17 14:09 ` Table in org-mode not to be exported to latex Eric S Fraga
2017-05-17 18:46   ` Sharon Kimble
     [not found]   ` <1ef84ea338ec4c8999648cb3ec1d6884@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-05-18  8:36     ` Eric S Fraga
2017-05-18 11:16       ` Sharon Kimble [this message]
     [not found]       ` <c17de62012664b7e8042a508d539c275@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-05-18 13:25         ` Eric S Fraga
2017-05-17 12:06 Sharon Kimble
2017-05-17 12:14 ` Jérémie Juste
2017-05-17 18:42   ` Sharon Kimble
2017-05-17 12:18 ` Kaushal Modi
2017-05-17 18:40   ` Sharon Kimble
2017-05-17 18:46     ` Thomas S. Dye
2017-05-17 18:53 ` John Hendy

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=87wp9eza6v.fsf@skimble.plus.com \
    --to=boudiccas@skimble.plus.com \
    --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).