UNB/ CS/ David Bremner/ comments/ blog/ posts/ highlight-beamer
From: "Malte Dik" <address deleted>
Subject: wiki2beamer
Date: Sun, 9 Jan 2011 07:49:35 +0100
Hi,

wiki2beamer is a pretty convenient script (also packaged in Debian) to create 
latex-beamer-slides using a wiki-like syntax. It of course supports code-
snippets, too (see section "CODE" in the man-page).


I hope I could help,

Malte


From: "David Bremner" <address deleted>
Subject: Re: wiki2beamer
Date: Sun, 09 Jan 2011 09:32:06 -0400
On Sun, 9 Jan 2011 07:49:35 +0100, Malte Dik <malte.dik@web.de> wrote:
> Hi,
> 
> wiki2beamer is a pretty convenient script (also packaged in Debian) to create 
> latex-beamer-slides using a wiki-like syntax. It of course supports code-
> snippets, too (see section "CODE" in the man-page).

Thanks. It looks interesting, although maybe orthogonal to the use case
here, since you still have to paste your code into the wikisrc. I
believe asciidoc also has some presentation facilities using
html/css. The produced slides look pretty nice.

David

Date: Sun, 9 Jan 2011 11:05:29 +0100
From: "Stefano Zacchiroli" <address deleted>
Subject: why not listings?
I wonder, why don't you use the listings LaTeX package with beamer
directly? That way you won't need an extra tool and you could just
copy/paste code in .tex files, adding overlays as needed (and as usual
for the non-code LaTeX markup).

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Quando anche i santi ti voltano le spalle, |  .  |. I've fans everywhere
ti resta John Fante -- V. Capossela .......| ..: |.......... -- C. Adams


From: "David Bremner" <address deleted>
Subject: Re: why not listings?
Date: Sun, 09 Jan 2011 09:24:58 -0400
On Sun, 9 Jan 2011 11:05:29 +0100, Stefano Zacchiroli <zack@upsilon.cc> wrote:
> I wonder, why don't you use the listings LaTeX package with beamer
> directly? That way you won't need an extra tool and you could just
> copy/paste code in .tex files, adding overlays as needed (and as usual
> for the non-code LaTeX markup).

An excellent question. I really don't like having two different copies
of my code; then every time I make a change in the "running" copy, I
have to update the copy and pasted copy.  That is also why I have the
idea of "sections"; I might typically generate 5 or 6 different TeX
figures from one source file.  This seems to be doable using an external
script with listings as well (see in particular the listings-ext
package).

As far as needing an extra tool, I assume you mean highlight and not my
script. Since I use highlight for ikiwiki, I already have it installed
(and anyway I am one of the Debian maintainers so using it is my duty ;)).

Listings is also a bit of a pain to use with beamer; every
frame you use listings in has to marked fragile. Not the end of the
world, but if you don't you get pretty mysterious error messages.

A final, perhaps irrational reason is that some years ago I fell out of
love with doing fancy things in TeX. Yes, it is Turing complete, but it
sure the heck isn't very much fun to debug if something goes wrong. 

I could easily see other people having different tradeoffs.  Maybe if I
had understood the capabilities of listings better when I started
(particularly the grouping and re-arrangement stuff) I might not have
bothered.

David