# HG changeset patch # User Christian Urban # Date 1220459388 -7200 # Node ID b729345319f096940cd7bfa63a10384b62652ecc # Parent 02503850a8cf47aaac05d89a9855dfd4f4be51d5 added necessary files diff -r 02503850a8cf -r b729345319f0 cookbook.bib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cookbook.bib Wed Sep 03 18:29:48 2008 +0200 @@ -0,0 +1,6 @@ + +@manual{isa-imp, + author = {Makarius Wenzel}, + title = {The {Isabelle/Isar} Implementation}, + institution = {Technische Universit\"at M\"unchen}, + note = {\url{http://isabelle.in.tum.de/doc/implementation.pdf}}} diff -r 02503850a8cf -r b729345319f0 cookbook.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cookbook.tex Wed Sep 03 18:29:48 2008 +0200 @@ -0,0 +1,77 @@ +\documentclass[11pt,a4paper]{article} +\usepackage{amsmath,amsthm} +\usepackage{CookBook/generated/isabelle,CookBook/generated/isabellesym} + + +% Cross references to other manuals: +\usepackage{xr} +\externaldocument[I-]{implementation} +\newcommand{\impref}[1]{\ref{I-#1}} +\newcommand{\ichcite}[1]{[Impl.\,Man., ch.~\impref{#1}]} +\newcommand{\isccite}[1]{[Impl.\,Man., sec.~\impref{#1}]} + + +% further packages required for unusual symbols (see also +% isabellesym.sty), use only when needed + +%\usepackage{amssymb} + %for \, \, \, \, \, \, + %\, \, \, \, \, + %\, \, \ + +%\usepackage[greek,english]{babel} + %option greek for \ + %option english (default language) for \, \ + +%\usepackage[latin1]{inputenc} + %for \, \, \, \, + %\, \, \ + +%\usepackage[only,bigsqcap]{stmaryrd} + %for \ + +%\usepackage{eufrak} + %for \ ... \, \ ... \ (also included in amssymb) + +%\usepackage{textcomp} + %for \, \ + +% this should be the last package used +\usepackage{pdfsetup} + +\urlstyle{rm} +\renewcommand{\isastyletxt}{\isastyletext}% use same formatting for txt and text +\renewcommand{\isastyle}{\isastyleminor}% use same formatting for txt and text +\isadroptag{theory} + +\newenvironment{readmore}{\makebox[0pt][r]{\fbox{\textbf{Read More}}~~}\it}{} + +\newtheorem{exercise}{Exercise}[section] + + +\begin{document} + +\title{The Isabelle Programmer's Cookbook (fragment)} +\author{Alexander Krauss} +\maketitle + +\tableofcontents + +% sane default for proof documents +\parindent 0pt\parskip 0.5ex + +% generated text of all theories +\input{CookBook/generated/CookBook} +\newpage\section{Recipes} +\input{CookBook/generated/NamedThms} + +\newpage +\bibliographystyle{abbrv} +\bibliography{manual,cookbook} + +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: