Debian Codegraph @

README

raw
1 This is FET version 7.9.4
2
3
4 Program description:
5
6 FET is free timetabling software (licensed under the GNU Affero General Public License version 3).
7 This program aims to automatically generate the timetable of a school, high-school or university.
8 It can be used for other timetabling purposes.
9
10 FET can mean "Free Educational Timetabling" (the "E" in the middle may also stand for other words, based on your personal preference).
11
12 FET homepage: https://lalescu.ro/liviu/fet/
13
14
15 Requirements:
16
17 FET is created in the following environment: openSUSE Tumbleweed GNU/Linux distribution, Linux 7.1.4, Xfce 4.20,
18 Xfce Terminal Emulator 1.2.0, Midnight Commander 4.8.33, Krusader 2.9.0, Kate 26.04.3, KDiff3 0.9.99-beta, grep 3.12, sed 4.10,
19 Thunar Bulk Rename 4.20.9, Qt 6.11.1, QMake 3.1, CMake 4.4.0, Ninja 1.13.2, Qt Creator 20.0.0, GCC 15.3.0, Clang 22.1.8, GNU Make 4.4.1,
20 GDB 16.3, Valgrind 3.27.1, Coverity Scan 2024.12.1, Cppcheck 2.19, SpeedCrunch 0.12, QCAD Community Edition 3.26.0.0, Inkscape 1.4.4,
21 GIMP 3.2.4, ImageMagick 7.1.2-27, International Ispell 3.1.20 / Aspell 0.60.8.2, tar 1.35, Gzip 1.14, bzip2 1.0.8, xz 5.8.3,
22 other great software (most of these software packages are free software, in the sense defined by The Free Software Foundation).
23
24 The executable version of FET for Windows is obtained in the following environment: Windows 11 operating system,
25 Command Prompt, Total Commander 11.58, Notepad, Python 3.9.7, ActivePerl 5.28, CMake 3.30.5, Ninja 1.12.1, Qt 6.11.1,
26 QMake 3.1, Qt Creator 20.0.0, MinGW 13.1.0, Microsoft Visual C++ 2019, 7-Zip 26.02.
27
28 The executable version of FET for GNU/Linux is obtained in the following environment: GNU/Linux Mint 21.3 "Virginia" Xfce Edition
29 with the standard packages, Qt 6.11.1, and possibly linuxdeploy 1-alpha (most of these software packages are free software,
30 in the sense defined by The Free Software Foundation).
31
32 FET is a C++ application and uses Qt, a C++ toolkit for cross-platform application development.
33 FET can be run on any platform supported by Qt (GNU/Linux, Windows, macOS, and maybe others).
34
35 You will need a C++17 compliant C++ compiler to compile FET.
36
37 GNU/Linux, macOS:
38 For running, you need only the archive of FET compiled for your operating system (which contains the necessary libraries).
39 CMake is the new recommended way to compile FET. QMake is the old and not recommended way.
40 For compiling, you will need this software:
41 CMake 3.28 or later (for compiling with CMake).
42 GCC 15.3.0 or similar.
43 Qt 6.11.1 or compatible. CMake: Qt 6.10 minimum. QMake: Qt 5.15 or later should be fine.
44 For compiling with QMake: Make 4.2.1 or similar (GNU Make).
45 QMake 3.1 or compatible (usually available with Qt).
46
47 Note: You need a C++17 compliant C++ compiler. You might be able to use the Clang C++ compiler or other C++ compiler instead of GCC.
48
49 Note2: A dependency under GNU/Linux might cause problems: if you get an error like:
50 "qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
51 This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
52 Available platform plugins are: eglfs, wayland-egl, vkkhrdisplay, xcb, offscreen, vnc, minimalegl, linuxfb, minimal, wayland.
53 Aborted (core dumped),"
54 try to install xcb-cursor0 or libxcb-cursor0.
55
56 Windows:
57 For running, you need only the archive of FET compiled for Windows (which contains the necessary dll-s).
58 For compiling, you need Qt and a compatible C++ compiler complying with the C++17 standard (MinGW is a possibility).
59
60
61 Download:
62
63 You can download the latest version from the FET homepage, https://lalescu.ro/liviu/fet/
64
65
66 Getting - compiling - installing the GNU tools: Make and GCC:
67
68 GNU/Linux, maybe macOS: Most probably, your platform has these installed by default or available on the internet
69 as precompiled packages. If you don't have them, please install them using YaST (on openSUSE), Adept Manager
70 (on Ubuntu) or other package manager.
71 To verify that you have the correct packages, write "make --version", "gcc --version" and
72 "g++ --version".
73 Advice from a user on Ubuntu: "sudo apt-get install build-essential" installs build libraries commonly used.
74
75 Maybe macOS (from the user Darren McDonald): Install Xcode (the current version is 12.5.1) from the Mac App Store. (Once installed, you'll
76 need to open the Xcode app to finish the installation.)
77
78 Windows: you need a Qt compatible C++ compiler.
79 Maybe an easy option is the MinGW compiler, available optionally with the Qt distribution or on the Qt download page.
80 (You might also download MinGW from the internet. There might be more variants. One of them is on: https://www.mingw-w64.org/)
81
82
83 Getting - compiling - installing Qt:
84
85 Qt homepage: https://www.qt.io/
86
87 You will need Qt 6.11.1 or compatible to compile FET. Qt 5.15 or later should be fine.
88 You can get the corresponding version of Qt with your package manager or from the internet (preferably from the Qt homepage).
89 Qt can be used with the GNU (L)GPL or commercial license (The authors chose the GNU (L)GPL license).
90
91 GNU/Linux: It is possible to use YaST (or Adept Manager) or other package managers to get your version of Qt, pre-compiled.
92 Or you can download, (possibly) compile and install Qt from the internet (preferably from its homepage).
93
94 Windows - Download latest Qt from the internet (preferably from its homepage). In the latest precompiled Qt versions the "-schannel" option is
95 enabled by default, so there is no need to compile Qt. But in case there is such need, these are the instructions:
96 To compile Qt from the sources using the additional configure option "-schannel" (this is done to ensure that SSL will work in FET using the
97 available SSL dll-s from Windows): You can choose to download/compile/install only the qtbase component, with a configure command which might look like:
98 "configure.bat -opensource -confirm-license -platform win32-g++ -schannel -opengl desktop -release -nomake examples -nomake tests -prefix C:\Qt\6.11.1".
99 (When we tried to use the recommended option "-opengl dynamic" we got a compiler error.)
100 Note that to be able to open ui files with Qt Designer or ts files with Qt Linguist you need to install the Qt component qttools
101 (or the whole Qt package).
102
103 macOS:
104 Install Qt (the current version is 6.11.1) from https://www.qt.io. The default install location is /Users/YOURUSERNAME/Qt, and you can create
105 a (free) Qt account. [Update: if you're just using Qt for FET, you should select to "download for open source".]
106
107 Note about the Qt "QMAKESPEC" variable: advanced topic, read this if you get Qt errors about the environment not being set, or environment
108 variable QMAKESPEC not being set, or if the Qt environment is not set correctly: Qt needs to know the environment you are using. It is usually
109 something like: linux-g++, macx-g++ or win32-g++ (platform-compiler). You can find all the supported platforms in the directory "mkspecs" of Qt
110 (some usual locations are /usr/share/qt5/mkspecs or /usr/lib/qt5/mkspecs on GNU/Linux or C:\Qt\6.11.1\mkspecs on Windows).
111 It seems that Qt automatically finds the platform (there is a default configuration in the "default" subdirectory of the "mkspecs" directory,
112 which is created automatically when you install Qt). If the default configuration is not working or is wrong, you may need to set the
113 correct QMAKESPEC variable for your platform. Under Windows, you can create an environment variable QMAKESPEC equal to win32-g++
114 (if you are using MinGW), under other platforms create an environment variable named QMAKESPEC equal with the correct platform-compiler
115 you are working on (for instance macx-g++ or linux-g++).
116
117
118 Compiling FET:
119
120 1. With CMake (recommended):
121
122 You will need Qt version >= 6.10.0, and CMake version >= 3.28.
123
124 Run "qt-cmake -B build" (qt-cmake is located in the bin directory of Qt), then "cmake --build build --parallel 16".
125 Note: to use a different C++ compiler than the standard one, you can use the option "CMAKE_CXX_COMPILER"; for instance,
126 to use Clang, write "qt-cmake -B build -DCMAKE_CXX_COMPILER=clang++".
127 Note: the first command might issue a CMake warning, if you don't have the package Qt LinguistTools installed. This package
128 is only used by the FET authors to update and release the translation files. You can compile FET without this package,
129 so you can safely ignore the possible warning.
130 Note: "build" can be changed to a name of your choice (but not "--build"); the last "build" can be changed to another name.
131 Note: 16 is the number of threads of your processor to compile on. If you have a processor with 8 cores and 16 threads,
132 you might want to use 8 instead of 16. The authors are not sure which variant is faster.
133 Note: on Windows 11, the authors write these commands in cmd:
134 set PATH=C:\Qt\6.11.1\mingw_64\bin;C:\Qt\Tools\mingw1310_64\bin;%PATH%
135 set PATH=C:\Qt\Tools\CMake_64\bin;%PATH%
136 qt-cmake -G "MinGW Makefiles" -B build
137
138 Note GL CMake: On GNU/Linux, if you get an error related to QtGui, you may need to install additional packages before compiling FET.
139 For instance, on openSUSE GNU/Linux you may need to install Mesa-devel (or maybe only Mesa-libGL-devel); on Mint GNU/Linux you
140 may need to install libgl1-mesa-dev.
141
142 Note NUseSystemLocale: If you want FET to autodetect the system locale language, you can use the custom CMake option
143 "USE_SYSTEM_LOCALE", as: "qt-cmake -B build -DUSE_SYSTEM_LOCALE=ON", then continue with the build, as above.
144 This will work if you recompile from the beginning all the FET package (remove all the intermediary files and recompile),
145 and also if you did not use FET on this machine or if you remove the settings file/registry entry for FET (otherwise
146 FET will retain the language which was already saved in its settings).
147
148 Note: You can define also the options NO_WINDOWS_CONSOLE (so that fet-cl.exe will not open a console on Windows),
149 and COMMAND_LINE_ONLY, to only compile fet-cl, without fet. These options can be defined as above (qt-cmake -B build
150 -DNO_WINDOWS_CONSOLE=ON and qt-cmake -B build -DCOMMAND_LINE_ONLY=ON); you can define multiple options together, of course.
151
152 2. With QMake (old method, not recommended):
153
154 You will need a C++17 compliant C++ compiler to compile FET.
155
156 Note: if after unpacking the tar.xz sources archive you obtain some files with incomplete/truncated file names in the sources directories,
157 you might need to use a better (un)packer (probably a recent version of the official tar and xz should be fine).
158 For GNU/Linux and maybe macOS, "tar -Jxvf fet-v.v.v.tar.xz" should work correctly.
159 For Windows, either use a modern good (un)packer, or, advice from a user:
160 1. download mingw-get-setup.exe from https://sourceforge.net/projects/mingw/files/
161 2. run mingw-get-setup.exe
162 3. check msys-base to be installed, Apply Changes from Installation menu and close MinGW Installation Manager
163 4. run C:\MinGW\msys\1.0\msys.bat
164 5. $ cd to the directory where the .tar.xz file is
165 6. $ tar -Jxvf fet-v.v.v.tar.xz
166
167 Note NMkJobs: advice from a user: if you have a multiple core computer, you may be able to split the compilation into more threads, with the -j option for the
168 make command, so that the compilation is faster. This option creates a number of compilation threads equal to the number specified along with the -j option.
169 Under GNU/Linux or macOS, just write "make -j 16" if you have a 16 threads computer. This is proven to work under GNU/Linux and macOS. Under Windows it depends
170 on the C++ compiler (you may try it to see if it works) - with MinGW it works.
171
172 Note: if you had a wrongly setup environment and you updated it, before the new compilation you might want to remove all the previously generated temporary
173 files, like the Makefile-s and the generated files in the tmp directory. Under GNU/Linux, this can be done with a "make distclean", but it is maybe the best
174 idea to remove everything and unpack again the FET sources.
175
176 Currently FET can be compiled with a C++ compiler, using Qt version 6.11.1 or compatible.
177
178 Note NUseSystemLocale: If you want FET to autodetect the system locale language, type <<qmake fet.pro "DEFINES+=USE_SYSTEM_LOCALE">>
179 or simply <<qmake "DEFINES+=USE_SYSTEM_LOCALE">>. This will work if you recompile from the beginning all the FET package (remove
180 all the intermediary files and recompile), and also if you did not use FET on this machine or if you remove the settings file/registry entry for FET
181 (otherwise FET will retain the language which was already saved in its settings).
182
183 Note GL QMake: If you get an error like this:
184 In file included from ../../Qt5.3.2/5.3/gcc_64/include/QtGui/qopenglcontext.h:62:0,
185 from ../../Qt5.3.2/5.3/gcc_64/include/QtGui/QtGui:32,
186 from ../../Qt5.3.2/5.3/gcc_64/include/QtWidgets/QtWidgetsDepends:3,
187 from ../../Qt5.3.2/5.3/gcc_64/include/QtWidgets/QtWidgets:3,
188 from engine/import.cpp:35:
189 ../../Qt5.3.2/5.3/gcc_64/include/QtGui/qopengl.h:110:21: fatal error: GL/gl.h: No such file or directory
190 # include <GL/gl.h>
191 ^
192 compilation terminated.
193 you may need to install additional packages before compiling FET. For instance, on openSUSE GNU/Linux you may need to install Mesa-devel
194 (or maybe only Mesa-libGL-devel); on Mint GNU/Linux you may need to install libgl1-mesa-dev.
195
196 Note: If you want to compile only the command-line version, open the file fet.pro with a text editor and from the second line remove the
197 text "src/src.pro ".
198
199
200 GNU/Linux:
201 - You will need Qt 6.11.1 or compatible to compile this program.
202 - type "qmake fet.pro" or simply "qmake". You have to use QMake from Qt 6 series (this command is executed very fast, so don't worry if you
203 get immediate return from it)
204 See also notes NUseSystemLocale and Note4 above.
205 - type "make" (this takes some time). See also note NMkJobs above ("make -j 16" for instance will be much faster on a 16 threads processor).
206 The exact measured time to compile FET-6.28.0: 3 minutes 20 seconds on 16 threads (make -j 16) on a Ryzen 7 2700X.
207 To remove the compiled objects/executable: "make clean" and/or "make distclean".
208
209
210 macOS:
211 3 Variants:
212
213 1. First variant, if you use the GCC compiler:
214 - You will need Qt 6.11.1 or compatible to compile this program.
215 - type "qmake fet.pro" or simply "qmake". You have to use QMake from Qt 6 series.
216 (this command is executed very fast, so don't worry if you get immediate return from it)
217 - IMPORTANT: you might need to write: "qmake -spec macx-g++ fet.pro", if "qmake fet.pro"
218 does not produce a correct makefile.
219 See also notes NUseSystemLocale and Note4 above.
220 - type "make" (this takes some time). See also note NMkJobs above ("make -j 16" for instance will be much faster on a 16 threads processor).
221 The compilation might take 3-5 minutes on multiple threads on a modern computer.
222 To remove the compiled objects/executable: "make clean" and/or "make distclean".
223
224 2. Another variant:
225 - Type "qmake fet.pro" and then "xcodebuild".
226
227 3. Another variant, if you use the Clang C++ compiler (which seems to be the default for Qt 6.11.1 on macOS):
228 It seems that you need to type:
229 /Users/YOURUSERNAME/Qt/6.11.1/macos/bin/qmake -r -spec /Users/YOURUSERNAME/Qt/6.11.1/macos/mkspecs/macx-clang
230 (the -r parameter might not be necessary.)
231
232 If you are compiling on a computer with Mac silicon (e.g., an M1 MacBook, etc.) and want to create a version that will run on Intel processors as well,
233 instead of the command above, use
234 /Users/YOURUSERNAME/Qt/6.11.1/macos/bin/qmake -r -spec /Users/YOURUSERNAME/Qt/6.11.1/macos/mkspecs/macx-clang QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"
235
236 Then "make" (this takes some time). See also note NMkJobs above ("make -j 16" for instance will be much faster on a 16 threads processor).
237 The compilation might take 3-5 minutes on multiple threads on a modern computer.
238 To remove the compiled objects/executable: "make clean" and/or "make distclean".
239 Please see: https://lalescu.ro/liviu/fet/forum/index.php?topic=2488.msg13425#msg13425 (and also see the whole topic there.)
240
241
242 Windows: MinGW C++ compiler: you need Qt 6.11.1 or compatible, and MinGW.
243 You might use other C++ compilers if you want, please see the Qt documentation.
244 for other variants. Any C++ compiler that supports Qt should be good.
245 You need to run "qmake fet.pro" or "qmake" (this command is executed very fast, so don't worry if you get
246 immediate return from it) and then, if you are using MinGW, "mingw32-make" (this takes some time)
247 in a command line in the FET directory.
248 See also note NUseSystemLocale above.
249 See also Note GL QMake above.
250 See also note NMkJobs above ("mingw32-make -j 16" for instance will be much faster on a 16 threads processor).
251 The exact measured time to compile FET-6.28.0: 4 minutes 30 seconds on 16 threads (mingw-make -j 16) on a Ryzen 7 2700X.
252 (You can use the command line prompt of Windows or the Qt command line prompt shortcut in the Qt shortcuts menu.)
253 Then, you can remove the directories "src" and "tmp", to save up space, if you want.
254 You will need to copy the dll-s in the same directories as in the official FET archive for Windows.
255
256
257 Installing FET:
258
259 1. With CMake:
260
261 Run "cmake --install build [--prefix PREFIX]", [--prefix PREFIX] being optional, and PREFIX is of your choice (might work
262 with relative paths, but the best is to give an absolute path). Then you might need to run windeployqt (on Windows) or
263 macdeployqt (on macOS) to make a universally runnable program.
264 Note: "build" can be changed to a name of your choice; the last "build" can be changed to another name.
265
266 Note for macOS: If you would like to obtain a universally runnable package, you might need to set CMAKE_OSX_ARCHITECTURES to x86_64;arm64 and
267 set CMAKE_OSX_DEPLOYMENT_TARGET appropriately.
268
269 2. With QMake (old method):
270
271 GNU/Linux, and maybe macOS:
272 Type "make install" with root permissions.
273
274 GNU/Linux: to associate the *.fet files with the FET executable and to make them display the FET icon in the file browser, after "make install",
275 you might need to write these three commands (again, with root permissions):
276 xdg-icon-resource forceupdate --theme hicolor
277 update-mime-database /usr/share/mime
278 update-desktop-database
279
280 GNU/Linux: How to obtain a universally running file using linuxdeploy:
281
282 Download these 3 linuxdeploy packages (the authors use the x86_64 executable packages, which are for 64-bit systems):
283 https://github.com/linuxdeploy/linuxdeploy/releases/tag/continuous
284 https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/tag/continuous
285 https://github.com/linuxdeploy/linuxdeploy-plugin-appimage/releases/tag/continuous
286
287 Assuming you work from the command line, set these environment variables:
288 export LD_LIBRARY_PATH=/home/user/Qt/6.11.1/gcc_64/lib
289 export QMAKE=/home/user/Qt/6.11.1/gcc_64/bin/qmake
290
291 Assuming you compiled FET and that you copied the whole directory to /home/user/fet-appdir/ and to /home/user/fet-appimage/ :
292
293 AppDir:
294 ./linuxdeploy-x86_64.AppImage --appdir /home/user/fet-appdir/fet-v.v.v/ -e /home/user/fet-appdir/fet-v.v.v/fet
295 -d /home/user/fet-appdir/fet-v.v.v/fet.desktop -i /home/user/fet-appdir/fet-v.v.v/icons/256x256/fet.png --plugin qt
296 also for fet-cl, without -d and -i.
297 Copy/move the translations directory near the executables, in the directory /home/user/fet-appdir/fet-v.v.v/AppDir/usr/bin.
298
299 AppImage:
300 make install INSTALL_ROOT=AppDir
301 Create the directory /home/user/fet-appimage/fet-v.v.v/AppDir/usr/bin if it does not exist.
302 Copy/move the fet executable to /home/user/fet-appimage/fet-v.v.v/AppDir/usr/bin/fet.
303 Copy/move the translations directory near the executable, in the directory /home/user/fet-appimage/fet-v.v.v/AppDir/usr/bin.
304 ./linuxdeploy-x86_64.AppImage --appdir /home/user/fet-appimage/fet-v.v.v/AppDir/ -e /home/user/fet-appimage/fet-v.v.v/AppDir/usr/bin/fet
305 -d /home/user/fet-appimage/fet-v.v.v/AppDir/usr/share/applications/fet.desktop
306 -i /home/user/fet-appimage/fet-v.v.v/AppDir/usr/share/icons/hicolor/256x256/apps/fet.png
307 --plugin qt --output appimage
308
309 macOS: The user Darren McDonald reported that one can obtain a universal macOS executable with:
310 cd /Users/YOURUSERNAME/Qt/6.11.1/macos/bin/
311 ./macdeployqt /Users/YOURUSERNAME/Downloads/fet-v.v.v/fet.app
312
313 Windows:
314 Move the FET directory to a place of your choice.
315
316
317 Running FET:
318
319 1. With CMake: run the fet or the fet-cl executable.
320
321 2. With QMake (old method):
322
323 Note: The FET main window contains a menu with the items: File, Data, History, Statistics, Advanced,
324 Timetable, Settings, Help. Everything is right if you have that. Optionally, on the main window there may be a toolbox
325 containing shortcuts (if selected by the user in the settings. By default it is selected).
326
327 To run FET in interface mode, you just need to run the executable named fet or fet.exe. You can also open directly a fet data file, by giving it
328 as a unique argument to the FET executable: "fet filename.fet" (or, on Windows, "fet.exe filename.fet").
329
330 GNU/Linux, and maybe macOS:
331 - If you installed FET with "make install":
332 Run the FET executable from the directory /usr/bin/ (it should be /usr/bin/fet for the interface version or /usr/bin/fet-cl for command line),
333 or use the FET shortcut (/usr/share/applications/fet.desktop).
334 - If you did not install FET with "make install":
335 chdir to the directory where the fet executable is (for instance, "cd ~/fet-v.v.v/") and run it with "./fet" or with the suitable command
336 for your platform. Alternatively, you may run the executable named fet from the fet-v.v.v directory, using another method. The fet executable
337 will be located inside the fet-v.v.v directory after a successful compilation.
338 You can give the fet executable a data file to be loaded on startup: "fet filename.fet" or "./fet filename.fet".
339
340 Note2: Starting with Qt 6.5, a new dependency under GNU/Linux might pose problems: if you get an error like:
341 "qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
342 This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
343 Available platform plugins are: eglfs, wayland-egl, vkkhrdisplay, xcb, offscreen, vnc, minimalegl, linuxfb, minimal, wayland.
344 Aborted (core dumped)",
345 try to install xcb-cursor0 or libxcb-cursor0.
346
347 Note for macOS about using translations: If you want to use FET in a language other than the default, you'll need to move the translation files
348 into the appropriate location. The files you need to move can be found in /Users/YOURUSERNAME/Downloads/fet-v.v.v/translations. You'll want to
349 move all of the files ending with .qm to a new location. Open a new Finder window and right-click on the FET.app you've just created in
350 /Users/YOURUSERNAME/Downloads, and select Show Package Contents. Then open the Contents folder, and finally open the MacOS folder within Contents.
351 This is where you should move the .qm files. Once these have been moved, you switch FET languages within the FET app as usual.
352
353 Windows:
354 Run the fet.exe executable (its location is inside the fet-v.v.v directory, you can find it there if you have FET precompiled for Windows or after you compiled it).
355 You can give this executable a data file to be loaded on startup: "fet.exe filename.fet".
356
357 Command line version usage: fet-cl --inputfile=FILE [options]
358 FILE is the input file, for instance "data.fet"
359
360 Options:
361
362 --outputdir=DIR
363 DIR is the path to results directory, without trailing slash or backslash (default is current working path). Make sure you have write
364 permissions there.
365
366 --timelimitseconds=TLS
367 TLS is an integer representing the time limit, in seconds, after which the program will stop the generation (default 2000000000, which is
368 practically infinite).
369
370 --htmllevel=LEVEL
371 LEVEL is an integer from 0 to 7 and represents the detail level for the generated HTML timetables (default 2, larger values have more
372 details/facilities and larger file sizes).
373
374 --htmlusespan=US
375 US is either true or false and represents if you want the timetables to use span for the activities with duration greater than 1 (default true).
376
377 --language=LANG
378 LANG is one of: ar, bg, bs, ca, cs, da, de, el, en_GB, en_US, es, eu, fa, fr, gl, he, hu, id, it, ja, lt, mk, ms, nl, pl, pt_BR, ro, ru,
379 si, sk, sq, sr, tr, uk, uz, vi, zh_CN, zh_TW (default en_US).
380
381 --writetimetableconflicts=WT1
382 --writetimetablesstatistics=WT2
383 --writetimetablesxml=WT3
384 --writetimetablesdayshorizontal=WT4
385 --writetimetablesdaysvertical=WT5
386 --writetimetablestimehorizontal=WT6
387 --writetimetablestimevertical=WT7
388 --writetimetablessubgroups=WT8
389 --writetimetablesgroups=WT9
390 --writetimetablesyears=WT10
391 --writetimetablesteachers=WT11
392 --writetimetablesteachersfreeperiods=WT12
393 --writetimetablesbuildings=WT13
394 --writetimetablesrooms=WT14
395 --writetimetablessubjects=WT15
396 --writetimetablesactivitytags=WT16
397 --writetimetablesactivities=WT17
398 WT1 to WT17 are either true or false and represent whether you want the corresponding timetables to be written on the disk (default true).
399
400 --printsubjects=PS
401 PS is either true or false and represents if you want the subjects to be present in the final HTML timetables (default true).
402
403 --printactivitytags=PAT
404 PAT is either true or false and represents if you want the activity tags to be present in the final HTML timetables (default true).
405
406 --printteachers=PT
407 PT is either true or false and represents if you want the teachers to be present in the final HTML timetables (default true).
408
409 --printstudents=PSt
410 PSt is either true or false and represents if you want the students to be present in the final HTML timetables (default true).
411
412 --printrooms=PR
413 PR is either true or false and represents if you want the rooms to be present in the final HTML timetables (default true).
414
415 --printnotavailable=PNA
416 PNA is either true or false and represents if you want -x- (for true) or --- (for false) in the generated timetables for the not available
417 slots (default true).
418
419 --printbreak=PB
420 PB is either true or false and represents if you want -X- (for true) or --- (for false) in the generated timetables for the break slots
421 (default true).
422
423 --sortsubgroups=SS
424 SS is either true or false and represents if you want the timetables of the subgroups to be sorted alphabetically by subgroup name
425 (default false).
426
427 --sortactivitiesbytags=SAT
428 SAT is either true or false and represents if you want the timetable cells containing several activities to display them sorted by tags
429 (default false).
430
431 --dividetimeaxisbydays=DTAD
432 DTAD is either true or false, represents if you want the HTML timetables with time axis divided by days (default false).
433
434 --duplicateverticalheaders=DVH
435 DVH is either true or false, represents if you want the HTML timetables to duplicate vertical headers to the right of the tables, for
436 easier reading (default false).
437
438 --printsimultaneousactivities=PSA
439 PSA is either true or false, represents if you want the HTML timetables to show related activities which have constraints with same
440 starting time (default false). (for instance, if A1 (T1, G1) and A2 (T2, G2) have constraint activities same starting time, then in T1's
441 timetable will appear also A2, at the same slot as A1).
442
443 --randomseeds10=s10 --randomseeds11=s11 --randomseeds12=s12 --randomseeds20=s20 --randomseeds21=s21 --randomseeds22=s22
444 where you need to specify all the 6 random seed components, and s10, s11, and s12 are integers from minimum 0 to maximum 4294967086,
445 not all 3 zero, and s20, s21, and s22 are integers from minimum 0 to maximum 4294944442, not all 3 zero (you can get the same timetable
446 if the input file is identical, if the FET version is the same (or if the generation algorithm did not change), and if all the 6 random seed
447 components are respectively equal).
448
449 --warnifusinggroupactivitiesininitialorder=WGA
450 WGA is either true or false, represents whether you want a message box to be shown, with a warning, if the input file contains nonstandard
451 timetable generation options to group activities in the initial order (default true).
452
453 --warnsubgroupswiththesameactivities=WSSA
454 WSSA is either true or false, represents whether you want a message box to be shown, with a warning, if your input file contains subgroups
455 which have the same activities (default true).
456
457 --printdetailedtimetables=PDT
458 PDT is either true or false, represents whether you want to show the detailed (true) or less detailed (false) years and groups timetables (default true).
459
460 --printdetailedteachersfreeperiodstimetables=PDTFP
461 PDTFP is either true or false, represents whether you want to show the detailed (true) or less detailed (false) teachers free periods
462 timetables (default true).
463
464 --exportcsv=ECSV
465 ECSV is either true or false, represents whether you want to export the CSV file and timetables (default false).
466
467 --overwritecsv=OCSV
468 OCSV is either true or false, represents whether you want to overwrite old CSV files, if they exist (default false).
469
470 --firstlineisheadingcsv=FLHCSV
471 FLHCSV is either true or false, represents whether you want the heading of the CSV files to be header (true) or data (false). The default
472 value is true.
473
474 --quotescsv=QCSV
475 QCSV is one value from the set [doublequotes|singlequotes|none] (write a single value from these three exactly as it is written here).
476 The default value is doublequotes.
477
478 --fieldseparatorcsv=FSCSV
479 FSCSV is one value from the set [comma|semicolon|verticalbar] (write a single value from these three exactly as it is written here).
480 The default value is comma.
481
482 --separatedaysnamelongnamebybreak=B1
483 --separatehoursnamelongnamebybreak=B2
484 --separatesubjectsnamelongnamecodebybreak=B3
485 --separateactivitytagsnamelongnamecodebybreak=B4
486 --separateteachersnamelongnamecodebybreak=B5
487 --separatestudentsnamelongnamecodebybreak=B6
488 --separatebuildingsnamelongnamecodebybreak=B7
489 --separateroomsnamelongnamecodebybreak=B8
490 B1 to B8 are either true or false (default false).
491
492 --printsubjectscomments=B1
493 --printactivitytagscomments=B2
494 --printteacherscomments=B3
495 --printsubgroupscomments=B4
496 --printgroupscomments=B5
497 --printyearscomments=B6
498 --printbuildingscomments=B7
499 --printroomscomments=B8
500 B1 to B8 are either true or false (default false).
501
502 --subgroupsdayshvprintdaysnames=B1
503 --subgroupsdayshvprintdayslongnames=B2
504 --subgroupsdayshvprinthoursnames=B3
505 --subgroupsdayshvprinthourslongnames=B4
506 --subgroupsdayshvprintsubjectsnames=B5
507 --subgroupsdayshvprintsubjectslongnames=B6
508 --subgroupsdayshvprintsubjectscodes=B7
509 --subgroupsdayshvprintactivitytagsnames=B8
510 --subgroupsdayshvprintactivitytagslongnames=B9
511 --subgroupsdayshvprintactivitytagscodes=B10
512 --subgroupsdayshvprintteachersnames=B11
513 --subgroupsdayshvprintteacherslongnames=B12
514 --subgroupsdayshvprintteacherscodes=B13
515 --subgroupsdayshvprintstudentsnames=B14
516 --subgroupsdayshvprintstudentslongnames=B15
517 --subgroupsdayshvprintstudentscodes=B16
518 --subgroupsdayshvprintroomsnames=B17
519 --subgroupsdayshvprintroomslongnames=B18
520 --subgroupsdayshvprintroomscodes=B19
521 --subgroupsdayshvprintsubjectslegend=B20
522 --subgroupsdayshvprintactivitytagslegend=B21
523 --subgroupsdayshvprintteacherslegend=B22
524 --subgroupsdayshvprintstudentslegend=B23
525 --subgroupsdayshvprintroomslegend=B24
526 --subgroupsdayshvprintlegendcodesfirst=B25
527 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
528 ('hv' means 'horizontal and vertical'.)
529
530 --subgroupstimehvprintdaysnames=B1
531 --subgroupstimehvprintdayslongnames=B2
532 --subgroupstimehvprinthoursnames=B3
533 --subgroupstimehvprinthourslongnames=B4
534 --subgroupstimehvprintsubjectsnames=B5
535 --subgroupstimehvprintsubjectslongnames=B6
536 --subgroupstimehvprintsubjectscodes=B7
537 --subgroupstimehvprintactivitytagsnames=B8
538 --subgroupstimehvprintactivitytagslongnames=B9
539 --subgroupstimehvprintactivitytagscodes=B10
540 --subgroupstimehvprintteachersnames=B11
541 --subgroupstimehvprintteacherslongnames=B12
542 --subgroupstimehvprintteacherscodes=B13
543 --subgroupstimehvprintstudentsnames=B14
544 --subgroupstimehvprintstudentslongnames=B15
545 --subgroupstimehvprintstudentscodes=B16
546 --subgroupstimehvprintroomsnames=B17
547 --subgroupstimehvprintroomslongnames=B18
548 --subgroupstimehvprintroomscodes=B19
549 --subgroupstimehvprintsubjectslegend=B20
550 --subgroupstimehvprintactivitytagslegend=B21
551 --subgroupstimehvprintteacherslegend=B22
552 --subgroupstimehvprintstudentslegend=B23
553 --subgroupstimehvprintroomslegend=B24
554 --subgroupstimehvprintlegendcodesfirst=B25
555 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
556 ('hv' means 'horizontal and vertical'.)
557
558 --groupsdayshvprintdaysnames=B1
559 --groupsdayshvprintdayslongnames=B2
560 --groupsdayshvprinthoursnames=B3
561 --groupsdayshvprinthourslongnames=B4
562 --groupsdayshvprintsubjectsnames=B5
563 --groupsdayshvprintsubjectslongnames=B6
564 --groupsdayshvprintsubjectscodes=B7
565 --groupsdayshvprintactivitytagsnames=B8
566 --groupsdayshvprintactivitytagslongnames=B9
567 --groupsdayshvprintactivitytagscodes=B10
568 --groupsdayshvprintteachersnames=B11
569 --groupsdayshvprintteacherslongnames=B12
570 --groupsdayshvprintteacherscodes=B13
571 --groupsdayshvprintstudentsnames=B14
572 --groupsdayshvprintstudentslongnames=B15
573 --groupsdayshvprintstudentscodes=B16
574 --groupsdayshvprintroomsnames=B17
575 --groupsdayshvprintroomslongnames=B18
576 --groupsdayshvprintroomscodes=B19
577 --groupsdayshvprintsubjectslegend=B20
578 --groupsdayshvprintactivitytagslegend=B21
579 --groupsdayshvprintteacherslegend=B22
580 --groupsdayshvprintstudentslegend=B23
581 --groupsdayshvprintroomslegend=B24
582 --groupsdayshvprintlegendcodesfirst=B25
583 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
584 ('hv' means 'horizontal and vertical'.)
585
586 --groupstimehvprintdaysnames=B1
587 --groupstimehvprintdayslongnames=B2
588 --groupstimehvprinthoursnames=B3
589 --groupstimehvprinthourslongnames=B4
590 --groupstimehvprintsubjectsnames=B5
591 --groupstimehvprintsubjectslongnames=B6
592 --groupstimehvprintsubjectscodes=B7
593 --groupstimehvprintactivitytagsnames=B8
594 --groupstimehvprintactivitytagslongnames=B9
595 --groupstimehvprintactivitytagscodes=B10
596 --groupstimehvprintteachersnames=B11
597 --groupstimehvprintteacherslongnames=B12
598 --groupstimehvprintteacherscodes=B13
599 --groupstimehvprintstudentsnames=B14
600 --groupstimehvprintstudentslongnames=B15
601 --groupstimehvprintstudentscodes=B16
602 --groupstimehvprintroomsnames=B17
603 --groupstimehvprintroomslongnames=B18
604 --groupstimehvprintroomscodes=B19
605 --groupstimehvprintsubjectslegend=B20
606 --groupstimehvprintactivitytagslegend=B21
607 --groupstimehvprintteacherslegend=B22
608 --groupstimehvprintstudentslegend=B23
609 --groupstimehvprintroomslegend=B24
610 --groupstimehvprintlegendcodesfirst=B25
611 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
612 ('hv' means 'horizontal and vertical'.)
613
614 --yearsdayshvprintdaysnames=B1
615 --yearsdayshvprintdayslongnames=B2
616 --yearsdayshvprinthoursnames=B3
617 --yearsdayshvprinthourslongnames=B4
618 --yearsdayshvprintsubjectsnames=B5
619 --yearsdayshvprintsubjectslongnames=B6
620 --yearsdayshvprintsubjectscodes=B7
621 --yearsdayshvprintactivitytagsnames=B8
622 --yearsdayshvprintactivitytagslongnames=B9
623 --yearsdayshvprintactivitytagscodes=B10
624 --yearsdayshvprintteachersnames=B11
625 --yearsdayshvprintteacherslongnames=B12
626 --yearsdayshvprintteacherscodes=B13
627 --yearsdayshvprintstudentsnames=B14
628 --yearsdayshvprintstudentslongnames=B15
629 --yearsdayshvprintstudentscodes=B16
630 --yearsdayshvprintroomsnames=B17
631 --yearsdayshvprintroomslongnames=B18
632 --yearsdayshvprintroomscodes=B19
633 --yearsdayshvprintsubjectslegend=B20
634 --yearsdayshvprintactivitytagslegend=B21
635 --yearsdayshvprintteacherslegend=B22
636 --yearsdayshvprintstudentslegend=B23
637 --yearsdayshvprintroomslegend=B24
638 --yearsdayshvprintlegendcodesfirst=B25
639 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
640 ('hv' means 'horizontal and vertical'.)
641
642 --yearstimehvprintdaysnames=B1
643 --yearstimehvprintdayslongnames=B2
644 --yearstimehvprinthoursnames=B3
645 --yearstimehvprinthourslongnames=B4
646 --yearstimehvprintsubjectsnames=B5
647 --yearstimehvprintsubjectslongnames=B6
648 --yearstimehvprintsubjectscodes=B7
649 --yearstimehvprintactivitytagsnames=B8
650 --yearstimehvprintactivitytagslongnames=B9
651 --yearstimehvprintactivitytagscodes=B10
652 --yearstimehvprintteachersnames=B11
653 --yearstimehvprintteacherslongnames=B12
654 --yearstimehvprintteacherscodes=B13
655 --yearstimehvprintstudentsnames=B14
656 --yearstimehvprintstudentslongnames=B15
657 --yearstimehvprintstudentscodes=B16
658 --yearstimehvprintroomsnames=B17
659 --yearstimehvprintroomslongnames=B18
660 --yearstimehvprintroomscodes=B19
661 --yearstimehvprintsubjectslegend=B20
662 --yearstimehvprintactivitytagslegend=B21
663 --yearstimehvprintteacherslegend=B22
664 --yearstimehvprintstudentslegend=B23
665 --yearstimehvprintroomslegend=B24
666 --yearstimehvprintlegendcodesfirst=B25
667 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
668 ('hv' means 'horizontal and vertical'.)
669
670 --teachersdayshvprintdaysnames=B1
671 --teachersdayshvprintdayslongnames=B2
672 --teachersdayshvprinthoursnames=B3
673 --teachersdayshvprinthourslongnames=B4
674 --teachersdayshvprintsubjectsnames=B5
675 --teachersdayshvprintsubjectslongnames=B6
676 --teachersdayshvprintsubjectscodes=B7
677 --teachersdayshvprintactivitytagsnames=B8
678 --teachersdayshvprintactivitytagslongnames=B9
679 --teachersdayshvprintactivitytagscodes=B10
680 --teachersdayshvprintteachersnames=B11
681 --teachersdayshvprintteacherslongnames=B12
682 --teachersdayshvprintteacherscodes=B13
683 --teachersdayshvprintstudentsnames=B14
684 --teachersdayshvprintstudentslongnames=B15
685 --teachersdayshvprintstudentscodes=B16
686 --teachersdayshvprintroomsnames=B17
687 --teachersdayshvprintroomslongnames=B18
688 --teachersdayshvprintroomscodes=B19
689 --teachersdayshvprintsubjectslegend=B20
690 --teachersdayshvprintactivitytagslegend=B21
691 --teachersdayshvprintteacherslegend=B22
692 --teachersdayshvprintstudentslegend=B23
693 --teachersdayshvprintroomslegend=B24
694 --teachersdayshvprintlegendcodesfirst=B25
695 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
696 ('hv' means 'horizontal and vertical'.)
697
698 --teacherstimehvprintdaysnames=B1
699 --teacherstimehvprintdayslongnames=B2
700 --teacherstimehvprinthoursnames=B3
701 --teacherstimehvprinthourslongnames=B4
702 --teacherstimehvprintsubjectsnames=B5
703 --teacherstimehvprintsubjectslongnames=B6
704 --teacherstimehvprintsubjectscodes=B7
705 --teacherstimehvprintactivitytagsnames=B8
706 --teacherstimehvprintactivitytagslongnames=B9
707 --teacherstimehvprintactivitytagscodes=B10
708 --teacherstimehvprintteachersnames=B11
709 --teacherstimehvprintteacherslongnames=B12
710 --teacherstimehvprintteacherscodes=B13
711 --teacherstimehvprintstudentsnames=B14
712 --teacherstimehvprintstudentslongnames=B15
713 --teacherstimehvprintstudentscodes=B16
714 --teacherstimehvprintroomsnames=B17
715 --teacherstimehvprintroomslongnames=B18
716 --teacherstimehvprintroomscodes=B19
717 --teacherstimehvprintsubjectslegend=B20
718 --teacherstimehvprintactivitytagslegend=B21
719 --teacherstimehvprintteacherslegend=B22
720 --teacherstimehvprintstudentslegend=B23
721 --teacherstimehvprintroomslegend=B24
722 --teacherstimehvprintlegendcodesfirst=B25
723 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
724 ('hv' means 'horizontal and vertical'.)
725
726 --roomsdayshvprintdaysnames=B1
727 --roomsdayshvprintdayslongnames=B2
728 --roomsdayshvprinthoursnames=B3
729 --roomsdayshvprinthourslongnames=B4
730 --roomsdayshvprintsubjectsnames=B5
731 --roomsdayshvprintsubjectslongnames=B6
732 --roomsdayshvprintsubjectscodes=B7
733 --roomsdayshvprintactivitytagsnames=B8
734 --roomsdayshvprintactivitytagslongnames=B9
735 --roomsdayshvprintactivitytagscodes=B10
736 --roomsdayshvprintteachersnames=B11
737 --roomsdayshvprintteacherslongnames=B12
738 --roomsdayshvprintteacherscodes=B13
739 --roomsdayshvprintstudentsnames=B14
740 --roomsdayshvprintstudentslongnames=B15
741 --roomsdayshvprintstudentscodes=B16
742 --roomsdayshvprintroomsnames=B17
743 --roomsdayshvprintroomslongnames=B18
744 --roomsdayshvprintroomscodes=B19
745 --roomsdayshvprintsubjectslegend=B20
746 --roomsdayshvprintactivitytagslegend=B21
747 --roomsdayshvprintteacherslegend=B22
748 --roomsdayshvprintstudentslegend=B23
749 --roomsdayshvprintroomslegend=B24
750 --roomsdayshvprintlegendcodesfirst=B25
751 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
752 ('hv' means 'horizontal and vertical'.)
753
754 --roomstimehvprintdaysnames=B1
755 --roomstimehvprintdayslongnames=B2
756 --roomstimehvprinthoursnames=B3
757 --roomstimehvprinthourslongnames=B4
758 --roomstimehvprintsubjectsnames=B5
759 --roomstimehvprintsubjectslongnames=B6
760 --roomstimehvprintsubjectscodes=B7
761 --roomstimehvprintactivitytagsnames=B8
762 --roomstimehvprintactivitytagslongnames=B9
763 --roomstimehvprintactivitytagscodes=B10
764 --roomstimehvprintteachersnames=B11
765 --roomstimehvprintteacherslongnames=B12
766 --roomstimehvprintteacherscodes=B13
767 --roomstimehvprintstudentsnames=B14
768 --roomstimehvprintstudentslongnames=B15
769 --roomstimehvprintstudentscodes=B16
770 --roomstimehvprintroomsnames=B17
771 --roomstimehvprintroomslongnames=B18
772 --roomstimehvprintroomscodes=B19
773 --roomstimehvprintsubjectslegend=B20
774 --roomstimehvprintactivitytagslegend=B21
775 --roomstimehvprintteacherslegend=B22
776 --roomstimehvprintstudentslegend=B23
777 --roomstimehvprintroomslegend=B24
778 --roomstimehvprintlegendcodesfirst=B25
779 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
780 ('hv' means 'horizontal and vertical'.)
781
782 --buildingsdayshvprintdaysnames=B1
783 --buildingsdayshvprintdayslongnames=B2
784 --buildingsdayshvprinthoursnames=B3
785 --buildingsdayshvprinthourslongnames=B4
786 --buildingsdayshvprintsubjectsnames=B5
787 --buildingsdayshvprintsubjectslongnames=B6
788 --buildingsdayshvprintsubjectscodes=B7
789 --buildingsdayshvprintactivitytagsnames=B8
790 --buildingsdayshvprintactivitytagslongnames=B9
791 --buildingsdayshvprintactivitytagscodes=B10
792 --buildingsdayshvprintteachersnames=B11
793 --buildingsdayshvprintteacherslongnames=B12
794 --buildingsdayshvprintteacherscodes=B13
795 --buildingsdayshvprintstudentsnames=B14
796 --buildingsdayshvprintstudentslongnames=B15
797 --buildingsdayshvprintstudentscodes=B16
798 --buildingsdayshvprintroomsnames=B17
799 --buildingsdayshvprintroomslongnames=B18
800 --buildingsdayshvprintroomscodes=B19
801 --buildingsdayshvprintsubjectslegend=B20
802 --buildingsdayshvprintactivitytagslegend=B21
803 --buildingsdayshvprintteacherslegend=B22
804 --buildingsdayshvprintstudentslegend=B23
805 --buildingsdayshvprintroomslegend=B24
806 --buildingsdayshvprintlegendcodesfirst=B25
807 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
808 ('hv' means 'horizontal and vertical'.)
809
810 --buildingstimehvprintdaysnames=B1
811 --buildingstimehvprintdayslongnames=B2
812 --buildingstimehvprinthoursnames=B3
813 --buildingstimehvprinthourslongnames=B4
814 --buildingstimehvprintsubjectsnames=B5
815 --buildingstimehvprintsubjectslongnames=B6
816 --buildingstimehvprintsubjectscodes=B7
817 --buildingstimehvprintactivitytagsnames=B8
818 --buildingstimehvprintactivitytagslongnames=B9
819 --buildingstimehvprintactivitytagscodes=B10
820 --buildingstimehvprintteachersnames=B11
821 --buildingstimehvprintteacherslongnames=B12
822 --buildingstimehvprintteacherscodes=B13
823 --buildingstimehvprintstudentsnames=B14
824 --buildingstimehvprintstudentslongnames=B15
825 --buildingstimehvprintstudentscodes=B16
826 --buildingstimehvprintroomsnames=B17
827 --buildingstimehvprintroomslongnames=B18
828 --buildingstimehvprintroomscodes=B19
829 --buildingstimehvprintsubjectslegend=B20
830 --buildingstimehvprintactivitytagslegend=B21
831 --buildingstimehvprintteacherslegend=B22
832 --buildingstimehvprintstudentslegend=B23
833 --buildingstimehvprintroomslegend=B24
834 --buildingstimehvprintlegendcodesfirst=B25
835 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
836 ('hv' means 'horizontal and vertical'.)
837
838 --subjectsdayshvprintdaysnames=B1
839 --subjectsdayshvprintdayslongnames=B2
840 --subjectsdayshvprinthoursnames=B3
841 --subjectsdayshvprinthourslongnames=B4
842 --subjectsdayshvprintsubjectsnames=B5
843 --subjectsdayshvprintsubjectslongnames=B6
844 --subjectsdayshvprintsubjectscodes=B7
845 --subjectsdayshvprintactivitytagsnames=B8
846 --subjectsdayshvprintactivitytagslongnames=B9
847 --subjectsdayshvprintactivitytagscodes=B10
848 --subjectsdayshvprintteachersnames=B11
849 --subjectsdayshvprintteacherslongnames=B12
850 --subjectsdayshvprintteacherscodes=B13
851 --subjectsdayshvprintstudentsnames=B14
852 --subjectsdayshvprintstudentslongnames=B15
853 --subjectsdayshvprintstudentscodes=B16
854 --subjectsdayshvprintroomsnames=B17
855 --subjectsdayshvprintroomslongnames=B18
856 --subjectsdayshvprintroomscodes=B19
857 --subjectsdayshvprintsubjectslegend=B20
858 --subjectsdayshvprintactivitytagslegend=B21
859 --subjectsdayshvprintteacherslegend=B22
860 --subjectsdayshvprintstudentslegend=B23
861 --subjectsdayshvprintroomslegend=B24
862 --subjectsdayshvprintlegendcodesfirst=B25
863 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
864 ('hv' means 'horizontal and vertical'.)
865
866 --subjectstimehvprintdaysnames=B1
867 --subjectstimehvprintdayslongnames=B2
868 --subjectstimehvprinthoursnames=B3
869 --subjectstimehvprinthourslongnames=B4
870 --subjectstimehvprintsubjectsnames=B5
871 --subjectstimehvprintsubjectslongnames=B6
872 --subjectstimehvprintsubjectscodes=B7
873 --subjectstimehvprintactivitytagsnames=B8
874 --subjectstimehvprintactivitytagslongnames=B9
875 --subjectstimehvprintactivitytagscodes=B10
876 --subjectstimehvprintteachersnames=B11
877 --subjectstimehvprintteacherslongnames=B12
878 --subjectstimehvprintteacherscodes=B13
879 --subjectstimehvprintstudentsnames=B14
880 --subjectstimehvprintstudentslongnames=B15
881 --subjectstimehvprintstudentscodes=B16
882 --subjectstimehvprintroomsnames=B17
883 --subjectstimehvprintroomslongnames=B18
884 --subjectstimehvprintroomscodes=B19
885 --subjectstimehvprintsubjectslegend=B20
886 --subjectstimehvprintactivitytagslegend=B21
887 --subjectstimehvprintteacherslegend=B22
888 --subjectstimehvprintstudentslegend=B23
889 --subjectstimehvprintroomslegend=B24
890 --subjectstimehvprintlegendcodesfirst=B25
891 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
892 ('hv' means 'horizontal and vertical'.)
893
894 --activitytagsdayshvprintdaysnames=B1
895 --activitytagsdayshvprintdayslongnames=B2
896 --activitytagsdayshvprinthoursnames=B3
897 --activitytagsdayshvprinthourslongnames=B4
898 --activitytagsdayshvprintsubjectsnames=B5
899 --activitytagsdayshvprintsubjectslongnames=B6
900 --activitytagsdayshvprintsubjectscodes=B7
901 --activitytagsdayshvprintactivitytagsnames=B8
902 --activitytagsdayshvprintactivitytagslongnames=B9
903 --activitytagsdayshvprintactivitytagscodes=B10
904 --activitytagsdayshvprintteachersnames=B11
905 --activitytagsdayshvprintteacherslongnames=B12
906 --activitytagsdayshvprintteacherscodes=B13
907 --activitytagsdayshvprintstudentsnames=B14
908 --activitytagsdayshvprintstudentslongnames=B15
909 --activitytagsdayshvprintstudentscodes=B16
910 --activitytagsdayshvprintroomsnames=B17
911 --activitytagsdayshvprintroomslongnames=B18
912 --activitytagsdayshvprintroomscodes=B19
913 --activitytagsdayshvprintsubjectslegend=B20
914 --activitytagsdayshvprintactivitytagslegend=B21
915 --activitytagsdayshvprintteacherslegend=B22
916 --activitytagsdayshvprintstudentslegend=B23
917 --activitytagsdayshvprintroomslegend=B24
918 --activitytagsdayshvprintlegendcodesfirst=B25
919 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
920 ('hv' means 'horizontal and vertical'.)
921
922 --activitytagstimehvprintdaysnames=B1
923 --activitytagstimehvprintdayslongnames=B2
924 --activitytagstimehvprinthoursnames=B3
925 --activitytagstimehvprinthourslongnames=B4
926 --activitytagstimehvprintsubjectsnames=B5
927 --activitytagstimehvprintsubjectslongnames=B6
928 --activitytagstimehvprintsubjectscodes=B7
929 --activitytagstimehvprintactivitytagsnames=B8
930 --activitytagstimehvprintactivitytagslongnames=B9
931 --activitytagstimehvprintactivitytagscodes=B10
932 --activitytagstimehvprintteachersnames=B11
933 --activitytagstimehvprintteacherslongnames=B12
934 --activitytagstimehvprintteacherscodes=B13
935 --activitytagstimehvprintstudentsnames=B14
936 --activitytagstimehvprintstudentslongnames=B15
937 --activitytagstimehvprintstudentscodes=B16
938 --activitytagstimehvprintroomsnames=B17
939 --activitytagstimehvprintroomslongnames=B18
940 --activitytagstimehvprintroomscodes=B19
941 --activitytagstimehvprintsubjectslegend=B20
942 --activitytagstimehvprintactivitytagslegend=B21
943 --activitytagstimehvprintteacherslegend=B22
944 --activitytagstimehvprintstudentslegend=B23
945 --activitytagstimehvprintroomslegend=B24
946 --activitytagstimehvprintlegendcodesfirst=B25
947 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
948 ('hv' means 'horizontal and vertical'.)
949
950 --activitiesdayshvprintdaysnames=B1
951 --activitiesdayshvprintdayslongnames=B2
952 --activitiesdayshvprinthoursnames=B3
953 --activitiesdayshvprinthourslongnames=B4
954 --activitiesdayshvprintsubjectsnames=B5
955 --activitiesdayshvprintsubjectslongnames=B6
956 --activitiesdayshvprintsubjectscodes=B7
957 --activitiesdayshvprintactivitytagsnames=B8
958 --activitiesdayshvprintactivitytagslongnames=B9
959 --activitiesdayshvprintactivitytagscodes=B10
960 --activitiesdayshvprintteachersnames=B11
961 --activitiesdayshvprintteacherslongnames=B12
962 --activitiesdayshvprintteacherscodes=B13
963 --activitiesdayshvprintstudentsnames=B14
964 --activitiesdayshvprintstudentslongnames=B15
965 --activitiesdayshvprintstudentscodes=B16
966 --activitiesdayshvprintroomsnames=B17
967 --activitiesdayshvprintroomslongnames=B18
968 --activitiesdayshvprintroomscodes=B19
969 --activitiesdayshvprintsubjectslegend=B20
970 --activitiesdayshvprintactivitytagslegend=B21
971 --activitiesdayshvprintteacherslegend=B22
972 --activitiesdayshvprintstudentslegend=B23
973 --activitiesdayshvprintroomslegend=B24
974 --activitiesdayshvprintlegendcodesfirst=B25
975 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
976 ('hv' means 'horizontal and vertical'.)
977
978 --activitiestimehvprintdaysnames=B1
979 --activitiestimehvprintdayslongnames=B2
980 --activitiestimehvprinthoursnames=B3
981 --activitiestimehvprinthourslongnames=B4
982 --activitiestimehvprintsubjectsnames=B5
983 --activitiestimehvprintsubjectslongnames=B6
984 --activitiestimehvprintsubjectscodes=B7
985 --activitiestimehvprintactivitytagsnames=B8
986 --activitiestimehvprintactivitytagslongnames=B9
987 --activitiestimehvprintactivitytagscodes=B10
988 --activitiestimehvprintteachersnames=B11
989 --activitiestimehvprintteacherslongnames=B12
990 --activitiestimehvprintteacherscodes=B13
991 --activitiestimehvprintstudentsnames=B14
992 --activitiestimehvprintstudentslongnames=B15
993 --activitiestimehvprintstudentscodes=B16
994 --activitiestimehvprintroomsnames=B17
995 --activitiestimehvprintroomslongnames=B18
996 --activitiestimehvprintroomscodes=B19
997 --activitiestimehvprintsubjectslegend=B20
998 --activitiestimehvprintactivitytagslegend=B21
999 --activitiestimehvprintteacherslegend=B22
1000 --activitiestimehvprintstudentslegend=B23
1001 --activitiestimehvprintroomslegend=B24
1002 --activitiestimehvprintlegendcodesfirst=B25
1003 B1 to B25 are either true or false (B1, B3, B5, B8, B11, B14, B17 are by default true, the rest are by default false).
1004 ('hv' means 'horizontal and vertical'.)
1005
1006 --teachersfreeperiodsprintdaysnames=B1
1007 --teachersfreeperiodsprintdayslongnames=B2
1008 --teachersfreeperiodsprinthoursnames=B3
1009 --teachersfreeperiodsprinthourslongnames=B4
1010 --teachersfreeperiodsprintteachersnames=B5
1011 --teachersfreeperiodsprintteacherslongnames=B6
1012 --teachersfreeperiodsprintteacherscodes=B7
1013 B1 to B7 are either true or false (B1, B3, B5 are by default true, the rest are by default false).
1014
1015 --statisticssprintteachersnames=B1
1016 --statisticsprintteacherslongnames=B2
1017 --statisticsprintteacherscodes=B3
1018 B1 to B3 are either true or false (B1 is by default true, the rest are by default false).
1019
1020 --statisticssprintstudentsnames=B1
1021 --statisticsprintstudentslongnames=B2
1022 --statisticsprintstudentscodes=B3
1023 B1 to B3 are either true or false (B1 is by default true, the rest are by default false).
1024
1025 --showvirtualrooms=SVR
1026 SVR is either true or false, represents whether you want to show virtual rooms in the timetables (default false).
1027
1028 --warnifusingactivitiesnotfixedtimefixedspacevirtualroomsrealrooms=WANFTFS
1029 WANFTFS is either true or false, represents whether you want the program to issue a warning if you are using activities which are not
1030 fixed in time, but are fixed in space in a virtual room, specifying also the real rooms (which is not recommended) (default true).
1031
1032 --warnifusingmaxhoursdailywithlessthan100percentweight=WMHDWLT100PW
1033 WMHDWLT100PW is either true or false, represents whether you want the program to issue a warning if you are using constraints of type
1034 teacher(s)/students (set) max hours daily with a weight less than 100% (default true).
1035
1036 --verbose=VBS
1037 VBS is either true or false, represents whether you want additional generation messages and other messages to be shown on the command
1038 line (default false).
1039
1040 Run "fet-cl --help" to get usage information.
1041
1042 Run "fet-cl --version" to get version information.
1043
1044 You can ask the FET command line process to stop the timetable generation, by sending it the SIGTERM (or SIGBREAK, on Windows) signal. FET will then
1045 write the current timetable and the highest stage timetable and exit. (If you send the FET command line the SIGINT signal it will stop immediately,
1046 without writing the timetable.)
1047
1048 If you create a file named exactly 'sigwrite' in the root output directory, the program will try to remove this file and, if the file was
1049 successfully removed, it will output the current and the highest stage timetables without stopping the generation (a poll for the existence of this
1050 file is done once every second).
1051
1052 The potential warnings are logged in the file outputdir/logs/warnings.txt, and the potential errors are logged in the file outputdir/logs/errors.txt.
1053
1054 The result of the operation is logged in the file outputdir/logs/result.txt.
1055
1056 Also, you have in logs the initial order of activities and a list of maximum placed number of activities. If your timetable is impossible, say it stops
1057 at maximum n placed activities, look at the n+1-st activity in the initial order, for it or its students/teachers may be the problem.
1058
1059 For the command line version, probably the most useful output to use internally in an application might be the activities_timetable.xml.
1060 You have of course also the xml timetables for students and teachers and the nicely formatted HTML timetables to present directly.
1061
1062 You'll get a console output to help you with data, along with the files in the directory outputdir/logs/.
1063
1064 If you are a programmer, in the file src/engine/messageboxes.cpp you'll find the implementation of the various messages. You
1065 can modify these functions, catching them in your program. Also, you can catch the end of the program (successful or unsuccessful) in
1066 the file src/interface/fet.cpp, in the command-line code part.
1067
1068 If you want to be completely independent from Qt, using only standard C++, you can remove all the Qt includes and
1069 reimplement the used Qt classes QString, QList, QSet, QHash, and maybe others (only the member functions which are necessary). Or just get
1070 the corresponding code from Qt (Please review the Qt licensing options, in this case. Currently, they include GNU (L)GPL and commercial).
1071 The program should have independence of a particular implementation of QSet and QHash so, if you reimplement these two containers,
1072 any order of elements should lead to the same generation results. Contrary behavior should be reported as a bug.
1073
1074
1075 Languages (translations):
1076
1077 The translation files which the FET executable needs in order to be able to run in other languages are ending in .qm (like fet_**.qm)
1078 and they are located in the "translations" directory in the FET distribution.
1079
1080 FET will search for translations (fet_**.qm files) in the following order:
1081 1) directly in the directory where the fet executable is,
1082 2) the directory "translations" in the directory where fet executable is,
1083 3) the directory ../share/fet/translations (under systems that support it).
1084
1085 So, on:
1086 Windows: if fet.exe is in C:\fet-v.v.v, fet will search for the file fet_**.qm in
1087 C:\fet-v.v.v and then in C:\fet-v.v.v\translations
1088 GNU/Linux: if the fet executable is in ~/fet-v.v.v, fet will search for the file fet_**.qm in
1089 ~/fet-v.v.v, then in ~/fet-v.v.v/translations and then in ../share/fet/translations
1090 macOS: the operation is approximately similar to the one for GNU/Linux.
1091 The difference is that it seems that the fet application on macOS contains in turn other directories (application directories),
1092 so FET will search for the translations inside these application directories, not in the fet-v.v.v directory. The GNU/Linux style fet executable
1093 seems to be located in fet-v.v.v/fet.app/Contents/MacOS, so FET will search for the file fet_**.qm in the directory
1094 fet-v.v.v/fet.app/Contents/MacOS, then in the directory fet-v.v.v/fet.app/Contents/MacOS/translations,
1095 then in the directory ../share/fet/translations.
1096 Please see also the macOS note from the section "Running FET".
1097 More notes for the macOS platform, from a user: copying the translations/ directory into the directory fet.app/Contents/MacOS/ is
1098 possible from the command line in X11 xterm (but it is not possible with the finder program, because the file extension ".app" is
1099 exclusive for applications, so the program finder interprets a directory with the extension ".app" as an application).
1100
1101 What to do if you get stuck with an unknown language: in each language, the submenu (Settings->)Language is translated also in English
1102 (like: Limba/Language in Romanian). You can select the US English language (en_US abbreviation) and then close and restart FET (press the middle button
1103 from the dialog that appears after trying to close FET, so that FET will exit without saving the current file).
1104 Another solution: modify the FET settings on your operating system:
1105 - Under GNU/Linux, and maybe macOS, usually in your $HOME/.config directory you'll find a directory "fet",
1106 containing file "fettimetabling.conf". Edit that file - the line beginning with language, instead of language=... (for instance, language=ro),
1107 make it language=en_US (case sensitive).
1108 - Under Windows: run regedit.exe (Registry Editor), search key "fet". You will find a "fet" section with "fettimetabling" subsection.
1109 Modify the value name language (from, for instance, ro, or other language) to have the value data en_US (5 characters, case sensitive).
1110 Another solution: simply remove the translation files (or move them so they are not available to the fet executable) and start FET. It will report
1111 that the custom language is not found and it will revert to en_US.
1112
1113
1114 Documentation:
1115
1116 Some hints in the directory "fet-v.v.v/doc/" (under GNU/Linux or macOS, they may be found in usr/share/doc/fet/ directory).
1117 Some other hints in the program Help menu.
1118 You may find more documentation on the FET homepage.
1119
1120
1121 Input files:
1122
1123 You can open a few sample input files in the "fet-v.v.v/examples/" directory
1124 (under GNU/Linux or macOS, they may be found in /usr/local/share/fet/examples/)
1125
1126
1127 Uninstalling FET:
1128
1129 GNU/Linux, and maybe macOS: type "make uninstall" with root permissions. Then,
1130
1131 GNU/Linux and Windows:
1132 Remove the directory fet-v.v.v. Also, you may want to remove the directory with the fet results (default: $HOME/fet-results).
1133 This will leave the settings of FET on your system. FET stores its settings in your operating system's dedicated section.
1134 If you really want to remove everything that FET created, please read below.
1135
1136 To completely remove stored FET settings from your operating system:
1137
1138 GNU/Linux:
1139 Usually, in your $HOME/.config directory you will find a directory "fet" containing the file "fettimetabling.conf".
1140 Remove the directory "fet" and its contents.
1141
1142 macOS: It seems that the configuration file might be: $HOME/Library/Preferences/com.fet.fettimetabling.plist
1143
1144 Windows:
1145 Run regedit.exe (Registry Editor), search for the key "fet". You will find a section "fet" with the subsection "fettimetabling".
1146 Remove the "fet" section and its contents.
1147
1148
1149 Feedback / help:
1150
1151 You are encouraged to express your opinion about this program, to send your data files, for the purpose of testing or
1152 for inclusion into examples, and also to report possible bugs and suggestions. See the FET homepage for contact information.
1153
1154
1155 Copyright (C) 2002-2026 Liviu Lalescu, Volker Dirr.