[texhax] How to put the chapter into report title

Alan T Litchfield alan at alphabyte.co.nz
Wed Oct 6 01:46:35 CEST 2010

On 6/10/2010, at 12:17 PM, Uwe Lueck wrote:

> "Alan T Litchfield" <alan at alphabyte.co.nz>, 06.10.2010 00:04:37:
>> On 6/10/2010, at 10:43 AM, Uwe Lueck wrote:
>>> I think you should not use \maketitle for this purpose, you should
>>> just use \includeonly.
>>> In order to get separate proof files for each chapter, you could
>>> have tiny files named something like `myrepchX.tex'
>>> calling a shared `myrep.tex'. The latter is a LaTeX main document
>>> file with
>>>   \includeonly{\includechap}
>>> in its preamble, and the content of `myrepchX.tex' just is
>>>   \newcommand{\includechap}{chapX}
>>>   \input{\myrep}
>>> `X' is meant to be a placeholder for a chapter id.
>>> So each "title page" is simply the starting page of a chapter
>>> exactly as in the final report version.
>>> Maybe I missed something?
>>> HTH though -- Uwe.
>> But how does that fill the content of \title{...} with what already
>> exists in \chapter{...} in the inputted file?
> ?? I am saying that you shouldn't think of \title and \maketitle here.

Why not.

>> For example the header file looks like:
>> \documentclass[a4paper,12pt]{report}
>> \author{Alan Litchfield}
>> \title{}
> Your report should have a title ... a single title for the whole  
> report,
> nothing to do with chapter title pages!

You have not taken note of the context in which I am working. These  
are draft chapters only. This is not the whole document.

I don't know what you are going on about with chapter title pages. I  
have never suggested that is what I want. In the chapter draft there  
is to be a title page that includes the current date and the name of  
the chapter. On he next page there is to be the draft of the chapter.

Do not tell me what you think I should have. I know what I want. What  
I want to know is how to get there. If that is not possible then fine,  
I can live with that.

>> \date{\today}
>> \begin{document}
>> \maketitle
> I consider this wrong, better
>    \include{frontmat}
> and `frontmat.tex' contains \maketitle.

Adds too much complexity. It is not required. What I have is what I  

>> \input{includes/production}
> What is this good for? I expect something like \include{production}.

Thank you. I take your advice and consider it. I need not act on it.

>> \renewcommand\bibname{References}
>> \bibliographystyle{apacite}
>> \bibliography{SemanticsOfWork}
> I think this should be in a file `backmat.tex' that you should  
> \include(only).

Adds too much complexity.

>> \end{document}
>> And where production.tex looks like
>> \chapter{Work as the means to production}
>> \section{Introduction}
>> \nobreak
>> blahblahblah
> ?? -- Again I think you must use \include{production}

Oh, I *must* use it *must* I? I use what I use for my reasons that I  
do not need to justify to you.

Sorry, but your response is increasingly offensive.

Again, I had a specific request. If it is not possible then fine. I do  
not need to be told how to suck eggs.


Alan T Litchfield
PO Box 1941, Auckland, 1140
New Zealand

More information about the texhax mailing list