emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sharon Kimble <boudiccas@skimble.plus.com>
To: "Jérémie Juste" <jeremiejuste@gmail.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: Table in org-mode not to be exported to latex
Date: Wed, 17 May 2017 19:42:58 +0100	[thread overview]
Message-ID: <87ziebb9zh.fsf@skimble.plus.com> (raw)
In-Reply-To: <CAPHJcdDwDxs8RNP6BxDxMZumfvqbnAdQetnomZAzSE76Oz-+mw@mail.gmail.com> ("Jérémie Juste"'s message of "Wed, 17 May 2017 14:14:16 +0200")

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

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

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=87ziebb9zh.fsf@skimble.plus.com \
    --to=boudiccas@skimble.plus.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jeremiejuste@gmail.com \
    /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).