Scrivener & HTML

I’ve finally downloaded the latest upgrade to Scrivener for Windows, after putting it off for several weeks. Normally I download Scrivener’s upgrades as soon as they are available, always on the lookout for the frequent small improvements the programmers at Literature & Latte send out.

This time, however, the first item on the change list was the announcement that Scrivener would no longer include HTML coding on clipboard output.

To be honest, I had no idea that copy-and-paste from Scrivener included HTML, but I had noticed that as soon as I began writing my blog posts in Scrivener and copy/pasting them into WordPress, my WordPress posts appeared in 14 point rather than 12 point type. I habitually write in 14 point Times Roman in both Scrivener and Word, much easier on my eyes, but trying the same copy/paste from Word only produced 12 point type in WordPress.

So when the Scrivener upgrade said it would no longer put HTML on the clipboard, I realized what was happening. Sure enough, when I looked at one of my WordPress postings in the “text” view (rather than the “visual” view which I use to finalize posts) it was loaded with HTML coding, way more than I would ever have the patience (or knowledge) to do by hand.

I was pretty sure I had seen something in Scrivener that would allow me to export individual documents in a variety of formats (rather than go through the rather complicated Compile feature), and after searching through most of the menus I finally found it (in the most obvious place): File/Export/Files (or Ctrl+Shift+X, for the keyboard-oriented).

Unfortunately, that didn’t work. It produced a file that opened with Internet Explorer, but when I copy/pasted it to WordPress, none of the HTML coding came along.

So I went to the Literature & Latte web site forum section and hunted around until I found a post from someone dealing with the same question, where I learned that there is a “copy special” item on the Scrivener edit menu that allows copying several different formats to the clipboard. After several attempts I have discovered that Edit/Copy Special/Copy as HTML will get me most of what I want, if I paste it into the WordPress “text” editor rather than the “visual” editor. Then it took a trip to the WordPress forums (via Google) to learn that it takes “Shift+Enter” to add a blank line in the visual editor.

I don’t know why the clipboard output in Scrivener has been changed. From the description in the change list, I’m guessing it must have been causing a problem for people copy/pasting to Word or other word processing programs. I’ve spent way too much time finding a work around this morning—but then, time spent learning something new is never wasted.

Talk to me!

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: