From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: Table in org-mode not to be exported to latex Date: Wed, 17 May 2017 19:42:58 +0100 Message-ID: <87ziebb9zh.fsf@skimble.plus.com> References: <874lwjit7a.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dB3uS-00083M-9d for emacs-orgmode@gnu.org; Wed, 17 May 2017 14:42:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dB3uP-0006Tc-6Q for emacs-orgmode@gnu.org; Wed, 17 May 2017 14:42:56 -0400 Received: from avasout07.plus.net ([84.93.230.235]:52064) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dB3uO-0006TH-Rt for emacs-orgmode@gnu.org; Wed, 17 May 2017 14:42:53 -0400 In-Reply-To: (=?utf-8?B?IkrDqXLDqW1pZQ==?= Juste"'s message of "Wed, 17 May 2017 14:14:16 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: =?utf-8?B?SsOpcsOpbWll?= Juste Cc: org-mode-email --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable J=C3=A9r=C3=A9mie Juste writes: > Hello, > > maybe something like > > #+BEGIN_SRC org :exports none > | date=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | change=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 | version | > |------------+--------------------------+---------| > | 2016/11/18 | initial draft=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0 1.0 | > | 2017/05/04 | put in models of grief=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2= =A0 1.5 | > | 2017/05/16 | removed creative commons |=C2=A0=C2=A0=C2=A0=C2=A0 1.6 | > |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | > #+END_SRC > Thanks for this Jeremie, unfortunately its failing. With this as my table in a block =2D-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 =2D-8<---------------cut here---------------end--------------->8--- It fails showing this in the latex file =2D-8<---------------cut here---------------start------------->8--- \lstset{language=3Dorg,label=3D ,caption=3D ,captionpos=3Db,numbers=3Dnone} \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} =2D-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 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? >=20=20=20=20 > This is the table that I'm using - >=20=20=20=20 > --8<---------------cut here---------------start------------->8--- > | date=C2=A0 =C2=A0 =C2=A0 =C2=A0| change=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| version | > |------------+--------------------------+---------| > | 2016/11/18 | initial draft=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 =C2=A0 =C2=A01.0 | > | 2017/05/04 | put in models of grief=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2= =A01.5 | > | 2017/05/16 | removed creative commons |=C2=A0 =C2=A0 =C2=A01.6 | > |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0| > --8<---------------cut here---------------end--------------->8--- >=20=20=20=20 > 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. >=20=20=20=20 > I've tried setting it up as below, but it then refuses to build the p= df. >=20=20=20=20 > --8<---------------cut here---------------start------------->8--- > #+BEGIN_SRC :exports no > | date=C2=A0 =C2=A0 =C2=A0 =C2=A0| change=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| version | > |------------+--------------------------+---------| > | 2016/11/18 | initial draft=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 =C2=A0 =C2=A01.0 | > | 2017/05/04 | put in models of grief=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2= =A01.5 | > | 2017/05/16 | removed creative commons |=C2=A0 =C2=A0 =C2=A01.6 | > |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0| > #+END_SRC > --8<---------------cut here---------------end--------------->8--- >=20=20=20=20 > I've looked at 'The Org Manual' version 9.0.7 but I can't see how to = do > it there either. >=20=20=20=20 > Any ideas please? >=20=20=20=20 > Thanks > Sharon. > -- > A taste of linux =3D http://www.sharons.org.uk > TGmeds =3D http://www.tgmeds.org.uk > DrugFacts =3D https://www.drugfacts.org.uk > Debian 8.8, fluxbox 1.3.5-2, emacs 25.1.1.1, org-mode 9.0.7 > > -- > J=C3=A9r=C3=A9mie Juste > =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk DrugFacts =3D https://www.drugfacts.org.uk=20=20 Debian 8.8, fluxbox 1.3.5-2, emacs 25.1.1.1, org-mode 9.0.7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJZHJmzAAoJEDaBgBkK+INbyAkP/iE9h+PnI3LWAX/lT7+dSewH RcW89QQNSsBeo5b3hX/oYMTP6CMShbGpZ7oJsFen1FbQMRwqkm6tbXzHS3kZpmT9 Pa1kd5MuUtqHwnDdzcp1mMJNDsfqbsPijRH3vlodM+sqr9Rbs8LlTizfb/9OvqGr UQMs2Hve+rQ6QgN7CXqBJLzP4cC9XXHSrNJlV7UNaPZjfmT9L/NeEpOf3QddUezC NGFR06T/zmySDORRAgaERZ2DieSot3AOdIVhpzgtQM9/C6U8+LdMK6jPEVogtleO 6yv7iw3btBPoQIq78jreagkXBgPFhiobssP9Ud79jYaGh57JKLbbtqEy8f5kDnuQ KC9KWHFNmD6XGy6BCwNax9jKK7KGT+4sbZQW+k8A3aSNd7zw1JGrL77PkL9W45Or dbrxfLSiigZh2zerfrVU9VpEZKq+EC+KMhm/J1dHM3N4CfTYFMnH1lzbi7jbJEJ7 /FC0ZGRysBqrq6WPmMkUjqpjfEgGraWdCSDh/CIFmgiaAJO7E5nqArZBSFOUFt8i PNyI4+kh98vQz9MePGsTkD6EqN8bzOSTUBxxCr9+9Gu9RByI8w2fhPCE0GJZYwm5 Y4Yxy+oELcjJaHtsZoVPcwVBuCjF0ZU6BbMoJR5YAZyFPRMHSr2O+/vUa6z3E6J0 vT3jSjR0ScQQ1C4f3Fol =RSra -----END PGP SIGNATURE----- --=-=-=--