[gedit-latex] Add some files for testing
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] Add some files for testing
- Date: Wed, 29 Jun 2011 14:19:37 +0000 (UTC)
commit 17177c4b243c96fef430a8b41dd6f55532b24e9f
Author: John Stowers <john stowers gmail com>
Date: Thu Jun 30 02:19:31 2011 +1200
Add some files for testing
test/FIXME.png | Bin 0 -> 3826 bytes
test/article.bib | 8 ++++++++
test/article.tex | 47 +++++++++++++++++++++++++++++++++++++++++++++++
test/chap2.tex | 10 ++++++++++
4 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/test/FIXME.png b/test/FIXME.png
new file mode 100644
index 0000000..7ca2aa6
Binary files /dev/null and b/test/FIXME.png differ
diff --git a/test/article.bib b/test/article.bib
new file mode 100644
index 0000000..b1ef0fe
--- /dev/null
+++ b/test/article.bib
@@ -0,0 +1,8 @@
+ book{ dijkstra76,
+ title={{A Discipline of Programming}},
+ author={Edsger W. Dijkstra},
+ year=1976 }
+ article{ dijkstra68,
+ title={{Go to statement considered harmful}},
+ author={Edsger W. Dijkstra},
+ year=1968 }
diff --git a/test/article.tex b/test/article.tex
new file mode 100644
index 0000000..a0b0fc4
--- /dev/null
+++ b/test/article.tex
@@ -0,0 +1,47 @@
+\documentclass[12pt]{book}
+\usepackage{graphicx}
+\usepackage{caption}
+
+\title{Test Document}
+\author{Knuth}
+\date{April 2011}
+
+\newcommand{\testcite}[1]{\cite{#1}}
+\newcommand{\testref}[1]{(\ref{#1})}
+\newcommand{\testfoo}{FOO}
+\newcommand{\teste}[1]{\ensuremath{\times 10^{#1}}}
+
+\begin{document}
+\maketitle
+
+\chapter{Main Stuff}
+\section{foo}
+bar pleas see \ref{fig:fixme}
+
+\section{bar}
+baz.
+
+Lets enjoy \teste{12}. Lets complete complete. Lets \testcite{dijkstra68}
+
+\section{baz}
+I like \cite{dijkstra76}
+
+\begin{figure}
+ \centering
+ \includegraphics[scale=1.00]{FIXME}
+ \caption{Indeed}
+ \label{fig:fixme}
+\end{figure}
+
+\section{cake}
+\subsection{chips}
+\subsubsection{candy}
+
+lets use a \testcite{dijkstra68}
+
+\include{chap2}
+
+\bibliography{article}
+\bibliographystyle{IEEEtran}
+
+\end{document}
diff --git a/test/chap2.tex b/test/chap2.tex
new file mode 100644
index 0000000..47fc009
--- /dev/null
+++ b/test/chap2.tex
@@ -0,0 +1,10 @@
+\chapter{Another Chapter}
+\section{testing}
+This is a test
+\subsection{another}
+I can \cite{dijkstra76}
+
+see \cite{dijkstra68}
+
+\section{More test}
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]