Skip to content
Snippets Groups Projects
Commit 9da5ae88 authored by Michael Davis's avatar Michael Davis
Browse files

Adds generation of HTML

parent 64be1e6b
Branches
Tags
No related merge requests found
No preview for this file type
......@@ -2,29 +2,47 @@
# texlive 2016
# tikz-uml
LATEX_TARGET = cta.pdf \
EOS-CTA_interface.pdf \
queueRequestSeqDiags.pdf
LATEX_TMP = $(patsubst %.pdf,latex/%.pdf,$(LATEX_TARGET)) \
$(patsubst %.pdf,latex/%.aux,$(LATEX_TARGET)) \
$(patsubst %.pdf,latex/%.log,$(LATEX_TARGET)) \
$(patsubst %.pdf,latex/%.out,$(LATEX_TARGET)) \
TARGET = cta EOS-CTA_interface queueRequestSeqDiags
PDF_TARGET = $(patsubst %,%.pdf,$(TARGET))
HTML_TARGET = html/cta.html #$(patsubst %,html/%.html,$(TARGET))
LATEX_TMP = $(patsubst %,latex/%.pdf,$(TARGET)) \
$(patsubst %,latex/%.aux,$(TARGET)) \
$(patsubst %,latex/%.log,$(TARGET)) \
$(patsubst %,latex/%.out,$(TARGET)) \
$(patsubst %,latex/%.html,$(TARGET)) \
$(patsubst %,latex/%.css,$(TARGET)) \
$(patsubst %,latex/%.svg,$(TARGET)) \
$(patsubst %,latex/%.png,$(TARGET)) \
$(patsubst %,latex/%.4ct,$(TARGET)) \
$(patsubst %,latex/%.4tc,$(TARGET)) \
$(patsubst %,latex/%.dvi,$(TARGET)) \
$(patsubst %,latex/%.idv,$(TARGET)) \
$(patsubst %,latex/%.lg,$(TARGET)) \
$(patsubst %,latex/%.tmp,$(TARGET)) \
$(patsubst %,latex/%.xref,$(TARGET)) \
latex/texput.log
%.pdf: $(wildcard latex/*.tex)
cd latex; \
pdflatex $(notdir $(patsubst %.pdf,%.tex,$@)); \
pdflatex $(notdir $(patsubst %.pdf,%.tex,$@)) && \
pdflatex $(notdir $(patsubst %.pdf,%.tex,$@))
mv latex/$(notdir $@) $@
all: $(LATEX_TARGET)
%.html: $(wildcard latex/*.tex)
cd latex; \
htlatex $(notdir $(patsubst %.html,%.tex,$@)); \
mv *.html *.css *.svg *.png ../html
all: $(PDF_TARGET) $(HTML_TARGET)
clean:
rm -f $(LATEX_TMP)
clobber: clean
rm -f $(LATEX_TARGET)
rm -f $(PDF_TARGET) html/*
.INTERMEDIATE: $(LATEX_TMP)
......
No preview for this file type
\documentclass[10pt,a4paper]{article}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}
% Fix PGF unhappiness
\def\Hnewline{\H^^J}
\usepackage[margin=12mm]{geometry}
\usepackage{hyperref}
\usepackage{listings}
......@@ -24,7 +29,7 @@ interface design.
The file lifecycle includes:
\begin{itemize}
\begin{itemize}
\item creation (write until initial close)
\item updates: they should be denied for files with copy on tape. This can be achieved by administrators by adding an
immutable flag (ACL) to the directories configured to go to tape in EOS, or as rule in EOS.
......
\documentclass[10pt,a4paper]{report}
\usepackage[T1]{fontenc}
% Fix PGF unhappiness
\def\Hnewline{\H^^J}
% Set up graphics options for various environments
\usepackage{ifpdf}
\ifpdf
\usepackage{graphicx}
\else
\usepackage[dvips]{graphicx}
\DeclareGraphicsExtensions{pdf,svg,png}
\fi
\graphicspath{{../images/}}
\usepackage[T1]{fontenc}
\usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}
\usepackage{multirow}
\usepackage[table]{xcolor}
\usepackage{parskip}
\usepackage{moreverb}
\usepackage{tikz}
% Note about the package tikz-uml: This package is not part of some latex distributions (like tex live), and we are using a recent copy of it. It can be downloaded from the author's web page:
% http://perso.ensta-paristech.fr/~kielbasi/tikzuml/
\usepackage{tikz-uml}
\usepackage{tikz-uml} % See README.md
\usepackage{SIunits}
\usetikzlibrary{positioning}
......
......@@ -11,7 +11,7 @@ The tape session types and state changes are shown in figure \ref{statediag}.
\begin{figure}[h]
\begin{center}
\includegraphics{../images/CTA_tape_session_states}
\includegraphics{CTA_tape_session_states}
\end{center}
\caption{\label{statediag}Tape sessions state diagram}
\end{figure}
......
\documentclass[10pt,a4paper]{article}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}
% Fix PGF unhappiness
\def\Hnewline{\H^^J}
\usepackage[margin=12mm]{geometry}
\usepackage{hyperref}
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment