* Org-beamer problems @ 2011-01-19 7:03 Bill Moran 2011-01-19 15:55 ` Jeff Horn ` (2 more replies) 0 siblings, 3 replies; 26+ messages in thread From: Bill Moran @ 2011-01-19 7:03 UTC (permalink / raw) To: emacs-orgmode I've been trying to follow the various tutorials on the web to do beamer in org-mode. I've used beamer, latex and emacs for many years but am finding that none of the examples on the web work totally s intended in my attempts to use org-mode with beamer. I have copied verbatim several examples such as from here: http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html#sec-4_1 When I run them I get the following problems - plus others I will go into later if necessary: 1. The title page does not have a title - just the date. When I check the latex file created from the org file I notice that a \maketitle command occurs outside a frame environment - whereas in beamer I normally use \titlepage inside a frame environment to create the titlepage. 2. \alert command does not work - even with the additions to .emacs suggested here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21507.html (And there are no errors in running the .emacs file) Always the @ symbol appears in the latex created from org as @. I wonder whether there is some configuration I am missing. Other aspects of the slides are normal - bullets and frametitles specifically. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Org-beamer problems 2011-01-19 7:03 Org-beamer problems Bill Moran @ 2011-01-19 15:55 ` Jeff Horn 2011-01-19 22:22 ` Henri-Paul Indiogine [not found] ` <AANLkTi=7TkcFBVGc90SkTBHFjKx5j7PgHbia=ZkNRxYS@mail.gmail.com> 2011-01-19 16:36 ` Eric S Fraga 2 siblings, 1 reply; 26+ messages in thread From: Jeff Horn @ 2011-01-19 15:55 UTC (permalink / raw) To: Bill Moran; +Cc: emacs-orgmode What version of org-mode are your running? What version of emacs? If you haven't done so already, try upgrading to the latest version of org and seeing if that solves the problem. =M-x org-version RET= =M-x emacs-version RET= See the latest development version of org: http://orgmode.org/index.html#sec-3_2 On Wed, Jan 19, 2011 at 2:03 AM, Bill Moran <bill1moran@gmail.com> wrote: > I've been trying to follow the various tutorials on the web > to do beamer in org-mode. I've used beamer, latex and emacs > for many years but am finding that none of the examples on > the web work totally s intended in my attempts to use > org-mode with beamer. > > I have copied verbatim several examples such as from here: > > http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html#sec-4_1 > > When I run them I get the following problems - plus others > I will go into later if necessary: > > 1. The title page does not have a title - just the date. > When I check the latex file created from the org file I > notice that a \maketitle command occurs outside a frame environment > - whereas in beamer I normally use \titlepage inside a frame > environment to create the titlepage. > > 2. \alert command does not work - even with the additions to .emacs > suggested here: > http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21507.html > (And there are no errors in running the .emacs file) > Always the @ symbol appears in the latex created from org as @. > > I wonder whether there is some configuration I am missing. > Other aspects of the slides are normal - bullets and > frametitles specifically. > > > > > _______________________________________________ > 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 > -- Jeffrey Horn http://www.failuretorefrain.com/jeff/ ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Org-beamer problems 2011-01-19 15:55 ` Jeff Horn @ 2011-01-19 22:22 ` Henri-Paul Indiogine 2011-01-19 22:33 ` Chris Malone 2011-01-20 8:57 ` Eric S Fraga 0 siblings, 2 replies; 26+ messages in thread From: Henri-Paul Indiogine @ 2011-01-19 22:22 UTC (permalink / raw) To: emacs-org Greetings! I am also having difficulties running Beamer from org-mode. I am running a fully updated Ubuntu with snapshot emacs and a daily updated git version of org-mode. I am not able to get blocks, lists, and colums to work. I have a feeling from Googling quite a bit that the problem is due to some interaction between my org-mode header and .emacs. Unfortunately, the org-mode manual does not state how to configure .emacs for Beamer export. There must be something going on with the levels of headers and the B_Block directive. Basically, I can not get the example to work. Here is the relevant part of my .emacs ------------------------------------------------- (setq org-export-latex-classes '(("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("beamer" "\\documentclass[bigger]{beamer} \\usepackage{verbatim} \\definecolor{verylightgray}{rgb}{0.93,0.93,1.0} \\mode<beamer>{\\usetheme{Madrid}} \\mode<handout>{\\usecolortheme[rgb={0.5,0.5,0.5}]{structure} \\usepackage{pgfpages}} \\usepackage[absolute,overlay]{textpos} \\setlength{\\TPHorizModule}{1mm} \\setlength{\\TPVertModule}{1mm}" ("\\section{%s}" . "\\section*{%s}") ("\\begin{frame}[fragile]\\frametitle{%s}" "\\end{frame}" "\\begin{frame}[fragile]\\frametitle{%s}" "\\end{frame}")) -------------------------------------------------------- The header is the same as from the example. Thanks, Henri-Paul Henri-Paul Indiogine Email: hindiogine@gmail.com Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.3 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Org-beamer problems 2011-01-19 22:22 ` Henri-Paul Indiogine @ 2011-01-19 22:33 ` Chris Malone 2011-01-20 8:57 ` Eric S Fraga 1 sibling, 0 replies; 26+ messages in thread From: Chris Malone @ 2011-01-19 22:33 UTC (permalink / raw) To: hindiogine; +Cc: emacs-org [-- Attachment #1.1: Type: text/plain, Size: 2620 bytes --] Hi Henri-Paul, I'm running =org-version= 7.3 (release_7.3.89.g97f4c.dirty) I don't have anything in my .emacs about the beamer latex class - it just works. The only =org-export-latex-classes= statements that I have are with some latex classes that I have made myself. What does your .tex output look like? Chris On Wed, Jan 19, 2011 at 5:22 PM, Henri-Paul Indiogine <hindiogine@gmail.com>wrote: > Greetings! > > I am also having difficulties running Beamer from org-mode. I am > running a fully updated Ubuntu with snapshot emacs and a daily updated > git version of org-mode. > > I am not able to get blocks, lists, and colums to work. I have a > feeling from Googling quite a bit that the problem is due to some > interaction between my org-mode header and .emacs. > > Unfortunately, the org-mode manual does not state how to configure > .emacs for Beamer export. There must be something going on with the > levels of headers and the B_Block directive. > > Basically, I can not get the example to work. > > Here is the relevant part of my .emacs > > ------------------------------------------------- > (setq org-export-latex-classes > '(("article" "\\documentclass[11pt]{article}" > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}") > ("\\paragraph{%s}" . "\\paragraph*{%s}") > ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) > > ("beamer" "\\documentclass[bigger]{beamer} > \\usepackage{verbatim} > \\definecolor{verylightgray}{rgb}{0.93,0.93,1.0} > \\mode<beamer>{\\usetheme{Madrid}} > > \\mode<handout>{\\usecolortheme[rgb={0.5,0.5,0.5}]{structure} > \\usepackage{pgfpages}} > \\usepackage[absolute,overlay]{textpos} > \\setlength{\\TPHorizModule}{1mm} > \\setlength{\\TPVertModule}{1mm}" > ("\\section{%s}" . "\\section*{%s}") > ("\\begin{frame}[fragile]\\frametitle{%s}" "\\end{frame}" > "\\begin{frame}[fragile]\\frametitle{%s}" "\\end{frame}")) > -------------------------------------------------------- > > The header is the same as from the example. > > Thanks, > Henri-Paul > > > > > Henri-Paul Indiogine > Email: hindiogine@gmail.com > Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.3 > > _______________________________________________ > 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 > [-- Attachment #1.2: Type: text/html, Size: 3595 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Org-beamer problems 2011-01-19 22:22 ` Henri-Paul Indiogine 2011-01-19 22:33 ` Chris Malone @ 2011-01-20 8:57 ` Eric S Fraga 1 sibling, 0 replies; 26+ messages in thread From: Eric S Fraga @ 2011-01-20 8:57 UTC (permalink / raw) To: hindiogine; +Cc: emacs-org Henri-Paul Indiogine <hindiogine@gmail.com> writes: > Greetings! > > I am also having difficulties running Beamer from org-mode. I am > running a fully updated Ubuntu with snapshot emacs and a daily updated > git version of org-mode. > > I am not able to get blocks, lists, and colums to work. I have a > feeling from Googling quite a bit that the problem is due to some > interaction between my org-mode header and .emacs. > > Unfortunately, the org-mode manual does not state how to configure > .emacs for Beamer export. There must be something going on with the > levels of headers and the B_Block directive. You do not need to configure anything for beamer support with recent (since 7.0 but even earlier) versions of org. > Here is the relevant part of my .emacs > > ------------------------------------------------- > (setq org-export-latex-classes [...] > ("beamer" "\\documentclass[bigger]{beamer} This is not needed and will in fact cause problems. The tutorial example on Worg should work out of the box except for the already discussed problems with the @ syntax for alerts. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.223.g71650) ^ permalink raw reply [flat|nested] 26+ messages in thread
[parent not found: <AANLkTi=7TkcFBVGc90SkTBHFjKx5j7PgHbia=ZkNRxYS@mail.gmail.com>]
* Re: Org-beamer problems [not found] ` <AANLkTi=7TkcFBVGc90SkTBHFjKx5j7PgHbia=ZkNRxYS@mail.gmail.com> @ 2011-01-19 15:58 ` John Hendy 0 siblings, 0 replies; 26+ messages in thread From: John Hendy @ 2011-01-19 15:58 UTC (permalink / raw) To: Bill Moran, emacs-orgmode [-- Attachment #1.1: Type: text/plain, Size: 1838 bytes --] Whoops -- skipped the list... On Wed, Jan 19, 2011 at 9:56 AM, John Hendy <jw.hendy@gmail.com> wrote: > > > On Wed, Jan 19, 2011 at 1:03 AM, Bill Moran <bill1moran@gmail.com> wrote: > >> >> 1. The title page does not have a title - just the date. >> When I check the latex file created from the org file I >> notice that a \maketitle command occurs outside a frame environment >> - whereas in beamer I normally use \titlepage inside a frame >> environment to create the titlepage. >> >> > That's interesting. You have a line like this? > > #+TITLE: title_of_doc > > Even if you don't, my compilations have always yielded a default title of > the file name, I believe. > > >> 2. \alert command does not work - even with the additions to .emacs >> suggested here: >> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21507.html >> (And there are no errors in running the .emacs file) >> Always the @ symbol appears in the latex created from org as @. >> > > This type of alert markup, indeed, does not work. This has been asked > before (by me!). See this string: > http://www.mail-archive.com/emacs-orgmode@gnu.org/msg28842.html. > > >> >> I wonder whether there is some configuration I am missing. >> Other aspects of the slides are normal - bullets and >> frametitles specifically. >> > > Would you attach your actual org file? This often helps better than > describing. For example, you mention extracting verbatim examples, but > without seeing the file or pasting it, I'm not sure what your header > arguments look like, and this can affect things quite a bit. > > > Best regards, > John > > >> >> >> >> >> _______________________________________________ >> 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 >> > > [-- Attachment #1.2: Type: text/html, Size: 3307 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Org-beamer problems 2011-01-19 7:03 Org-beamer problems Bill Moran 2011-01-19 15:55 ` Jeff Horn [not found] ` <AANLkTi=7TkcFBVGc90SkTBHFjKx5j7PgHbia=ZkNRxYS@mail.gmail.com> @ 2011-01-19 16:36 ` Eric S Fraga 2011-01-19 21:34 ` Bill Moran 2 siblings, 1 reply; 26+ messages in thread From: Eric S Fraga @ 2011-01-19 16:36 UTC (permalink / raw) To: Bill Moran; +Cc: emacs-orgmode Bill Moran <bill1moran@gmail.com> writes: > I've been trying to follow the various tutorials on the web > to do beamer in org-mode. I've used beamer, latex and emacs > for many years but am finding that none of the examples on > the web work totally s intended in my attempts to use > org-mode with beamer. > > I have copied verbatim several examples such as from here: > > http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html#sec-4_1 > > When I run them I get the following problems - plus others > I will go into later if necessary: > > 1. The title page does not have a title - just the date. > When I check the latex file created from the org file I > notice that a \maketitle command occurs outside a frame environment > - whereas in beamer I normally use \titlepage inside a frame > environment to create the titlepage. My immediate response would be to ask why you aren't using \maketitle given that the command is beamer-aware? That is, \maketitle will create a title page whose format is defined by the beamer theme you have selected. Otherwise, you could always customise =org-export-latex-title-command= to nothing and use direct latex code to do what you want: --8<---------------cut here---------------start------------->8--- #+begin_latex \begin{frame} \titlepage \end{frame} #+end_latex --8<---------------cut here---------------end--------------->8--- I've not tried this. > 2. \alert command does not work - even with the additions to .emacs > suggested here: > http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21507.html > (And there are no errors in running the .emacs file) > Always the @ symbol appears in the latex created from org as @. Can you tell us exactly what you have done to customise the relevant variables and where you have done these customisations? Difficult to help without this information unfortunately. While we're at it, org and emacs version information is also helpful. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.221.g4007c) ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Org-beamer problems 2011-01-19 16:36 ` Eric S Fraga @ 2011-01-19 21:34 ` Bill Moran 2011-01-19 22:02 ` Chris Malone ` (2 more replies) 0 siblings, 3 replies; 26+ messages in thread From: Bill Moran @ 2011-01-19 21:34 UTC (permalink / raw) To: emacs-orgmode HI Eric, John, Jeff and Birch Eric S Fraga <e.fraga <at> ucl.ac.uk> writes: > > My immediate response would be to ask why you aren't using \maketitle > given that the command is beamer-aware? That is, \maketitle will create > a title page whose format is defined by the beamer theme you have > selected. Otherwise, you could always customise > =org-export-latex-title-command= to nothing and use direct latex code to > do what you want: > > --8<---------------cut here---------------start------------->8--- > #+begin_latex > \begin{frame} \titlepage \end{frame} > #+end_latex > --8<---------------cut here---------------end--------------->8--- > > I've not tried this. > > > 2. \alert command does not work - even with the additions to .emacs > > suggested here: > > http://www.mail-archive.com/emacs-orgmode <at> gnu.org/msg21507.html > > (And there are no errors in running the .emacs file) > > Always the @ symbol appears in the latex created from org as @. > > Can you tell us exactly what you have done to customise the relevant > variables and where you have done these customisations? Difficult to > help without this information unfortunately. While we're at it, org and > emacs version information is also helpful. > > Thanks for all of your responses and for taking the time to help me. I'll try to answer your questions. As far as possible I use the "stock" ubuntu (maverick - 10.10) repositories for emacs and its associated software. So I'm using emacs 23.1.1 and org-mode 6.36c. The version of beamer I'm using, as described in the repositories, is latex-beamer 3.07-2ubuntu1. I am aware that there are more recent versions available - particularly of org-mode - but was trying to keep things simple. Let me also say that my aim was to arrive at an understanding of how to use org-mode for slide creation - since I do a lot of that - rather than to compose a specific set of slides. I realise that I could use direct latex code to solve the problems but that wasn't the point of the exercise. I've read more since I sent the email and now realise that the issues I brought up have been discussed earlier and where I can I've tried to use the proposed solutions. In particular I have this in my .emacs: (setq org-emphasis-alist (quote (("*" bold "<b>" "</b>") ("/" italic "<i>" "</i>") ("_" underline "<span style=\"text-decoration:underline;\">" "</span>") ("=" org-code "<code>" "</code>" verbatim) ("~" org-verbatim "<code>" "</code>" verbatim) ("+" (:strike-through t) "<del>" "</del>") ("@" org-warning "<b>" "</b>"))) org-export-latex-emphasis-alist (quote (("*" "\\textbf{%s}" nil) ("/" "\\emph{%s}" nil) ("_" "\\underline{%s}" nil) ("+" "\\texttt{%s}" nil) ("=" "\\verb=%s=" nil) ("~" "\\verb~%s~" t) ("@" "\\alert{%s}" nil))) ) from a solution to the @ problem proposed by Eric somewhere. And I understand that I can use \maketitle normally to produce a title page in beamer - just tried on a hand-crafted (in emacs) latex-beamer file using my set up. To keep this email as brief as possible, let's take this snippet (verbatim) of an example from Eric: ----------------------------------start----------------------------------- #+TITLE: Writing Beamer presentations in org-mode #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+DATE: 2010-03-30 Tue #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+startup: oddeven #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [bigger] #+latex_header: \mode<beamer>{\usetheme{Madrid}} #+BEAMER_FRAME_LEVEL: 2 #+COLUMNS: %20ITEM %13BEAMER_env(Env) %6BEAMER_envargs(Args) %4BEAMER_col(Col) %7BEAMER_extra(Extra) * Methodology ** A simple slide This slide consists of some text with a number of bullet points: - the first, very @important@, point! - the previous point shows the use of the special markup which translates to the Beamer specific /alert/ command for highlighting text. The above list could be numbered or any other type of list and may include sub-lists. ---------------------------end---------------------------------------- When I do "C-c C-e p" to create the pdf file I get 3 slides. The first is a title page but has no title - only the date. The second is an outline (toc) slide as expected and the third is again as expected except that @important@ is not rendered as \alert{important}. The latex created by "C-c C-e l" is ---------------------------start---------------------------------------- % Created 2011-01-20 Thu 08:18 \documentclass[bigger]{beamer} \mode<{{{beamermode}}}> \usetheme{{{{beamertheme}}}} \usecolortheme{{{{beamercolortheme}}}} \beamertemplateballitem \setbeameroption{show notes} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{hyperref} \usepackage{color} \usepackage{listings} \lstset{numbers=none,language=[ISO]C++,tabsize=4, frame=single, basicstyle=\small, showspaces=false,showstringspaces=false, showtabs=false, keywordstyle=\color{blue}\bfseries, commentstyle=\color{red}, } \usepackage{verbatim} \institute{{{{beamerinstitute}}}} \subject{{{{beamersubject}}}} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{t1enc} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \mode<beamer>{\usetheme{Madrid}} \providecommand{\alert}[1]{\textbf{#1}} \title{Writing Beamer presentations in org-mode} \author{Eric S Fraga} \date{2010-03-30 Tue} \begin{document} \maketitle \begin{frame} \frametitle{Outline} \setcounter{tocdepth}{3} \tableofcontents \end{frame} \section{Methodology} \label{sec-1} \begin{frame}[fragile]\frametitle{A simple slide} \label{sec-1_1} This slide consists of some text with a number of bullet points: \begin{itemize} \item the first, very @important@, point! \item the previous point shows the use of the special markup which translates to the Beamer specific \emph{alert} command for highlighting text. \end{itemize} The above list could be numbered or any other type of list and may include sub-lists. \end{frame} \end{document} ----------------------------------end----------------------------------- and running pdflatex on this produces an identical result to "C-c C-e p" on the org file - as it should. I'm not sure I've answered all of your questions but perhaps this is enough to suggest a solution or refine the questions. Many thanks for your time! Bill ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-19 21:34 ` Bill Moran @ 2011-01-19 22:02 ` Chris Malone 2011-01-19 22:43 ` Bill Moran 2011-01-19 22:20 ` Jeff Horn 2011-01-20 8:52 ` Eric S Fraga 2 siblings, 1 reply; 26+ messages in thread From: Chris Malone @ 2011-01-19 22:02 UTC (permalink / raw) To: Bill Moran; +Cc: emacs-orgmode [-- Attachment #1.1: Type: text/plain, Size: 8483 bytes --] Hi Bill, I would try upgrading to a newer version of =org-mode= - a lot of things have been improved since the writing of the version you have. By default, in the newer versions, the \maketitle command should be added to the beginning of your .tex file automatically. Upgrade and see if this fixes things. Chris On Wed, Jan 19, 2011 at 4:34 PM, Bill Moran <bill1moran@gmail.com> wrote: > HI Eric, John, Jeff and Birch > > > Eric S Fraga <e.fraga <at> ucl.ac.uk> writes: > > > > > My immediate response would be to ask why you aren't using \maketitle > > given that the command is beamer-aware? That is, \maketitle will create > > a title page whose format is defined by the beamer theme you have > > selected. Otherwise, you could always customise > > =org-export-latex-title-command= to nothing and use direct latex code to > > do what you want: > > > > --8<---------------cut here---------------start------------->8--- > > #+begin_latex > > \begin{frame} \titlepage \end{frame} > > #+end_latex > > --8<---------------cut here---------------end--------------->8--- > > > > I've not tried this. > > > > > 2. \alert command does not work - even with the additions to .emacs > > > suggested here: > > > http://www.mail-archive.com/emacs-orgmode <at> gnu.org/msg21507.html > > > (And there are no errors in running the .emacs file) > > > Always the @ symbol appears in the latex created from org as @. > > > > Can you tell us exactly what you have done to customise the relevant > > variables and where you have done these customisations? Difficult to > > help without this information unfortunately. While we're at it, org and > > emacs version information is also helpful. > > > > > > > > > Thanks for all of your responses and for taking the time to help me. I'll > try to > answer your questions. As far as possible I use the "stock" ubuntu > (maverick - > 10.10) repositories for emacs and its associated software. So I'm using > emacs > 23.1.1 and org-mode 6.36c. The version of beamer I'm using, as described in > the > repositories, is latex-beamer 3.07-2ubuntu1. I am aware that there are > more > recent versions available - particularly of org-mode - but was trying to > keep > things simple. > > Let me also say that my aim was to arrive at an understanding of how to > use > org-mode for slide creation - since I do a lot of that - rather than to > compose > a specific set of slides. I realise that I could use direct latex code to > solve > the problems but that wasn't the point of the exercise. > > I've read more since I sent the email and now realise that the issues I > brought > up have been discussed earlier and where I can I've tried to use the > proposed > solutions. In particular I have this in my .emacs: > > > (setq org-emphasis-alist (quote (("*" bold "<b>" "</b>") > ("/" italic "<i>" "</i>") > ("_" underline "<span > style=\"text-decoration:underline;\">" "</span>") > ("=" org-code "<code>" "</code>" verbatim) > ("~" org-verbatim "<code>" "</code>" > verbatim) > ("+" (:strike-through t) "<del>" "</del>") > ("@" org-warning "<b>" "</b>"))) > org-export-latex-emphasis-alist (quote > (("*" "\\textbf{%s}" nil) > ("/" "\\emph{%s}" nil) > ("_" "\\underline{%s}" nil) > ("+" "\\texttt{%s}" nil) > ("=" "\\verb=%s=" nil) > ("~" "\\verb~%s~" t) > ("@" "\\alert{%s}" nil))) > ) > > from a solution to the @ problem proposed by Eric somewhere. And I > understand > that I can use \maketitle normally to produce a title page in beamer - just > tried on a hand-crafted (in emacs) latex-beamer file using my set up. > > To keep this email as brief as possible, let's take this snippet (verbatim) > of > an example from Eric: > > ----------------------------------start----------------------------------- > #+TITLE: Writing Beamer presentations in org-mode > #+AUTHOR: Eric S Fraga > #+EMAIL: e.fraga@ucl.ac.uk > #+DATE: 2010-03-30 Tue > #+DESCRIPTION: > #+KEYWORDS: > #+LANGUAGE: en > #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t > #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc > #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 > path:http://orgmode.org/org-info.js > #+EXPORT_SELECT_TAGS: export > #+EXPORT_EXCLUDE_TAGS: noexport > #+LINK_UP: > #+LINK_HOME: > > #+startup: oddeven > > #+startup: beamer > #+LaTeX_CLASS: beamer > #+LaTeX_CLASS_OPTIONS: [bigger] > #+latex_header: \mode<beamer>{\usetheme{Madrid}} > #+BEAMER_FRAME_LEVEL: 2 > > #+COLUMNS: %20ITEM %13BEAMER_env(Env) %6BEAMER_envargs(Args) > %4BEAMER_col(Col) > %7BEAMER_extra(Extra) > > * Methodology > > ** A simple slide > This slide consists of some text with a number of bullet points: > - the first, very @important@, point! > - the previous point shows the use of the special markup which > translates to the Beamer specific /alert/ command for highlighting > text. > The above list could be numbered or any other type of list and may > include sub-lists. > ---------------------------end---------------------------------------- > > When I do "C-c C-e p" to create the pdf file I get 3 slides. The first is a > title page but has no title - only the date. The second is an outline (toc) > slide as expected and the third is again as expected except that > @important@ is > not rendered as \alert{important}. > > > The latex created by "C-c C-e l" is > > ---------------------------start---------------------------------------- > % Created 2011-01-20 Thu 08:18 > \documentclass[bigger]{beamer} > > \mode<{{{beamermode}}}> > > \usetheme{{{{beamertheme}}}} > > \usecolortheme{{{{beamercolortheme}}}} > > \beamertemplateballitem > > \setbeameroption{show notes} > \usepackage[utf8]{inputenc} > > \usepackage[T1]{fontenc} > > \usepackage{hyperref} > > \usepackage{color} > \usepackage{listings} > \lstset{numbers=none,language=[ISO]C++,tabsize=4, > frame=single, > basicstyle=\small, > showspaces=false,showstringspaces=false, > showtabs=false, > keywordstyle=\color{blue}\bfseries, > commentstyle=\color{red}, > } > > \usepackage{verbatim} > > \institute{{{{beamerinstitute}}}} > > \subject{{{{beamersubject}}}} > > \usepackage[utf8]{inputenc} > \usepackage[T1]{fontenc} > \usepackage{fixltx2e} > \usepackage{graphicx} > \usepackage{longtable} > \usepackage{float} > \usepackage{wrapfig} > \usepackage{soul} > \usepackage{t1enc} > \usepackage{textcomp} > \usepackage{marvosym} > \usepackage{wasysym} > \usepackage{latexsym} > \usepackage{amssymb} > \usepackage{hyperref} > \tolerance=1000 > \mode<beamer>{\usetheme{Madrid}} > \providecommand{\alert}[1]{\textbf{#1}} > > \title{Writing Beamer presentations in org-mode} > \author{Eric S Fraga} > \date{2010-03-30 Tue} > > \begin{document} > > \maketitle > > \begin{frame} > \frametitle{Outline} > \setcounter{tocdepth}{3} > \tableofcontents > \end{frame} > > > > > \section{Methodology} > \label{sec-1} > \begin{frame}[fragile]\frametitle{A simple slide} > \label{sec-1_1} > > This slide consists of some text with a number of bullet points: > \begin{itemize} > \item the first, very @important@, point! > \item the previous point shows the use of the special markup which > translates to the Beamer specific \emph{alert} command for highlighting > text. > \end{itemize} > > The above list could be numbered or any other type of list and may > include sub-lists. > \end{frame} > > \end{document} > ----------------------------------end----------------------------------- > > and running pdflatex on this produces an identical result to "C-c C-e p" on > the > org file - as it should. > > > > I'm not sure I've answered all of your questions but perhaps this is enough > to > suggest a solution or refine the questions. > > Many thanks for your time! > > Bill > > > > > > > > > _______________________________________________ > 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 > [-- Attachment #1.2: Type: text/html, Size: 10637 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Org-beamer problems 2011-01-19 22:02 ` Chris Malone @ 2011-01-19 22:43 ` Bill Moran 2011-01-19 22:48 ` Chris Malone 2011-01-20 8:54 ` Eric S Fraga 0 siblings, 2 replies; 26+ messages in thread From: Bill Moran @ 2011-01-19 22:43 UTC (permalink / raw) To: emacs-orgmode Hi Chris, Jeff Chris Malone <chris.m.malone <at> gmail.com> writes: > > > Hi Bill,I would try upgrading to a newer version of =org-mode= - a lot of things have been improved since the writing of the version you have. By default, in the newer versions, the \maketitle command should be added to the beginning of your .tex file automatically. Upgrade and see if this fixes things.Chris Upgraded to the latest .deb version of org-mode - 7.4 - and that solved the title problem - but not the @ problem. Thanks Bill > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode <at> gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-19 22:43 ` Bill Moran @ 2011-01-19 22:48 ` Chris Malone 2011-01-20 8:54 ` Eric S Fraga 1 sibling, 0 replies; 26+ messages in thread From: Chris Malone @ 2011-01-19 22:48 UTC (permalink / raw) To: Bill Moran; +Cc: emacs-orgmode [-- Attachment #1.1: Type: text/plain, Size: 1317 bytes --] Hi Bill, I too have never found a good solution for the @ problem, but as Eric mentioned there has been some talk about his problem recently in the message list. Glad to hear updating fixed the other issues. Chris On Wed, Jan 19, 2011 at 5:43 PM, Bill Moran <bill1moran@gmail.com> wrote: > Hi Chris, Jeff > > Chris Malone <chris.m.malone <at> gmail.com> writes: > > > > > > > Hi Bill,I would try upgrading to a newer version of =org-mode= - a lot of > things have been improved since the writing of the version you have. By > default, in the newer versions, the \maketitle command should be added to > the > beginning of your .tex file automatically. Upgrade and see if this fixes > things.Chris > > > > Upgraded to the latest .deb version of org-mode - 7.4 - and that solved the > title problem - but not the @ problem. > > Thanks > > Bill > > > > > > > > > > _______________________________________________ > > Emacs-orgmode mailing list > > Please use `Reply All' to send replies to the list. > > Emacs-orgmode <at> gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > > > > > > _______________________________________________ > 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 > [-- Attachment #1.2: Type: text/html, Size: 2179 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-19 22:43 ` Bill Moran 2011-01-19 22:48 ` Chris Malone @ 2011-01-20 8:54 ` Eric S Fraga 2011-01-20 19:33 ` Henri-Paul Indiogine ` (2 more replies) 1 sibling, 3 replies; 26+ messages in thread From: Eric S Fraga @ 2011-01-20 8:54 UTC (permalink / raw) To: Bill Moran; +Cc: emacs-orgmode Bill Moran <bill1moran@gmail.com> writes: [...] > Upgraded to the latest .deb version of org-mode - 7.4 - and that solved the > title problem - but not the @ problem. Excellent re: title problem! Regarding the @ problem, where and how do you make the settings. As I have said on this list recently, I find that I have to set the variables concerned *before* I load org (through =(require 'org-install)=) or otherwise the regular expressions that use these variables are initialised incorrectly (I believe this is the root cause of the problem). -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.223.g71650) ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-20 8:54 ` Eric S Fraga @ 2011-01-20 19:33 ` Henri-Paul Indiogine 2011-01-21 9:05 ` Eric S Fraga 2011-01-20 21:12 ` Bill Moran 2011-01-21 18:57 ` Henri-Paul Indiogine 2 siblings, 1 reply; 26+ messages in thread From: Henri-Paul Indiogine @ 2011-01-20 19:33 UTC (permalink / raw) To: emacs-orgmode Hi Eric! Eric S Fraga <e.fraga@ucl.ac.uk> writes: > Regarding the @ problem, where and how do you make the settings. As I > have said on this list recently, I find that I have to set the variables > concerned *before* I load org (through =(require 'org-install)=) or > otherwise the regular expressions that use these variables are > initialised incorrectly (I believe this is the root cause of the > problem). The @ problem is the only one that I have not been able to fix. The first lines in my .emacs re. orgmode section are: (setq load-path (cons "~/elisp/org-mode/lisp" load-path)) (require 'org-install) (setq initial-major-mode 'org-mode) (setq org-directory "~/Dropbox/org/") then I have code for org-capture, tags, and then about latex export: (setq org-export-latex-packages-alist '(("" "color") ("" "hyperref") ("" "apacite") ("" "tikz"))) (require 'org-latex) and then other org-mode stuff: faces, org-mobile, .... I noticed that org-latex.el does not have the line: ("@" "\\alert{%s}" nil) so I added it manually to (defcustom org-export-latex-emphasis-alist ... but nothing happens. Thanks, Henri-Paul -- Henri-Paul Indiogine Email: hindiogine@gmail.com Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.3 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-20 19:33 ` Henri-Paul Indiogine @ 2011-01-21 9:05 ` Eric S Fraga 0 siblings, 0 replies; 26+ messages in thread From: Eric S Fraga @ 2011-01-21 9:05 UTC (permalink / raw) To: hindiogine; +Cc: emacs-orgmode Henri-Paul Indiogine <hindiogine@gmail.com> writes: > Hi Eric! > > Eric S Fraga <e.fraga@ucl.ac.uk> writes: >> Regarding the @ problem, where and how do you make the settings. As I >> have said on this list recently, I find that I have to set the variables >> concerned *before* I load org (through =(require 'org-install)=) or >> otherwise the regular expressions that use these variables are >> initialised incorrectly (I believe this is the root cause of the >> problem). > > The @ problem is the only one that I have not been able to fix. > > The first lines in my .emacs re. orgmode section are: > > (setq load-path (cons "~/elisp/org-mode/lisp" load-path)) > (require 'org-install) > (setq initial-major-mode 'org-mode) > (setq org-directory "~/Dropbox/org/") > > > then I have code for org-capture, tags, and then about latex export: > > (setq org-export-latex-packages-alist > '(("" "color") > ("" "hyperref") > ("" "apacite") > ("" "tikz"))) > > (require 'org-latex) > > and then other org-mode stuff: faces, org-mobile, .... > > I noticed that org-latex.el does not have the line: > > ("@" "\\alert{%s}" nil) > > so I added it manually to > > (defcustom org-export-latex-emphasis-alist ... > > but nothing happens. > > > Thanks, > Henri-Paul See followup message [1] by Bill Moran on this list which confirms what I have said above. You have to change the values of the relevant variables *before* you load org. eric Footnotes: [1] I'm offline so cannot give you a link but the message has: Message-ID: <AANLkTinpd=aJTCXuhZ2WyjbBBUk5Y+sQgXexxRP8+SxW@mail.gmail.com> -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.228.gdcfee) ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-20 8:54 ` Eric S Fraga 2011-01-20 19:33 ` Henri-Paul Indiogine @ 2011-01-20 21:12 ` Bill Moran 2011-01-21 18:57 ` Henri-Paul Indiogine 2 siblings, 0 replies; 26+ messages in thread From: Bill Moran @ 2011-01-20 21:12 UTC (permalink / raw) To: Eric S Fraga; +Cc: emacs-orgmode [-- Attachment #1.1: Type: text/plain, Size: 740 bytes --] > > Regarding the @ problem, where and how do you make the settings. As I > have said on this list recently, I find that I have to set the variables > concerned *before* I load org (through =(require 'org-install)=) or > otherwise the regular expressions that use these variables are > initialised incorrectly (I believe this is the root cause of the > problem). > > -- > : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 > : using Org-mode version 7.4 (release_7.4.223.g71650) > > Thanks Eric - I've done as you suggested and that works for @. Now to blocks and columns which are also not working - I suspect another upgrade of org-mode. Bill ---------------------------------------------------------------------------- [-- Attachment #1.2: Type: text/html, Size: 1059 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-20 8:54 ` Eric S Fraga 2011-01-20 19:33 ` Henri-Paul Indiogine 2011-01-20 21:12 ` Bill Moran @ 2011-01-21 18:57 ` Henri-Paul Indiogine 2011-01-21 20:54 ` Eric S Fraga 2 siblings, 1 reply; 26+ messages in thread From: Henri-Paul Indiogine @ 2011-01-21 18:57 UTC (permalink / raw) To: emacs-orgmode Hi Eric! Eric S Fraga <e.fraga@ucl.ac.uk> writes: > Regarding the @ problem, where and how do you make the settings. As I > have said on this list recently, I find that I have to set the variables > concerned *before* I load org (through =(require 'org-install)=) or > otherwise the regular expressions that use these variables are > initialised incorrectly (I believe this is the root cause of the > problem). I am not getting this. Sorry for being dense. Here is the relevant code from my .emacs ;; ;; BEGIN org-mode ;; (setq org-export-latex-emphasis-alist (quote (("*" "\\textbf{%s}" nil) ("/" "\\emph{%s}" nil) ("_" "\\underline{%s}" nil) ("+" "\\texttt{%s}" nil) ("=" "\\verb=%s=" nil) ("~" "\\verb~%s~" t) ("@" "\\alert{%s}" nil)))) (setq load-path (cons "~/elisp/org-mode/lisp" load-path)) (require 'org-install) ........ (require 'org-latex) I restart emacs and still my @important@ is not processed. I also would like to know how to create blocks without title and how to avoid "Example(my-title)" in the example blocks. I just would like to have the "my-title". Thanks, Henri-Paul -- Henri-Paul Indiogine Email: hindiogine@gmail.com Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.4 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-21 18:57 ` Henri-Paul Indiogine @ 2011-01-21 20:54 ` Eric S Fraga 2011-01-21 21:25 ` Henri-Paul Indiogine 0 siblings, 1 reply; 26+ messages in thread From: Eric S Fraga @ 2011-01-21 20:54 UTC (permalink / raw) To: hindiogine; +Cc: emacs-orgmode Henri-Paul Indiogine <hindiogine@gmail.com> writes: > Hi Eric! > > Eric S Fraga <e.fraga@ucl.ac.uk> writes: >> Regarding the @ problem, where and how do you make the settings. As I >> have said on this list recently, I find that I have to set the variables >> concerned *before* I load org (through =(require 'org-install)=) or >> otherwise the regular expressions that use these variables are >> initialised incorrectly (I believe this is the root cause of the >> problem). > > I am not getting this. Sorry for being dense. Here is the relevant > code from my .emacs > > ;; > ;; BEGIN org-mode > ;; > (setq org-export-latex-emphasis-alist (quote > (("*" "\\textbf{%s}" nil) > ("/" "\\emph{%s}" nil) > ("_" "\\underline{%s}" nil) > ("+" "\\texttt{%s}" nil) > ("=" "\\verb=%s=" nil) > ("~" "\\verb~%s~" t) > ("@" "\\alert{%s}" nil)))) You need to also set =org-emphasis-alist=. I have: --8<---------------cut here---------------start------------->8--- (setq org-emphasis-alist (quote (("*" bold "<b>" "</b>") ("/" italic "<i>" "</i>") ("_" underline "<span style=\"text-decoration:underline;\">" "</span>") ("=" org-code "<code>" "</code>" verbatim) ("~" org-verbatim "<code>" "</code>" verbatim) ("+" (:strike-through t) "<del>" "</del>") ("@" org-warning "<b>" "</b>"))) org-export-latex-emphasis-alist (quote (("*" "\\textbf{%s}" nil) ("/" "\\emph{%s}" nil) ("_" "\\underline{%s}" nil) ("+" "\\texttt{%s}" nil) ("=" "\\verb=%s=" nil) ("~" "\\verb~%s~" t) ("@" "\\alert{%s}" nil))) ) --8<---------------cut here---------------end--------------->8--- Try that and let us know how it goes. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879) ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-21 20:54 ` Eric S Fraga @ 2011-01-21 21:25 ` Henri-Paul Indiogine 2011-01-21 23:39 ` Eric S Fraga 0 siblings, 1 reply; 26+ messages in thread From: Henri-Paul Indiogine @ 2011-01-21 21:25 UTC (permalink / raw) To: Eric S Fraga; +Cc: emacs-orgmode Eric S Fraga <e.fraga@ucl.ac.uk> writes: > > You need to also set =org-emphasis-alist=. I have: I missed that completely. Yes, now it works. Thanks a bunch! Well, now I am wondering how to create blocks without title In plain LaTeX that would be: \begin{block}{} blah, blah \end{block} It seems that org-mode wants a title and thus needs some text within the second pair of {} in \begin{block}{} Another issue that I am having is with the example block In plain LaTeX : \begin{exampleblock}{} ..... \end{exampleblock} But org-mode exports: \begin{example}[Test example block] ...... \end{example} Again, it would be nice to have empty block titles. Thanks, Henri-Paul -- Henri-Paul Indiogine Email: hindiogine@gmail.com Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.4 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-21 21:25 ` Henri-Paul Indiogine @ 2011-01-21 23:39 ` Eric S Fraga 0 siblings, 0 replies; 26+ messages in thread From: Eric S Fraga @ 2011-01-21 23:39 UTC (permalink / raw) To: hindiogine; +Cc: emacs-orgmode Henri-Paul Indiogine <hindiogine@gmail.com> writes: > Eric S Fraga <e.fraga@ucl.ac.uk> writes: >> >> You need to also set =org-emphasis-alist=. I have: > > I missed that completely. Yes, now it works. Thanks a bunch! > > > Well, now I am wondering how to create blocks without title > > In plain LaTeX that would be: > > \begin{block}{} > blah, blah > \end{block} > > > It seems that org-mode wants a title and thus needs some text within the > second pair of {} in \begin{block}{} You can cheat using some latex...: --8<---------------cut here---------------start------------->8--- ** A second slide #+latex: \newcommand{\nothing}{} *** \nothing :B_block: :PROPERTIES: :BEAMER_env: block :END: This block has no heading, just some text. --8<---------------cut here---------------end--------------->8--- and I'm sure some latex expert could improve on this dramatically... > Another issue that I am having is with the example block > > In plain LaTeX : > > \begin{exampleblock}{} > ..... > \end{exampleblock} > > > But org-mode exports: > > \begin{example}[Test example block] > ...... > \end{example} > > > Again, it would be nice to have empty block titles. Same trick should apply. But I should say again that org /= latex and if you really want the full power of latex, you should use that directly. IMO, of course. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879) ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-19 21:34 ` Bill Moran 2011-01-19 22:02 ` Chris Malone @ 2011-01-19 22:20 ` Jeff Horn 2011-01-20 8:52 ` Eric S Fraga 2 siblings, 0 replies; 26+ messages in thread From: Jeff Horn @ 2011-01-19 22:20 UTC (permalink / raw) To: Bill Moran; +Cc: emacs-orgmode I have tried the snippet on my end. I cannot reproduce this bug. Org-mode version 7.4 (release_7.4.165.gca0e6) GNU Emacs 24.0.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2011-01-14 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev I highly recommend upgrading org-mode. It is perhaps the cheapest solution, if it indeed fixes the problem. -- Jeffrey Horn http://www.failuretorefrain.com/jeff/ ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: Org-beamer problems 2011-01-19 21:34 ` Bill Moran 2011-01-19 22:02 ` Chris Malone 2011-01-19 22:20 ` Jeff Horn @ 2011-01-20 8:52 ` Eric S Fraga 2 siblings, 0 replies; 26+ messages in thread From: Eric S Fraga @ 2011-01-20 8:52 UTC (permalink / raw) To: Bill Moran; +Cc: emacs-orgmode Bill Moran <bill1moran@gmail.com> writes: > HI Eric, John, Jeff and Birch > > > Eric S Fraga <e.fraga <at> ucl.ac.uk> writes: > >> >> My immediate response would be to ask why you aren't using \maketitle >> given that the command is beamer-aware? That is, \maketitle will create [...] > Let me also say that my aim was to arrive at an understanding of how to use > org-mode for slide creation - since I do a lot of that - rather than to compose > a specific set of slides. I realise that I could use direct latex code to solve > the problems but that wasn't the point of the exercise. Yes, sorry, I didn't write my response very well at all. I wasn't implying that beamer could not do what you wanted, only that you could resort to latex if you definitely wanted to have a very specific solution. My point was that beamer generates \maketitle and that this works just fine (for me) in beamer so that there is no need to use the latex construct I wrote which is what you implied you were using in latex directly. [...] > To keep this email as brief as possible, let's take this snippet (verbatim) of > an example from Eric: [...] > When I do "C-c C-e p" to create the pdf file I get 3 slides. The first is a > title page but has no title - only the date. The second is an outline (toc) > slide as expected and the third is again as expected except that @important@ is > not rendered as \alert{important}. but this all works for me. As others have said, upgrade your org version (which *is* rather old unfortunately). -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.223.g71650) ^ permalink raw reply [flat|nested] 26+ messages in thread
* Org-beamer problems @ 2011-01-21 2:31 Bill Moran 2011-01-21 21:11 ` Eric S Fraga 0 siblings, 1 reply; 26+ messages in thread From: Bill Moran @ 2011-01-21 2:31 UTC (permalink / raw) To: emacs-orgmode I have installed the latest (git) version of org-mode and have stripped out all customizations from I think. I've copied Eric's two column example from here http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html with the headers given there. And I can't get either blocks or columns to work. There is no block or column command in the latex produced from the org file. I guess it's something to do with the value of the variable org-export-latex-classes but have been unable to find a statement of what that should be. I think I've undone all customizations of that variable from earlier attempts but can't be sure. Thanks for your help. Bill ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Org-beamer problems 2011-01-21 2:31 Bill Moran @ 2011-01-21 21:11 ` Eric S Fraga 2011-01-21 22:29 ` Bill Moran 2011-01-21 23:25 ` Eric S Fraga 0 siblings, 2 replies; 26+ messages in thread From: Eric S Fraga @ 2011-01-21 21:11 UTC (permalink / raw) To: Bill Moran; +Cc: emacs-orgmode Bill Moran <bill1moran@gmail.com> writes: > I have installed the latest (git) version of org-mode and have stripped out all > customizations from I think. I've copied Eric's two column example from here > > http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html > > with the headers given there. And I can't get either blocks or columns to work. > There is no block or column command in the latex produced from the org > file. I have no idea what is going on but I can confirm that something is missing. If I start emacs with -Q, execute the following #+begin_src emacs-lisp (add-to-list 'load-path "~/git/org-mode/lisp") (require 'org-install) (require 'org-latex) #+end_src visit the small beamer test file I sent to the list earlier today and export to latex, I get only the title page and the empty outline. Nothing else. If I start up with my full initialisation, everything works just fine. I've gone through my initialisation by eye and cannot see anything that would make a difference. I will need to go through this more carefully as I have many customisations, not only for org... > I guess it's something to do with the value of the variable > > org-export-latex-classes I don't think so. Although I do customise mine, if I include this in the above test (-Q start), it makes no difference. I do not change the "beamer" entry in any case. I will play around later tonight and will get back to you then. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879) ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Org-beamer problems 2011-01-21 21:11 ` Eric S Fraga @ 2011-01-21 22:29 ` Bill Moran 2011-01-21 23:25 ` Eric S Fraga 1 sibling, 0 replies; 26+ messages in thread From: Bill Moran @ 2011-01-21 22:29 UTC (permalink / raw) To: Eric S Fraga; +Cc: emacs-orgmode [-- Attachment #1.1: Type: text/plain, Size: 2670 bytes --] Hi Eric I've just tried with the totally minimal customization you suggest below - and your two-column slide which I had already set up ( I haven't had time to go to the website yet and download the one you suggest). Now columns are working in some fashion but apparently not blocks. The two column slide is spread across two slides each with one column. I'll work on it some more later - and test your slide on the website. So something else in my emacs customization - which is pretty extensive but (since yesterday) has nothing other than vanilla for org-mode (just paths and your org-emphasis-alist ) - is causing a problem in producing the columns. I'll go through this later too and see if I can find it. Thanks Bill On Sat, Jan 22, 2011 at 8:11 AM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote: > Bill Moran <bill1moran@gmail.com> writes: > > > I have installed the latest (git) version of org-mode and have stripped > out all > > customizations from I think. I've copied Eric's two column example from > here > > > > http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html > > > > with the headers given there. And I can't get either blocks or columns to > work. > > There is no block or column command in the latex produced from the org > > file. > > I have no idea what is going on but I can confirm that something is > missing. If I start emacs with -Q, execute the following > > #+begin_src emacs-lisp > (add-to-list 'load-path "~/git/org-mode/lisp") > (require 'org-install) > (require 'org-latex) > #+end_src > > visit the small beamer test file I sent to the list earlier today and > export to latex, I get only the title page and the empty outline. > Nothing else. > > If I start up with my full initialisation, everything works just fine. > > I've gone through my initialisation by eye and cannot see anything that > would make a difference. I will need to go through this more carefully > as I have many customisations, not only for org... > > > I guess it's something to do with the value of the variable > > > > org-export-latex-classes > > I don't think so. Although I do customise mine, if I include this in > the above test (-Q start), it makes no difference. I do not change the > "beamer" entry in any case. > > I will play around later tonight and will get back to you then. > > -- > : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 > : using Org-mode version 7.4 (release_7.4.231.ge879) > -- Bill Moran Melbourne Systems Laboratory Dept of Electrical & Electronic Engineering University of Melbourne Parkville, VIC 3010 Australia ---------------------------------------------------------------------------- [-- Attachment #1.2: Type: text/html, Size: 3471 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Org-beamer problems 2011-01-21 21:11 ` Eric S Fraga 2011-01-21 22:29 ` Bill Moran @ 2011-01-21 23:25 ` Eric S Fraga 2011-01-22 2:52 ` Bill Moran 1 sibling, 1 reply; 26+ messages in thread From: Eric S Fraga @ 2011-01-21 23:25 UTC (permalink / raw) To: Bill Moran; +Cc: emacs-orgmode Eric S Fraga <e.fraga@ucl.ac.uk> writes: > Bill Moran <bill1moran@gmail.com> writes: > >> I have installed the latest (git) version of org-mode and have stripped out all >> customizations from I think. I've copied Eric's two column example from here >> >> http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html >> >> with the headers given there. And I can't get either blocks or columns to work. >> There is no block or column command in the latex produced from the org >> file. > > I have no idea what is going on but I can confirm that something is > missing. If I start emacs with -Q, execute the following > > #+begin_src emacs-lisp > (add-to-list 'load-path "~/git/org-mode/lisp") > (require 'org-install) > (require 'org-latex) > #+end_src > > visit the small beamer test file I sent to the list earlier today and > export to latex, I get only the title page and the empty outline. > Nothing else. Playing with the following org file: --8<---------------cut here---------------start------------->8--- #+title: Testing Beamer in Org #+author: Eric S Fraga #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:5 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_FRAME_LEVEL: 2 #+startup: fninline #+COLUMNS: %40ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) * Introduction ** A slide with two + 1 colums *** Some notes :BMCOL:B_block: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: block :END: - some text - and some more - and yet more *** More notes :BMCOL:B_ignoreheading: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: ignoreheading :BEAMER_envargs: c<2-> :END: - some important notes - and even more important ones - and some maths: $\sin^{2}(x)$ *** a concluding block below the columns :BMCOL: :PROPERTIES: :BEAMER_env: example :BEAMER_col: 1 :END: This slide should have two columns above this block. --8<---------------cut here---------------end--------------->8--- everything works just fine with "emacs -Q" and the emacs lisp code I gave in the previous email. The change is a subtle one: I got rid of the "#+STARTUP: oddonly" customisation in the org file and indented all the headlines to use both odd and even levels. I have no idea why the =oddonly= setting causes problems. However, I do note that the documentation for =org-odd-levels-only= only mentions =odd= and =oddeven= for possible values of =#+STARTUP= so maybe my use of =oddonly= is the issue? I'll leave this to others to comment on hopefully. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879) ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Org-beamer problems 2011-01-21 23:25 ` Eric S Fraga @ 2011-01-22 2:52 ` Bill Moran 0 siblings, 0 replies; 26+ messages in thread From: Bill Moran @ 2011-01-22 2:52 UTC (permalink / raw) To: Eric S Fraga; +Cc: emacs-orgmode [-- Attachment #1.1: Type: text/plain, Size: 2068 bytes --] Hi Eric I've just done this - emacs -Q, the minimal .emacs from your previous email, and your piece of org/beamer. It creates blocks, examples and columns - so it works as it should. Next - but not immediately - is to find out why my usual .emacs doesn't work. Thanks for all of your help in sorting this out. I look forward to using org-mode to create slides. I'll report if I find the problem. Bill On Sat, Jan 22, 2011 at 10:25 AM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote: > #+title: Testing Beamer in Org > #+author: Eric S Fraga > #+DESCRIPTION: > #+KEYWORDS: > #+LANGUAGE: en > #+OPTIONS: H:5 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t > #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil > #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path: > http://orgmode.org/org-info.js > #+EXPORT_SELECT_TAGS: export > #+EXPORT_EXCLUDE_TAGS: noexport > #+LINK_UP: > #+LINK_HOME: > > #+startup: beamer > #+LaTeX_CLASS: beamer > #+LaTeX_CLASS_OPTIONS: [presentation] > > #+BEAMER_FRAME_LEVEL: 2 > > #+startup: fninline > > #+COLUMNS: %40ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) > %4BEAMER_col(Col) %10BEAMER_extra(Extra) > > * Introduction > ** A slide with two + 1 colums > *** Some notes > :BMCOL:B_block: > :PROPERTIES: > :BEAMER_col: 0.5 > :BEAMER_env: block > :END: > - some text > - and some more > - and yet more > *** More notes > :BMCOL:B_ignoreheading: > :PROPERTIES: > :BEAMER_col: 0.5 > :BEAMER_env: ignoreheading > :BEAMER_envargs: c<2-> > :END: > - some important notes > - and even more important ones > - and some maths: $\sin^{2}(x)$ > *** a concluding block below the columns > :BMCOL: > :PROPERTIES: > :BEAMER_env: example > :BEAMER_col: 1 > :END: > This slide should have two columns above this block. > -- Bill Moran Melbourne Systems Laboratory Dept of Electrical & Electronic Engineering University of Melbourne Parkville, VIC 3010 Australia ---------------------------------------------------------------------------- [-- Attachment #1.2: Type: text/html, Size: 2780 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2011-01-22 2:52 UTC | newest] Thread overview: 26+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-01-19 7:03 Org-beamer problems Bill Moran 2011-01-19 15:55 ` Jeff Horn 2011-01-19 22:22 ` Henri-Paul Indiogine 2011-01-19 22:33 ` Chris Malone 2011-01-20 8:57 ` Eric S Fraga [not found] ` <AANLkTi=7TkcFBVGc90SkTBHFjKx5j7PgHbia=ZkNRxYS@mail.gmail.com> 2011-01-19 15:58 ` John Hendy 2011-01-19 16:36 ` Eric S Fraga 2011-01-19 21:34 ` Bill Moran 2011-01-19 22:02 ` Chris Malone 2011-01-19 22:43 ` Bill Moran 2011-01-19 22:48 ` Chris Malone 2011-01-20 8:54 ` Eric S Fraga 2011-01-20 19:33 ` Henri-Paul Indiogine 2011-01-21 9:05 ` Eric S Fraga 2011-01-20 21:12 ` Bill Moran 2011-01-21 18:57 ` Henri-Paul Indiogine 2011-01-21 20:54 ` Eric S Fraga 2011-01-21 21:25 ` Henri-Paul Indiogine 2011-01-21 23:39 ` Eric S Fraga 2011-01-19 22:20 ` Jeff Horn 2011-01-20 8:52 ` Eric S Fraga -- strict thread matches above, loose matches on Subject: below -- 2011-01-21 2:31 Bill Moran 2011-01-21 21:11 ` Eric S Fraga 2011-01-21 22:29 ` Bill Moran 2011-01-21 23:25 ` Eric S Fraga 2011-01-22 2:52 ` Bill Moran
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).