lcfg-xen 0.99.9

New release of the component. Copying from ChangeLog;

* Adding some daemon checking on the configure method in order to reload the xend daemon when needed.
* Introducing new method, ‘ConfHostResources’ to solve minor issue on configuring host’s configuration files and resources while restaring the component.
* The Restart() method removed. On ‘om xen restart’, the execution order is: Stop() – Configure() – Start()
* The cloning method will clone the specified template only for the first disk image that is specified in the disk list. That fixes bug #153. Man page updated as well.
* New resource is introduced to help with erasing a virtual machine. The ‘erase’ resource corresponds to every single virtual machine defined in the physical hosts’s profile and if set to ‘yes’ or ‘true’ it will erase the Xen configuration file for that guest as well as all hte disk images.
* Adding more info for the ‘profileurl’ resource.

RPM: lcfg-xen-0.99.9-1.noarch.rpm
SRPM: lcfg-xen-0.99.9-1.src.rpm
Defaults schema file: lcfg-xen-defaults-s1-0.99.9-1.noarch.rpm lcfg-xen-defaults-s1-0.99.10-1.noarch.rpm


Counting words in TeX/LaTeX

I was trying to find an easy way to count the words in LaTeX documents. I guess there must be clients that do this for you, but I don’t use such a client and many times I’m using vi to edit LaTeX documents.

An way to go with it is to use a filter to strip as much as possible the TeX/LaTeX commands from the .tex file. This can be easily done with the detex command and the wc command:

detex report.tex | wc -w

Another way to filter the .tex document is to use untex in the same way as detex. This link describes lists also an alternative way of counting the words by converting the .dvi file to a plain text file:

dvips -o - report.dvi | ps2ascii | wc -w

However, this way doesn’t seem to filter the .dvi file that good so you may count more commands as words.

Basic and generic LaTeX notes

Some basic stuff I came across while writing on LaTeX:

  • Subscript, Greek letters, special character in mathematical form
\( H_{0} \): ${\mu}$\( _0 \) = ${\mu}$\( _1 \)
\( H_{1} \): ${\mu}$\( _1 \) ${\neq}$ ${\mu}$\( _1 \)
  • Chapters definitions etc
  • Two graphics side by side
\includegraphics[scale=0.3] {graphics/figure1}
\caption{{\bf label}}
\hspace{0.5cm} % Space between the figures
\includegraphics[scale=0.3] {graphics/figure2}
\caption{{\bf label2}}
  • Single image
\includegraphics[scale=0.5] {graphics/figure3}
\caption{{\bf label3}}
  • Bulletpoint list
item 3
item 4
  • Text formation: italics


  • Special characters (such as % and & for instance)

\% \&

  • Plain text format