Join Tony Harmer for an in-depth discussion in this video Showing invisibles, part of Creating EPUBs from a Pages Document.
- I'm working here inside of the file HoB_formatted in the 10 folder inside of Chapter Three that you'll have access to if you're a premium subscriber to the lynda.com online training library. Otherwise, I'm sure you're working along with your own file. And what I'd like to look at here is why it's sometimes useful to be able to see the invisible characters inside of a document. You might have noticed as I selected things that I get a small marker like this pilcrow popping up like so showing the end of a paragraph.
I'm going to turn Show Invisibles on so that they appear all of the time. So if I go to the View menu and come down to Show Invisibles just here, I'm now seeing all of the paragraph markers and you may recall at the beginning of the course when I was talking about the redundancy of additional carriage returns. In fact, they are something that does need to go so I need to remove all of those that I can see. Now as a curious way of that working inside of Pages, there's no find and replace based on those criteria as such, but what I can do is I can make a selection like this.
So if I select from the end of Holmes just there through to the next paragraph, which might be a little bit tricky, but I think I've pretty much got that. Then what I can do is go to the Edit menu and down to Find and then choose Use Selection for Find and so I can do that and it adds that. No feedback otherwise, but it does tell me that it's got it and then I can just highlight just one of those paragraphs, if I just do that just there, go back and choose Use Selection for Replace and then bring in the Find menu, which I can do by Command F like so.
And you can see here that it tells me there's 1,570 inside of there so there's quite a few so I'm glad we didn't go through manually. I'm also just a little bit worried there that I didn't quite catch both of those things so what I"m going to do is I'm going to choose Replace All, but I suspect I might be undoing it in a second so I'll just do that and you'll see it removes all of those. So let's have a quick look. Actually, I think it has actually removed all of those things so I'm just gonna undo.
So there we are, I'm back here and that's all nicely undone. I'm just gonna turn Show Invisibles off just for the moment just so I can select that. Now I know that they're there so I'll choose Hide Invisibles and this time I should be slightly more successful with picking those two things up. It's being a little bit problematic so what I'm going to do is fake it. I'm going to drop in another return or two of my own and then I can select both of those.
Then I'll go to the Edit menu and then tell it to Use that Selection for Find. I'll then just select just one of those if I can. I'm just trying to drag across that, a little bit tricky, so I'll get that one just there. Choose Use Selection for Replace and I'm just going to delete the two additional returns that I made just there and I'll try that again. So I'm going to do Command F this time and then choose Replace All, okay, and I think that's kind of done it.
There's a little bit of a problem there but I'll just choose that again so now there are no more in there. Okay, so this return here is a little bit broken so I'm just going to fix that by dropping in a return just there and then changing this to body so that's now repaired and then just a quick scan through the document should show me that all of the additional extra returns have been removed. A couple of things there with that being moved.
That needs to be a chapter number. And so I just check through my document to make sure that that's all okay and there you are. That's how I can see the invisible characters and then how I can also kind of use Find and Change to fix some of those problems.
- Building paragraph and character styles
- Creating a template
- Adding a table of contents
- Adding images, audio, video, and links
- Adding a book cover
- Converting footnotes and endnotes
- Exporting to EPUB from a desktop or a mobile device