Archive for July, 2007

Jul 12 2007

Vale David Sharp: Mount Everest, May 2006

Published by Geoff under Poetry

The last time he was ever seen alive

Was when they passed by, heading for the peak.

They said he didn’t even try to speak;

They knew he couldn’t possibly survive.

It wasn’t that they wanted to contrive

A likely story, nor to hide a streak

Of inhumanity, blaming his technique;

But that their aim was simply to arrive.

Nobody had forced him to decide

To make the climb without the proper gear;

Maybe it was his sense of pride

That led him to confront his deepest fear.

But now we, each of us, must hide

A guilty conscience and hold back a rueful tear.

[Read the news item]

If you liked this, why not treat me to a coffee (or a bone for Kafka)? Thanks, mate!

One response so far

Jul 11 2007

LaTeX on the Mac

Published by Geoff under Hints and tips

If you are a TeX maven, or a Unix guru, this post is not for you, neither is it for anyone who never has to deal with LaTeX or any of its relatives. But if, like me, you occasionally need to work with it, here are a few personal observations and recommendations.

I am in the business of proofreading and editing documents, mainly student work, ranging from two-page essays to 80,000 word dissertations. (I work for a concern called BetterEdit.)

Most of my clients send me files created in Microsoft Word™, but now and again scientists or mathematicians who love LaTeX send me files created with this powerful system.

An editor has two options at this point. He or she can simply edit the LaTeX files with an ordinary word processor or text editor (such as Word or NotePad); the files are essentially plain text files and the revised version can be saved as a text file and will still be able to be processed by LaTeX.

This will work OK, as long as you, the editor, leave the inserted codes alone (unless you know what you are doing!). A typical bit of a LaTeX document might look like this (I borrowed this from a student thesis, with apologies):

\begin{figure}[htbp]\centerline{\includegraphics[width=0.75\textwidth]{ProblemStatement/Figures/Figure2ExampleAutomatedTC.pdf}}\caption{Example of an automated QoS and priority control}\label{fig:Chapter2-PriorityQueueingAndTC}\end{figure}In outgoing traffic, small game or voice packets may be held up behind large TCP packets of the file transfer application. A similar problem can happen with incoming traffic, though normally the downstream channel will have a larger capacity than the upstream one.

So, you can edit the plain text parts for grammar or spelling errors, or to make it flow better or be more readable, as long as you don’t touch the TeX codes. This approach is fine, but only up to a point. There’s no way of looking at the final processed text to make sure it is acceptable, and it’s hard to spot errors when they are intermingled with those codes.

The better approach is to do it properly, in a LaTeX environment. I use a software application called TeXShop, for Mac OS X, a freeware package from the University of Oregon.

The web site will tell you all about it, but I will describe how I work with it, and what it will do.

Having received the LaTeX file from the client, I open it in TeXShop and attempt to ‘typeset’ it. Typesetting here turns the source file into an Adobe .pdf file, which is the final finished product, enabling you to see all the text, headings and graphics as they will finally appear, all going well!

Then I can go ahead and do my editing, able to check on the result at any time.

But all does not always go well, of course. Sometimes the client hasn’t sent the graphics files, so there are blank spaces in the output where they should appear; this is probably not too bad, because I can still fix up the text and its appearance, and if he or she sends me those files, I can check them too.

More seriously, and quite frequently, when I press the ‘Typeset’ button, I get an error report and processing stops. The program might complain that it can’t understand something, which is sometimes because a macro file or the like is missing.

Then, I get on to the client again and ask for that auxiliary file to be sent (this happened a couple of days ago), and, with luck, the file will process without error. All good fun!

I hope this will have given you a taste of using TeXShop; you may not have occasion to use it, of course, but if LaTeX turns up in your work, or if you just want to try it out - go for it, and the best of luck!

If you liked this, why not treat me to a coffee (or a bone for Kafka)? Thanks, mate!

2 responses so far

Jul 05 2007

What I’ve learned …

Published by Geoff under Family saga

What I’ve learned lately:

  1. Over the last 24 hours:
    • About “MarsEdit” - software for writing posts off-line (see my last post)
    • That I haven’t got time to read Crikey or the Language Log every day
  2. Over the last seven days:
    • How to make Chili con carne (Texans - please don’t sneer at this recipe!)
    • That you need to keep on running every day, even when it drops below 22 deg Celsius in Brisbane, or when it’s raining
    • That if you miss playing tennis for a week, it takes a while to regain your former skill (hah!)
  3. Over the last thirty days:
    • How to set up a WordPress blog on my iMac, using MAMP
    • How to configure and post to my blog
    • How to register a domain name
    • How to upload my blog, with all its posts in its database, to a web-hosting server
    • How to transfer that blog from the original unsatisfactory web host to a new one: DreamHost
  4. Over the last twelve months:
    • (Still thinking!)

If you liked this, why not treat me to a coffee (or a bone for Kafka)? Thanks, mate!

No responses yet

Jul 04 2007

Have you tried MarsEdit?

Published by Geoff under Hints and tips

I wrote this post on my iMac at home, not directly on Cockeyed Optimist through a browser, but using a package called MarsEdit (Mac only, guys!). I read about this in the WordPress 2 Visual QuickStart Guide, by Langer and Jordan, and thought it was worth a look.

You can use it to write a new post and send it to your blog, as I did for this one, or you can edit any of your existing posts. I’m not sure you can access other pages in your blog - I’m still playing with it at the moment. I know that you can set your category, and specify options about comments and trackback.

After I posted it, I spotted an error, so I edited it as an existing post in MarsEdit and sent it up again. It even preserves line breaks after editing, unlike the built-in editor, which tends to forget them (I’m sure there is a work-around for this - let me know, you seasoned bloggers).

MarsEdit has a Preview feature, so you can fix up stuff before you post.

The version I’m using is MarsEdit for Mac OS X, from www.ranchero.com; there is a 30-day trial, and after that, if you want to carry on with it, it costs $24.95 from Red Sweater Software (to me, it was $29.89 Australian).

If you liked this, why not treat me to a coffee (or a bone for Kafka)? Thanks, mate!

One response so far

« Prev