One Mac Writing

November 16, 2008

Forty Thousand Words

Filed under: Uncategorized — Tammy @ 10:27 pm

I’m more than forty thousand words into my current novel, and nearly 90% of those words have been written on my iBook. So, how are things going?

First, the good: The combination of MultiMarkdown and Textmate has been an absolute godsend from a productivity standpoint. I tried both NeoOffice and AbiWord on the new system, but my text-based workflow runs circles around both of them, both from a productivity and a distraction management standpoint.

One thing that’s aided in this regard has been the installation of SIMBL and MegaZoomer, both by Ian Henderson. To make a long story short, once these two handy little (free) utilities are installed, you can press a keystroke or pick a menu item to “zoom” Textmate to full-screen, hiding the menu bar, dock, and just about everything else. Since WriteRoom version 2 doesn’t run on OS X 10.3, and since Hogs Bay seems to have pulled the older version from their Web site, this combination is a reasonable facsimile.

Now, the bad. Well, not bad, really. Just fiddly. It turned out that my vision for converting Markdown to something printable wasn’t as easy as I’d have liked. Pandoc doesn’t run on OS X 10.3, which means I had to pull the files over to my Windows machine to print them. Less than ideal, especially when I’m sharing my chapters with my technical advisor on a fairly regular basis.

The MultiMarkdown to Word (via ODT) conversion via Pandoc will still be fine if I ever have to end up with an editable Word file (for example, if an editor wants to work using Track Changes.) But most of the time, I just want to print a full or partial formatted manuscript, or e-mail one. So, with the help of the MultiMarkdown XSLT stylesheets, a little bit of Perl hackery, and XeLaTeX, I’ve hacked up a one-command conversion from my individual MultiMarkdown files to a PDF in the proper manuscript format.

I’ll document the process in more detail later, but basically, I have a single shell script (which I’ve named mmpdf) that deos the following:

  • Combines all of my individual .markdown files into a single file, prepending a pre-defined header with author name/title/etc.
  • Converts the combined Markdown file into XHTML using MultiMarkdown
  • Converts the XHTML file into LaTeX using xsltproc and the XSLT files that come with MultiMarkdown
  • Applies a number of “fixups” to the LaTeX file, including things like resetting the chapter numbering so my “front matter” chapters (dedication, acknowledgements, etc.) get numbered correctly, changing the document font to Dark Courier, and adding a word count to the title page. (I could probably hack up the XSLT files to do these things, but I know Perl a whole lot better than XSLT).
  • Converts the resulting LaTeX file to PDF with XeLaTeX.

Perhaps not the cleanest process, but it works. The conversion isn’t fast, but it’s a whole lot faster than walking into the other room, synching the files over to my Windows machine, converting them to ODT, and reformatting them into manuscript format each time I want to print.

October 23, 2008

Three Weeks In

Filed under: Uncategorized — Tammy @ 9:48 pm

I know I’ve been scarce of late, but that’s a good thing. Really. The new Mac is working so well for me that I’ve been off doing paying work, which is always a plus.

We’ll get back to a more regular routine here, though. Don’t worry. In the meantime, here are a few random observations from the first 20 days:

For a laptop, the iBook has a really decent keyboard. Even though I had to use a bit of double-stick tape to fix a broken keyboard latch, I really, really like the way the keyboard feels. I did plug in an external keyboard and mouse on one occasion, but that was only because I had to produce a lot of text in a very short time, and wanted to save wear and tear.

Plain text was definitely the right decision, notwithstanding the fact that OS X 10.3 cannot run Pandoc (because there’s no build of the right version of Haskell) and does not have the whizzy texttool command-line utility from 10.4. With the aid of Git and a little bit of shell scripting hackery, I can get my work over to the PC and formatted in no time flat. Upgrading the iBook to 10.4 or getting newer hardware would solve that problem, so I’m not too worried for the moment.

Quicksilver has been a great timesaver for me. (Make sure, if you’re on OS X 10.3.9, that you use the older version.) If you’re not already running this, you should be.

I’ve fully migrated my to-do lists and stuff to todo.txt on both platforms. What a blessing – task lists that work, that can be quickly edited and searched, without reliance on any proprietary or single platform apps.

If you’re going to a text-based workflow like I’ve done, here are my votes for text editing applications:

  • Windows: e text editor
  • Mac: Textmate, no contest
  • Unix/Linux: I still like emacs, though I’ve heard rumors that [e][] can be run under Wine.

Stay tuned for more.

October 6, 2008

Getting Up and Running: Software

Filed under: Uncategorized — Tammy @ 8:43 pm

In yesterday’s post, I talked about the process of getting my new Mac up and running with Wi-Fi, and getting ready to install the software. Today, I’ll talk about the software I’ve installed on my new machine.

In keeping with my earlier decision to go “lean and mean” with the new iBook, both out of a desire to minimize distractions and out of recognition that my new iBook isn’t exactly a speed demon, I’ve made software choices that reflect my desire for a lightweight, distraction-free writing environment. Here, then, is what I’ve put on my system so far.

MacPorts and Related Stuff

Because I’m a command-line gal at heart, the first thing I installed on my system was MacPorts. This also necessitated loading XCode 1.5. With MacPorts installed, I was able to load Git, an updated version of Ruby, and some of my other essential tools.

TextMate

I looked at TextWrangler, but the dizzying menu tree proved more than I could handle. TextMate was the obvious choice, especially since I already own its Windows analog, e-texteditor. TextMate is everything I love in a software package: functional, powerful and customizable, with an interface that stays out of your way. And, given my earlier decision to write in Markdown, TextMate will be my go-to application for 99% of my work on the new system.

A note for fellow Panther users: Although the Macromates site claims TextMate requires OS X 10.4 (Tiger) or later, the current version as of this writing, 1.5.7, runs fine on Panther. I’ve had to adjust a few of the bundle items to use the MacPorts Ruby in /opt/local/bin, rather than the (broken) Apple-shipped version in /usr/bin, but that hasn’t been a big deal.

OmniOutliner

I installed the 30-day trial of this one, but I’m not sure I’ll keep it. I like the program well enough, but since I’m still partially beholden to the Gods of Redmond, I’m not sure I want to lock any vital data into an application that’s not cross-platform. Still, OmniOutliner looks like a lovely application.

Notational Velocity

Another one I’m playing with, but which I’m not sure I’ll keep. It’s a neat program, with a snazzy UI, but I’m not sure how much I’ll actually use it in the real world. We’ll see.

Adium and Colloquy

OK, so I like my IM and IRC chat. Not strictly writing applications, but Adium and Colloquy seem like the best choices for these two applications. Plus, they’re both free.

So, what didn’t work the way I expected? So far, the only problem I’ve run into is that Pandoc requires a newer version of Haskell than is available for Panther. In the short term, this isn’t a big deal, because I can do the Markdown conversion and processing on my Windows system. Eventually, though, I’ll want to get a more powerful Mac that can run Tiger or Leopard, so that this issue will go away.

That’s my software load-out in a nutshell. From here on out, we’ll move into more writing-specific stuff, my experiences as a Mac-toting working writer, and the writerly life in general.

Oh, and if anyone out there is a writer and uses DEVONthink in your writing, please drop me a note. I’m trying to figure out what the big deal is with DEVONthink and whether It’s worth the $79.99.

October 5, 2008

Getting Up and Running: Hardware

Filed under: Uncategorized — Tammy @ 5:10 pm

This is the first of two posts about getting up and running with my new (to me) iBook. In today’s entry, I’ll talk about the hardware aspects of getting the new machine set up. The second, to be posted tomorrow, will focus on my software choices.

As you know from my previous entry, I actually received my AirPort wireless card on Thursday. The iBook itself, a 500MHz G3, arrived in Friday’s mail, in an otherwise unassuming priority mail box. Considering the machine’s vintage, it’s in remarkably good shape, with fairly few scratches and scuffs. The AC adapter included with the system was an after-market variety, but that’s what was advertised, so I didn’t expect anything different.

Once I got the system unpacked, the first order of business was getting the AirPort card installed and making sure everything worked. Here, I have to say, Apple did an exemplary job: Installing the wireless card, which fits into a slot under the keyboard, is dead simple. As an added bonus, the card can be installed without tools. It took me less than two minutes to get the card installed, antenna hooked up, and the keyboard re-attached.

I quickly found a plug and powered it up. The cheery Apple startup chord sounded a few seconds later, and my iBook was awake and chugging along. I also made a welcome discovery: Though the eBay auction had claimed the system had 256MB of RAM, apparently that was in addition to the 64MB on the system board, so my iMac actually has a total of 320MB of RAM. Not much in today’s world, but it’ll do for my purposes.

Once I finished verifying that the hardware worked, it was time to load software.

Since that’ll be the subject of tomorrow’s post, I wanted to leave off today with a few observations about the hardware. Overall, the build quality of the iBook is quite good, especially for what was (even at the time) a relatively low-end offering in Apple’s lineup. The screen hinge is aluminum and looks quite solid, there’s very little flex anywhere in the case, and the feel of the system is quite solid and robust.

In fact, I only have on e niggly little complaint about the hardware: The keyboard is quite thin, and because it looks like there’s a latch missing on the top center edge next to the F5 key, the keyboard tends to flex in the middle a bit while typing. That’s not a huge issue, and I suspect a short strip of double-sided foam tape would fix the problem quite nicely. In the alternative, I suppose a replacement keyboard (about $25 on eBay) would solve the problem, but it’s not a $25 annoyance.

Tune in tomorrow to learn about my software load and the software choices I made.

October 2, 2008

Pieces and Parts

Filed under: Uncategorized — Tammy @ 9:37 pm

Don’t you just love it when the accessories you ordered arrive before the thing they’re meant to accessorize?

My AirPort card arrived today, after a slight mixup with UPS about delivery addresses. My iBook won’t arrive until (I hope) tomorrow, I don’t have any way to test it. But it looks to be in good shape cosmetically, at least. With any luck, I’ll be able to make my next post here from my new system. If that’s the case, I’ll be able to chronicle the setup and configuration process.

One other tidbit of news: I found out that a friend of mine has an iBook of similar vintage to the one I’m buying. This is good news, because it means I have a source from whom I can borrow the OS X 10.3 installation CDs if something ever happens to my laptop and I need to re-install them.

Now if only the laptop itself would actually get here! Sadly for me, I’m not any good at all at the waiting game.

September 30, 2008

So, Why Mac, Anyway?

Filed under: Uncategorized — Tammy @ 9:38 pm
Tags: , , , ,

First, an update: I have UPS tracking numbers for both my iBook and the Airport card that will go in it. With any luck at all, the iBook will be here tomorrow or Thursday, and the Airport card should arrive early next week.

I was talking today with a friend about my first steps back to a Mac, and he asked me an important, if somewhat obvious, question: Why do I want to switch to a Mac?

In no particular order, then, here are my top three reasons for wanting to make the switch:

Performance

My present desktop system is a 2.8GHz dual-core Dell. It’s about two years old, and has two gigs of RAM. And, to be honest, the thing is a PIG. Applications take forever to launch, Outlook is constantly crashing, and I can pretty much plan on a five to ten minute coffee break when I have to reboot. Which is often.

Granted, my system could use a bit more RAM. But I’ve booted it from a [Ubuntu][] Live CD a few times, and the raw hardware just screams. No, the problem is the resource hog that is Windows XP, and I can’t stand a resource hog. When I’m writing, I want my computer to give me the tools I need and then stay out of my way. Windows doesn’t do that. Not even close.

Stability

My Windows machine is happiest if I reboot it daily, and it rarely stays up more than a few days without either serious slowness or instability. Outlook 2003 crashes at least five times a day now, unless I run it in safe mode. Outlook 2007 was so slow and bloated that I uninstalled it after a week and down-revved to the older version.

On the other hand, Mac OS is based on FreeBSD (and Mach), and FreeBSD is rock solid. I have a FreeBSD web/database server that’s been up and running continuously for 253 days, and the only reason it rebooted 253 days ago was because the utility company took down our power for nearly a day to replace a pole-top transformer.

Now, I fully recognize that no computer is 100% stable and reliable. But is OS X better in that department than Windows? I fully expect so, and the experiences of my Mac-using friends bears that out.

Choice

This one is more of an ideological decision than a technical one. I dislike Microsoft because they’ve made a business out of stifling choice, out of creating and exploiting a monopoly, and out of squashing those whose products they can’t compete with on their own merits. Nothing Microsoft has recently made has been the best in terms of features, price, stability, or quality. Microsoft competes by being the biggest and toughest gorilla around, not by genuinely innovating.

Contrast Microsoft’s attitude to Independent Software Vendors (ISVs) with Apple’s. Apple gives XCode away for free. An MSDN subscription that includes developer tools runs anywhere between $1,199 and $10,939. Apple encourages third-party development for all its platforms. Microsoft has a history of encouraging third-party ISVs to code for its platform, and then releasing similar software and driving their “partners” out of business.

Because I support more choice in the marketplace, and because I want to see genuinely superior products succeed, I have a bias against Microsoft. Because better tools wins out over monopolistic business practices, I’m voting with my pocketbook.

Oh, one more reason: I’ve been a Mac fan since the late 1980s, and buying an iBook feels like coming back home to the family. There’s a lot to be said for family.

September 29, 2008

Decisions, Decisions

Filed under: Uncategorized — Tammy @ 2:30 pm
Tags: , , ,

With my new (to me) Mac on the way, I’ve started making decisions about how I want to set it up, and what software and tools I’ll need to have in order to make it work. If you’re planning to buy an older, low-horsepower Mac (or even if you’re not), you might go through a similar thought process. So I’ve decided to lay out a few of the decisions I’ve made, and the tool choices that came out of them.

Decision #1: I won’t install an office suite.

This is a logical consequence of the limited resources on my new machine: only 256MB of RAM (though I’ll be upgrading it as soon as I can swing another $100 for memory) and the small hard drive (10GB). Since I work on a number of platforms already, I’m doing 99% of my writing with Markdown anyway, so an Office product is several hundred megabytes of bloat I don’t need.

Decision #2: I’m going to upgrade to OS X 10.4, but not right away.

I can get my hands on a copy of Tiger from eBay for about $110, and there’s no question an upgrade would be nice. For one thing, there’s a lot of software out there that isn’t available for 10.3 (Panther), and Panther’s what’s coming on my new machine. For another, I’m a fan of the idea that anything you have to do more than twice should be automated, and there’s better support for that in Tiger.

On the other hand, I’m going to want to spend $100 on RAM before I spend it on an OS upgrade. And, since the G3 iBook doesn’t have a DVD drive, an upgrade will mean taking a 60-mile road trip and paying the nearest Mac Store to install it from another machine via target disk mode. I’m building a low-budget workhorse, so that’s not my top priority.

Decision #3: I’m going to want a really good text editor.

This one follows logically from the first two decisions. Ultimately, I’m going to go with (and register) Textmate. If I can find a version that runs on 10.3, I’ll do that soonish; otherwise, I’ll do it once I get the Tiger upgrade on there. In the meantime, TextWrangler looks to be a serviceable alternative.

Decision #4: MacPorts will be my friend.

For a lot of reasons, I’m going to install MacPorts, even though it probably also means installing XCode and a lot of other things which will consume precious disk space. For one thing, I have several computers I work on, and I use Git for version control and file synchronization. For another, I’m a Unix gal at heart since my college days nearly sixteen years ago, and I do a lot of work in a command line. iTerm is getting loaded for the same reason.

Decision #5: Wi-Fi is a requirement, not an option.

I thought long and hard about this one. On the one hand, a machine with no Internet is a much less distraction-rich environment for me. On the other hand, having to find a plug-in Ethernet drop every time I want to get files on and off the system means I’m going to accumulate un-synchronized files over time. That’s a violation of decision #6, below. For that reason, an Airport card has been ordered from eBay and is on its way.

Decision #6: Nothing vital ever lives solely on the Mac.

Because the machine I’m buying doesn’t come with an OS install CD, I don’t have (until I get OSX 10.4 and maybe a Firewire DVD drive) any reliable way to restore the system if something bad happens to the hard drive. For that reason, nothing vital can ever live only on the Mac. Git will help with this, but this decision ultimately entails a human process issue. Fortunately, I’m already used to working this way, so it shouldn’t be much of an adjustment.

