Sunday, July 29, 2018

Getting My Chapter Heads to Refer Back to My Table of Contents

A few minutes ago I made a noise that scared my tabby cat.

Why?  Because I've finally found the solution to having my chapter, etc., heads link back to the Table of Contents, and I was able to get rid of the underlinings on the hyperlinks and to eliminate the border around the hyperlink targets.

That's worth a yelp of joy, if anything is.

If I were a really nice, helpful indie publishing blogger I'd reproduce the code from the style sheet and the HTML right here for all to see.  But if I do it once . . .  

Well, if anyone trips over this post and is interested, leave a note in the Comments and I'll edit the post with it in.

One thing that disappoints me, though:  I joined the ebook forum at Stack Exchange last week to get the answer to this very question.  Even though I included the non-working code, no one has come up with a single suggestion for how to solve it.  One member posted a comment asking why I want to do bidirectional links on my TOC in the first place; doesn't the Kindle system take care of that?

And ya know?  Now that they mention it, I confess I've forgotten why I've been so passionate about it.  Maybe it's just that it seems dumb to have a hyperlinked table of contents that's only good when you're at the beginning of the book.  If you're going to leave it all to Kindle, why include your own TOC in the first place?

Anyway, it works.  I still have to see if I can get my chapters (all 78 of them) to nest under the division heads, but I think I'll leave that till tomorrow.

Tuesday, July 24, 2018

Closer, Ever Closer to Publication

I'm actually getting to the point where I can say I'm close to publication.  Here's where I've gotten with my HTML formatting, as seen in the Kindle Previewer:



See those TOC links on the lower left? They all work. (The one on the lower right I hope to eliminate, so I haven't hyperlinked it yet.)

Here's my typical division and chapter head:



And fun with scene breaks. That's a stock HTML symbol, so I don't have to mess around with centering asterisks.



The song and verse quotations are formatted out, too. So I'm close to done with the formatting.

Except . . . well, there's a couple of cool features I'd like to include, and I'm still researching the code on how to do them.
  1. I'd like readers to be able to click the chapter heads, etc., and go back to the Table of Contents. So far I can get it to work only if I lose my formatting and alignment, which I'm not willing to sacrifice. I've got a question about it on the Stack Exchange Ebook forum, but no answers so far.
  2. I want something of a table of contents at the front of the book, but not a long, long, looooonnngggg list of chapter numbers. I want the reader to be able to hover over the "Division" titles in the TOC and it'll expand to reveal all the chapter titles in it. Last night I tried to implement some code from the w3 schools website, but it's so full of formatting bells and whistles (button colors and all) that it's conflicting with my styles and not working for me.
So that's where I am. I think I'll make a list of everything I have to do before I publish. But not in this post.

Saturday, July 7, 2018

Adopt, Adapt, or Abandon: What to Do With Writing Advice

When I turned thirty, I decided I was old enough not to have to justify myself to people who liked to lay down the rules on how things had to be done, when their rules didn't work for me.

Like the teacher of a sewing class I took, who dictated that proper tailors/seamstresses/sewers used only one particular size needle, and all others should be thrown away.

I kept those other needles.  The one she favored worked for me in some circumstances, but not in others.  I realized that, unless she was actually planning to come to my house and rifle through my sewing kit, it wasn't necessary to argue the matter with her.  With that instructor and any other, I could adopt the practices that worked, adapt the ones that needed adjustment, and quietly abandon whatever didn't fit.

I'm thinking of this because yesterday morning I listened to a podcast where a guest was being interviewed about scheduling your writing.  He said he wrote his X-number of words faithfully in the designated time, then shut off his mind and didn't think about writing at all outside of that.  And tonight I was reading another, quite prolific, writer's blog posts on how one should approach writing in general. This writer has strong opinions about writing and rewriting, especially on the value of generating a clean first draft, letting go, and writing the next piece.

These stood out, because usually I can see myself using the advice I get from writing gurus.  Maybe not now, but someday.  But I've thought about it, and in these cases, it isn't so.

And that's fine.  Someone else's proven practice may very possibly run counter to who I am and how my mind works. If that's the case, I can smile gently and let their advice go.  E.g., a lot of my "writing" doesn't take place at my keyboard, it happens when my body's busy but my mind is free at my night job.  And as for extruding a workable draft the first time, I don't even know who my characters are the first time around!

I'm not saying these more experienced writers have nothing to say to me.  Certainly, writing story after story after story can get you to the point where you can whip off good prose without hours and days and weeks of polishing.  Heck, if I would stop making perfectionistic edits to my WIP I could publish the blinking thing and get onto the next.

In other words, I might be able to adapt that advice to how I work, or maybe, I can adapt my work practices to better serve my writing.

But instantly embracing every last piece of writing advice isn't going to serve me.  A lot of it is aimed towards keeping the novice out of trouble, but you'd think it was written by the finger of God on Mount Sinai.  "Don't write prologues."  Do you realize most of the books I've checked out from the library in the past couple of years have them?  "Don't write in omniscient POV, it only leads to Narrative Intrusion."  Ditto--- published authors love them an omniscient narrator.  "Show, don't tell."  Well, maybe, sometimes.  But not everything is worth showing, and maybe "telling" can reveal a lot about your characters and the kind of people they are.  "Get up an hour earlier in the morning and do your writing while you're fresh."  Charming, but some of us have schedules or physical limitations that prevent that.

The point is, all the advice we get is good in its way.  The question is, is it good for you and the work you're doing?  To answer that, you have to know yourself.  Those physical issues that keep you from getting up and writing at the crack of dawn they may be real impediments, or you may just be lazy.  It's up to you to be honest with yourself and decide.

Adopt what fits, adapt what needs adjusting, and abandon the rest.  Or maybe just set it aside for later.  It may come in handy, and if you've kept yourself from justifying why it simply won't work, it'll be easier to adopt or adapt it when its time has come.