More automated checks. Fun with #scrivener and regex

I ran several other Scrivener checks today, once again using the amazingly handy Regular Expression (RegEx) facility to find patterns on things.

Comma.svg
Oh, comma, why you so pushy?

Punctuation is easy to mess up, especially where spaces are involved and I find some of the following patterns very handy. Remember that to do this in Scrivener, you will need to go to the global search the project field, set the Operator to RegEx and then you’ll be in the right mode. Here are some handy patterns, with explanation.

  • ^\s+\w
    • This pattern will find any sentence that has spaces before you start using words. The ^ means start at the beginning of the line. The \s+ means you are looking for 1 or more spaces (\s means space, + means ‘at least one or more’). \w represents a word character, from a-z, A-Z, 0-9, including the _ (underscore) character. This will catch lines such as (ignoring the quotation marks, here used for clarity) ” Bosco said…” and ”  Bosco said…”, which can be very hard to pick up from visual inspection.
  • \w,\w
    • This will pick up word characters that are tightly packed around a comma. If you are prone to writing “very,very high” then this will find that for you. (Sometimes this is a legitimate pattern! 100,000 is valid but will be detected by this.)
  • \w\s+,\w
    • This is very similar to the above but now it picks up when you have the space in the wrong place. This will find “very ,very high”.
  • \s+(\w+)\s+(\1)\s
    • This one is more complicated! I’ve mentioned it before but this is an optimised version. Remember that \s means “a space character” although formally it means any whitespace character including tab, space, carriage return or new line. Adding + means that \s+ will match ” ” and ”   ” and ”   newline tabcharacter “. \w+ means that we are now looking at words of at least one character in length.
    • But what does ( and ) mean? This is a grouping operator and, because we’ve used it, anything that matches this now has a numerical reference. We call this a capturing group because we’ve ‘captured’ that pattern and numbered it! We can refer to this capturing group (our first) with the shorthand \1.
    • Now we can explain the whole pattern. Starting with any number of spaces (but at least one), we look for characters that make up words, stopping when we find a space. Remember this captured group of characters is labelled as \1. By using \1 again, we are saying that we want to find all the situations where we have the same pattern of characters twice in a row, separated by spaces. Once we match that first group of characters, the regex system can then build a pattern where that group is repeated. The magic of regex!
    • This pattern will find ” of of “, ” it IT”, ” and and ” and also things like ” R R ” if you’re spelling something out.
    • If you simplify it to (\w+)\s+(\1), you’ll find all of those patterns plus things like “he heard” (where the he he is actually located), “pithy thyme” (thy thy) or “puny NYC” (ny ny pattern will be found here unless you use the search option ‘case sensitive’).
  • [ ]{2}
    • There’s a single space between [ and ]. The {2} means that you are looking for exactly two of these in a row. This will find every time that you typed ”  ” instead of ” “. (Some of you like to double space. Many of us do not.)

That’s it for today. Back to editing for me!

Talking to an editor! #indiepub #indieedit

Had a great meeting this morning with an editor, looking at making those final tweaks to the work. My great bunch of critics, supporters and very detailed readers have done an enormous amount but I’ve decided to ask a professional to look at this, really to confirm how close this is and to get those little tweaks that make it great. Well, good. 🙂

Edit
Welcome to my nightmare. (Flickr photo by Nic McPhee.)

You only get one first novel and, after much thought, I’ve decided that a light structural and copy edit is not going to break my brain, loosen my grip on my work, or cause Babylon to fall. Again. I have a direct connection to the editor and I’m supporting locals while keeping control. I’m still very happy with this version of the Indie process.

I want you to have something good to read. This will help.

After a great coffee meeting, the editor likes the concept and her interests are bang in the middle of the genre I’m writing. I think this will lead to a good outcome.

Not much longer, dear readers! You get to read the final version of this is about 6-8 weeks, assuming that I get the business details and launch issues sorted in time.

 

Reality increases #indiepub #digipub #isbn

While I wait for Tax Office administrative detail to resolve and the editors tear my book apart looking for final problems, I’m delving into the wonderful world of ISBNs. For those who don’t know, each book and each variation of that book have a separate ISBN. While this used to mean two codes, one for hardcover and one for soft, this means at least three for digipub: MOBI, EPUB and PDF. I find this fascinating, from an informational perspective, as I can see why soft and hardcover are different because of the significant structural changes that would lead to repagination, but the idea that two free-flowing text formats aren’t informationally equivalent is not something I’d thought about. Fortunately, the Australian arm of Bowker sells blocks of ISBNs and I’m going to buy enough for two books.

I am, apparently, madly optimistic. Or in deep denial.

Thank goodness I don’t need barcodes for physical works as well!

It’s worth noting that Canadians get ISBNs for free as part of cultural enrichment, while most of us have to pay for them! Canadians, you have no excuses for not writing lots and lots of books.

All Platforms! All! #indiepub #curseofkerevesdere

I’ve had some more questions about what you’ll be able to read “Kereves” on and the answer is, effectively, anything electronic. I’m partnering with a couple of distribution platforms and, between them, they give me all of the reader formats and a small bit of extra control for one of the dominant formats in my own market.

Ultimately, Apple, Android, Kindle, Kobo, B&N… whatever… you should be able to buy it for your device.

My apologies to those of you who are still reading on the reticulated bronze harmonascope. We are apparently all out of the Cavorite required to power your device.

OldLHC
I know… and you’d just rewound the core, hadn’t you?

B£ing, ca$h, edit, dash!

Things are moving along! I’ve had to spend some time setting up the business side of this enterprise. The Australian Tax Office and I now know each other a little better.

My constant readers are going through the manuscript again and I have a meeting with a professional editor this week to discuss making a final pass over it to make sure that all of the processes I’ve put in place have resulted in something that’s fit for sale. There’s a lot of good work out there that is marred by accidental or unnecessary issues with editing. I want to keep those problems to a minimum and I want to learn how to improve my own processes. One of my key interests has always been “how can I become a better writer?” Good editing is an essential part of that and it has been one of my weaker areas in the past.

In between applying for various important numbers and talking to people, I’m making (mostly small) changes to the work itself. I hope I’m only a week away from announcing the launch date.

Oh, and the launch date for a collection of my short stories to whet your appetite for the main book. Did I not mention that before?

Keep following for more news on releases!

countdown
The countdown starts soon!

The Curse of Kereves Dere

TheCurseOfKerevesDereCover

Set in the early 1930s, this action adventure follows Charles Kerry and his friend Bosco, survivors of the Great War, as they struggle against terrible, dark forces who would destroy the world. They have Williams and Fauve, London’s most interesting booksellers, and Dr Cavendish of the British Museum to help but their opponents are deadly. Can the British-Kadariak society be defeated or will their insane plans tear apart London and bring forth The Unspeakable One from his sanctum on Lost Carcosa?

“The Curse of Kereves Dere” is Nick Falkner’s first novel and is fast-paced and engaging, with a plot that spans myth and legend from the Celts to Lovecraft. Early readers have called it a page turner, with characters that are interesting, distinct and in good assortment.

If you like adventure, realistic heroes, a touch of horror and snappy dialogue, you’ll enjoy “The Curse of Kereves Dere.”

(If you happen to really like one-armed Frenchmen who never say die then have I got a book for you.)

Available soon on iBooks and the Kindle bookstore. Detailed timeline to be released soon.

Update!

I’m in the final editing stage for my first (released) novel “The Curse of Kereves Dere.” I’m still linking everything together but this WordPress account and the accompanying @velourfuture Twitter account should keep you informed in the run up to the launch.

Details to follow soon.

Thanks for reading! Watch the stars!

Love and beauty

I’m very pleased to have been able to be part of the Little Rundle Street Art Project for 2016.

My work “Legends for Explorers in Uncharted Territories” is a mixed-media digital/linocut/monoprint/photography composite. All the quadrants are 15cmx15cm.

Statement: Love is a collaborative creative activity; we build a map beyond ourselves, with each participant’s perceptions rewriting the terrain and legends.

Details of the work:

