Asciidoc and Beamer =================== Asciidoc Beamer :email: asciidoc.beamer@presentation.org :orgname: Pres Inc. :theme: JuanLesPins :Encoding: ISO-8859-1 .Table of contents ****************** TOC ****************** Lists and columns ----------------- Lists ~~~~~ .A nested list ********************************* - <1>This is the example file for a highly experimental * beamer * backend. - <3>Sidebars become slides, which may or may not be considered to be a smart choice. - <2>It works for me, your mileage will vary. - <4>For installation just put beamer.conf somewhere where asciidoc can find it (e.g. /etc/asciidoc/). ********************************** .Other lists ********************************** 1. All kinds of lists - should - work 2. in fact ********************************** Columns ~~~~~~~ .Columns ************************************* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 5cm [CAUTION] .Alert =========================================== This implementation of columns is rather ugly. It consists of exclamation marks as enclosing block and column markers - a number+cm at the beginning of a new line indicating the width of the ensuing column. =========================================== 5cm [NOTE] .Notabene =========================================== This does not translate well to other output formats. Better ideas are highly appreciated. linebreak! Works! =========================================== !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! **************************************** Images et al ------------ Image ~~~~~ .An image *********************************************** This file references an image: tiger.png. If it is not present pdflatex will die. .image image::tiger.png["Tiiiiger",height=42] *********************************************** Et al. ~~~~~~ .A quote ************************************************* [Thomas Berker, Beyond the beamer backend (2008)] ________________________________________________ I have implemented all the style elements which I usually use in presentations. Others should be easy enough to add. ________________________________________________ ************************************************* .An example ************************************************ [caption="Example 1: "] .An example with a custom caption ================================================ Actually, the whole file is an example. I first considered to use a new [SLIDE] style for admonition/example blocks to become the slide marker. But admonition/example blocks within admonition/ example blocks are not possible, so I went for sidebar blocks. It looks ok if translated to pdf via docbook like this: asciidoc -b docbook example.txt dblatex example.xml ================================================== ************************************************** .Admonitions ********************************************* With a pause in between! I used the 4 or more apostrophes which usually indicate a ruler. [CAUTION] .An alert!! ============================================= You will need extra packages also needed for the experimental latex backend. And the beamer package of course. aptitude install latex-beamer ============================================= '''''''' [TIP] .A tip!! ============================================= Produce the pdf with the following commands: asciidoc --unsafe -n beamer example.txt pdflatex example.tex ============================================= ***********************************************