--- a/IsaMakefile Tue Dec 15 15:38:17 2009 +0100
+++ b/IsaMakefile Wed Dec 16 14:08:42 2009 +0100
@@ -13,14 +13,21 @@
OUT = $(ISABELLE_OUTPUT)
LOG = $(OUT)/log
-USEDIR = $(ISABELLE_TOOL) usedir -v true -t true ## -D generated
+USEDIR = $(ISABELLE_TOOL) usedir -v true -t true -D generated
## Quot
Quot: $(LOG)/HOL-Quot.gz
$(LOG)/HOL-Quot.gz: Quot/ROOT.ML Quot/*.thy
- @$(USEDIR) HOL-Nominal Quot
+ @$(USEDIR) HOL-Quot Quot
+
+paper: $(LOG)/HOL-Quot-Paper.gz
+
+$(LOG)/HOL-Quot-Paper.gz: Paper/ROOT.ML Paper/document/root.tex Paper/*.thy
+ @$(USEDIR) HOL Paper
+ $(ISATOOL) document -o pdf Paper/generated
+ @cp Paper/document.pdf paper.pdf
## clean
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Paper/Paper.thy Wed Dec 16 14:08:42 2009 +0100
@@ -0,0 +1,16 @@
+(*<*)
+theory Paper
+imports "../Quot/QuotMain"
+begin
+(*>*)
+
+section {* Introduction *}
+
+text {*
+ Here can come any text.
+
+*}
+
+(*<*)
+end
+(*>*)
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Paper/ROOT.ML Wed Dec 16 14:08:42 2009 +0100
@@ -0,0 +1,3 @@
+no_document use_thys ["../Quot/QuotMain"];
+
+use_thys ["Paper"];
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Paper/document/root.tex Wed Dec 16 14:08:42 2009 +0100
@@ -0,0 +1,61 @@
+\documentclass[11pt,a4paper]{article}
+\usepackage{isabelle,isabellesym}
+
+% further packages required for unusual symbols (see also
+% isabellesym.sty), use only when needed
+
+%\usepackage{amssymb}
+ %for \<leadsto>, \<box>, \<diamond>, \<sqsupset>, \<mho>, \<Join>,
+ %\<lhd>, \<lesssim>, \<greatersim>, \<lessapprox>, \<greaterapprox>,
+ %\<triangleq>, \<yen>, \<lozenge>
+
+%\usepackage[greek,english]{babel}
+ %option greek for \<euro>
+ %option english (default language) for \<guillemotleft>, \<guillemotright>
+
+%\usepackage[latin1]{inputenc}
+ %for \<onesuperior>, \<onequarter>, \<twosuperior>, \<onehalf>,
+ %\<threesuperior>, \<threequarters>, \<degree>
+
+%\usepackage[only,bigsqcap]{stmaryrd}
+ %for \<Sqinter>
+
+%\usepackage{eufrak}
+ %for \<AA> ... \<ZZ>, \<aa> ... \<zz> (also included in amssymb)
+
+%\usepackage{textcomp}
+ %for \<cent>, \<currency>
+
+% this should be the last package used
+\usepackage{pdfsetup}
+
+% urls in roman style, theory text in math-similar italics
+\urlstyle{rm}
+\isabellestyle{it}
+
+% for uniform font size
+%\renewcommand{\isastyle}{\isastyleminor}
+
+
+\begin{document}
+
+\title{Paper}
+\author{By Kaliszyk and Urban}
+\maketitle
+
+% sane default for proof documents
+\parindent 0pt\parskip 0.5ex
+
+% generated text of all theories
+\input{session}
+
+% optional bibliography
+%\bibliographystyle{abbrv}
+%\bibliography{root}
+
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End: