emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Table in org-mode not to be exported to latex
@ 2017-05-17 12:06 Sharon Kimble
  2017-05-17 12:14 ` Jérémie Juste
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Sharon Kimble @ 2017-05-17 12:06 UTC (permalink / raw)
  To: org-mode-email

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


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?

This is the table that I'm using -

--8<---------------cut here---------------start------------->8---
| 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 |
|            |                          |         |
--8<---------------cut here---------------end--------------->8---

I've tried putting it in a drawer, but when the document is exported to
latex and the pdf built, it still shows the table.

I've tried setting it up as below, but it then refuses to build the pdf. 

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC :exports no
| 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
--8<---------------cut here---------------end--------------->8---

I've looked at 'The Org Manual' version 9.0.7 but I can't see how to do
it there either.

Any ideas please?

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 --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Table in org-mode not to be exported to latex
  2017-05-17 12:06 Table in org-mode not to be exported to latex 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:53 ` John Hendy
  2 siblings, 1 reply; 12+ messages in thread
From: Jérémie Juste @ 2017-05-17 12:14 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: org-mode-email

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

Hello,

maybe something like

#+BEGIN_SRC org :exports none
| 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

Best wishes,

Jeremie

On Wed, May 17, 2017 at 2:06 PM, Sharon Kimble <boudiccas@skimble.plus.com>
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?
>
> This is the table that I'm using -
>
> --8<---------------cut here---------------start------------->8---
> | 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 |
> |            |                          |         |
> --8<---------------cut here---------------end--------------->8---
>
> I've tried putting it in a drawer, but when the document is exported to
> latex and the pdf built, it still shows the table.
>
> I've tried setting it up as below, but it then refuses to build the pdf.
>
> --8<---------------cut here---------------start------------->8---
> #+BEGIN_SRC :exports no
> | 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
> --8<---------------cut here---------------end--------------->8---
>
> I've looked at 'The Org Manual' version 9.0.7 but I can't see how to do
> it there either.
>
> Any ideas please?
>
> 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
>



-- 
Jérémie Juste