Conclusions: A Lightweight, Text-Centric Laptop

So, what’s going to go on the system? Here’s my list so far:

  • Mac OS X 10.3 (to start)
  • The XCode tools as needed to make MacPorts run
  • A text editor: either Textmate or TextWrangler
  • MacPorts, along with Git and the appropriate toolchain to run Markdown
  • iTerm
  • iTunes, along with a very small subset of my regular music library geared toward distraction-free writing (ie, lots of classical music)
  • Safari, because the Web is a good research tool
  • HumaneText.service, if I can find a download for it that works (gu.st is down)
  • The Panther-compatible version of Quicksilver

That, and printer drivers for my HP Officejet 7400, are about it. A lean, mean, writing machine.

What do you all think? Anything important I’m missing?

Waiting for Boxes

Filed under: Uncategorized — Tammy @ 2:29 pm
Tags: , ,

Today might not be earth-shaking for all of you. It’s a Sunday, so doubtless some of you are cooking up hamburgers and hot dogs, or walking on a beach with family. I suspect some of you are, perhaps, dreading the start of another work week tomorrow. Others might be looking forward to a lunch with a friend, the completion of a project at work, or your child’s soccer or football tournament.

On Wednesday, I will be looking forward to the arrival of the mail.

Mail is not ordinarily exciting in my house. The daily collection usually brings a few bills, the odd magazine, and a few pieces of junk-mail. But Wednesday’s mail will bring my latest eBay find: An old 500MHz G3 iBook which I picked up for a song.

As a professional freelance writer, novelist and photojournalist, I’ve long lusted after a Mac. My prior career as a software developer necessitated that I use Windows-based systems. I’ve been a Mac fan since the old Mac Plus days, and now that my transition out of I.T. is underway, I decided that a used Mac would be both a great tool to take with me to the coffee shop or my patio, and also a way to start transitioning away from Windows.

This blog will chronicle my journey, and will serve as a place for me to capture and share any tips, tricks and hints for others switching from PCs to Macs. I’ll also include occasional product reviews for software that makes my life easier, and general commentary on the use of Macs (and computers) for writing.

A little about me: Since 2004, I’ve been writing for publication. I now have over 250 magazine and newspaper credits to my name. I’ve been published in Rangefinder, The Writer, Pacific Flyer, the Pacific Coast Business Times, Lee Central Coast Newspapers, and others. I’ve helped a writing group publish an anthology of fiction, and I’ve ghost-written two non-fiction books. I’m hard at work on my seventh mystery novel, which I hope will be my first one good enough to see print.

This promises to be an interesting and exciting ride. For the first time since I received my Commodore 64 for my eighth birthday, I’m excited about working with a computer again. I guess that’s the magic of an Apple, and it’s why I’m making the switch.

Stay tuned to find out how it goes.

Life Inside a Text Editor

Filed under: Uncategorized — Tammy @ 2:08 pm
Tags: , , , ,

In preparation for the arrival of my Mac, I’ve been working on making my writing life as platform-neutral as I can. I’m still stuck with a PC on my desk for the software work, at least for the moment, but I’m trying to get as much other stuff as possible into platform-neutral tools.

For example, this blog is now hosted on WordPress.com, which properly supports the Blogging bundle shared by Textmate and E. This enables me to write blog posts using Markdown and then, with just a few keystrokes, automatically post them to my blog. (Sadly, this isn’t working for my self-hosted blogs yet, because I need to upgrade MySQL on my server. But one thing at a time).

I’m also looking at organizational tools, and so far Taskmate is percolating to the top of the heap. Since it works with plain text files that can be added to a Git repository, my earlier decisions about staying cross-platform and protecting vital files still hold true. Another appeal: with everything in plain text files, I don’t have to worry about file corruption, as I do with Outlook on my Windows system.

All of which leads to some very interesting possibilities. Textmate does have some tools for sending e-mails, though I haven’t played with those. Could I move everything into a text editor, live my whole life from inside of plain text files? The thought intrigues — and, I must admit, entices — me. I’ll have to give that some thought and experimentation, but I like the idea so far.

Blog at WordPress.com.