emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus Pank Roulund <rasmus.pank@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: \log and friends are not recognized as math [6.34b]
Date: Sun, 17 Jan 2010 12:30:33 +0100	[thread overview]
Message-ID: <4B52F4D9.9060406@gmail.com> (raw)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

      http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

Hello,
It seems a bit extravagant to include all of the system-info so I removed
most of it . . .

Anyhow Org does not recognized \log and friends as math when using the 
latex-exporter.

Try the following minimal example

\log is math. so is \ln

The LaTeX result is:

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{amssymb}
\usepackage{hyperref}

% NOTICE THE TITLE.
\title{\log is math. so is \ln}
% It should have been $\log$ and $\ln$
\author{Rasmus}
\date{17 January 2010}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}

\end{document}

Would it be possible to adopt \log-like functions as math? \cos, \tan,
\sin are also affected.
It is so convenient to write \log-like but I have to fix the exported
latex file manually afterward.

BTW: I created a very complex econometric note in org. Once I had
squeezed the LaTeX-related bugs (math typos) the export was /perfect/!
(except for the \log's). Good work!

--Rasmus


Emacs  : GNU Emacs 23.1.91.1 (i686-pc-linux-gnu, GTK+ Version 2.18.5)
  of 2010-01-15 on pank
Package: Org-mode version 6.34b

             reply	other threads:[~2010-01-17 10:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-17 11:30 Rasmus Pank Roulund [this message]
2010-01-28 14:57 ` Bug: \log and friends are not recognized as math [6.34b] Carsten Dominik
2010-01-29 20:09   ` Rasmus Pank Roulund
2010-02-01  7:22     ` Carsten Dominik
2010-02-01 16:40       ` Nick Dokos
2010-02-01 16:58         ` Nick Dokos
2010-02-01 23:37           ` Nick Dokos
2010-02-02 10:25             ` Carsten Dominik
2010-02-02 14:54               ` Nick Dokos

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=4B52F4D9.9060406@gmail.com \
    --to=rasmus.pank@gmail.com \
    --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).