In the previous post I showed you how easy it is to create a PDF from yWriter5.
I also left you with a cliffhanger: those doubled-up chapter headings. And you're probably wondering how you change the layout when yWriter doesn't seem to have any formatting options. (E.g. paper size, gutters, etc.)
I don't want to throw lots of code at you, so I'll cover the basics in this article and move on to more detail in future.
For now you need to know one thing: where yWriter is concerned you adjust your layout by altering a special text file called a LaTeX header. (You can also override layout on the fly, e.g. in the middle of a scene or chapter, but we'll get to that later.)
In yWriter5, click the Project menu, then Project Settings. This is where you enter the title of your novel, the author's name, and various other novel-specific values like deadline dates. Click the LaTeX tab and you'll see the following:
The Header File textbox is blank, which means yWriter will use the default. This is a file called 'LaTeXDefaultHeader.txt' which yWriter creates in the project folder every time you start a new project.
What you need to do is make a copy of the default header file, then tell yWriter to use the new file instead. Here's how: First, click the Open Project Folder button. Then rename LaTeXDefaultHeader. (I suggest something like LaTeXNameOfProject.txt)
When you've renamed it, click the [...] button and select the new file.
Now click the Edit button to open the header in Notepad. Woah! Nobody told me there'd be codes like these!
That shows my modified Latex file which you can download here. To update yours with mine, open the downloaded file, copy the contents, and paste them into your renamed LaTeX file. Then save your file.
Save the project settings, press Ctrl+Alt+X, open the exported Tex file and press Ctrl+Shift+F5 to generate and view the PDF. It's similar to the one you saw in the previous article, but this time the chapter headings should be correct.
Here's the layout I used for Hal Junior. It's ideal for shorter books with chapter titles. (Instead of 'Chapter 1', 'Chapter 2', etc, I used proper chapter titles like 'The Secret Signal')
In the next article I'll explain how to tweak the codes in the header, and where to find more information on the LaTeX memoir class.
Simon Haynes is the author of the Hal Spacejock Series and Hal Junior: The Secret Signal. By day he's a computer programmer and author, and by night he's the same only sleepier.
Simon Haynes is the author of the Hal Spacejock and Hal Junior series (Amazon / Smashwords / other formats)
Showing posts with label publishing. Show all posts
Showing posts with label publishing. Show all posts
Tuesday, October 25, 2011
Wednesday, April 16, 2008
Publication blog
I promised to blog about non-sekret communications with my publisher, giving you an insight (hopefully) into the process.
I can't talk about this or that or even the other, but I can mention that I'm meeting with Clive and Claire from FP next week to discuss a major publicity idea for Hal Spacejock. (My idea of having a lifesize Clunk crash all the breakfast TV shows fell on deaf ears. It seems they're already hosted by expressionless old robots, so another one barging in wouldn't raise any eyebrows.)
I can't even discuss my grand idea yet, but it involves zero cost and isn't the least bit illegal. Bound to fail, in other words.
I also have five review copies of Hal 4 sitting on a shelf above my desk. At this stage I can only send them within Australia, so if you're in any way connected with a reviews site, blog, major daily newspaper or breakfast show (creaky robotic presenters notwithstanding), please leave a comment.
I'm guessing copies will start appearing in stores mid-May, which is just four weeks away, so I don't suppose there's any harm in posting a review from early May onwards.
The other thing I got was a nice poster with nice covers of the four Hal books and my ugly mug in the corner just to even things up. It's a good poster though - nice quality - and I'm sure I can organise copies for any bookstore staff who happen to be reading this. (Three that I know of, plus the incognitos who drop by to see whether I've finally written something other than Hal. Sorry.)
Simon Haynes is the author of the Hal Spacejock and Hal Junior series (Amazon / Smashwords / other formats)
I can't talk about this or that or even the other, but I can mention that I'm meeting with Clive and Claire from FP next week to discuss a major publicity idea for Hal Spacejock. (My idea of having a lifesize Clunk crash all the breakfast TV shows fell on deaf ears. It seems they're already hosted by expressionless old robots, so another one barging in wouldn't raise any eyebrows.)
I can't even discuss my grand idea yet, but it involves zero cost and isn't the least bit illegal. Bound to fail, in other words.
I also have five review copies of Hal 4 sitting on a shelf above my desk. At this stage I can only send them within Australia, so if you're in any way connected with a reviews site, blog, major daily newspaper or breakfast show (creaky robotic presenters notwithstanding), please leave a comment.
I'm guessing copies will start appearing in stores mid-May, which is just four weeks away, so I don't suppose there's any harm in posting a review from early May onwards.
The other thing I got was a nice poster with nice covers of the four Hal books and my ugly mug in the corner just to even things up. It's a good poster though - nice quality - and I'm sure I can organise copies for any bookstore staff who happen to be reading this. (Three that I know of, plus the incognitos who drop by to see whether I've finally written something other than Hal. Sorry.)
Simon Haynes is the author of the Hal Spacejock and Hal Junior series (Amazon / Smashwords / other formats)
Thursday, February 01, 2007
Working with an editor part 2
Last July I posted about working with my editor, in an attempt to illustrate the amount of work that goes into a book once it's picked up by a publisher.
Around the same time I expanded the article for Writers' World, and yesterday I discovered the article went into issue 3 late last year.
Writers' World is an online mag, and as luck would have it issue 3 can be read online here
Simon Haynes is the author of the Hal Spacejock and Hal Junior series (Amazon / Smashwords / other formats)
Around the same time I expanded the article for Writers' World, and yesterday I discovered the article went into issue 3 late last year.
Writers' World is an online mag, and as luck would have it issue 3 can be read online here
Simon Haynes is the author of the Hal Spacejock and Hal Junior series (Amazon / Smashwords / other formats)
Subscribe to:
Posts (Atom)


