latex beamer conf

View: New views
9 Messages — Rating Filter:   Alert me  

latex beamer conf

by Thomas Berker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi list,

I think it would be nice to use asciidoc to produce latex beamer
slides. I started with the latex.conf included in the distribution.
The problem now is that beamer introduces a new element "frame"
(equivalent to slide) which is independent from the logical section
structure:

\begin\{frame\}
  \frametitle\{{title}\}
  |
\end\{frame\}

It resembles a page in a normal document but it has a [sub]title and
a mandatory end.

How is the best way to implement this?

 Thomas

_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: latex beamer conf

by Émilien Tlapale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Having a generic syntax could be nice so we could have beamer, s5,
whatever, as backend with a single asciidoc input file.

Thomas Berker wrote:

> Hi list,
>
> I think it would be nice to use asciidoc to produce latex beamer
> slides. I started with the latex.conf included in the distribution.
> The problem now is that beamer introduces a new element "frame"
> (equivalent to slide) which is independent from the logical section
> structure:
>
> \begin\{frame\}
>   \frametitle\{{title}\}
>   |
> \end\{frame\}
>
> It resembles a page in a normal document but it has a [sub]title and
> a mandatory end.
>
> How is the best way to implement this?
>
>  Thomas
>
> _______________________________________________
> asciidoc-discuss mailing list
> asciidoc-discuss@...
> http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss
>  
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: latex beamer conf

by Thomas Berker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Émilien Tlapale <emilien@...> wrote:
> Thomas Berker wrote:  
> > I think it would be nice to use asciidoc to produce latex beamer  

> Having a generic syntax could be nice so we could have beamer, s5,
> whatever, as backend with a single asciidoc input file.  

I agree. One way would be to introduce markup which then also could
render docbook slides (1). But I guess this would require at least a new
doctype and has to be done on the project level.

Employing the less intrusive, more specific approach, I have now adapted
the existing latex backend to produce beamer slides without compromising
other output options too much.

The asciidoc source is here:
http://liksom.info/blog/?q=system/files/beamer.txt

And the resulting pdf here:
http://liksom.info/blog/?q=system/files/beamer.pdf

Via docbook and dblatex it is ugly (but readable) like this:
http://liksom.info/blog/?q=system/files/beamer-db.pdf

It needs some cleaning up and my whole approach may be misguided but
it works for me. Get it here: http://liksom.info/beamer.conf

 Thomas

(1) http://me.in-berlin.de/~miwie/presentations/html/dbslides.html
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: latex beamer conf

by Bill Harris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Berker <berker@...> writes:

> Employing the less intrusive, more specific approach, I have now adapted
> the existing latex backend to produce beamer slides without compromising
> other output options too much.

Cool!  Thanks!

> The asciidoc source is here:
> http://liksom.info/blog/?q=system/files/beamer.txt

On the last page, did you mean for the command to read

,----
| asciidoc --unsafe -n -b beamer example.txt
`----

?

FWIW, I got two errors when I rebuilt your slides (minus the image):

,----
| WARNING: [music-block] missing template section
| WARNING: [music-block] missing template section
`----

I also got warnings from pdflatex about identifiers being reused
(name{_columns}, for example).

Now I'll have to try the markup and see how I like that.

Bill
- --
Bill Harris                      http://facilitatedsystems.com/weblog/
Facilitated Systems                              Everett, WA 98208 USA
http://facilitatedsystems.com/                  phone: +1 425 337-5541
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFHtzMZ3J3HaQTDvd8RAuvzAJ0WsGSthR2zk5x17wXUZ0GtwNSDdgCfcjBX
ysQWdF8yVUZQrfxo0ORXkPY=
=L5PI
-----END PGP SIGNATURE-----
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: latex beamer conf

by Bill Harris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Berker <berker@...> writes:

> It needs some cleaning up and my whole approach may be misguided but
> it works for me. Get it here: http://liksom.info/beamer.conf

So far, so good.  I'm curious: is there a way to pass instructions from
asciidoc source to beamer to limit the depth of the TOC entries it
shows?  I created a file that has two levels (--- and ~~~), and the TOC
runs off the bottom of the page.  It would work nicely, I think, if I
could tell it to show only the --- level and perhaps then show the ~~~
level when I'm ready to start a particular --- section.

Thanks,

Bill
- --
Bill Harris                      http://facilitatedsystems.com/weblog/
Facilitated Systems                              Everett, WA 98208 USA
http://facilitatedsystems.com/                  phone: +1 425 337-5541
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFHt2se3J3HaQTDvd8RAqCgAJ9eyFHf68MZ/rQuxzkFq15o56Df4QCfVRna
ZNrAaMb3P/t6ZS5HkxuVeLU=
=LYiC
-----END PGP SIGNATURE-----
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: latex beamer conf

by Bill Harris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just FYI: I couldn't make a table of the form

`----'---
A    1
B    2
C    3
- ---------

work.  asciidoc was happy, but LaTeX (MiKTeX) was not.

Suggestions?

Bill
- --
Bill Harris                      http://facilitatedsystems.com/weblog/
Facilitated Systems                              Everett, WA 98208 USA
http://facilitatedsystems.com/                  phone: +1 425 337-5541
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFHt4NZ3J3HaQTDvd8RAvFHAJ4zeze3ekHNW8T2mWgos1uXdwVgXQCfZVrp
tg+BASq8sPBZtQprXCwQkqs=
=WEyL
-----END PGP SIGNATURE-----
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: latex beamer conf

by Thomas Berker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Den Sat, 16 Feb 2008 15:00:42 -0800
Bill Harris <bill_harris@...> skrev:

> Thomas Berker <berker@...> writes:
>
> > It needs some cleaning up and my whole approach may be misguided but
> > it works for me. Get it here: http://liksom.info/beamer.conf
>
> So far, so good.  I'm curious: is there a way to pass instructions
> from asciidoc source to beamer to limit the depth of the TOC entries
> it shows?  I created a file that has two levels (--- and ~~~), and
> the TOC runs off the bottom of the page.  It would work nicely, I
> think, if I could tell it to show only the --- level and perhaps then
> show the ~~~ level when I'm ready to start a particular --- section.

I've included the attribute :tocdepth: Set it to 1 to include only ----
level headings.

And while I were at it I also included 2 more attributes:

:imgpath: /some/path/with/trailing/slash/
If set images are searched in this directory (I keep all the images I
use for talks in one directory).

:titlegraphic: some_logo.jpg
This file is included in the title slide. It uses :imgpath: if
set.

For examples and the new beamer.conf see
http://liksom.info/blog/?q=node/123

Best, Thomas
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: latex beamer conf

by Thomas Berker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Den Sat, 16 Feb 2008 16:44:06 -0800
> Just FYI: I couldn't make a table of the form
>
> `----'---
> A    1
> B    2
> C    3
> - ---------
>
> work.  asciidoc was happy, but LaTeX (MiKTeX) was not.

Yes, I noticed this, too. It doesn't work in the latex backend either
(which does all the heavy lifting for the beamer backend). Those other
(harmless) warnings about missing music-block templates and reused
identifiers are from the latex backend too. I guess that's why it is
called experimental.

> On the last page, did you mean for the command to read
>
> ,----
> | asciidoc --unsafe -n -b beamer example.txt
> `----
>
> ?

I corrected this, thanks.
 Thomas
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: latex beamer conf

by Bill Harris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Berker <berker@...> writes:

> For examples and the new beamer.conf see
> http://liksom.info/blog/?q=node/123

Thomas,

Thanks!  I grabbed it, and I'll check it out.

Because I need to produce something for Tuesday, I let beamer.conf
produce the basic presentation, and then I've been modifying it in
LaTeX.  I will try beamer.conf again; it does involve less typing and is
more transparent.

The things I like:

  familiar, lightweight asciidoc format, easily readable

  speed (any time is consumed by pdflatex)

The things I missed and that got me to switch, at least temporarily, in
priority order:

  lack of LaTeX math mode (the most important; passthroughs would work
  for me)

  not figuring out how to do tables

  tocdepth (now fixed)  

  lack of beamer navigation (I don't get any of the little icons that
  beamer puts up; having an optional way to turn those on would be nice)

Oh, and for broader use, I imagine some will want LaTeX source that
compiles with no errors and warnings. :-)  I just ignored any of those
problems.

Thanks again,

Bill
- --
Bill Harris                      http://facilitatedsystems.com/weblog/
Facilitated Systems                              Everett, WA 98208 USA
http://facilitatedsystems.com/                  phone: +1 425 337-5541
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFHuLOG3J3HaQTDvd8RAkmVAJ4rufIYils8TrrnqGciR+zAEairuQCfWRHl
phZstCOvU/KOpBm6YXlnCKs=
=M7o4
-----END PGP SIGNATURE-----
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss