From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: \log and friends are not recognized as math [6.34b] Date: Thu, 28 Jan 2010 15:57:56 +0100 Message-ID: References: <4B52F4D9.9060406@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaVow-00022B-Cq for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 09:58:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaVor-0001zD-8x for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 09:58:10 -0500 Received: from [199.232.76.173] (port=44434 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaVor-0001z1-1U for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 09:58:05 -0500 Received: from mail-fx0-f216.google.com ([209.85.220.216]:36641) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaVop-0000HS-M7 for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 09:58:04 -0500 Received: by fxm8 with SMTP id 8so1121367fxm.26 for ; Thu, 28 Jan 2010 06:58:02 -0800 (PST) In-Reply-To: <4B52F4D9.9060406@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Pank Roulund Cc: emacs-orgmode@gnu.org 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. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten