View Single Post
Old 10-26-2006, 11:33 PM   #19
njt
Enthusiast
njt began at the beginning.
 
Posts: 37
Karma: 14
Join Date: Oct 2006
Quote:
Originally Posted by AnsgarSerif
A quick note:

I just realized that opening the outputted RTF file in Word, running the Page_Break macro and re-opening it in OpenOffice will change all the headings and prevent the exported PDF file from marking any bookmarks.

You can prevent this by inserting the RTF as a file:

1) Finish the Page_Break macro and close the file
2) Open the Project Gutenberg Conversion Template.ott file to create a new document
3) Goto Insert > File ... and select the RTF

This will convert Word headings to the proper OpenOffice headings and preserve bookmarking capability in RTF. I've uploaded the new template file, since the one from last night was saved as a document, not a template. Sorry about that - I guess the mind starts to dwindle after 2 AM. Everything besides the file type is exactly the same.

Sam
I'd like to say that this is a very nice macro you did and it does help quite a bit I've been able to format a book in just a few minutes. The thing is, I'm a bit confused on this area
Quote:
You can set the title to “Title,” the by-line to “Byline,” the author to “Author” – you see where this is going. If there are sub-chapter titles, I like to give them a style like “Subtitle” or “Sony Reader – Chapter Heading 3” and then go to Tools > Outline Numbering and change the drop-down boxes to reflect the applied style. This is so that, when you export the document to PDF, the sub-chapter titles will appear as a sub-bookmark of the chapter.
(sorry for not being able to figure it out, I just don't want to change something and have it end up doing something weird .)

Also, I tried the new macro in word for page breaks and well it did "break the page" so to speak. It ended up cutting the first few pages in half and not doing much else for the rest of the book (could you post up an example of something you've converted using your macro and what a final product should look like? This way I can know I'm doing things right.) Thanks again for all the hard work you've put into this. I for one appreciate it .
njt is offline   Reply With Quote