Spacing issues in Vellum

I’ve been working in Vellum today for a non-fiction book. And, as I’ve found out, Vellum doesn’t do non-fiction very well at all.

There are very few formatting options for headings for example. And you also can add spaces for content breaks across Print pages.

Actually you can, and I’m about to tell you how.

Your saviour is ornamental breaks.

Here you can create and upload your own image (480x32px high) and use instead. You just have to make sure you’re using a transparent .png file. Use this when you have widows on a page and need to push text down a little (beyond the single line-break you’re allowed).

You can also use the same ornamental image for additional images in the page.

Simply add a regular image to the page, upload the ornamental 480x32px transparent image, click it to edit the settings for the image, and set the ‘kind’ to Freestanding set it to the size you need. As you click through the various sizes Vellum will complain that your image isn’t big enough and show you the correct pixel sizes. (See image below)


This is the pixel height you can push your content around with. How this renders on a final e-book or Print file, I don’t know yet, but it works for the preview.

Another (desperate) fix you can try: if at the bottom of the page you need more space but a title or widow will not push over to the next page, you can insert 1 period ‘.’ on a new line. Make sure the weight is regular, not bold, and you’ll have a tiny ink speck at the bottom.

This is the best I can come up with to control spacing some more within Vellum. If you have any other ideas, please let me know.


A little bit of git(hub)

Today I walked through this GitHub course

I’m determined to put more effort in as I’m finally working mostly on a MacBook Pro and going command(o) all the way!

My weakness is understanding how to connect to my hosting, checkout the files I need, and push them back.

That’s phase 1.

The end goal being I want to be able to move an entire site from one domain to another using only the command line!

I think that will take me a while unless I can find a mentor or a course which guides me through it.

Any suggestions? Send ideas my way!


Beginners Guide to North Korea



Thanks to the podgy dictator, Kim Jong-un, attention on North Korea at the moment is pretty exciting. ‘Exciting’ in the sense that threatening the world with a nuclear attack is exciting.

North Korea has been on my radar for about a decade, because it’s a black hole. I used to make a joke to clients about how social media is compulsory: either you do it, or someone else will do it for you, and how if you want to avoid it, the only thing you can do is move to North Korea.

No-one laughed now I think about it.

I also recall seeing a satellite map of the Earth at night and how North Korea was pitch black squished between every other country which speckled in electrical activity.

Then came the stomping goose-step marches by the army, and the flashing of coloured pieces of card in the stands of sports events mimicking a LED effect of 8-bit graphics in perfect synchronicity.

‘Wow!’ I thought at the time, ‘They are so skilled!’

Fast forward to today, and I no-longer think ‘wow’ to anything done in N. Korea. I didn’t know then that every single resident is effectively being held hostage by a mass-murderer. And that it is absolutely imperative to the survival of you and three generations of your family to show complete loyalty to the ‘Dear Leader’ and the country. And that everyone is spied upon by everyone else, so there is no personal space to escape other than in your mind. Step out of line and everything is either punishable by a lengthy prison sentence or death.

On the upside, if you threaten everyone with death for their entire life, eventually, as we’ve seen by plenty of defectors, people stop fearing death.

‘Death’ becomes a bit like forgetting to buy a train ticket or speeding. Travel back and forth across the border with China is only a bribe away–guards are so poor that they will never turn down a chance to benefit.

In fact, life is so hard outside of the capital Pyongyang, that prison isn’t much different to daily life anyway.

Pyongyang, btw, is nothing more than a brochure for western guests. Tourists can visit and come away thinking, ‘Oh, it’s not too bad. People are friendly.’ etc. But that’s the plan. Dupe the stupid tourists into believing that they’re in a ‘normal’ country, when in reality you couldn’t be further from it.

During the famine in the 90s, only the well-off little chubby school kids were wheeled out in front of the aid agencies to show that things ‘weren’t so bad’.

In the winter, it wasn’t uncommon for people to dig up radishes with their hands and eat them to clean their teeth.

During the height of the Famine, Cannibalism was on the menu, as often the very young and very old were the first to die, and that’s a lot of meat to waste when you could be next.

Another thing which amazed me: there’s 25 million people in the country and if it were to collapse (toppling the dictator, etc), China and S.Korea couldn’t handle that many people flooding across the border to find work and live. Because of this they ‘allow’ a proportion to come across each year (defectors, that is) to manage the problem, but neither side wants too-many! 

Why doesn’t everyone defect? You ask. Many can’t handle the ‘freedom’ and simply go back. ‘Back’ will mean ‘prison’ (or Death) btw, but hey-ho!

What’s the solution? Businesses need to step in and set up factories.

A country who have been starved of all resources, are used to working for pennies (if that), and who have been slaves for their entire lives, are the perfect workforce. Better than those wealthy Chinese! Give a N.Korean a job to do and it will be perfectly executed as fast as possible (remember that threat of death, which never really worked?).

Am I being cruel to suggest this? No. N.Koreans would be the most efficient/cost effective production line in the world for decades to come, and they frickin’ need it!

Liberating N.Koreans to go about their merry way ‘enjoying life’ is simply not an option. It’s easy to just hop on Twitter, pop to the fridge for some leftovers, then look up a campsite for the weekend, and assume that the average N.Korean might choose to do the same, but no.

When your entire life has been devoted to loyalty to the Dear Leader & country, the threat of Death, and everyone spying on your every move, freedom, enlightenment, and the joys of frivolous existential wonderment are absent from the palette.

Setting people up to do a fair days work for a fair days pay gives them some stability, security, and sense of accomplishment, which would be the best thing one could do–at least for one entire generation.

