USDL

Links

Click to access USDLinWSML.pdf

http://www.internet-of-services.com/index.php?id=264
http://www.sciencedirect.com/science/article/pii/S0306437912000968
http://sourceforge.net/projects/usdlmodel/
http://usdleditor.sourceforge.net/
http://www.springer.com/computer/database+management+%26+information+retrieval/book/978-1-4614-1863-4

Click to access USDL-3.0-M5-overview.pdf

http://www.w3.org/2005/Incubator/usdl/wiki/2011-02-28_USDL_3.0_Specifications_M5_released
http://www.w3.org/2005/Incubator/usdl/wiki/Main_Page

Latex

Documentation

Toolset 4 Lin/Win

  • Latex-Umgebung
    • texlive (Lin)
      • texlive-bibtex-extra
        • Mehrere Quellenverzeichnisse (multibib.sty)
      • texlive-lang-german
        • Silbentrennung für Sprache Deutsch (bibgerm.sty)
      • Installationsordner: /usr/share/texmf-texlive/..
        • here.sty
    • MikText (Win)
  • Texmaker

Miktex

The MikTeX Directory Structure (TDS)

  • *.afm go in root\fonts\afm\supplier\font
  • *.dvi*.ps or *.pdf go in root\doc\latex\package
  • *.enc go in root\fonts\enc\syntax\bundle
  • *.map go in root\fonts\map\syntax\bundle
  • *.mf go in root\fonts\source\supplier\font
  • *.pfb go in root\fonts\type1\supplier\font
  • *.sty*.cls or *.fd go in root\tex\latex\package
  • *.tfm go in root\fonts\tfm\supplier\font
  • *.ttf go in root\fonts\truetype\supplier\font
  • *.vf go in root\fonts\vf\supplier\font

Learn more about the TDS: mthelp tds

Integrating Local Additions in Miktex

There are three solutions to include a custom Style-Directory [Quelle]:

  1. Command-line option --include-directory=dir (+Simple,-Tex-Editor-Assumption)
  2. Environment variable TEXINPUTS (+Simple,-OS-Assumption)
  3. Register a user-managed TEXMF directory (Recommended)

 

Useful Latex Packages 4 Debian / Ubuntu

Usual Bugs

STY not found

Error Description:

