From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Exporting Latex fragment both rendered and verbatim Date: Wed, 07 Mar 2018 15:24:06 +0000 Message-ID: <87po4f52p5.fsf@gmail.com> References: <87vae8j5zq.fsf@iki.fi> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etavO-00015F-0V for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 10:24:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etavL-0005yS-Cq for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 10:24:14 -0500 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]:39061) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etavL-0005wh-5B for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 10:24:11 -0500 Received: by mail-wr0-x22e.google.com with SMTP id w77so2565045wrc.6 for ; Wed, 07 Mar 2018 07:24:09 -0800 (PST) In-Reply-To: <87vae8j5zq.fsf@iki.fi> (Jarmo Hurri's message of "Wed, 07 Mar 2018 16:49:13 +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: Jarmo Hurri Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wednesday, 7 Mar 2018 at 16:49, Jarmo Hurri wrote: [...] > It is easy to export it verbatim as follows: > > #+name: fragment > #+BEGIN_SRC latex > > Here is an interesting (and true) equation:=20 > \begin{equation}=20 > \int uv' =3D uv - \int u'v \label{int}.=20 > \end{equation} > And that happens to be equation \eqref{int} on page \pageref{int}. > #+END_SRC > > But what is the correct combination of environments (src, export) and Use this src block but add ":exports both" to the begin_src line. =2D-=20 Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-191-g90607d --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWqAEFgAKCRDIkZPY//z2 feYCAJ97bU02I34dNAMvQ3ffz6e/wnu/cgCdFHEf9eR7X1Xex6ZenXBzcupf2eU= =tZCB -----END PGP SIGNATURE----- --=-=-=--