Skip to main content

a preprocessor to write beamers slide more easily

Project description

# Introduction

Butteur is a preprocessor to write beamers slides more easily by allowing you to use a more concise syntax. It was also an excuse for me to learn lex/yacc

# Installation

In a virtualenv or as root:

pip install butteur

You'll need to have the command "pdflatex" available.

# Usage

butteur file.butt

# Example

theme Berlin
title the title of the document
author Myself master of the world

slide
this is the first line
you don't need to put a blank line between 2 lines
you can put \emph{raw latex here}

slide this slide has a title
and some content

# Result in .tex

\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage{verbatim}
\usepackage{ulem}
\usepackage{fancyvrb}
\usepackage{color}
\usepackage{tikz}

\begin{document}
\title{the title of the document}
\author{Myself master of the world}
\maketitle{}
\begin{frame}[fragile]{}
this is the first line

you don't need to put a blank line between 2 lines

you can put \emph{raw latex here}

\end{frame}
\begin{frame}[fragile]{this slide has a title}
and some content

\end{frame}
\end{document}

Project details


Release history Release notifications

This version
History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Butteur-0.1.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Jul 18, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page