Package csquotes Info: ... configuration file loaded successfully.
(/usr/share/texmf-texlive/tex/latex/csquotes/csquotes.cfg
File: csquotes.cfg 2009/05/30 v4.4 csquotes configuration
)
Package csquotes Info: Enabling multilingual support.
Package csquotes Info: Redefining alias 'german' -> 'german/guillemets'.
)
! LaTeX Error: File `bibgerm.sty' not found.

Trys 2 enable multi lingual support and redefines alias german 2 german/guillemets.
Afterwards bibgerm.sty is not found, because it is not installed.

Solutions:

1. Manual Fix

sudo apt-get install texlive-lang-german
sudo texhash
sudo fmtutil --all

2. Automatic FIX

Why … Dynamically Update of needed STY-Packages without user trigger

Why not … Automatic updates are not a good idea regarding LaTeX, as an update may end up breaking your document an hour before you need to hand it in!!!

Conclusion: Always update manually!!!

Von Kommandozeiel Quickbuild ausführen

pdflatex -synctex=1 -interaction=nonstopmode DAStefanIllgen.tex | bibtex DAStefanIllgen.aux | bibtex inet.aux | pdflatex -synctex=1 -interaction=nonstopmode DAStefanIllgen.tex | makeindex -s DAStefanIllgen.ist -t DAStefanIllgen.alg -o DAStefanIllgen.acr DAStefanIllgen.acn | makeindex -s DAStefanIllgen.ist -t DAStefanIllgen.glg -o DAStefanIllgen.gls DAStefanIllgen.glo | pdflatex -synctex=1 -interaction=nonstopmode DAStefanIllgen.tex | okular DAStefanIllgen.pdf
// used to generate the ls-R databases used by the kpathsea library
$ sudo texhash
// configures teTeX or TeX Live
$ sudo texconfig ...

3. Installing Extra Packages (CTAN APPROACH)

  1. Search engine for Latex-Style-Packages: http://www.ctan.org/search
  2. Download the STY-Package (i.e. http://www.ctan.org/pkg/here) and save it under

The complete instruction set can be found here.

Placement of Images

Attention: Impl. code has been moved from latex package here.sty 2 float.sty. [CTAN HERE]

1. PLACE HERE if fits on page

[H]

2. Place here and keep floats in the right order

[!ht]

Important Packages

Glossaries

Example: PRINT Akronym Glossary

\renewcommand{\glsnamefont}[1]{\textbf{#1}}
% custom row color
\rowcolors{1}{GlossaryBGColor}{}
\printglossary[type=\acronymtype , style=long, title=Abkürzungsverzeichnis, toctitle=Abkürzungsverzeichnis]

Sectioning, Headings and TOC Options

  • toc=true|false (Add the glossaries to the table of contents)
  • numberline= (align the toc entry with the numbered section titles)
  • section=chapter | subsection | … (This will make the glossaries appear in the named sectional unit, otherwise each glossary will appear in a chapter, if chapters exist, otherwise in a section)
  • style = list | long | super | tree
    • may only be used for styles defined in glossary-list, glossary-long, glossary-super or glossary-tree
    • style=long > set glossary entry names in bold font: \renewcommand{\glsnamefont}[1]{\textbf{#1}}
  • numberedsection=false|nolabel(default)|autolabel (Indexierung in Inhaltsverzeichnis mit Zahl oder nicht)
  • nonumberlist=true|false (determines if this glossary should have a number list)

longtable: Al­low ta­bles to flow over page bound­aries

Example:

\begin{center}
\rowcolors[]{5}{TableOddBGColor}{TableEvenBGColor}
\setlongtables
%\tiny
\scriptsize
%\footnotesize
%\small
\arrayrulecolor{white}
\begin{longtable}{m{1.8cm}>{\centering\arraybackslash}m{1.2cm}>{\centering\arraybackslash}m{1.1cm}>{\arraybackslash}m{2.2cm}>{\centering\arraybackslash}m{1.2cm}>{\centering\arraybackslash}m{1.0cm}>{\centering\arraybackslash}m{1.9cm}>{\centering\arraybackslash}m{1.1cm}}

\multicolumn{3}{|>{\columncolor{TableHeaderBGColor}}c|}{\color{white} \textbf{Service Level Objective (SLO)}} & \multicolumn{3}{|>{\columncolor{TableHeaderBGColor}}c|}{\color{white} \textbf{Qualify Condition (QC)}} & \multicolumn{2}{|>{\columncolor{TableHeaderBGColor}}c|}{\color{white} \textbf{Wichtung}} \\ \hline
% row 2
\multicolumn{1}{|>{\columncolor{TableHeaderBGColor}}l|}{\color{white} Eigenschaft} & \multicolumn{1}{|>{\columncolor{TableHeaderBGColor}}c|}{\color{white} Prädikat} & \multicolumn{1}{|>{\columncolor{TableHeaderBGColor}}c|}{\color{white} Wert} & \multicolumn{1}{|>{\columncolor{TableHeaderBGColor}}l|}{\color{white} Eigenschaft} & \multicolumn{1}{|>{\columncolor{TableHeaderBGColor}}c|}{\color{white} Prädikat} & \multicolumn{1}{|>{\columncolor{TableHeaderBGColor}}c|}{\color{white} Wert} & \multicolumn{1}{|>{\columncolor{TableHeaderBGColor}}c|}{\color{white} Kompensation} & \multicolumn{1}{|>{\columncolor{TableHeaderBGColor}}c|}{\color{white} Intervall} \\ \hline
\endhead

% ROWSPAN
\multicolumn{8}{|>{\columncolor{TableHeaderBGColor}}l|}{\color{white} \textbf{Generische NFE-Parameter}} \\
% ROW 1
\texttt{Availability} & \texttt{>=} & \texttt{99.9\%} & \texttt{ResponseTime} & \texttt{<} & \texttt{40ms} & \texttt{25\%{}} & \texttt{5min} \\ 
\texttt{Throughput} & \texttt{>=} & \texttt{100Mbps} & \textbf{\texttt{NetworkBandwith}} & \texttt{>=} & \texttt{100Mbps} & \texttt{10\%{}} & \texttt{1m} \\ 

% ROWSPAN
\multicolumn{8}{|>{\columncolor{TableHeaderBGColor}}l|}{\color{white} \textbf{Domäne: Cloud Storage}} \\ 
% ROW 2
\texttt{Capacity} & \texttt{>=<} & \texttt{0-9999GB} & \textbf{\texttt{}} & & & \texttt{100\%{}} & \texttt{1m} \\ \texttt{Redundancy} & \texttt{>=} & \texttt{200,00\%} & \textbf{\texttt{}} & & & \texttt{30\%{}} & \texttt{1m} \\ 

\caption{Definition der Garantien des Easy Storage Service}\\ 
\end{longtable} 
\label{tab:szenarioEasyStorageSLOQCBVL} 
\end{center}

Bibliographien

Existing Bibliography Databases

BibTex

How to change the bibliography title names?

\renewcommand{\bibname}{%NEW_BIBO_NAME%}

How to prevent bibtex from parsing an attibute value?

author={{Wirtschaftsministerium Baden-Württemberg}},

How 2 specify et.al. in Authors?

@MISC{wspol07,
 author = {Vedamuthu, A.S. and Orchard, D. and others},
 ...
}

Styles

Weitere Quellen:

  • All 4 BibTex

Change Default Style Alpha to show surnames abbreviated

  1. In C:\Program Files (x86)\MiKTeX 2.9\doc\bibtex\btxbst.doc change variable NAME_FULL from 1 to 0 for ALPHA style
  2. Compile the Style file: cpp -P -DALPHA btxbst.doc alphaabbr.bst
  3. Add bst to latex: see “Integrating Local Additions in Miktex”
  4. Use it: \bibliographystyle{alphaabbr}
IN btxbst.doc:
% alpha style (sorted short alphabetics)
 #   define LAB_ALPH 1
 #   define SORTED 1
-#   define NAME_FULL 1
+#   define NAME_FULL 0
 #   define ATIT_LOWER 1
 #   define MONTH_FULL 1
 #   define JOUR_FULL 1

http://gcc.gnu.org/

Indexierung

Multiple BibTex Biliographies

  • All (CTAN)

Example with 2 Bibliographies using multibib and StandarD BibTeX

1. Define extra cite (default cite don’t need to be referenced, because it’s already included bei source book (KOMA script))

\documentclass[..]{scrbook}
\usepackage[ngerman]{babel}
\usepackage{multibib}
\newcites{inet}{Internet-Referenzen}

2. Cite

\cite{abc10}     % gets into default bibliography
\citeinet{abc10} % gets into internet refs

3. Display both …

\begin{center}

\bibliographystyle{alphadin}

\bibliography{bib/DAStefanIllgen}

\end{center}

\begin{center}

\bibliographystyleinet{alphadin}

\bibliographyinet{bib/DAStefanIllgen}

\end{center}

Multilingual Support

Silbentrennung steuern [Quelle]

  • \- … Wort kann nur an der betreffenden Stelle getrennt werden kann.
  • “- … Mittels dieser Anweisung wird eine zusätzliche Trennstelle angegeben.
  • “= … Dies erzeugt einen Bindestrich, der die sonstigen Trennstellen im Wort weiterhin erlaubt
  • “” … Diese Anweisung erlaubt einen Umbruch, ohne dass ein Bindestrich gesetzt wird.
  • “~ … Mit dieser Anweisung setzt man einen Bindestrich, an dem nicht getrennt werden soll

Achtung: Diese Befehle erfordert das Paket german oder ngerman.

URLs umbrechen

  • Package breakurl (Nur mit latex und nicht mit pdflatex!!!)
  • \usepackage[hyphens]{url}
    • hyphens bricht auch – um (sonst nur ., /, usw.)
    • Bei gleichzeitiger Verwendung mit hyperref, muss url Package zuerst kommen

URL / Hyperlinks

Further Links

and others

JDownloader

Installing JDownloader

Direct Download with JDownloader (using Chromium) JDownloader Integration 4 Google Chromium:

Configure JDownloader:

  • Go to Settings > Plugins & Addons > Extensions
  • Activate the plugin Remote Control
  • Go to the newly created menu item Remote Control and enter port 10,025
  • Check in browser, if JDRemoteControl is up: http://localhost:10025

For downloading a file simply right click on it and select Download with JDownloader. JDownloader Web Interface

  • Go to Settings > Plugins & Addons > Extensions
  • Activate the plugin Webinterface
  • Go to the newly created menu item Webinterface
  • Enter Port, Login Name and Login Passwort
  • Restart JDownloader
  • Check 4 using port 8765: http://localhost:8765/

Periodically Refreshing the IP (Reconnect) Why: IP may be blocked, when downloading massively. How:

Using a Proxy Why: Downloading files which aren’t free for a specific country.

Linux

Live-USB

  • download [K]Ubuntu-Desktop-ISO
  • format USB media (FAT32, Size: Standard, Fast formatting)
  • mount KUbuntu…iso with DaemonTools
  • run usb-creator.exe
  • configure persistent storage
  • run ..

See also:

Shortcuts 4 Maximize Windows (KDE)

  • Go to System-Settings
  • Enter Global Shortcuts (Globale Kurzbefehle) in the search field
  • Select KWin as KDE Component and enter your custom shortcuts

Tool 4 Tweakin’ Ubuntu

Attention: The given install intro does not fit / work on lucid (10.04). I used command line code instead to make things better:

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

USB-Sticks

Formating (EXT3):

// show USB device path
fdisk -l
// run fdisk
fdisk /dev/sdb1
// delete partions
d
// new partition
n
// follow screen intsructions
...
// finally: write parttition table (quits fdsik)
w
// fdisk finishes ..
// format as ext3
mkfs.ext3 -L UsbStickLabel /dev/sdb1

Formating (FAT32):

// show USB device path
fdisk -l
// run fdisk
fdisk /dev/sdb1
// run fdisk
fdisk /dev/sdb1
// delete partions
d
// new partition
n
// follow screen intsructions
...
// display partition types list
l
// change the partition system id
t
// get fdisk to changed system type of partition 1 to Id c System W95 FAT32 (LBA)
c
// finally: write parttition table (quits fdsik)
w
// fdisk finishes ..
// format
mkfs.vfat -F 32 -v -n UsbStickLabel /dev/sdb1

Mounting:

// create folder where the content should be linked in
mkdir /media/spacedata
// mount
mount /dev/sdb2 /media/spacedata
// unmount
umount /dev/sdb2

Cloning (dd):

  • 4 using dd the devices must be unmounted
  • bytewise copy > partitions will be overwritten

// clone from /dev/sdb 2 /dev/sdc using a block size of 4M
dd if=/dev/sdb of=/dev/sdc bs=4M

Find out (K)Ubuntu Version

Variant 1

$ cat /etc/issue
Ubuntu 10.04.4 LTS \n \l

Variant 2

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid

HTTP-Downloads from Command Line

wget http://bla.bla