Here are notes on

  1. various programs I've used, or
  2. programs that I haven't used, but which look interesting.

Altho the notes are short, the information therein may have taken me hours to discover. Therefore others might find this useful. My preferred environment is linux and C++, supplemented by commercial tools that are good enough to be worth the hassle of license management etc.

Comments are welcome.

This page describes publicly available SW written by others. For my SW, see my Research page.

Contents (hide)

  1. 1. Linux
    1. 1.1 Booting
    2. 1.2 Linux multimedia incl video
    3. 1.3 Using an ipod with linux
    4. 1.4 MS Office in linux
    5. 1.5 Ubuntu Network Remix
    6. 1.6 Encrypted partitions
    7. 1.7 Linux other
  2. 2. Linux virtual machine (VM) notes
  3. 3. Converting a VM from VMWare to KVM
  4. 4. Linux mail user agents - comparisons, advantages and problems
    1. 4.1 Kmail
    2. 4.2 Claws-mail
    3. 4.3 Evolution
    4. 4.4 Thunderbird
    5. 4.5 Gmail
    6. 4.6 Mulberry
  5. 5. Cellphone as modem in linux
  6. 6. Boot ISO image
    1. 6.1 Boot ISO image from disk (hard drive)
    2. 6.2 Boot ISO image from USB flash drive
  7. 7. Numeric computing
    1. 7.1 SW
    2. 7.2 Sparse least squares
    3. 7.3 Matlab hints
    4. 7.4 Mathematica limits
    5. 7.5 Syntax comparisons - Matlab, Mathematica, Maple
  8. 8. Graphics and media
    1. 8.1 Big packages
    2. 8.2 Gnuplot
    3. 8.3 Image format conversions
    4. 8.4 Stitching, panoramas
    5. 8.5 Cameras
    6. 8.6 Download video
  9. 9. Words
    1. 9.1 LaTeX
    2. 9.2 Lucida fonts in LaTeX
    3. 9.3 LaTeX into HTML
    4. 9.4 HTML into LaTeX
    5. 9.5 XML to LaTeX or HTML
    6. 9.6 XML into PDF
    7. 9.7 LaTeX figures and PDF
    8. 9.8 Watermark a PDF file
    9. 9.9 Convert a directory of images files to PDF files
    10. 9.10 Crop and resize PDF pages
    11. 9.11 Combine a directory of PDF files into one file
    12. 9.12 Update PDF file metadata
    13. 9.13 PDF to RTF (good for MS Word)
    14. 9.14 Paginate a PDF file
    15. 9.15 Complete (fill in) a PDF form
    16. 9.16 Others' words
    17. 9.17 Snail mail words
    18. 9.18 Speak words
    19. 9.19 Talk (Presentation) Slide Tools
  10. 10. Geo
    1. 10.1 Major sites of information
    2. 10.2 Packages
    3. 10.3 Rendering terrain with povray
    4. 10.4 GPS, specifically Garmin 60csx
  11. 11. VMWare - shrink pre-allocated disk on windows client
  12. 12. MS Windows
    1. 12.1 Retrieve passwords and activation keys

1.  Linux

Note: Some things, that are not necessarily intrinsically linux, are in a separate top level section.

1.1  Booting

  1. Grub disk naming when booting
    1. Assume you have a laptop with two disks: the original one and a second in a caddy replacing the DVD drive.
    2. In the BIOS, you specify the order in which the BIOS is to try booting from them.
    3. That is the order that grub uses when numbering disks (hd0), (hd1) etc.
    4. Note that the disks' positions on the bus is irrelevant here.
    5. If you exclude a disk from the boot order, then grub doesn't give it a number.
    6. Later, grub and linux name the disks according to their bus addresses.
    7. Up to SuSE 10.1 (approx), including older versions of Knoppix, the main disk is /dev/hda and the caddy disk /dev/sda
    8. From SuSE 10.2 on (approx), the main disk is /dev/sda and the caddy disk /dev/sdb.
    9. You can use these names later in grub, e.g., in the kernel command.
    10. Does /dev/sda correspond to (hd0) or (hd1)? It depends on the BIOS boot order.
    11. In the BIOS statup list disk (S1) is the builtin disk, and (PM) is the caddy disk.
    12. scsiinfo -s /dev/sda lists the disk's serial number that is printed on the disk itself.
    13. If /etc/fstab disagrees with the root= option on the grub kernel command, then the root= option determines what partition is mounted, but /etc/fstab determines what df shows. If they are inconsistent, then df's output will be wrong.
    (10/19/2007)
  2. Grub setup/install weirdness: The command
    grub-install /dev/sda
    can produce a different result than
        grub
          > setup /dev/sda 
    
    The former reused an old location for message.
    (approx; this is from memory). 10/19/2007

1.2  Linux multimedia incl video

  1. IBM Thinkpad T43p audio
    1. If there is no sound when playing an mp3, say with mplayer, then turn off the line jack sense and headphone jack sense in kmix (or krecord).
    2. Kmix settings to record
      These are probably correct.
      1. Input » capture must be set. Level irrelevant.
      2. Input » microphone maybe set. Level relevant.
      3. Switches » mix maybe irrelevant
      4. Output » pcm set. Level 1/3.
      5. Disable everything else, else feedback loop.
      6. OK to mute output. Maybe better.
      Another time, this worked:
      1. Input » red mic set
      2. Input » capture set
      3. Switches » mix NOT set. Setting it unsets Input » red mic.
    3. Kmix settings to play input sound
      1. Output » master set, and reasonable level.
      2. Input » green mic set, and reasonable level.
      3. Switches » mic boost does that.
      4. Nothing else seems to matter.
    4. Kmix settings to play audio file
      1. Output » master set, and reasonable level.
      2. Output » pcm set, and reasonable level.
      3. Switches » line jack sense not set.
      4. Switches » headphone jack sense not set.
      5. Nothing else seems to matter.
    5. Other interesting pages
      1. http://www.thinkwiki.org/wiki/Problem_with_audio_clipping
  2. Gnome-sound-recorder is another recorder.
  3. Alsasound can restart things if they are messed up.
  4. gnome-sound-properties looks useful.
  5. Converting wav to mp3
    1. Install lame from http://users.rsise.anu.edu.au/~conrad/not_lame/
    2. Do: notlame -h in.wav out.mp3
  6. Converting realaudio to wav
    1. Use mplayer.
    2. The realaudio format changes frequently.
    3. The current version of realaudio cannot play very old realaudio formats. Mplayer can.
  7. Mplayer low quality: The output from mplayer (in linux) seems to be worse quality than that of windows programs.
  8. Converting an AVI video to MPEG4 (from SCOREC)
  9. Video tools from Philippe Dreuw.

1.3  Using an ipod with linux

This is not about installing linux on the ipod.

  1. http://people.csail.mit.edu/adonovan/hacks/ipod.html
  2. Ubuntu and Your iPod
  3. http://boingboing.net/2007/09/14/new-ipods-reengineer.html
  4. http://www.gtkpod.org/about.html
  5. http://www.getsharepod.com/ - Replacement for itunes. To try.

1.4  MS Office in linux

  1. antiword (for reading MS Word) - often all you need. What it omits, like gratuitous images, is often content-free.
  2. openoffice - formerly much worse than MS Office, but getting better.
  3. codeweaver's crossover office (excellent)
  4. vmware (excellent)

1.5  Ubuntu Network Remix

https://wiki.ubuntu.com/UNR

1.6  Encrypted partitions

old way

Setup

  1. cryptsetup create FOO /dev/sdXX
  2. mkdir /FOO
  3. add to /etc/fstab:
    /dev/mapper/FOO /FOO ext3 defaults 0 1
  4. add to /etc/crypttab:
    FOO /dev/sdXX none none
  5. mke2fs -j -L CHOSEN_PARTITION_NAME /dev/mapper/FOO

Explicit mount

  1. cryptsetup create FOO /dev/sdXX (if necessary)
  2. mount /dev/mapper/FOO /FOO

New (LUKS) way

http://www.saout.de/tikiwiki/tiki-index.php?page=LUKS

Setup

  1. cryptsetup --verbose --verify-passphrase luksFormat /dev/sdXX
  2. cryptsetup luksOpen /dev/sdXX FOO
  3. mkdir /FOO
  4. add to /etc/fstab:
    /dev/mapper/FOO /FOO ext3 defaults 0 1
  5. add to /etc/crypttab:
    FOO /dev/sdXX none luks,check=ext2,retry=5
  6. mke2fs -j -L CHOSEN_PARTITION_NAME /dev/mapper/FOO

Add key to partition:

cryptsetup luksAddKey /dev/sdXX

Explicit mount and unmount

  1. cryptsetup luksOpen /dev/sdXX foo
  2. mount /dev/mapper/foo /foo
  3. umount /foo
  4. cryptsetup luksClose foo

1.7  Linux other

  1. Who owns a given open file? fuser -v FILE
  2. Why firefox gets slower and slower:
    Noscript and probably other addons seem to have quadratic time performance. They record URLs in a list and apparently linearly search it.
    The only solution that I've found is to run firefox inside vmware and regularly restore the VM. Even deleting files that Firefox wrote seems not to work.
    Firefox 3 is faster, but doesn't print, for the following reason: The firefox 3 designers decided to use a feature of some other SW that had never been used before. It didn't work. Firefox says that's not their problem that the other SW fails. Meanwhile, users like me, who just want to get our work done, watch this temper tantrum and start thinking about using Windows.

2.  Linux virtual machine (VM) notes

  1. http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-8.10
  2. http://www.howtoforge.com/creating-virtual-machines-for-xen-kvm-vmware-workstation-6-vmware-server-with-vmbuilder-on-ubuntu-8.10
  3. http://www.ibm.com/developerworks/linux/library/l-linux-kvm/
  4. http://virt.kernelnewbies.org/TechComparison
  5. http://www.massivegeek.com/technology/vmware-server-to-xen-conversion
  6. http://www.nalley.sc/david/?p=36
  7. http://www.playingwithwire.com/2009/06/virtual-failure-yippiemove-switches-from-vmware-to-freebsd-jails/
  8. http://bsd.slashdot.org/story/09/06/02/0043258/When-VMware-Performance-Fails-Try-BSD-Jails

3.  Converting a VM from VMWare to KVM

This doesn't yet work for me.

  1. http://blog.bodhizazen.net/linux/convert-vmware-vmdk-to-kvm-qcow2-or-virtualbox-vdi/
  2. http://blog.loftninjas.org/2008/09/08/converting-a-vmware-image-to-kvm/
  3. http://ubuntuforums.org/archive/index.php/t-1163175.html

4.  Linux mail user agents - comparisons, advantages and problems

This is based on personal experience. It contains detailed info that I've not seen in other reviews, and also not seen in the documentation.

This emphasizes the negative because a package's limitations are often more important than its advantages in deciding whether to use it. Also, the limitations are rarely mentioned in the documentation.

4.1  Kmail

Bad

  1. The whole KDE project is designed by enthusiasts for enthusiasts. It adds whatever new features the designers consider fun. Users are expected to help debug it. KDE is not intended to be a turnkey system for people who just want something that works w/o thinking about it.
  2. The kmail documentation is several years out of date. If that's a problem for you, then fix it yourself. The KDE developers have more fun things to do than write documentation.
  3. Can lose mail when internal db gets corrupted. Symptom: folder shows a message with no subject or body.
  4. Cannot search mail by date. It is impossible to search only within all mail from the last week. The lack of searching by date has been listed in the features request list for several years, but nothing has happened. This is still true of the current 1.9.51 version, as of 7/18/2008.
  5. Searching large folders within kmail is so slow as to be useless. It is much slower than searching the directory directly.
  6. Kmail has very specific requirements for imap, and will not talk to servers that don't have the same hi standards.
  7. Kmail wouldn't talk to gmail, the last time I tried. This may work now.

Good

  1. The addressbook is sophisticated. It is a complete contact program, useful for addresses, phone numbers, etc.
  2. Retrieving messages can be stopped by the user. This is useful if a large imap folder is being scanned.

4.2  Claws-mail

Bad

  1. Retrieving mail from several mailboxes is single threaded. Only one mailbox is checked at a time.
  2. Retrieving from a large imap folder cannot be stopped, short of killing claws-mail.
  3. The addressbook is minimal, lacking features in competing addressbooks. E.g., it is useless for storing phone numbers.
  4. This is a stand-alone mail program, not a component of a PIM. There is no integrated calendar.

Good

  1. claws-mail allows mail to be sorted depending on the specific address book containing the sender or recipient. This really convenient feature appears unique to claws-mail.
  2. You can search and filter on arbitrary headers.
  3. You can assign colors to messages and then search by color.
  4. You can watch the connection handshaking.

4.3  Evolution

Bad

  1. You cannot search by arbitrary headers.
  2. If a header is duplicated, only the first occurrence is used, unless you write a regex. This makes it very hard to search for mail that flowed thru a specific relay.
  3. You can filter on whether the sender is in any addressbook, but not whether he is in a specific addressbook.
  4. Internal database inconsistencies can arise:
    1. https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/287811
    2. http://www.go-evolution.org/Camel.Local#Mbox_bugs
  5. Cannot usefully read an IMAP server from multiple machines, which is the point of IMAP. Specifically, processing a message on one machine is not always seen on others.

Good

  1. You can check for supported types of authentication.

4.4  Thunderbird

Good

  1. Many addons are available.
    1. http://nic-nac-project.de/~kaosmos/
  2. Importing from evolution:
    1. http://maketecheasier.com/how-to-migrate-from-evolution-to-thunderbird-in-ubuntu-intrepid/2008/12/04
    2. http://patrick.wagstrom.net/weblog/2007/01/19/migrating-from-evolution-to-thunderbird/
    3. http://skalyanasundaram.wordpress.com/2007/05/23/using-thunderbird-instead-of-evolution/
    4. http://www.stuermer.ch/blog/the-end-of-evolution-and-how-to-migrate-on-thunderbird.html
    5. http://blog.agdunn.net/?p=225
    6. http://ubuntuforums.org/showthread.php?t=329644
    7. Importing problems:
      1. All messages marked 'read' and tags are lost.
      2. Recommended calendar program, lightening, is version <1.0 and its development team lacks resources.
      3. Mailing lists don't import with addresses.
      4. Addressbook fields are not completely compatible.

Bad

  1. It is not possible to to useful spam filtering, or to call out to an external spam program, in Thunderbird. Thunderbird assumes that messages were already tested for spam by the mail server, which added a header with its findings. Thunderbird lets you examine headers and filter the mail. However this filtering sometimes fails. Thunderbird does have a Bayesian spam tester, but it's pretty bad.
  2. Cannot search the bodies of IMAP mail, even if the bodies have been downloaded.
  3. Cannot automatically filter more than one IMAP folder.

4.5  Gmail

Bad

  1. All your mail is conveniently centralized, available for search warrants, legal or illegal fishing expeditions, disk crashes, and security failures.

4.6  Mulberry

Good

  1. Extremely powerful
  2. The best documentation I've ever seen for a mailer.

Bad

  1. A one-man operation, hasn't been updated since 2007.

5.  Cellphone as modem in linux

  1. Number: #777
  2. User, pwd: qnc, qnc
  3. Stop dropping calls by
    1. commenting 2 lines in /etc/ppp/options about lcp-echo.
    2. and edit idle-seconds in /etc/sysconfig/network/providers/provider1

6.  Boot ISO image

6.1  Boot ISO image from disk (hard drive)

Suppose that you wish to boot an ISO image of an OS, w/o writing the image to to an external medium, like a CD or USB drive. Info on how to do this is scattered around various mailing lists, and much of that didn't work for me.

What worked

  1. Ubuntu:
    1. Put ISO image somewhere in file system.
    2. Temporarily mount ISO image and copy vmlinuz and initrd files to /boot, possibly renaming them.
    3. Add this to grub, possibly edited:
        title Ubuntu 8.04
            root (hd0,0)
            kernel /boot/ubuntu804-amd64-vmlinuz root=/dev/sda2 vga=0x31b \
               splash=silent showopts find_iso=/ubuntu.iso boot=casper
            initrd /boot/ubuntu804-amd64-initrd.gz
            lock 
      
    The above has stopped working, and I don't know how to fix it.
  2. Knoppix:
    1. Add to /boot/grub/menu.lst:
       title Knoppix 5.3
       root (hd0,0)
       kernel /boot/isolinux/linux ramdisk_size=100000 init=/etc/init \
          lang=us apm=power-off vga=791 nomce bootfrom=/dev/sda2/knoppix.iso \
          dma myconfig=scan 
       initrd /boot/isolinux/minirt.gz    
      
    2. Install:
      1. /dev/sda2/knoppix.iso (replacing /dev/sda2 by the mounted name)
      2. /boot/isolinux/linux (obtained from temporarily mounting knoppix.iso)
      3. /boot/isolinux/minirt.gz (")
      4. /KNOPPIX (")
    3. Ref: http://www.knoppix.net/forum/viewtopic.php?p=114964

What didn't work

  1. in grub 0.97: using map --hook or map --rehook or map --mem. These options don't exist.
  2. grub 2.0: its authors don't claim it's ready for public use.
  3. grub4dos: this might be the answer since it's more flexible and powerful than grub (e.g., it has --hook and --mem), but there's too little documentation in English.
  4. Copying the ISO image to a separate partition then using grub thus:
    title Knoppix 
       rootnoverify (hd0,4)
       chainloader (hd0,4)+1
    
  5. Using fromhd in grub thus:
      title Knoppix
          root (hd0,1)
           kernel /boot/knoppix53 ramdisk_size=100000 init=/etc/init lang=us \
              apm=power-off vga=791 nomce fromhd=/dev/sda2 dma myconfig=scan 
          initrd /boot/knoppix53-minirt.gz 
    
    or
      title Knoppix
          root (hd0,1)
           kernel /boot/knoppix53 ramdisk_size=100000 init=/etc/init lang=us \
              apm=power-off vga=791 nomce fromhd=/dev/sda2/KNOPPIX dma myconfig=scan 
          initrd /boot/knoppix53-minirt.gz 
    

Not thoroughly explored

  1. Putting the image in a separate partition with dd, marking it bootable, and causing grub to boot it.

Links

Some of these are useful.

  1. http://forums.hexus.net/operating-systems-applications/141523-usb-boot-iso-images-possible.html
  2. http://www.linuxquestions.org/questions/linux-software-2/booting-of-raw-iso-from-grublilo-though-preferably-grub-367901/
  3. http://www.911cd.net/forums//index.php?showtopic=18045&st=45
  4. http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial
  5. http://www.freesoftwaremagazine.com/articles/grub_intro/
  6. http://ubuntuforums.org/showthread.php?t=774539&highlight=grub
  7. http://ubuntuforums.org/search.php?searchid=41979132&pp=25&page=2
  8. http://ubuntuforums.org/archive/index.php/t-170530.html
  9. http://www.linuxquestions.org/questions/linux-general-1/boot-iso-image-from-hard-disk-294744/
  10. http://www.knoppix.net/forum/viewtopic.php?t=27883
  11. http://www.knoppix.net/forum/viewtopic.php?t=11796
  12. http://www.freesoftwaremagazine.com/articles/grub_intro

6.2  Boot ISO image from USB flash drive

There was a review somewhere that said that you cannot boot from most brands of USB drives. Possibly useful:

  1. http://lifehacker.com/software/linux/boot-linux-from-a-flash-drive-225652.php
  2. http://www.bootdisk.com/pendrive.htm
  3. http://www.pendrivelinux.com/2008/10/15/ubuntu-810-persistent-flash-drive-install-from-live-cd/
  4. http://www.pendrivelinux.com/2008/05/23/how-to-fix-ubuntu-804-casper-script-for-persistence/
  5. http://www.pendrivelinux.com/
  6. http://www.linuxdevices.com/news/NS2850840818.html
  7. http://www.simonf.com/usb/

7.  Numeric computing

7.1  SW

  1. The Object-Oriented Numerics Page
  2. BLAD - Bibliothèques Lilloises d'Algèbre Différentielle
  3. http://gmplib.org/
  4. NTL: A Library for doing Number Theory
  5. opt++/ - dead?
  6. DAKOTA A Multilevel Parallel Object-Oriented Framework for Design Optimization, Parameter Estimation, Uncertainty Quantification, and Sensitivity Analysis

7.2  Sparse least squares

Matrix file formats

  1. http://math.nist.gov/MatrixMarket/

Matlab

  1. http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spparms.html
  2. http://www.mathworks.com/access/helpdesk/help/techdoc/ref/qr.html
  3. http://www.mathworks.com/access/helpdesk/help/techdoc/ref/mldivide.html
  4. http://tomopt.com/tomlab/products/base/solvers/Tlsqr.php - commercial and priced accordingly
  5. http://www.mai.liu.se/~milun/sls/

Mathematica

7.3  Matlab hints

Two-D False Color Plot of a Matrix

The matrix may be up to several thousand square.

pcolor(M)
shading interp

Read a Data File

load FOO.dat or load FOO
Reads ascii file FOO.dat or FOO into matrix FOO. The file must have one row of numbers per row of the matrix.

Plot Where the Non-Zero Entries of a Matrix Are

spy(M)

Run a Matlab Batch Job

(in linux, from Metin)
matlab -nodisplay -nojvm -nodesktop -nosplash < try.m 1> try.out 2> try.err&
Mathworks Link

7.4  Mathematica limits

  1. http://mail.python.org/pipermail/python-list/2008-December/689660.html

7.5  Syntax comparisons - Matlab, Mathematica, Maple

http://amath.colorado.edu/computing/mmm/

8.  Graphics and media

8.1  Big packages

  1. VTK
  2. Gri language for scientific illustration
  3. GLE - Graphics Layout Engine / Professional Graphics Language
  4. Inkscape open-source vector graphics editor review
  5. GraphicsMagick
  6. ImageMagick - slower and bigger than GraphicsMagick, however can process 16-bit greyscale images.
  7. contextfreeart: generates images from a grammar.
  8. Synfig: powerful, industrial-strength vector-based 2-D animation software package, designed for producing feature-film-quality animation.
  9. Art_of_Illusion: 3-D modeling and rendering studio.

8.2  Gnuplot

  1. Website: http://www.gnuplot.info/documentation.html
  2. Make x and y scales the same
    set size ratio -1
  1. Sample plot of 2 circles
    set parametric
    plot sin(t), cos(t), sin(t)+1, cos(t)

8.3  Image format conversions

  1. sam2p - looks good, does single page PS and PDF compactly.
  2. Convert ps to png:
    1. with gs
      gs -sDEVICE=png256 -r300 -sOutputFile=out.png in.ps
      (change the device if desired)
    2. with ImageMagick:
      convert -resize 300 email.eps email.png
  3. http://lifehacker.com/5040094 - quick audio and video media converter
  4. http://www.befunky.com/ - Cartoonizer
  5. Change size w ImageMagick:
    convert -resize 50% in.jpg out.jpg
    resize is similar to but better than scale.
    However it's possible that facebook doesn't like files created this way. They upload as empty. Loading and saving such files with xv may fix them. This problem is tentative; it may be a coincidence.
  6. http://imgtops.sourceforge.net/

8.4  Stitching, panoramas

  1. http://lifehacker.com/378490/ - mentions:
  2. http://autopano.kolor.com/
  3. http://hugin.sourceforge.com/

8.5  Cameras

  1. http://chdk.wikia.com/wiki/CHDK - Canon Powershot wiki

8.6  Download video

  1. http://www.makeuseof.com/tag/18-free-ways-to-download-any-video-off-the-internet/

9.  Words

9.1  LaTeX

  1. http://www.fauskes.net/nb/introducing-dot2texi/dot2texi
  2. http://www.ctan.org/tex-archive/macros/latex/contrib/gnuplottex/gnuplottex
  3. http://en.wikibooks.org/wiki/LaTeX
  4. ... and pmwiki. You can now include LaTeX math like
    \Phi_{\mu,\sigma^2}(x) = \frac{1}{\sigma\sqrt{2\pi}}\int_{-\infty}^x e^{-\left(\frac{u-\mu}{2\sigma}\right)^2}du
    See jsMath. This requires that Javascript be enabled. If you increase the font size and redisplay the page, the formula gets larger and looks better. Setting a minimum font size in the browser can make the formula look worse.

9.2  Lucida fonts in LaTeX

This commercial font set was surprisingly hard to install. The included doc is incomplete. The following is from, i.a., http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2006-02/msg00819.html . Not all the following steps may be necessary.

  1. Install files from lucida-complete.zip to /usr/share/texmf/
  2. Link /usr/local/share/texmf to /usr/share/texmf.
  3. updmap --enable Map=lucida.map
  4. updmap-sys --enable Map=lucida.map

To use, include

   \usepackage[T1]{fontenc}
   \usepackage{textcomp}
   \usepackage{lucidabr}

Documentation is in /usr/share/texmf/doc/fonts/lucidabr/

9.3  LaTeX into HTML

  1. jsMath: Javascript interpreter for most of LaTeX math mode, with attention paid to hi quality and efficiency. Has been integrated into several other wikis and LaTeX tools.
  2. TtH: Translate TeX to HTML. Equations lose a lot since they're set using HTML formatting.
  3. HeVeA: LaTeX to HTML translator. Equations are readable.
  4. Hyperlatex: Method to generate LaTeX and HTML documents simultaneously, using a large subset of LaTeX with extra commands.
  5. WebTeX: Take an HTML file with math and generate an image for each occurrence.
  6. weblatex: Include LaTeX files in web page, with math converted to either MathML or jsMath, depending on browser capabilities.
  7. TeX4ht: Convert TeX and LaTeX to HTML, using MathML or jsMath for math.
    Another link.

General properties of the converters are:

  1. Other packages that are used in the LaTeX are not handled. Therefore, e.g., conference papers lose something in translation.
  2. User-defined commands are often not handled.
  3. The HTML version does not look as good as the LaTeX version. This is not necessarily the converters' fault because paper and the web are different.
  4. You may usually add HTML-only commands to the file.
  5. However, the math, iff converted with jsMath or MathML, looks excellent, with only a few changes.

My recommendation:

  1. Prepare the document in pmwiki.
  2. Convert it by hand to LaTeX when needed later for, e.g., a proposal.
  3. If the document was originally LaTeX, then put PDF on the web.

9.4  HTML into LaTeX

  1. html2latex, using Perl.
  2. htmltolatex, using java.
  3. html2latex
  4. TeX4ht: links to many other conversion programs, e.g., from LaTeX to HTML.

9.5  XML to LaTeX or HTML

  1. http://www.albany.edu/~hammond/gellmu/
  2. http://tbookdtd.sourceforge.net/

9.6  XML into PDF

  1. http://www.princexml.com/ - Math capabilities appear primitive. Does not do LaTeX math.

9.7  LaTeX figures and PDF

  1. LaTeX to PDF: several ways, w/ or w/o DVI or PS
  2. Hints about tables and figures in LaTeX
  3. Graphics for Inclusion in Electronic Documents: formats, SW, many details.

9.8  Watermark a PDF file

pdftk filetomark.pdf background watermark.pdf output out.pdf

or

 pdftk filetomark.pdf stamp watermark.pdf output out.pdf

9.9  Convert a directory of images files to PDF files

 for f in image-*.pnm
 do
 convert -resize 25% $f ../pdf/${f:s/pnm/pdf}      
 done

9.10  Crop and resize PDF pages

  1. pdfcrop

9.11  Combine a directory of PDF files into one file

 pdftk image*pdf cat output onebigfile.pdf

9.12  Update PDF file metadata

  1. extract an info file:
   pdftk file.pdf dump_data > info 
  1. edit info
  2. pdftk file.pdf update_info info output file2.pdf

9.13  PDF to RTF (good for MS Word)

I haven't tried this, but it looks interesting.

http://3d2f.com/programs/22-038-advanced-pdf-to-rtf-converter-download.shtml

PDF to MS Word

http://www.hellopdf.com/ - To try.

9.14  Paginate a PDF file

  1. http://3d2f.com/programs/22-043-getpdf-page-numberer-download.shtml
  2. http://3d2f.com/programs/63-939-sybrex-speedpdf-page-numberer-download.shtml
  3. pdflatex with pdfpages

9.15  Complete (fill in) a PDF form

for free in Linux: http://www.cabaret-solutions.com/en/

9.16  Others' words

  1. http://podiobooks.com/
  2. http://dailylit.com/

9.17  Snail mail words

  1. http://www.esnailer.com/ - Didn't work when I tried it.

9.18  Speak words

  1. http://spokentext.net/

9.19  Talk (Presentation) Slide Tools

  1. Summaries
    1. Screen Presentation Tools by Michael Wiedmann
  2. LaTeX beamer is newer than prosper is newer than seminar. Use beamer (for now).
    1. http://latex-beamer.sourceforge.net/
    2. http://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php
    3. http://www.ctan.org/tex-archive/macros/latex/contrib/powerdot/
    4. http://sourceforge.net/projects/prosper/
    5. http://ctan.org/tex-archive/macros/latex/contrib/movie15/ - incs videos
    6. powerdot - replaces ha-prosper replaces prosper, but is beta.
    7. pdfslide
    Good latex page from Colorado
  3. Html
    These are at the mercy of the browser. Formerly, all browsers (firefox, explorer, konqueror, opera) were surprising bad and mutually incompatible. I used to say, avoid, However, things may now be improving.
    1. http://meyerweb.com/eric/tools/s5/
    2. http://www.w3.org/Talks/Tools/Slidy/
    3. http://microformats.org/wiki/XOXO
    4. http://my.opera.com/community/dev/operashow/documentation/doc_fileformat.html
  4. Misc
    1. http://member.wide.ad.jp/wg/mgp/ - MagicPoint - looks interesting
    2. http://gmpg.org/xfn/and/
    3. http://www-user.uni-bremen.de/~skupin/pdfanim/ - incorporates files of frames - wait for more mature version

10.  Geo

10.1  Major sites of information

  1. http://www.usgs.gov/
  2. http://data.geocomm.com/
  3. http://terrainmap.com/

10.2  Packages

  1. GMT Generic Mapping Tools
  2. http://www.visualizationsoftware.com/3dem.html
  3. http://www2.cs.uh.edu/~somalley/campath.html

10.3  Rendering terrain with povray

povray-terrain-1.tz shows how to render images of terrain in povray.

povray-terrain-2.tz has more test data and the corresponding images.

10.4  GPS, specifically Garmin 60csx

Track vs Active Track

SFAIK, the only difference is that the active track has the time of each point. That is deleted when the active track is saved.

Tracks saved on data card

gpx files saved to the data card do have the times. There is one file per day. The GPS doesn't list them all (?!). They don't show on the GPS display. Get them by putting GPS in USB mode, mounting it, then copying.

Ref: http://freegeographytools.com/2007/garmin-microsd-card-tricks

gpsbabel - great program for processing tracks in linux

11.  VMWare - shrink pre-allocated disk on windows client

Preallocated disks are faster and don't get larger with more writes (they start large) but you have to pick the size at the start. What if you later want to shrink (truncate) it?

  1. Create a new preallocated disk file of the desired size on the host.
  2. Install partition magic on the client
  3. On the client, copy and resize the partition from the old disk to the new.
  4. Halt the VM.
  5. In the VM settings, delete the old disk, and update the IDE bus address for the new disk from 0:1 to 0:0.
  6. Reboot; you're done (with luck).

Thanks to http://communities.vmware.com/message/899544#899544

12.  MS Windows

12.1  Retrieve passwords and activation keys

here

.