emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: \log and friends are not recognized as math [6.34b]
@ 2010-01-17 11:30 Rasmus Pank Roulund
  2010-01-28 14:57 ` Carsten Dominik
  0 siblings, 1 reply; 9+ messages in thread
From: Rasmus Pank Roulund @ 2010-01-17 11:30 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-02-02 14:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-17 11:30 Bug: \log and friends are not recognized as math [6.34b] Rasmus Pank Roulund
2010-01-28 14:57 ` 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

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).