emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Bug: Preview Latex fragments should include definitions in #+L


From: Darlan Cavalcante Moreira
Subject: [Orgmode] Bug: Preview Latex fragments should include definitions in #+LATEX_HEADER: [6.33trans (release_6.33f.71.g0969.dirty)]
Date: Mon, 07 Dec 2009 14:39:24 -0300
User-agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.1 Mule/6.0 (HANACHIRUSATO)

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 all,

I have defined the command "vetor" in a org file header with the line below
#+LATEX_HEADER:\newcommand{\vetor}[1]{{\mathbf{#1}}}
It works correctly when exporting to latex, but the preview of latex fragments
with C-c C-x C-l does not work for equations that use the defined command.

After customizing the variable "Org Format Latex Header" through the customize
buffer to include the newcommand at the end, the preview of latex fragments
worked as expected.

If this is not a bug, I'd like to make a feature request. That is, everything
that is included in the header of the exported latex document
with #+LATEX_HEADER: should be also included in the variable
org-format-latex-header such that the preview functionality can work as expected
with user defined commands or included packages.

- Darlan Cavalcante


Emacs  : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0)
 of 2009-09-27 on crested, modified by Debian
Package: Org-mode version 6.33trans (release_6.33f.71.g0969.dirty)




reply via email to

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