All entries for Friday 02 December 2011
December 02, 2011
Some time ago I wrote about my experiences with an iPad from the point of view of a travelling mathematician. Like most iOS and Android devices it provides email and web access through wifi (and 3G if they use the mobile phone networks).
But I want to be able to write mathematics conveniently and whilst there are editors for LaTeX source files on both iOS and Android, processing of the source files to PDF output has to be by a remote TeX installation. Whilst such services exist they need a live internet connection to use and my experience with 3G and hotspots is very poor. Hotels frequently charge a fortune to use their wifi services, and 3G dongles often cannot get enough signal to be used reliably.
It would be much nicer to have a self-contained system. E.g. an installation of TeXLive on the machine. These exist for Mac OSX, Linux and Windows. But not for iOS or Android. There's no Apple tablet besides the iPad and Linux tablets seem hard to obtain in the UK whereas there are Windows tablets.
I decided the only thing to do was buy one and see if I could get it set up to work like my MacBook Pro or my netbook which is set up to run SLED 11. Both the latter have TeXLive 2011 installed which provides the TeXWorks editor and previewer, and both connect to my Subversion server using public key authentication so that it does not matter which machine I work on, I have access to the same files.
I bought an Acer Iconia W500 (list price £449) which comes with a 32GB SSD and 2GB of RAM, 1280x800 screen, AMD dual core processor, dual web cams, SD slot, wifi and bluetooth. It weighs 960gms and is 16mm thick. The operating system is 32 bit Windows 7 Home Premium plus some touch screen software which I don't use. Like the iPad it starts to feel heavy fairly quickly if you try to hold it in one hand and operate it with the other.
I had read reviews of Windows 7 based touch screen systems so I was prepared for a terrible experience. But it wasn't. I haven't yet mastered bringing up the virtual keyboard exactly where and when I want it, but most of the time things work fine. There are two USB ports so I can plug in a wired mouse and keyboard if I want and it also supports use of bluetooth peripherals which connected without problem when I tried generic devices.
I used the smaller MiKTeX distribution for LaTeX rather than the full TeXLive as the 32GB SSD will soon fill up. No problems installing it and running TeXWorks. The MiKTeX package manager added a few extras the first time I processed one of my papers and I expect this will happen less and less over time as it builds up the set of packages I use frequently.
Then I tackled getting SVN to work. I downloaded TortoiseSVN and installed it, created an SVN directory and then created directories for the papers I am working on and my CV. You then right-click on a directory and add the information needed to checkout the files from the SVN server. I use the svn+ssh protocol so ended up entering my password for the server many times for each checkout. That encouraged me to seek a public key solution which is to install the PuTTY suite of applications, set up the public/private key pair, copy the public key to the server and install the private key in Pageant. Then tell Tortoise to communicate with Pageant for authentication. That worked fine except you need to install the private key into Pageant on every boot. There are instructions on the net for editing the Registry to get around this but I worked out a different solution. I created a link to Pageant, got its properties and edited the command to be run to include the full path to the PuTTY private key file. After clicking Apply, I moved the link into my Startup items folder so that when I log in to my Windows account, Pageant gets loaded with the key for accessing my svn server. You can protect access the server by setting a passphrase for the private key which will be asked for just the once when Pageant loads the key instead of being asked for the server password many times per transaction.
I am pleased with this setup. The 32GB SSD is not large but large enough for my purposes and can be backed up onto a 32GB SD card, and another SD card (or more) can provide additional storage space.