From 45842016eba83971177e3df7849214bd91942a04 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Tue, 26 Jun 2018 00:18:12 +0200 Subject: Abandon LaTeX in favor of AsciiDoc While we've lost precise control over the output, there's a lot less noise in the files and we've gained a cheap way of producing user documentation in the HTML format. Apparently I was eyeing DocBook all those years ago as well. I /think/ it proved to be a little bit too hard to write that way, or to get visually satisfying results. Nonetheless, the raw format is capable of specifying figures with multiple pictures, so we might want to revisit the idea some other day. The documents have been slightly updated to reflect the "recent" changes in program function and hosting. Some issues have also been corrected in the English translation. --- docs/user-guide/user-guide-en.asciidoc | 151 +++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 docs/user-guide/user-guide-en.asciidoc (limited to 'docs/user-guide/user-guide-en.asciidoc') diff --git a/docs/user-guide/user-guide-en.asciidoc b/docs/user-guide/user-guide-en.asciidoc new file mode 100644 index 0000000..cd091c6 --- /dev/null +++ b/docs/user-guide/user-guide-en.asciidoc @@ -0,0 +1,151 @@ +// TODO: nakonfigurovat v CMake asciidoctor-pdf, je potřeba pár `gem install` +// https://github.com/asciidoctor/asciidoctor-pdf/blob/master/README.adoc +// https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc + +logdiag: User Guide +=================== +Přemysl Janouch +v0.2, 2018-06-25 +:toc: left +:sectnums: +:xrefstyle: short + +image::logdiag-en.png[] + +<<< + +Introduction +------------ +This document will guide you through the application and help to familiarize you +with it. The description of tasks mainly targets the Microsoft Windows +operating system, though it's also valid for other operating systems to +a certain extent. + +Getting the application +----------------------- +Download the newest version of the application at the following web address: +https://git.janouch.name/p/logdiag. + +// TODO: aktualizovat obrázek pro anglickou Gitea +[[github-download]] +.The download menu at GitHub +image::github.png[] + +While on the web, look for a tab entitled ``Releases'' and click on it. A menu +with versions will appear with files for download listed under ``Downloads'' +headings. The installation file for Microsoft Windows is named in the style of +``logdiag-__version__-Windows-x86.exe''. + +Installation +------------ +The installation process is quite straight-forward. After the initial screen a +license agreement is required. Next, choose a folder in which to install the +application and another one for placement in the Start menu. So long as no +unexpected errors have occurred, all that's left is confirming a successful +installation. + +WARNING: If the application is installed into 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. + +Operations with objects +----------------------- + +//// + +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 + +//// + +Each diagram consists of objects, and these are accompanied by the operations +described below. To cancel any current operation, press the Escape key. + +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. + +// XXX: nelze zarovnat obrázek na střed zároveň s caption +[[select-objects]] +.Selecting objects inside an area +image::select-objects.png[] + +Alternatively drag the mouse from free space within the diagram into the area, +see <>. Objects contained in this rectangle will be +selected. The selection may later be dismissed by just clicking into free space. + +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. + +Removing objects +~~~~~~~~~~~~~~~~ +Remove objects either by pressing the Delete key or from the application menu. + +Inserting symbols +~~~~~~~~~~~~~~~~~ +_Symbols_ constitute the most important kind of objects. Insert them into the +diagram by choosing one from the symbol menu located on the left side of the +main application window, see <>, and dragging it onto the diagram +where you want the symbol to be placed. + +[[select-symbol]] +.Choosing a symbol from the menu +image::select-symbol.png[] + +Rotating symbols +~~~~~~~~~~~~~~~~ +Rotate a symbol inserted into the diagram by right-clicking on it. + +Connecting terminals +~~~~~~~~~~~~~~~~~~~~ +A point intended for creation of connections between symbols or other +connections is called a _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. + +// XXX: nelze sloučit do jedné figure +[[create-connection]] +.Interconnecting terminals of two symbols +image:create-connection-begin.png[] + ...  +image:create-connection-end.png[] + +Frequent problems +----------------- + +Can't open a saved diagram +~~~~~~~~~~~~~~~~~~~~~~~~~~ +When saving, ensure that the filename you've typed in contains the ``.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. + +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. + +I miss labels +~~~~~~~~~~~~~ +Similarly to the previous case, this functionality doesn't exist yet, but it is +possible to get around this limitation using a graphics editor. + -- cgit v1.2.3-70-g09d2