[beamer] Worg tutorial link broken (was Re: [Orgmode] Baffled by beamer blocks)

2010-08-18 Thread Eric S Fraga
On Tue, 17 Aug 2010 18:11:52 -0500, John Hendy jw.he...@gmail.com wrote:
 
 [1  text/plain; ISO-8859-1 (7bit)]
 Eric -- is the link to the file download broken? It looks like a footnote or
 [[link][]] might have missed a bracket? I'm assuming that footnote 1 is
 supposed to link to the example file being used for the tutorial, that is.

yes, the link is broken.  I have no idea how to fix it;  I didn't
install this on Worg as I had problems with git etc.  Maybe somebody
else can fix this?

Thanks,
eric
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
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


Re: [Orgmode] Baffled by beamer blocks

2010-08-18 Thread Eric S Fraga
On Tue, 17 Aug 2010 16:29:03 -0700, Philip J. Hollenback phil...@pobox.com 
wrote:
 
 Hm no luck.  I tried the updated presentation.org and posted the
 resulting pdf on scribd:
 
 http://www.scribd.com/doc/36035983/Presentation
 
 some interesting problems:
 
 1. title missing from title page
 2. @important@ is rendered as @important@
 3. missing QED image
 
 and of course no blocks.  I think something is going horribly wrong with
 the conversion to latex here but I'm unsure what.  Is there some
 debugging I can turn on to try to figure out what isn't being loaded? 
 I've definitely got the #+startup: beamer line now.

What version of org are you using?  This is very puzzling.  The file I
sent you works perfectly fine for me...  and I have no special
settings in my configuration that relate to beamer.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
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


Re: [Orgmode] Baffled by beamer blocks

2010-08-18 Thread John Hendy
On Wed, Aug 18, 2010 at 9:23 AM, John Hendy jw.he...@gmail.com wrote:



 On Wed, Aug 18, 2010 at 5:09 AM, Eric S Fraga ucec...@ucl.ac.uk wrote:

 On Tue, 17 Aug 2010 16:29:03 -0700, Philip J. Hollenback 
 phil...@pobox.com wrote:
 
  Hm no luck.  I tried the updated presentation.org and posted the
  resulting pdf on scribd:
 
  http://www.scribd.com/doc/36035983/Presentation
 
  some interesting problems:
 
  1. title missing from title page
  2. @important@ is rendered as @important@
  3. missing QED image
 
  and of course no blocks.  I think something is going horribly wrong with
  the conversion to latex here but I'm unsure what.  Is there some
  debugging I can turn on to try to figure out what isn't being loaded?
  I've definitely got the #+startup: beamer line now.

 What version of org are you using?  This is very puzzling.  The file I
 sent you works perfectly fine for me...  and I have no special
 settings in my configuration that relate to beamer.


 Eric,

 I have the title and QED image, but @important@ is rendered literally. See
 the attached .org, .pdf, and .tex files. Where is the markup for 
 @w...@provided (who translates @ in org to red/emphasized text in the output 
 PDF)?
 I can't find it in the orgmode manual:
 http://orgmode.org/manual/Emphasis-and-monospace.html#Emphasis-and-monospace

 John


Eric,

Update: As was perhaps obvious, @ is not getting translated to \alert{}. I
couldn't remember what it was called. If I remove the @ markup and replace
it directly with \alert{example}, it works perfectly. Not sure why it's not
working.





 --

 Eric S Fraga
 GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D

 ___
 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



___
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


Re: [Orgmode] Baffled by beamer blocks

2010-08-18 Thread Eric S Fraga
On Wed, 18 Aug 2010 09:23:26 -0500, John Hendy jw.he...@gmail.com wrote:
 

[...]

 Eric,
 
 I have the title and QED image, but @important@ is rendered literally. See
 the attached .org, .pdf, and .tex files. Where is the markup for
 @w...@provided (who translates @ in org to red/emphasized text in the
 output PDF)?
 I can't find it in the orgmode manual:
 http://orgmode.org/manual/Emphasis-and-monospace.html#Emphasis-and-monospace
 
 John

I thought the processing of @...@ for alerts in beamer was the default
but it turns out I have the following settings which add @ to convert
text to alert in beamer and bold in HTML exports.

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

I'm not sure what the default is but you can see what you've got by
looking at these two variables.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
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


Re: [Orgmode] Baffled by beamer blocks

2010-08-18 Thread Eric S Fraga
On Wed, 18 Aug 2010 15:40:30 +0100, Eric S Fraga ucec...@ucl.ac.uk wrote:
 
 On Wed, 18 Aug 2010 09:23:26 -0500, John Hendy jw.he...@gmail.com wrote:
  
 
 [...]
 
  Eric,
  
  I have the title and QED image, but @important@ is rendered literally. See
  the attached .org, .pdf, and .tex files. Where is the markup for
  @w...@provided (who translates @ in org to red/emphasized text in the
  output PDF)?
  I can't find it in the orgmode manual:
  http://orgmode.org/manual/Emphasis-and-monospace.html#Emphasis-and-monospace
  
  John
 
 I thought the processing of @...@ for alerts in beamer was the default
 but it turns out I have the following settings which add @ to convert
 text to alert in beamer and bold in HTML exports.
 
 --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---
 
 I'm not sure what the default is but you can see what you've got by
 looking at these two variables.

I should also add that, if you are wanting to use the same org
document for both beamer and normal latex export, you should add the
following command to the org file setup:

#+latex_header: \ifx\alert\undefined\let\alert\textbf\fi

this defines \alert for non-beamer use to be equivalent to \textbf.

___
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


Re: [Orgmode] Baffled by beamer blocks

2010-08-17 Thread Eric S Fraga
On Mon, 16 Aug 2010 23:26:29 -0700, Philip J. Hollenback phil...@pobox.com 
wrote:
 
 I've got a basic org-mode 7.01h + beamer setup working and am able to
 create and export presentations.  However I am completely unable to
 create presentations with blocks in them.  I've followed the examples on
 the website such as http://orgmode.org/worg/org-tutorials/org-beamer.php
 with no success.
 
 When I try to write a presentation with blocks, I find that instead of
 blocks I end up with nested lists in the frames.  The LaTeX output shows
 no \block structures.
 
 Can anyone suggest what in my setup might be preventing blocks from
 working?  I'm really baffled at this point.
 
 Thanks,
 P. 

What have you defined in your org setup at the start of the tile.  In
particular, this line in the example presentation on Worg is crucial:

#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t

specifically the H:3 bit that tells org to use up to 3 levels of
headings or else level headlines get treated like lists, as far as I
remember.

In any case, can you send me an example that doesn't work that I can
try?
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
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