Blame Manual/repository-latex/centos-art.sh-latex/Concepts/manuals.tex

0668a4
% Part   : Concepts
0668a4
% Chapter: Manuals
0668a4
% ------------------------------------------------------------
0668a4
% $Id: manuals.tex 6191 2010-08-02 02:36:14Z al $
0668a4
% ------------------------------------------------------------
0668a4
0668a4
\begin{description}
0668a4
\item[framework:] trunk/Manuals/
0668a4
\end{description}
0668a4
0668a4
\noindent This chapter describes the CentOS Artwork Repository User
0668a4
Guide.  The CentOS Artwork Repository User Guide is the book you are
0668a4
reading right now. The main goals of this book is helping you to
0668a4
understand how CentOS Artwork Repository works, and what you can do to
0668a4
get the best of it.  It is also an excuse for you to join us and help
0668a4
improving it.
0668a4
0668a4
\section{Structure}
0668a4
0668a4
Inside CentOS Artwork Repository, documentation is conceived using
0668a4
\LaTeX's book class. Instead of having the entire document in a single
0668a4
file, information has been spread in separated files under Manuals
0668a4
framework structure. The Manuals framework structure is illustrated in
0668a4
\autoref{fig:Concepts:Manuals:Structure} and described in
0668a4
``\hyperlink{sec:Concepts:Manuals:Files}{Relevant Files}'' (see
0668a4
\autoref{sec:Concepts:Manuals:Files}) and
0668a4
``\hyperlink{sec:Concepts:Manuals:Directories}{Relevant Directories}''
0668a4
(see \autoref{sec:Concepts:Manuals:Directories}).
0668a4
0668a4
\begin{figure}[!hbp]
0668a4
\hrulefill
0668a4
\begin{verbatim}
0668a4
trunk/Manuals/
0668a4
|-- Concepts
0668a4
|   |-- CentOS
0668a4
|   |-- Frameworks
0668a4
|   |-- Identity
0668a4
|   `-- ...
0668a4
|-- Distribution
0668a4
|   |-- Anaconda
0668a4
|   |   |-- Firstboot
0668a4
|   |   |-- Header
0668a4
|   |   |-- Progress
0668a4
|   |   `-- ...
0668a4
|   |-- Backgrounds
0668a4
|   |-- BootUp
0668a4
|   |   |-- GDM
0668a4
|   |   |-- GRUB
0668a4
|   |   `-- ...
0668a4
|   `-- Release
0668a4
|-- Licenses
0668a4
|-- Translations
0668a4
|-- Workstation
0668a4
|-- convenctions.tex
0668a4
|-- repository.aux
0668a4
|-- repository.lof
0668a4
|-- repository.log
0668a4
|-- repository.lot
0668a4
|-- repository.out
0668a4
|-- repository.pdf
0668a4
|-- repository.tex
0668a4
`-- repository.toc
0668a4
\end{verbatim}
0668a4
\hrulefill
0668a4
\caption{Manuals framework structure.%
0668a4
   \label{fig:Concepts:Manuals:Structure}}
0668a4
\end{figure}
0668a4
0668a4
\section{Writing Style}
0668a4
0668a4
When writing for CentOS Artwork Repository User Guide, keep in mind
0668a4
the following quote taken from the online ``BBC News Styleguide'':
0668a4
---The key to good writing is \textbf{simple thoughts simply
0668a4
expressed}.  Use short sentences and short words.  Anything which is
0668a4
confused, complicated, poorly written or capable of being
0668a4
misunderstood risks losing the listener or viewer, and once you have
0668a4
done that, you might just as well not have come to work---.
0668a4
0668a4
If you need to express complicated ideas, try to split them out in
0668a4
smaller and simpler ideas as much as possible. If you consider it
0668a4
appropriate, try to use
0668a4
``\hyperlink{sec:Concepts:Identity:Models}{Design Models}'' (see
0668a4
\autoref{sec:Concepts:Identity:Models}) to illustrate your thoughts.
0668a4
0668a4
\subsection{Cross References}
0668a4
0668a4
When you create \LaTeX's cross references, you need to define targets
0668a4
and links.  Targets are the specific locations in the document that
0668a4
links point to.  In \LaTeX, these cross reference targets and links
0668a4
can be defined in many ways, so we need to standardize the way we use
0668a4
inside CentOS Artwork Repository User Guide to make it look uniform
0668a4
and easy to read.
0668a4
0668a4
Inside CentOS Artwork Repository User Guide, cross references look
0668a4
like illustrated in
0668a4
\autoref{fig:Concepts:Manuals:CrossRef:Presentation}.  Cross reference
0668a4
targets are defined as illustrated in
0668a4
\autoref{fig:Concepts:Manuals:CrossRef:Targets}, and links to those
0668a4
targets are defined as illustrated in
0668a4
\autoref{fig:Concepts:Manuals:CrossRef:Links}. 
0668a4
0668a4
Note that we use both \texttt{hypertarget} and \texttt{label} commands
0668a4
to define targets, and \texttt{hyperlink} and \texttt{autoref} to
0668a4
define links.  With \texttt{hyperlink} we create long text links
0668a4
---usefull when reading in the coputer---, and with \texttt{autoref}
0668a4
we create numbered links ---usefull when reading in a printed copy---.
0668a4
0668a4
\begin{figure}[!hbp]
0668a4
\hrulefill
0668a4
\begin{flushleft}
0668a4
\dots you can find more information in
0668a4
``\hyperlink{sec:Concepts:Identity:Brands}{Logos}'' (see
0668a4
\autoref{sec:Concepts:Identity:Brands}), specifically in
0668a4
\hyperlink{sec:Concepts:Identity:Brands:Logos}{the horizontal version} (see
0668a4
\autoref{sec:Concepts:Identity:Brands:Logos}).
0668a4
\end{flushleft}
0668a4
\hrulefill
0668a4
\caption{Cross reference link presentation.%
0668a4
   \label{fig:Concepts:Manuals:CrossRef:Presentation}}
0668a4
\end{figure}
0668a4
0668a4
\begin{figure}[!hbp]
0668a4
\hrulefill
0668a4
\begin{verbatim}
0668a4
\part{Concepts}
0668a4
...
0668a4
\chapter{The CentOS Logo}
0668a4
\hypertarget{sec:Concepts:Logo}{}
0668a4
\label{sec:Concepts:Logo}
0668a4
...
0668a4
\section{Horizontal}
0668a4
\hypertarget{sec:Concepts:Identity:Brands}{}
0668a4
\label{sec:Concepts:Identity:Brands}
0668a4
...
0668a4
\end{verbatim}
0668a4
\hrulefill
0668a4
\caption{\LaTeX's definition for cross reference targets.%
0668a4
   \label{fig:Concepts:Manuals:CrossRef:Targets}}
0668a4
\end{figure}
0668a4
0668a4
\begin{figure}[!hbp]
0668a4
\hrulefill
0668a4
\begin{verbatim}
0668a4
\dots you can find more information in
0668a4
``\hyperlink{sec:Concepts:Identity:Brands}{The CentOS Logo}'' 
0668a4
(see \autoref{sec:Concepts:Identity:Brands}), specifically in
0668a4
\hyperlink{sec:Concepts:Identity:Brands:Logos}{the horizontal version} 
0668a4
(see \autoref{sec:Concepts:Identity:Brands:Logos}).
0668a4
\end{verbatim}
0668a4
\hrulefill
0668a4
\caption{\LaTeX's definition for cross reference links.%
0668a4
   \label{fig:Concepts:Manuals:CrossRef:Links}}
0668a4
\end{figure}
0668a4
0668a4
\subsection{Figures}
0668a4
0668a4
Inside CentOS Artwork Repository User Guide, illustrations (i.e.
0668a4
images, framework structures, source code, commands, etc.) are shown
0668a4
using \LaTeX's \texttt{figure} environment. An example of
0668a4
\texttt{figure} environment definition is illustrated in
0668a4
\autoref{fig:Concepts:Manuals:Figures}.  More information about
0668a4
\LaTeX's \texttt{figure} environment can be found in \LaTeX's info
0668a4
manual. To read the \LaTeX's info manual, execute in your terminal the
0668a4
command: \texttt{info latex}.
0668a4
0668a4
\begin{figure}[!hbp]
0668a4
\hrulefill
0668a4
\begin{verbatim}
0668a4
\begin{figure}[!hbp]
0668a4
\hrulefill
0668a4
...
0668a4
\hrulefill
0668a4
\caption{... .%
0668a4
   \label{fig:...}}
0668a4
\end{figure}
0668a4
\end{verbatim}
0668a4
\hrulefill
0668a4
\caption{\LaTeX's definition for \texttt{figure} environment.%
0668a4
   \label{fig:Concepts:Manuals:Figures}}
0668a4
\end{figure}
0668a4
0668a4
\subsection{Tables}
0668a4
0668a4
Inside CentOS Artwork Repository User Guide, tabular information (i.e.
0668a4
translation markers, etc.) is shown using \LaTeX's \texttt{table}
0668a4
environment. An example of \texttt{table} environment definition is
0668a4
illustrated in \autoref{fig:Concepts:Manuals:Tables}.  More
0668a4
information about \LaTeX's \texttt{table} environment can be found in
0668a4
\LaTeX's info manual. To read the \LaTeX's info manual, execute in
0668a4
your terminal the command: \texttt{info latex}.
0668a4
0668a4
\begin{figure}[!hbp]
0668a4
\hrulefill
0668a4
\begin{verbatim}
0668a4
\begin{table}[!hbp]
0668a4
\centering
0668a4
\begin{tabular}[pos]{cols}
0668a4
\hline
0668a4
...
0668a4
\hline
0668a4
\end{tabular}
0668a4
\caption{... .%
0668a4
   \label{tab:...}}
0668a4
\end{table}
0668a4
\end{verbatim}
0668a4
\hrulefill
0668a4
\caption{\LaTeX's definition for \texttt{table} environment.%
0668a4
   \label{fig:Concepts:Manuals:Tables}}
0668a4
\end{figure}
0668a4
0668a4
\section{Relevant Files}
0668a4
\hypertarget{sec:Concepts:Manuals:Files}{}
0668a4
\label{sec:Concepts:Manuals:Files}
0668a4
0668a4
\subsection{repository.tex}
0668a4
0668a4
The \texttt{repository.tex} file is the main book's file. Here is
0668a4
where you define specific book information like class, title, authors,
0668a4
etc.  Inside \texttt{repository.tex} you organize chapters and load
0668a4
their sections.
0668a4
0668a4
\subsection{introduction.tex} 
0668a4
0668a4
The \texttt{Introduction.tex} file introduces a specific artwork
0668a4
component: what it does, where and when it appears in, etc.
0668a4
0668a4
\subsection{framework.tex} 
0668a4
0668a4
The \texttt{rramework.tex} file describes how to interact with a
0668a4
specific artwork component: where to find the artwork component inside
0668a4
CentOS Artwork Repository, how to render their images, how to render
0668a4
their translations, their specific translation markers, etc.
0668a4
0668a4
\subsection{rebranding.tex} 
0668a4
0668a4
The \texttt{rebranding.tex} file describes how to rebrand a specific
0668a4
artwork component: where to find the arwork component inside CentOS
0668a4
Distribution, related packages you need to modify, etc.
0668a4
0668a4
\section{Relevant Directories}
0668a4
\hypertarget{sec:Concepts:Manuals:Directories}{}
0668a4
\label{sec:Concepts:Manuals:Directories}
0668a4
0668a4
\subsection{Concepts}
0668a4
0668a4
The \texttt{Concepts} directory organizes chapters related to
0668a4
``Concepts'' part.  Files in this directory describe concepts used
0668a4
inside CentOS Artwork Repository.
0668a4
0668a4
\subsection{Workstation} 
0668a4
0668a4
The \texttt{Workstation} directory organizes chapters related to
0668a4
``Preparing Your Workstation'' part. Files in this directory describe
0668a4
actions (i.e. installation and configuration) you need to do before
0668a4
using CentOS Artwork Repository. 
0668a4
0668a4
\subsection{Distribution} 
0668a4
0668a4
The \texttt{Distribution} directory organizes chapters releated to
0668a4
``Distribution'' part. This part gets its attention into the different
0668a4
artwork components of CentOS Distribution, using a subdirectory
0668a4
structure to organize them and the files \texttt{introduction.tex},
0668a4
\texttt{framework.tex}, and \texttt{rebranding.tex} to describe them.
0668a4
0668a4
\subsection{Licenses} 
0668a4
0668a4
The \texttt{Licenses} directory organizes licenses used in this book.
0668a4
0668a4
\section{Revisions}
0668a4
\hypertarget{sec:Concepts:Manuals:Revisions}{}
0668a4
\label{sec:Concepts:Manuals:Revisions}
0668a4
0668a4
Revisions are a way of organizing changes committed to CentOS Artwork
0668a4
Repository User Guide. Revisions have the format ``Revision M.N'',
0668a4
where M is the major revision number, and N is the update revision
0668a4
number.  Revision update number (N) may increase by one every month to
0668a4
release that month's changes.  Once the six month cycle is reached,
0668a4
major revision number (M) is increased by one and update revision
0668a4
number (N) is reset to 0.
0668a4
0668a4
\section{Export to PDF}
0668a4
0668a4
To produce the file \texttt{repository.pdf}, you need to get inside
0668a4
the Manual's framework and execute the command:
0668a4
0668a4
\begin{quote}
0668a4
\texttt{pdflatex repository.tex}
0668a4
\end{quote}