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

This version

0.1

Download files

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

Source Distribution

Butteur-0.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page