all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug] org-e-beamer misbehaves when case-fold-search is t
@ 2012-07-24 16:31 Suvayu Ali
  2012-07-24 16:41 ` suvayu ali
  0 siblings, 1 reply; 6+ messages in thread
From: Suvayu Ali @ 2012-07-24 16:31 UTC (permalink / raw)
  To: Emacs Org mode

Hi Nicolas,

I see that the org-e-beamer fails to use the beamer class when
case-fold-search is set to t in custom-set-variables. So the header
looks like this:

  % Created 2012-07-24 Tue 18:20
  \documentclass[11pt]{article}

instead of 

  % Created 2012-07-24 Tue 18:20
  \documentclass[presentation]{beamer}

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.

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

* Re: [bug] org-e-beamer misbehaves when case-fold-search is t
  2012-07-24 16:31 [bug] org-e-beamer misbehaves when case-fold-search is t Suvayu Ali
@ 2012-07-24 16:41 ` suvayu ali
  2012-07-24 21:21   ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: suvayu ali @ 2012-07-24 16:41 UTC (permalink / raw)
  To: Emacs Org mode

On Tue, Jul 24, 2012 at 6:31 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> Hi Nicolas,
>
> I see that the org-e-beamer fails to use the beamer class when
> case-fold-search is set to t in custom-set-variables. So the header
> looks like this:
>
>   % Created 2012-07-24 Tue 18:20
>   \documentclass[11pt]{article}
>
> instead of
>
>   % Created 2012-07-24 Tue 18:20
>   \documentclass[presentation]{beamer}
>

Sorry, I wrote the complete opposite! I see the bug when
case-fold-search is set to nil, *not* t.

-- 
Suvayu

Open source is the future. It sets us free.

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

* Re: [bug] org-e-beamer misbehaves when case-fold-search is t
  2012-07-24 16:41 ` suvayu ali
@ 2012-07-24 21:21   ` Nicolas Goaziou
  2012-07-24 22:47     ` Suvayu Ali
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2012-07-24 21:21 UTC (permalink / raw)
  To: suvayu ali; +Cc: Emacs Org mode

Hello,

suvayu ali <fatkasuvayu+linux@gmail.com> writes:

> On Tue, Jul 24, 2012 at 6:31 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
>> Hi Nicolas,
>>
>> I see that the org-e-beamer fails to use the beamer class when
>> case-fold-search is set to t in custom-set-variables. So the header
>> looks like this:
>>
>>   % Created 2012-07-24 Tue 18:20
>>   \documentclass[11pt]{article}
>>
>> instead of
>>
>>   % Created 2012-07-24 Tue 18:20
>>   \documentclass[presentation]{beamer}
>>
>
> Sorry, I wrote the complete opposite! I see the bug when
> case-fold-search is set to nil, *not* t.

I'm not sure to understand.  Could you show me an ECM?  Also, please
include `org-e-latex-classes' value.

Thank you.


Regards,

-- 
Nicolas Goaziou

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

* Re: [bug] org-e-beamer misbehaves when case-fold-search is t
  2012-07-24 21:21   ` Nicolas Goaziou
@ 2012-07-24 22:47     ` Suvayu Ali
  2012-07-25  8:16       ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Suvayu Ali @ 2012-07-24 22:47 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: suvayu ali, Emacs Org mode

