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:42:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Jérémie Juste <address@hidden> 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 <address@hidden> 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: signature.asc
Description: PGP signature


reply via email to

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