January 2008

Update: I posted the scripts online. More information here.

As I need a sans serif font for my diploma thesis which offers math symbols and features like old-style numbers, I decided I need support for MyriadPro, the only sans serif font I own which fulfills my requirements. There already is a package, which AFAIK only supports the very basic fonts regular, bold, italic, bold italic and no math. However, there is a very feature-rich MinionPro support package for LaTeX so I tried to change its sources to work with MyriadPro. Here the result: testmath.tex using MyriadPro. It looks quite nice for a fast hack IMHO. In addition to change the converting scripts, I adjusted all functions in the .sty file so the MinionPro package can be loaded together with MyriadPro.

But there are still a lot of changes needed to have a really complete package. The math symbols of MnSymbol and the integral signs have to be adjusted, the .sty file has to be reduced and maybe some fonts added, … So it is still some work and these are things I mostly don’t know anything of and — this is probably more important — so far I have everything I really need. Additionally, a thesis does not write itself so my time is limited. It is ready when it is ready. If you do not want to redo the work I’ve done so far, just write a comment and I maybe send you the source files. ;)


Some days ago the new version 2.3 of xindy was released. “xindy is an index processor that can be used to generate book-like indexes for arbitrary document-preparation systems. This includes systems such as TeX and LaTeX, the roff-family, SGML/XML-based systems (e.g., HTML) that process some kind of text and generate indexing information.” It has several advantages compare to MakeIndex like better internationalization and customizability. In the new version it is possible to use an external clisp compiler, although I was not able to do it successfully. There is an error in the configure script, one has to add enable to the clisp path and exectable changing options (eg --enable-clisp-dir=/usr/lib64/clisp).

I added an ebuild to Gentoo Bugzilla.

This time I write about my new keyboard: the cherry evolution stream. I primarily decided to buy a new one because I wanted to switch to the US layout, which has it’s advantages when coding or just because I am used to write with the US layout at university. I bought it at keybo.de where it is possible to get almost every possible layout, they sent it very fast and payment was possible via bill so I can recommend that shop.

So far I have no problems with the keyboard, I quite like it. I plugged it into the keyboard PS/2 port (is there an advantage of using an USB port?) and it worked out of the box under linux. I use just the standard xorg kdb driver for X:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"

although even auto-detection in never xorg versions should work. Only the multimedia buttons do not work without additional configuration but I did not expect that, where would be the fun? ;) So it was a rather easy task to get all the keycodes using xev and combine them with the appropriate actions. Add
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 144 = XF86AudioPrev
keycode 162 = XF86AudioPlay
keycode 153 = XF86AudioNext

to your .Xmodmap file (or wherever you thinks it’s best) and … run it through xmodmap:
xmodmap .Xmodmap .
To use the volume buttons you may want to install kmilo under kde.