[-- Attachment #2: Type: text/html, Size: 3355 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Table in org-mode not to be exported to latex
  2017-05-17 12:06 Table in org-mode not to be exported to latex Sharon Kimble
  2017-05-17 12:14 ` Jérémie Juste
@ 2017-05-17 12:18 ` Kaushal Modi
  2017-05-17 18:40   ` Sharon Kimble
  2017-05-17 18:53 ` John Hendy
  2 siblings, 1 reply; 12+ messages in thread
From: Kaushal Modi @ 2017-05-17 12:18 UTC (permalink / raw)
  To: Sharon Kimble, emacs-org list

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

On Wed, May 17, 2017, 8:07 AM Sharon Kimble <boudiccas@skimble.plus.com>
wrote:

>
> --8<---------------cut here---------------start------------->8---
> #+BEGIN_SRC :exports no
> |
>

I think that you are just missing out the language specifier there. Try:

#+BEGIN_SRC org :exports no

> --

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Table in org-mode not to be exported to latex
       [not found] <33f8af2df09e4c8bb9cdd33b768fdb36@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2017-05-17 14:09 ` Eric S Fraga
  2017-05-17 18:46   ` Sharon Kimble
       [not found]   ` <1ef84ea338ec4c8999648cb3ec1d6884@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  0 siblings, 2 replies; 12+ messages in thread
From: Eric S Fraga @ 2017-05-17 14:09 UTC (permalink / raw)
  To: emacs-orgmode

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

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.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.6-425-gf4fca1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Table in org-mode not to be exported to latex
  2017-05-17 12:18 ` Kaushal Modi
@ 2017-05-17 18:40   ` Sharon Kimble
  2017-05-17 18:46     ` Thomas S. Dye
  0 siblings, 1 reply; 12+ messages in thread
From: Sharon Kimble @ 2017-05-17 18:40 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-org list

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

Kaushal Modi <kaushal.modi@gmail.com> writes:

> On Wed, May 17, 2017, 8:07 AM Sharon Kimble <boudiccas@skimble.plus.com> wrote:
>
>     --8<---------------cut here---------------start------------->8---
>     #+BEGIN_SRC :exports no
>     |
>
> I think that you are just missing out the language specifier there. Try:
>
> #+BEGIN_SRC org :exports no

Unfortunately, with this as my block of table

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC org :exports no
| 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
--8<---------------cut here---------------end--------------->8---

It fails to build the pdf saying -

--8<---------------cut here---------------start------------->8---
\lstset{language=org,label= ,caption= ,captionpos=b,numbers=none}
\begin{lstlisting}

| 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{lstlisting}
--8<---------------cut here---------------end--------------->8---

Sorry.

Could this be related to the fact that I haven't stated in my preamble
that I was using tables?

Sharon.

>
> --
>
> Kaushal Modi
>

-- 
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 --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Table in org-mode not to be exported to latex
  2017-05-17 12:14 ` Jérémie Juste
@ 2017-05-17 18:42   ` Sharon Kimble
  0 siblings, 0 replies; 12+ messages in thread
From: Sharon Kimble @ 2017-05-17 18:42 UTC (permalink / raw)
  To: Jérémie Juste; +Cc: org-mode-email

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

Jérémie Juste <jeremiejuste@gmail.com> writes:

> Hello,
>
> maybe something like
>
> #+BEGIN_SRC org :exports none
> | 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
>

Thanks for this Jeremie, unfortunately its failing.

With this as my table in a block

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC org :exports none
| 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
--8<---------------cut here---------------end--------------->8---

It fails showing this in the latex file

--8<---------------cut here---------------start------------->8---
\lstset{language=org,label= ,caption= ,captionpos=b,numbers=none}
\begin{lstlisting}

| 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{lstlisting}
--8<---------------cut here---------------end--------------->8---

Sorry, but could this be related to the fact that I haven't defined any
tables in my preamble?

Thanks
Sharon.

> Best wishes,
>
> Jeremie
>
> On Wed, May 17, 2017 at 2:06 PM, Sharon Kimble <boudiccas@skimble.plus.com> 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?
>    
>     This is the table that I'm using -
>    
>     --8<---------------cut here---------------start------------->8---
>     | 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 |
>     |            |                          |         |
>     --8<---------------cut here---------------end--------------->8---
>    
>     I've tried putting it in a drawer, but when the document is exported to
>     latex and the pdf built, it still shows the table.
>    
>     I've tried setting it up as below, but it then refuses to build the pdf.
>    
>     --8<---------------cut here---------------start------------->8---
>     #+BEGIN_SRC :exports no
>     | 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
>     --8<---------------cut here---------------end--------------->8---
>    
>     I've looked at 'The Org Manual' version 9.0.7 but I can't see how to do
>     it there either.
>    
>     Any ideas please?
>    
>     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
>
> --
> Jérémie Juste
>

-- 
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 --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Table in org-mode not to be exported to latex
  2017-05-17 14:09 ` Eric S Fraga
@ 2017-05-17 18:46   ` Sharon Kimble
       [not found]   ` <1ef84ea338ec4c8999648cb3ec1d6884@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  1 sibling, 0 replies; 12+ messages in thread
From: Sharon Kimble @ 2017-05-17 18:46 UTC (permalink / raw)
  To: emacs-orgmode

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

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

--8<---------------cut here---------------start------------->8---
#+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
--8<---------------cut here---------------end--------------->8---

Its failing but showing this in my latex output -

--8<---------------cut here---------------start------------->8---
\lstset{language=org,label= ,caption= ,captionpos=b,numbers=none}
\begin{lstlisting}
| 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{lstlisting}
--8<---------------cut here---------------end--------------->8---

Sorry, but could this be related to me not defining any tables in my
preamble?

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 --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Table in org-mode not to be exported to latex
  2017-05-17 18:40   ` Sharon Kimble
@ 2017-05-17 18:46     ` Thomas S. Dye
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas S. Dye @ 2017-05-17 18:46 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: emacs-org list, Kaushal Modi

Aloha Sharon,

Sharon Kimble writes:

> Kaushal Modi <kaushal.modi@gmail.com> writes:
>
>> On Wed, May 17, 2017, 8:07 AM Sharon Kimble <boudiccas@skimble.plus.com> wrote:
>>
>>     --8<---------------cut here---------------start------------->8---
>>     #+BEGIN_SRC :exports no
>>     |
>>
>> I think that you are just missing out the language specifier there. Try:
>>
>> #+BEGIN_SRC org :exports no
>
> Unfortunately, with this as my block of table
>
> --8<---------------cut here---------------start------------->8---
> #+BEGIN_SRC org :exports no
> | 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
> --8<---------------cut here---------------end--------------->8---
>
> It fails to build the pdf saying -
>
> --8<---------------cut here---------------start------------->8---
> \lstset{language=org,label= ,caption= ,captionpos=b,numbers=none}
> \begin{lstlisting}
>
> | 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{lstlisting}
> --8<---------------cut here---------------end--------------->8---
>
> Sorry.
>
> Could this be related to the fact that I haven't stated in my preamble
> that I was using tables?

Will :exports none suppress export?

All the best,
Tom

--
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Table in org-mode not to be exported to latex
  2017-05-17 12:06 Table in org-mode not to be exported to latex Sharon Kimble
  2017-05-17 12:14 ` Jérémie Juste
  2017-05-17 12:18 ` Kaushal Modi
@ 2017-05-17 18:53 ` John Hendy
  2 siblings, 0 replies; 12+ messages in thread
From: John Hendy @ 2017-05-17 18:53 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: org-mode-email

On Wed, May 17, 2017 at 7:06 AM, Sharon Kimble
<boudiccas@skimble.plus.com> 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?
>
> This is the table that I'm using -

[snip]

This works for me. Duplicates what others have said, so I think
something is goofed on your end or you're not combining all of the
answers?

### begin org ###

* heading

#+begin_src org :exports none

| 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

### end org ###

That results in (C-e l L, as I don't actually have texlive on this system):

### begin latex ###

\begin{document}

\tableofcontents

\section{heading}
\label{sec:orge9ebafa}
\end{document}

### end latex ###

You're sure you have org for the src type *and* none for results? My
suspicion is the cause as no vs. none:
- http://orgmode.org/manual/Exporting-code-blocks.html

John

>
> Any ideas please?
>
> 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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Table in org-mode not to be exported to latex
       [not found]   ` <1ef84ea338ec4c8999648cb3ec1d6884@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2017-05-18  8:36     ` Eric S Fraga
  2017-05-18 11:16       ` Sharon Kimble
       [not found]       ` <c17de62012664b7e8042a508d539c275@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  0 siblings, 2 replies; 12+ messages in thread
From: Eric S Fraga @ 2017-05-18  8:36 UTC (permalink / raw)
  To: emacs-orgmode

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

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:

--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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Table in org-mode not to be exported to latex
  2017-05-18  8:36     ` Eric S Fraga
@ 2017-05-18 11:16       ` Sharon Kimble
       [not found]       ` <c17de62012664b7e8042a508d539c275@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  1 sibling, 0 replies; 12+ messages in thread
From: Sharon Kimble @ 2017-05-18 11:16 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Table in org-mode not to be exported to latex
       [not found]       ` <c17de62012664b7e8042a508d539c275@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2017-05-18 13:25         ` Eric S Fraga
  0 siblings, 0 replies; 12+ messages in thread
From: Eric S Fraga @ 2017-05-18 13:25 UTC (permalink / raw)
  To: emacs-orgmode

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

On Thursday, 18 May 2017 at 11:16, Sharon Kimble wrote:

[...]

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

Glad it worked.  Inline tasks are actually quite useful for exports in
many different ways.  I use them for end-notes (as opposed to footnotes)
and for margin notes, depending on what the document is for.  You can
customise org-latex-format-inlinetask (and imagine equivalently for
other export targets?).
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.5-479-g987445

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-05-18 13:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 12:06 Table in org-mode not to be exported to latex 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
     [not found] <33f8af2df09e4c8bb9cdd33b768fdb36@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-05-17 14:09 ` 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
     [not found]       ` <c17de62012664b7e8042a508d539c275@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-05-18 13:25         ` Eric S Fraga

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).