The original linocut, terrain with a blank legend, was inspired by a visit to the Medici household in Florence. The great map room is full of documents that show perceptions of the world, represented as maps, including some highly racist references to the more southern aspects of Africa. As Korzybski noted “the map is not the territory” and this separation between the representative and actual, geographical and the geopolitical, was brought home to me, standing in this grand room where the very powerful once sought to contain a view of the globe.

I used a blended roll to achieve the rainbow colouration, as a recognition of the many forms of love, but also to subvert the traditional colouring of maps. Any two-dimensional map can be displayed with only four colours, without any two adjacent sections having the same colour, but I chose to use more to remind myself that love is not about the minimum required, it is about beauty and that is often gloriously multi-coloured.

The text was cut as a separate plate and, over time as I printed with it, developed a character of its own that I did not erase, forming a monoprint that I then printed in isolation. The four panels are formed from the original printed work, with an early text overlay, and then digital composition of the elements. The black and white terrain is a high-contrast digital photograph of the cleaned plate, reversed.

The words “Our Love” by themselves are, in the digital version, on a transparent background. This was a deliberate decision, to add to the first work where love is a lens through which a terrain is viewed, to show how self-contained the shared perception of love can be, where it can be applied over wherever you find yourselves.

Any recollection of love, whether happy or sad, is deeply personal and yet it must be affected by the actions and thoughts of others. A single map does not show us the true territory through which this love travelled, but it can give us an idea of the shape, the highs and the lows, and whether this journey is over or ongoing.

I hope that you enjoy the work. Thank you for coming to view it.

Legends for Explorers in Uncharted Territories
Legends for Explorers in Uncharted Territories

 

Film Review: Iron Sky

Film Review: Iron Sky

It would be hard to describe the movie Iron Sky if the sentence “Nazis from the Moon invade Earth” didn’t exist because that is the movie and it does exactly what it says on the tin. Iron Sky is a 2012 comic science fiction action film with surprisingly high production values and a pretty good cast who all turn in a good performance. It’s a little sad then that such promise didn’t quite follow on to the script. The first 20 minutes of the film in no way prepare you for the sheer level of insane film homage, action and silliness that is going to follow so it is essential that you read the following advice for viewing:

When watching Iron Sky, continue past the first 20 minutes!

The film is set in 2018 and President Palin (??) has sent people back to the Moon to give her an increased chance of re-election. This is the most sensible that the film every is and it goes every which way from that. Many, many other films are referenced throughout this movie. I must be honest that while I was expecting Dr Strangelove and Star Wars shout-outs, the Downfall parody caught me slightly off guard. I have to go and watch the movie again because a lot of these came and went so quickly that I had a strange feeling of deja vu for a reasonable fraction of the film. I did replay some key scenes and laughed a fair bit at some of the sillier aspects.

Oh, and if you happen to be North Korean, don’t watch this film. They are a little insensitive towards you. I suppose the same is true if you happen to be a hyper-sensitive Moon Nazi leader (as played by everyone’s favourite vampire/old German stalwart Udo Kier). There are some pretty harsh political statements about the way that the world currently works – I suspect that the most conservative might find some parts of this offensive. I did like the gentle self-deprecating dig at the Finnish, towards the end. It was a very nice touch.

The lead actors have a lot of fun. Julia Dietze and Götz Otto devour their roles as Moon Nazis, Christopher Kirby almost manages to avoid snickering for his role as a moon-bound male model who is conveniently African-American and Stephanie Paul almost pulls off a convincing Palin. Peta Sargent has a lot of fun with her role as PR director and… well, I won’t spoil it but she has other roles and some astounding hair.

This film was partially fan-funded, after a teaser reel went to Cannes and secured some more traditional film funding. Some of the work inside the movie itself is crowd sourced, especially the animation and modelling, indicating the state of maturity outside of the traditional studio system. The funding and production is a Finnish/German/Australian production, along with the support of the developing participatory cinema community. There’s some talk of a prequel/sequel but I don’t really see the point. This starts and ends well – it’s hard to see what could be added.

Scriptwise, this is as B as it comes. Production values, acting and overall enjoyability move this up the scale. I’d happily watch this again. Don’t wait for this to hit the free-to-air. If you haven’t seen it yet, check it out.