emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Preview Latex fragments should include definitions in #+LATEX_HEADER: [6.33trans (release_6.33f.71.g0969.dirty)]
@ 2009-12-07 17:39 Darlan Cavalcante Moreira
  2010-01-01 10:18 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Darlan Cavalcante Moreira @ 2009-12-07 17:39 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 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)

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

* Re: Bug: Preview Latex fragments should include definitions in #+LATEX_HEADER: [6.33trans (release_6.33f.71.g0969.dirty)]
  2009-12-07 17:39 Bug: Preview Latex fragments should include definitions in #+LATEX_HEADER: [6.33trans (release_6.33f.71.g0969.dirty)] Darlan Cavalcante Moreira
@ 2010-01-01 10:18 ` Carsten Dominik
  2010-01-04 15:36   ` Darlan Cavalcante Moreira
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2010-01-01 10:18 UTC (permalink / raw)
  To: Darlan Cavalcante Moreira; +Cc: emacs-orgmode

Hi Darlan,

I have now finally implemented your request - but not tested it.
Could you please, at your earliest possible convenience, do some  
testing?

Thanks.

- Carsten

On Dec 7, 2009, at 6:39 PM, Darlan Cavalcante Moreira 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 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)
>
>
> _______________________________________________
> 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

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

* Re: Bug: Preview Latex fragments should include definitions in #+LATEX_HEADER: [6.33trans (release_6.33f.71.g0969.dirty)]
  2010-01-01 10:18 ` Carsten Dominik
@ 2010-01-04 15:36   ` Darlan Cavalcante Moreira
  0 siblings, 0 replies; 3+ messages in thread
From: Darlan Cavalcante Moreira @ 2010-01-04 15:36 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


It now works perfectly.
Thanks for the hard work Carsten.

- Darlan Cavalcante Moreira

At Fri, 1 Jan 2010 11:18:59 +0100,
Carsten Dominik <carsten.dominik@gmail.com> wrote:
> 
> Hi Darlan,
> 
> I have now finally implemented your request - but not tested it.
> Could you please, at your earliest possible convenience, do some  
> testing?
> 
> Thanks.
> 
> - Carsten
> 
> On Dec 7, 2009, at 6:39 PM, Darlan Cavalcante Moreira 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 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)
> >
> >
> > _______________________________________________
> > 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
> 
> 
> 

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

end of thread, other threads:[~2010-01-04 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-07 17:39 Bug: Preview Latex fragments should include definitions in #+LATEX_HEADER: [6.33trans (release_6.33f.71.g0969.dirty)] Darlan Cavalcante Moreira
2010-01-01 10:18 ` Carsten Dominik
2010-01-04 15:36   ` Darlan Cavalcante Moreira

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