From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Re: Exporting Latex fragment both rendered and verbatim Date: Wed, 07 Mar 2018 18:53:19 +0200 Message-ID: <87y3j3zv28.fsf@iki.fi> References: <87vae8j5zq.fsf@iki.fi> <87po4f52p5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etcKB-0007Ed-Mv for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 11:53:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etcK7-0001Hv-RR for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 11:53:55 -0500 Received: from [195.159.176.226] (port=59836 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etcK7-0001HQ-Jy for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 11:53:51 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1etcHq-0001fL-Jg for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 17:51:30 +0100 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: emacs-orgmode@gnu.org >> It is easy to export it verbatim as follows: >> >> #+name: fragment >> #+BEGIN_SRC latex >> >> Here is an interesting (and true) equation: >> \begin{equation} >> \int uv' = uv - \int u'v \label{int}. >> \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. Tried this before: for some weird (?) reason I am getting the verbatim output only. And ":exports results" produces blank. This is a beamer export with org version 9.1.6. Hmm... Jarmo