emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jarmo Hurri <jarmo.hurri@iki.fi>
To: emacs-orgmode@gnu.org
Subject: Re: Exporting Latex fragment both rendered and verbatim
Date: Wed, 07 Mar 2018 20:21:41 +0200	[thread overview]
Message-ID: <87a7vjycei.fsf@iki.fi> (raw)
In-Reply-To: 871sgv4wds.fsf@gmail.com

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

Eric S Fraga <esflists@gmail.com> writes:

> On Wednesday,  7 Mar 2018 at 18:53, Jarmo Hurri wrote:
>> Tried this before: for some weird (?) reason I am getting the verbatim
>> output only. And ":exports results" produces blank.
>
> Very strange.  Attached are the org file I used to try this out and the
> result of exporting to LaTeX.

And when I export your a.org to LaTeX, I get the attached tex with a
verbatim environment only:


[-- Attachment #2: my tex export --]
[-- Type: application/octet-stream, Size: 863 bytes --]

% Created 2018-03-07 Wed 20:08
% Intended LaTeX compiler: pdflatex
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\date{\today}
\title{}
\hypersetup{
 pdfauthor={},
 pdftitle={},
 pdfkeywords={},
 pdfsubject={},
 pdfcreator={Emacs 25.3.1 (Org mode 9.1.7)}, 
 pdflang={English}}
\begin{document}

\tableofcontents

\section{test}
\label{sec:org9108211}
\begin{verbatim}

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{verbatim}
\end{document}

[-- Attachment #3: Type: text/plain, Size: 289 bytes --]


Even the document classes are different. Now I am running org 9.1.7, by
the way, just did a git pull and all.

So this is a setup issue of some kind. Where should I begin... Our emacs
versions differ quite a bit (yours 27, mine 25). But that is not likely
to be the issue.

Ideas?

Jarmo

  reply	other threads:[~2018-03-07 18:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-07 14:49 Exporting Latex fragment both rendered and verbatim Jarmo Hurri
2018-03-07 15:24 ` Eric S Fraga
2018-03-07 16:53   ` Jarmo Hurri
2018-03-07 17:40     ` Eric S Fraga
2018-03-07 18:21       ` Jarmo Hurri [this message]
2018-03-07 22:17         ` Eric S Fraga
2018-03-07 18:32       ` Jarmo Hurri

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=87a7vjycei.fsf@iki.fi \
    --to=jarmo.hurri@iki.fi \
    --cc=emacs-orgmode@gnu.org \
    /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).