emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Bug: \log and friends are not recognized as math [6.34b]


From: Carsten Dominik
Subject: Re: [Orgmode] Bug: \log and friends are not recognized as math [6.34b]
Date: Thu, 28 Jan 2010 15:57:56 +0100

Hi Rasmus,

can you make me a list of macros that should be treated in this way?
I guess we can simply add these to org-html-entities t=and that might already solve the issue.....

- Carsten

On Jan 17, 2010, at 12:30 PM, Rasmus Pank Roulund wrote:

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


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten







reply via email to

[Prev in Thread] Current Thread [Next in Thread]