As you can probably tell I’ve read many books on the Political, Social, and Economic state of this very fucked up country, including:

  • Dear Leader
  • Nothing to Envy: Ordinary Lives in North Korea
  • The Orphan Master’s Son: A Novel of North Korea
  • The Girl with Seven Names: A North Korean Defector’s Story
  • A Kim Jong-Il Production: The Incredible True Story of North Korea and the Most Audacious Kidnapping in History

And next I’m reading, ‘Dear Reader: The Unauthorized Autobiography of Kim Jong Il’

Where will it end? Am I obsessed? Why do I bother?

No-idea. But it’s been bonkers filling this huge gap in my knowledge about one of the most secretive countries on Earth.

I believe I will write a (fiction) book about this one day.

Deferring Javascript loads

Just discovered this way to speed up site loading times, by deferring the javascript:

function downloadJSAtOnload() {
var element = document.createElement(“script”);
element.src = “defer.js”;
if (window.addEventListener)
window.addEventListener(“load”, downloadJSAtOnload, false);
else if (window.attachEvent)
window.attachEvent(“onload”, downloadJSAtOnload);
else window.onload = downloadJSAtOnload;

The ‘defer.js’ is the name of the (non-crucial) file which you want to defer from loading at the start.

How I would use this is to:

  1. setup the basic site with all the essential theme loading elements.
  2. make note of the javascript libraries called.
  3. continue building the site with all additional plugins.
  4. check the javascript calls again, and defer all new ones.

I’ve got a few of new sites to do soon, so I’ll be trying this out and will report back of the progress and how it improves things.

I found this here, btw.

How to build a Self-hosted WordPress website

This blog post title is link bait.

Hopefully, you found this page because you want to start building a self-hosted wordpress website? If so, I’m not going to tell you how to do it, instead, I’m going to warn you (heavily) what you need to do incase whatever tutorial you’re follow doesn’t tell you the most important factor which will save your ass when you screw things up.

Yes, you will screw things up!

My advice, gained from a decade of building websites, is to install a plugin called ‘UpdraftPlus’. If you install this plugin (which is free), any screwup you make will be fixable. Any. Mistake.

Now you might not care about backups yet, if you haven’t made your website, but once you start, and make progress, you can very easily break things and lose everything.

So, by following this one small tip, you can save yourself a lot of headaches. You might be building a website for yourself, or for someone else, whatever you’re doing, go to the plugins section, search for and install the ‘UpdraftPlus’ plugin. Then follow its guide to set it up, and run a manual backup immediately.

Why must you do this? Well, if I haven’t bashed you over the head enough already to convince you that it’s important, then the best reason to do it, is because it gets you in to a pattern:

Backup : Backup : Backup.

  • You cannot build if you cannot backup.
  • You cannot be a developer if you cannot backup.
  • You cannot work with WordPress if you cannot backup.

Backing up is WordPress 101. Yet, no tutorial I’ve ever seen on-line will tell you to learn about backups on day 1.

This is wrong. You must learn how to back up and restore from errors from day one. You don’t even need the restoration knowledge, you just need to install and run Backups.

Backups sound boring – particularly if you’re a designer who wants to get creative and make some money. But what good is design, if you can’t restore when something goes wrong (and it will).

So, please, please, please learn to back up.

This post has been hastily written after I have had a backup nightmare. After more than a decade of building WordPress sites, I haven’t got good Backup skills. However, recently disovered the UpdraftPlus plugin and it saved my life.

I’ve been working on a big client website for months now, and quietly in the background has been the UpdraftPlus plugin running, banking copies of my site. Today, I screwed up all my WordPress CSS by switching themes – because a theme developer (someone much more knowledgeable than me) told me it would be ok to do so).

That professional wasn’t wrong, but they didn’t know my site setup well enough to advise. I followed their advise and lost all my formatting.

After an entire morning of trying to get things back, I suddenly remembered I had UpdraftPlus running. And eventually, after much reading of online guides on how to restore exactly (fearing that even restoring was going to screw more things up!) I managed to restored the database with a few clicks and get everything back.


If I’ve been doing development for 10+years and can screw up – you definitely will.

Please learn to backup from day one. You have been warned.


No part of this post is an advert for UpdraftPlus. It’s just the one I had installed which saved my ass. I’ve also used WordPress Backup To Dropbox, but don’t find it as user friendly. What ever backup option you choose, learn how to use it!

Using iTunes Producer for iBooks upload

Just a quick note on iTunes Producer use.

  • Log in with the client account – not your own!
  • Have a copy of the book cover ready – 1440px on the shortest side. Note: landscape vs portrait – it’s not clear yet. I’ve just tried landscape, and will report back how that goes.
  • Get ready with your categories: Pick BISAC then drill down to where you want to be placed in the catalogue.
  • Have a description ready, and the page count.
  • Have the .epub, or .ibooks file(s) ready – you’ll need a sample file too! 10% of the book is fair.
  • Know your prices – this is where you’ll be able to set it for all territories. I picked everything (DRM free) and set the price for my UK value (£2.99) which worked out as $4.49. You also have to set a print book price: this is compulsory, so I picked £11.99 (even though there isn’t a print book).

That’s it. Pretty easy. I’ll feedback later as to how the upload and position in the store fares.


Amazon is killing me

Publish on Amazon and you can’t give away books.

Authors always want to promote their work in the easiest way they know – giving away a few review copies and offering discount codes. Amazon doesn’t like this, want it, or make it easy. Amazon are about Sales; they are cool with promotion, as long as they are doing it!

Smashwords doesn’t solve the problem as Amazon has limited them from uploading. Therefore, you can’t be sure if and when your title will be published to Amazon through them. Bah.

Amazon’s 90 day exclusivity clause f0rks everything.


Other things which need to be done by the Author (for my future reference really): they need to complete their financial info on this page

back soon – Mark