Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for Butteur, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size Butteur-0.1.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page