aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2011-03-05 21:42:32 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2011-03-07 17:29:26 +0100
commitf821e029d75326be545c6ce7ab51493d223ab360 (patch)
tree56eaa47f114629f2b0fcaf336925191301a1e2af
parentdf5f14060b81fb7fb79c34acbca11d0078ad57d6 (diff)
downloadlogdiag-f821e029d75326be545c6ce7ab51493d223ab360.tar.gz
logdiag-f821e029d75326be545c6ce7ab51493d223ab360.tar.xz
logdiag-f821e029d75326be545c6ce7ab51493d223ab360.zip
Add a user guide for Microsoft Windows.
Currently in two translations, Czech and English. Only the XeLaTeX sources are provided. This is to be later replaced by a multiplatform, multilingual DocBook-based documentation, but that requires a bit more work on integrating it with CMake and all.
-rw-r--r--docs/user-guide/create-connection-begin.pngbin0 -> 1119 bytes
-rw-r--r--docs/user-guide/create-connection-end.pngbin0 -> 1121 bytes
-rw-r--r--docs/user-guide/github.pngbin0 -> 61899 bytes
-rw-r--r--docs/user-guide/logdiag-cs.pngbin0 -> 34634 bytes
-rw-r--r--docs/user-guide/logdiag-en.pngbin0 -> 34298 bytes
-rw-r--r--docs/user-guide/select-objects.pngbin0 -> 3709 bytes
-rw-r--r--docs/user-guide/select-symbol.pngbin0 -> 3218 bytes
-rw-r--r--docs/user-guide/user-guide-cs.tex148
-rw-r--r--docs/user-guide/user-guide-en.tex134
9 files changed, 282 insertions, 0 deletions
diff --git a/docs/user-guide/create-connection-begin.png b/docs/user-guide/create-connection-begin.png
new file mode 100644
index 0000000..ffd6ee5
--- /dev/null
+++ b/docs/user-guide/create-connection-begin.png
Binary files differ
diff --git a/docs/user-guide/create-connection-end.png b/docs/user-guide/create-connection-end.png
new file mode 100644
index 0000000..777167d
--- /dev/null
+++ b/docs/user-guide/create-connection-end.png
Binary files differ
diff --git a/docs/user-guide/github.png b/docs/user-guide/github.png
new file mode 100644
index 0000000..32f13e6
--- /dev/null
+++ b/docs/user-guide/github.png
Binary files differ
diff --git a/docs/user-guide/logdiag-cs.png b/docs/user-guide/logdiag-cs.png
new file mode 100644
index 0000000..f0ff292
--- /dev/null
+++ b/docs/user-guide/logdiag-cs.png
Binary files differ
diff --git a/docs/user-guide/logdiag-en.png b/docs/user-guide/logdiag-en.png
new file mode 100644
index 0000000..4b3e4a2
--- /dev/null
+++ b/docs/user-guide/logdiag-en.png
Binary files differ
diff --git a/docs/user-guide/select-objects.png b/docs/user-guide/select-objects.png
new file mode 100644
index 0000000..8f4ad83
--- /dev/null
+++ b/docs/user-guide/select-objects.png
Binary files differ
diff --git a/docs/user-guide/select-symbol.png b/docs/user-guide/select-symbol.png
new file mode 100644
index 0000000..fcea50c
--- /dev/null
+++ b/docs/user-guide/select-symbol.png
Binary files differ
diff --git a/docs/user-guide/user-guide-cs.tex b/docs/user-guide/user-guide-cs.tex
new file mode 100644
index 0000000..77a76b3
--- /dev/null
+++ b/docs/user-guide/user-guide-cs.tex
@@ -0,0 +1,148 @@
+%&program=xelatex
+%&encoding=UTF-8 Unicode
+
+\documentclass[12pt,oneside,a4paper,titlepage,final]{article}
+\usepackage{fontspec}
+\usepackage{indentfirst}
+\usepackage{setspace}
+\usepackage{graphicx}
+\usepackage[czech]{babel}
+\usepackage[pdfborder={0 0 0},pdfpagelabels=true,plainpages=false]{hyperref}
+\usepackage[all]{hypcap}
+
+\usepackage{amsmath}
+\usepackage{amsthm}
+
+\newtheoremstyle{note}{\parskip}{0pt}{}{\parindent}{\bfseries}{:}{.5em}{}
+\theoremstyle{note}
+\newtheorem*{warning}{Pozor}
+
+% Better quotations
+\renewcommand*{\uv}[1]{\quotedblbase #1\textquotedblleft}
+
+% Metadata
+\newcommand{\gettitle}{logdiag}
+\newcommand{\getsubtitle}{Průvodce uživatele}
+\newcommand{\getauthor}{Přemysl Janouch}
+\newcommand{\getdate}{6. března 2011}
+
+\hypersetup{pdftitle={\gettitle{} --- \getsubtitle},pdfauthor={\getauthor}}
+
+\begin{document}
+
+% Number the first pages with roman numerals
+\renewcommand{\thepage}{\roman{page}}
+
+% The title page has no header or footer at all
+\thispagestyle{empty}
+
+\begin{center}
+ \doublespacing
+ \textbf{\LARGE\gettitle}\\{\Large\getsubtitle}
+ \par\getauthor
+ \par\getdate
+ \vfill
+ \includegraphics{logdiag-cs}
+ \newpage
+\end{center}
+
+\tableofcontents
+\newpage
+
+% Number the real content with arabic numerals and show them in the footer
+\renewcommand{\thepage}{\arabic{page}}
+\setcounter{page}{1}
+
+\section{Úvod}
+Tento dokument vás má za účel provést po aplikaci a~pomoci vám se v~ní zorientovat. Popis úkonů se přednostně vztahuje na operační systém Microsoft Windows, do jisté míry je však platný i~pro jiné operační systémy.
+
+\section{Získání aplikace}
+Nejnovější verzi aplikace je možné stáhnout na následující webové adrese: \mbox{\url{http://github.com/pjanouch/logdiag}}.
+
+\begin{figure}[ht]
+ \centering
+ \includegraphics[width=\textwidth,keepaspectratio]{github}
+ \caption{Nabídka pro stahování na githubu}
+ \label{github-download}
+\end{figure}
+
+Až se ocitnete na githubu, vyhledejte po pravé straně tlačítko s~nápisem \uv{Downloads}, případně \uv{Soubory ke stažení}, a~klepněte na něj. Zobrazí se před vámi nabídka balíčků. Instalační soubor pro Microsoft Windows nese název ve stylu \uv{logdiag-\emph{verze}-Windows-x86.exe}.
+
+\section{Instalace}
+Proces instalace je velmi přímočarý. Po úvodní obrazovce je vyžadován souhlas s~licencí. Pokud nerozumíte anglicky, její stručné shrnutí zní, že aplikaci smíte v~nezměněné formě zcela volně používat a~redistribuovat, ale nejsou vám poskytovány žádné záruky. Následuje výběr složky, do které chcete aplikaci nainstalovat, a~složky pro umístění ve Start menu. V~případě, že nenastala žádná náhlá chyba, už jen stačí potvrdit úspěšnou instalaci.
+
+\begin{warning}
+ Pokud aplikaci instalujete do složky, kde se nachází již existující instalace, mohou nastat potíže. Ačkoliv je to možné, nepokoušejte se z~těch samých příčin instalovat ani více kopií vedle sebe. Nejdříve stávající instalaci odstraňte, například pomocí zástupce umístěného ve Start menu.
+\end{warning}
+
+\section{Operace s~objekty}
+% TODO: Zkusit restrukturalizovat na:
+
+% 4. Operace s objekty
+% 4.1 Základní operace
+% 4.1.1 Výběr
+% 4.1.2 Přesun
+% 4.1.3 Odstranění
+% 4.2 Značky
+% 4.2.1 Vložení
+% 4.2.2 Otáčení
+% 4.3 Spojení
+% 4.3.1 Tvorba
+%
+
+Každý diagram je tvořen z~objektů, a~s~těmi se sdružují dále popsané operace. Budete-li chtít momentálně prováděnou operaci zrušit, můžete tak obvykle učinit stiskem klávesy Escape.
+
+\subsection{Výběr objektů}
+Jednotlivé objekty můžete vybírat levým kliknutím myší. Ty se v~reakci na to vyznačí červenou barvou. Chcete-li vybrat objektů více, držte během klikání stisknutou klávesu Shift.
+
+\begin{figure}[ht]
+ \centering
+ \includegraphics{select-objects}
+ \caption{Výběr objektů v~oblasti}
+ \label{select-objects}
+\end{figure}
+
+Alternativně můžete táhnout myší z~volné oblasti diagramu do prostoru, viz obrázek \ref{select-objects}. Vyberou se objekty obsažené ve vytvořeném obdélníku. Výběr lze zrušit klepnutím na prázdné místo.
+
+\subsection{Přesun objektů}
+Přesun objektů se provede tažením objektů myší na požadované místo. Pokud jsou tyto objekty součástí výběru, přesune se celý výběr. Ten lze též přesouvat pomocí kurzorových kláves.
+
+\subsection{Odstranění objektů}
+Objekty odstraníte stisknutím klávesy Delete, případně z~menu aplikace.
+
+\subsection{Vložení značky}
+\emph{Značky} představují nejdůležitější druh objektů. Do diagramu je vložíte výběrem z~nabídky značek umístěné po~levé straně hlavního okna aplikace, viz obrázek \ref{select-symbol}. Po kliknutí na vámi vybranou značku klikněte znovu do diagramu na místo, kde ji chcete umístit.
+
+\begin{figure}[ht]
+ \centering
+ \includegraphics{select-symbol}
+ \caption{Výběr značky z~nabídky}
+ \label{select-symbol}
+\end{figure}
+
+\subsection{Otáčení značek}
+Otočit značku vloženou do diagramu můžete přes pravé tlačítko myši.
+
+\subsection{Propojení terminálů}
+\emph{Terminálem} se nazývá bod určený pro tvorbu spojení mezi značkami nebo jinými spojeními. Abyste z~něj spojení vyvedli, nejdříve na něj najeďte kurzorem myši tak, aby se viditelně vyznačil kroužkem. Pak stiskněte levé tlačítko myši a~přetáhněte kurzor myši na místo, kde chcete, aby spojení končilo.
+
+\begin{figure}[ht]
+ \centering
+ \includegraphics{create-connection-begin} \hspace{15pt} \includegraphics{create-connection-end}
+ \caption{Propojení terminálů dvou značek}
+ \label{create-connection}
+\end{figure}
+
+\section{Časté problémy}
+\subsection{Nelze otevřít uložený diagram}
+Při ukládání se ujistěte, že zadaný název souboru obsahuje příponu \uv{.ldd}. V~opačném případě se nezobrazí v~dialogu pro otevření diagramu. Pokud jste nějaký soubor již bez přípony uložili, napravíte to dodatečným přidáním přípony k~jeho názvu.
+
+\subsection{Jak můžu diagram vytisknout?}
+Současná verze aplikace není schopná přímo tisknout. Pro vytištění vytvořeného diagramu můžete klávesou PrintScreen sejmout snímek obrazovky, vložit jej například do aplikace Malování, oříznout požadovanou část a~vytisknout ji z~tohoto grafického editoru.
+
+\subsection{Schází mi popisky}
+Obdobně jako v~předchozím případě tato funkcionalita zatím neexistuje, ale je možné tento nedostatek obejít přes běžný grafický editor.
+
+\end{document}
+
+
diff --git a/docs/user-guide/user-guide-en.tex b/docs/user-guide/user-guide-en.tex
new file mode 100644
index 0000000..b4b707c
--- /dev/null
+++ b/docs/user-guide/user-guide-en.tex
@@ -0,0 +1,134 @@
+%&program=xelatex
+%&encoding=UTF-8 Unicode
+
+\documentclass[12pt,oneside,a4paper,titlepage,final]{article}
+\usepackage{fontspec}
+\usepackage{indentfirst}
+\usepackage{setspace}
+\usepackage{graphicx}
+\usepackage[english]{babel}
+\usepackage[pdfborder={0 0 0},pdfpagelabels=true,plainpages=false]{hyperref}
+\usepackage[all]{hypcap}
+
+\usepackage{amsmath}
+\usepackage{amsthm}
+
+\newtheoremstyle{note}{\parskip}{0pt}{}{\parindent}{\bfseries}{:}{.5em}{}
+\theoremstyle{note}
+\newtheorem*{warning}{Warning}
+
+% Better quotations
+\newcommand*{\uv}[1]{"#1"}
+
+% Metadata
+\newcommand{\gettitle}{logdiag}
+\newcommand{\getsubtitle}{User Guide}
+\newcommand{\getauthor}{Přemysl Janouch}
+\newcommand{\getdate}{6. March 2011}
+
+\hypersetup{pdftitle={\gettitle{} --- \getsubtitle},pdfauthor={\getauthor}}
+
+\begin{document}
+
+% Number the first pages with roman numerals
+\renewcommand{\thepage}{\roman{page}}
+
+% The title page has no header or footer at all
+\thispagestyle{empty}
+
+\begin{center}
+ \doublespacing
+ \textbf{\LARGE\gettitle}\\{\Large\getsubtitle}
+ \par\getauthor
+ \par\getdate
+ \vfill
+ \includegraphics{logdiag-en}
+ \newpage
+\end{center}
+
+\tableofcontents
+\newpage
+
+% Number the real content with arabic numerals and show them in the footer
+\renewcommand{\thepage}{\arabic{page}}
+\setcounter{page}{1}
+
+\section{Introduction}
+This document will guide you through the application and help to familiarize you with it. The description of tasks is preferentially related to the Microsoft Windows operating system, though it's also valid for other operating systems to a certain extent.
+
+\section{Getting the application}
+Download the newest version of the application at the following web address: \mbox{\url{http://github.com/pjanouch/logdiag}}.
+
+\begin{figure}[ht]
+ \centering
+ \includegraphics[width=\textwidth,keepaspectratio]{github}
+ \caption{The download menu at github}
+ \label{github-download}
+\end{figure}
+
+While at github, look for a button entitled \uv{Downloads} at the right side of the page and click on it. A menu with packages appears. The installation file for Microsoft Windows is named \uv{logdiag-\emph{version}-Windows-x86.exe}.
+
+\section{Installation}
+The installation process is quite straight-forward. After the initial screen the license agreement is required. Next, choose a folder in which to install the application and another one for placement in the Start menu. As long as no unexpected error has occurred, all that's left is confirming a successful installation.
+
+\begin{warning}
+ If the application is installed to a folder where a previous installation is already located, problems may arise. Although it is possible to do so, don't try to install multiple copies parallely either, for the same reasons. Remove the current installation first, for example by using the shortcut located in the Start menu.
+\end{warning}
+
+\section{Operations with objects}
+Each diagram consists of objects, and these are joined with the operations described below. To cancel any current operation, press the Escape key.
+
+\subsection{Selecting objects}
+Select single objects by left-clicking on them. They will get highlighted with red color in reaction to this. To select multiple objects, hold the Shift key while clicking.
+
+\begin{figure}[ht]
+ \centering
+ \includegraphics{select-objects}
+ \caption{Selecting objects inside an area}
+ \label{select-objects}
+\end{figure}
+
+Alternatively drag the mouse from free space within the diagram into the area, see figure \ref{select-objects}. Objects contained in this rectangle will be selected. The selection may later be dismissed by just clicking into free space.
+
+\subsection{Moving objects}
+Moving of objects is done by dragging them with the mouse onto the desired place. If these objects form a part of the current selection, the whole selection is moved. The selection may also be moved using cursor keys.
+
+\subsection{Removing objects}
+Remove objects either by pressing the Delete key or from the application menu.
+
+\subsection{Inserting symbols}
+\emph{Symbols} constitute the most important kind of objects. Insert them into the diagram by choosing one from the symbol menu located at the left side of the main application window, see figure \ref{select-symbol}. After clicking on a symbol, click again into the diagram where the symbol is to be placed.
+
+\begin{figure}[ht]
+ \centering
+ \includegraphics{select-symbol}
+ \caption{Choosing a symbol from the menu}
+ \label{select-symbol}
+\end{figure}
+
+\subsection{Rotating symbols}
+Rotate a symbol inserted into the diagram by right-clicking on it.
+
+\subsection{Connecting terminals}
+A point intended for creation of connections between symbols or other connections is called a \emph{terminal}. To lead a connection out of it, first hover it with the mouse pointer, so it gets visibly highlighted with a circle. Then press the left mouse button and drag the pointer onto the place where you want the connection to end.
+
+\begin{figure}[ht]
+ \centering
+ \includegraphics{create-connection-begin} \hspace{15pt} \includegraphics{create-connection-end}
+ \caption{Interconnecting terminals of two symbols}
+ \label{create-connection}
+\end{figure}
+
+\section{Frequent problems}
+\subsection{Can't open a saved diagram}
+When saving, assure that the filename you've typed in contains the \uv{.ldd} suffix. If not, it won't show up in the dialog for opening diagrams. In case you've already saved a file without an extension, you may fix this situation by adding the suffix to its name.
+
+\subsection{How do I print a diagram?}
+The current version of application is not able to print directly. To print out a created diagram, you may use the PrintScreen key to capture a screenshot, then insert it to, for example, Paint, and print it from inside the graphics editor.
+
+\subsection{I miss labels}
+Similarly to the previous case, this functionality doesn't exist yet, but it is possible to get around this limitation via a regular graphics editor.
+
+\end{document}
+
+