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: Wed, 17 May 2017 19:46:13 +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 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: signature.asc
Description: PGP signature


reply via email to

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