I finally decided to put my scripts to use MyriadPro with LaTeX online. While preparing this, fixed some more issues with Myriad and found some with Minion. Also I wanted to use the swash letters of CronosPro with Myriad. So I modified the script to include the support for all three fonts in one repository:

FontPro at GitHub

I think for a lot of purposes this gives reasonable results. My modifications so far:

  • support of MyriadPro: math and text; tuned accent positions of italic roman letters and of italic and upright greek letters; use swash letters of CronosPro as mathcal; loadable with eg MinionPro
  • text only support of CronosPro
  • fixed typo in MinionPro.dtx connected with microtype; take kerning
    information of accents and swash letters into account
    (maybe a change in the LCDF typetools made the last point necessary)

Obviously, there is still work to do. One of the major points is the ability to use the scripts with lcdf typetools > 2.69. Unfortunately, I was not able to identify the cause why the adjust-oml gives an error for the accent positions for the letters eg rho1, beta1, etc for me. It is strange that on some systems there is no problem at all; I was not able to find the difference between these systems…

The major points connected with MyriadPro is the adaptation of MnSymbol for MyriadPro. So far, I did not have the time to look at it. In addition, I did not succeed to tune the accent position of upright roman letters in math mode. The UP* information in adjust-oml.mtx seems to be connected to mathnormal… On the other hand, kerning pairs including the german double ss which is meant as the skew character in the setup (and which works with the swash letters of MinionPro) did not have any effect, either…

Furthermore, the swash letters of CronosPro are slightly to small for MyriadPro, so an option to scale the CronosPro (or all fonts that are based on these scripts) would be an nice feature. So far, I was not able to fully understand the font definition part in the MinionPro.dtx.

Everyone is invited to try the scripts. Anyone with an idea to solve the mentioned problems is also.

This is my workflow to develop RAW pictures from my Canon 40D. My aim is to keep all RAW files, which allows to repeat the process. To minimize repeated work, I want to tag pictures as early as possible; in the RAW converter in my case.

  1. Download the pictures from the camera. This is done by the following script. It put the pictures under $FOLDER/yyyymm/yyyymmdd/yyyymmdd-hhmmss-XX where XX is a counter for pictures with the exact same time including seconds. Furthermore, it creates a hard link of the files also in $FOLDER/backup/yyyymm/yyyymmdd/ so files can be deleted and still a backup is available, which does not take any additional space. These backup files can be deleted from time to time. Update: The renaming options in digikam have increased since I wrote that script, so you can also use digikam for that (except the simple backup mechanism).
    extensionLC=`echo $extension | tr "[:upper:]" "[:lower:]"`
    echo Getting RAW files from camera
    mkdir $FOLDER/temp
    cd $FOLDER/temp
    echo Temporary saving to $FOLDER/temp
    gphoto2 --get-all-raw-data
    for i in *.$extensionLC; do
        # Datum fuer Dateinamen
        date_stamp=`exiftool -DateTimeOriginal -d "%Y%m%d-%H%M%S" $i`
        yyyymmdd_hhmmss=$(expr substr "`echo $date_stamp`" 22 36)
        # Datum fuer Verzeichnisse mit Bindestrichen
        date_stamp=`exiftool -DateTimeOriginal -d "%Y-%m-%d" $i`
        yyyymmdd=$(expr substr "`echo $date_stamp`" 22 32)
        yyyymm=$(expr substr "`echo $yyyymmdd$`" 1 7)
        mkdir -p ../$yyyymm/$yyyymmdd
        mkdir -p ../backup/$yyyymm/$yyyymmdd
        i_renamed="../$yyyymm/$yyyymmdd/$yyyymmdd_hhmmss-`printf "%02i" $unique_num`.$extensionLC"
        # falls Datei mit gleichem Datum und Zeit vorhanden sind,
        # unique_num hochzaehlen (zwei Ziffern, aber ne cam mit mehr als
        # 99 fps waer schon geil ;)
        while [ -e $i_renamed ]; do
    	i_renamed="../$yyyymm/$yyyymmdd/$yyyymmdd_hhmmss-`printf "%02i" $unique_num`.$extensionLC"
        mv $i $i_renamed
        # hard link als Backup erzeugen, so dass im Hauptordner ohne
        # Probleme geloescht werden kann
        i_renamed_backup="../backup/$yyyymm/$yyyymmdd/$yyyymmdd_hhmmss-`printf "%02i" $unique_num`.$extensionLC"
        ln $i_renamed $i_renamed_backup
        echo "$i -> $i_renamed"
    cd ..
    rmdir $FOLDER/temp
    echo Removing temporary folder $FOLDER/temp
    echo FINISHED
  2. Geotag pictures. I use geotag for that. Be sure to set it to use xmp files to save that. Just to be sure. Update: Tagging can also be done in digikam, but saving to XMP sidecar files for exchanging information with bibble is not supported yet. There is a wish in the bugtracker, though. Once it is implemented, tagging should be also possible in digikam which, at the moment, would be a lot more convenient that it is in bibble 5.
  3. Use bibble 5 to develop raws. It should have read the geotags automatically. I enter all information of the pictures here, delete not wanted, rate them … At the moment, tagging is not really comfortable but as mentioned I want tags etc as deep as possible in the workflow. I include a tag in all pictures which describe the event of the picture. This tag will be used to sort the jpgs in digikam and on the disk (e.g. Event; Birthday Peter 36th). Finally, the generated jpgs are put in a temporary folder.
  4. Sort pictures using the Event tag. This is done by the following script (the new jpgs are arguments of that script). Update: I fixed a bug of a not removed ‘,’ at the end of the folder and decided to sort pictures like $YEAR/$DATE event.:
    while :; do case "$1" in
    	    echo "Usage: `basename $0` [-f] file1.jpg [file2.jpg...]" >&2
    	    exit 0
    	    shift 1
    	"")      # No more args - done
    	    shift 1
    	    if [[ $INTERACTIVE == "true" ]]; then
    		MVARG="$MVARG -i"
    	    case $i in
    		    # get date and year only
    		    date_stamp=`exiftool -DateTimeOriginal -d "%Y-%m-%d" $i`
    		    yyyymmdd=$(expr substr "`echo $date_stamp`" 22 33)
    		    yyyy=$(expr substr "`echo $yyyymmdd`" 1 4)
            # get HierarchicalSubject with (at least) $SORTTAG beginning with either ": " or ", "
    		    temp=`exiftool -HierarchicalSubject $i | \
    			grep --only-matching --color=never -e "\(, \|: \)$SORTTAG.*"`
    		    end=$(expr length "`echo $temp`")
        # remove the two beginning characters and Ereignis|
    		    temp=$(expr substr "`echo $temp`" 12 $end)
        # if "," still in string remove rest
    		    end=$(expr index "`echo $temp`" ,)
    		    if [ $end -ne 0 ]; then
    			temp=$(expr substr "`echo $temp`" 1 $end)
    		    echo "Ereignis: $temp"
    		    folder=`echo $temp | sed -e 's?/?_?g' -e 's?|?/?g'`
    		    folder="$TARGET/$yyyy/$yyyymmdd $folder"
    		    mkdir -p "$folder"
    		    mv $MVARG  $i "$folder/$i"
    		    echo "$i is (probably) no jpeg, canceling"
    	    if [[ $SUCCESS == "false" ]]; then
        esac done
        echo FINISHED
  5. Use digikam to view the pictures. digikam should import all the pictures. There is some minor information that is not read correctly (or saved correctly by bibble?) but most of the things just work.

If I ever have to change a tag or information, I go back to step 3. The script of 4 does the sorting automatically. In digikam, I do a Reread Metadata from Image(s).

LOL Emacs rocks!

Zapfino by Herman Zapf is nice font. This is what I think and I hope I will think some years in the future. The problem is that everyone starts to use it for every purpose. In the last time, I’ve seen it on too many advertisements and product descriptions. Maybe we could blame Apple. They ship Zapfino with OS X… Anyway, I hope Zapfino will not be hated like Times (it’s ok on obituaries, not for every document. Yes, it’s you, M$ Word user!).

While writing my thesis I found a problem of the nomencl package in conjunction with the KOMA-Script classes: the header is not changed from the one which is used in the section before the nomenclature section. A simple change of \thenomenclature works. Just add the following into the preamble:


Radiohead, last been in Berlin in 2001, played a amazingly good concert, yesterday (8.7.2008) on the stage of Wuhlheide. Although the weather was not perfect, it rained from time to time — it was an open-air concert — the mood of the people and especially of Thom Yorke was very good. He jumped around and one could really feel that he had fun performing. The lighting was also nicely designed. Allover the stage, there were flashing staffs hanging from the ceiling, which were illuminated fitting the music. This worked very well. Just have a look at the pictures linked on the last.fm page. The set list and more comments can also be found there, I am to lazy to steal there…
Anyway, this was one of the best concerts I’ve been to (and I had to buy a T-Shirt not caring how much it was (28 EUR)).

I have finished my thesis: On the Phase Structure of Two-Colour QCD at Non-Zero Chemical Potential. Result: It looks like there is no deconfining transition at zero temperature and finite chemical potential. Maybe we write a paper about. See you on arXiv. :D

Anyway, I just wanted to say I’m not dead yet.


Get every new post delivered to your Inbox.