[-- Attachment #1: Type: text/plain, Size: 1682 bytes --]

Hi Nicolas,

On Tue, Jul 24, 2012 at 11:21:38PM +0200, Nicolas Goaziou wrote:
>
> I'm not sure to understand.  Could you show me an ECM?  Also, please
> include `org-e-latex-classes' value.
>

I did some more testing, this only happens with subtree export with
org-e-beamer. Try to export the top level tree in the attached org file
with org-e-beamer like this: M-: (org-e-beamer-export-to-LaTeX t) RET.

This works with case-fold-search set to t, however setting it to nil
makes it export with the following header:

  % Created 2012-07-25 Wed 00:40
  \documentclass[11pt]{article}

This is the value of my org-e-latex-classes:

(("beamer" "\\documentclass[presentation]{beamer}"
  ("\\section{%s}" . "\\section*{%s}")
  ("\\subsection{%s}" . "\\subsection*{%s}")
  ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
 ("article" "\\documentclass[11pt]{article}"
  ("\\section{%s}" . "\\section*{%s}")
  ("\\subsection{%s}" . "\\subsection*{%s}")
  ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
  ("\\paragraph{%s}" . "\\paragraph*{%s}")
  ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
 ("report" "\\documentclass[11pt]{report}"
  ("\\part{%s}" . "\\part*{%s}")
  ("\\chapter{%s}" . "\\chapter*{%s}")
  ("\\section{%s}" . "\\section*{%s}")
  ("\\subsection{%s}" . "\\subsection*{%s}")
  ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
 ("book" "\\documentclass[11pt]{book}"
  ("\\part{%s}" . "\\part*{%s}")
  ("\\chapter{%s}" . "\\chapter*{%s}")
  ("\\section{%s}" . "\\section*{%s}")
  ("\\subsection{%s}" . "\\subsection*{%s}")
  ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))

I hope I gave enough info.

Thanks,

--
Suvayu

Open source is the future. It sets us free.

[-- Attachment #2: bug.org --]
[-- Type: text/plain, Size: 1040 bytes --]

#+OPTIONS:   H:1 num:nil toc:nil \n:nil @:t ::t |:t ^:{} -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil


* Lifetime acceptance WG update
  :PROPERTIES:
  :EXPORT_LaTeX_CLASS: beamer
  :EXPORT_LaTeX_CLASS_OPTIONS: [presentation,smaller]
  :EXPORT_FILE_NAME: WG_update.pdf
  :EXPORT_AUTHOR: Suvayu Ali (Nikhef)
  :EXPORT_DATE: 05 June, 2012
  :EXPORT_OPTIONS: H:1 num:nil toc:nil \n:nil @:t ::t |:t ^:{} -:t f:t *:t <:t
  :END:

** Lifetime acceptance fitted to powerlaw
When t \textgreater{} 0.2 ps or t - t$_0$ \textgreater{} 0
\(a_{trig}(t)\), 0 otherwise.
#+begin_latex
  \begin{equation*}
     a_{trig}(t) = 1 - \frac{1}{1+(a(t-t_0))^3}
  \end{equation*}
#+end_latex

** Issues
+ Large correlation:
  #+begin_example
    PARAMETER  CORRELATION COEFFICIENTS  
          NO.  GLOBAL      1      2
           1  0.94798   1.000  0.948
           2  0.94798   0.948  1.000
  #+end_example

+ Work in progress:
  1. Trying alternate parametrisations like Error function
  2. Try binned acceptance function

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

* Re: [bug] org-e-beamer misbehaves when case-fold-search is t
  2012-07-24 22:47     ` Suvayu Ali
@ 2012-07-25  8:16       ` Nicolas Goaziou
  2012-07-27  1:13         ` Suvayu Ali
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2012-07-25  8:16 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: Emacs Org mode

Hello,

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> I did some more testing, this only happens with subtree export with
> org-e-beamer. Try to export the top level tree in the attached org file
> with org-e-beamer like this: M-: (org-e-beamer-export-to-LaTeX t) RET.

Ok, it should be fixed now.  Thank you for the detailed report.


Regards,

-- 
Nicolas Goaziou

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

* Re: [bug] org-e-beamer misbehaves when case-fold-search is t
  2012-07-25  8:16       ` Nicolas Goaziou
@ 2012-07-27  1:13         ` Suvayu Ali
  0 siblings, 0 replies; 6+ messages in thread
From: Suvayu Ali @ 2012-07-27  1:13 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Emacs Org mode

Hi Nicolas,

Apologies for the extremely delayed response. I have an impending
deadline and it was difficult to find the time to test again.

On Wed, Jul 25, 2012 at 10:16:02AM +0200, Nicolas Goaziou wrote:
> Hello,
> 
> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> 
> > I did some more testing, this only happens with subtree export with
> > org-e-beamer. Try to export the top level tree in the attached org file
> > with org-e-beamer like this: M-: (org-e-beamer-export-to-LaTeX t) RET.
> 
> Ok, it should be fixed now.  Thank you for the detailed report.
> 

I can confirm the bug is resolved now. Thanks a lot!

:)

-- 
Suvayu

Open source is the future. It sets us free.

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

end of thread, other threads:[~2012-07-27  1:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-24 16:31 [bug] org-e-beamer misbehaves when case-fold-search is t Suvayu Ali
2012-07-24 16:41 ` suvayu ali
2012-07-24 21:21   ` Nicolas Goaziou
2012-07-24 22:47     ` Suvayu Ali
2012-07-25  8:16       ` Nicolas Goaziou
2012-07-27  1:13         ` Suvayu Ali

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.