[OS X TeX] Chapter proof outputs

Alan Litchfield alan at alphabyte.co.nz
Mon Jul 4 16:20:49 EDT 2016


Giovanni,

Finally got around to trying out your solution. Thanks, works nicely and 
is a much simpler approach to what I was thinking.

Regards
Alan

On 18/06/16 9:36 am, Giovanni Dore wrote:
> Please try the following modifications.
>
> Add the following lines to the file autthesis.cls:
>
> \newcommand{\ChapterProof}[1]{
>     \renewcommand{\beforeabstract}{\relax}
>     \renewcommand{\afterabstract}{\relax}
>     \renewcommand{\afterpreface}{\relax}
>     \def\myChapter##1{\title{Draft chapter \\ ##1}
>                       \date{\today}
>                       \maketitle
>                       \chapter{##1}}
>     \includeonly{#1}
>     }
>
> In the file AUTThesis.tex change every command \input{includes/name} in \include{includes/name}.
>
> If you want a chapter proof for the chapter contained in the file intro.tex add the line
>
> \ChapterProof{includes/intro}
>
> to the file AUTThesis.tex, somewhere between \documenteclass and \begin{document}.
>
> I hope this solves your problem.
>
> Giovanni Dore
> ________________________________________
> Da: MacOSX-TeX <macosx-tex-bounces at email.esm.psu.edu> per conto di Alan Litchfield <alan at alphabyte.co.nz>
> Inviato: venerdì 17 giugno 2016 21:12
> A: macosx-tex at email.esm.psu.edu
> Oggetto: Re: [OS X TeX] Chapter proof outputs
>
> Hi,
>
> I use include now for all the chapters.
>
> The objective of the chapter proof is that it does not provide all the
> front matter, ToC's, etc. Just a one page coversheet with the
> appropriate details on it.
>
> The structure is all provided in a class file, so a function that
> provides one structure (full thesis) or the other (chapter proof) might
> work. However a simplistic A or B option loses all the aux data (cross
> refs, counters, etc.) that would make a chapter proof more useful.
>
> I have looked at splitting the pdf, but frankly, I would get various
> results if students were left to do this.
>
> Alan
>
>
>
> On 18/06/16 4:51 am, Giovanni Dore wrote:
>> You can use \include and \includeonly.
>> See https://en.wikibooks.org/wiki/TeX/includeonly or http://www.tex.ac.uk/FAQ-conditional.html.
>>
>> Giovanni Dore
>>
>>
>> Il giorno 16/giu/2016, alle ore 23.19, Alan Litchfield ha scritto:
>>
>>> Hi,
>>>
>>> I know this is a question that comes up from time to time, but I have yet to find a satisfactory answer. I just hoping for some suggestions for improvement.
>>>
>>> Several (many) years ago I developed a thesis template while doing my master thesis based on the report class. I further adapted it for my PhD and some folk saw what I'd done and asked to use it. Since then, it has become the defacto template for the university where I work. That means I have had to spend a lot of time cleaning it up, simplifying parts and writing documentation on how to use it. Now I am at a stage where I need to resolve an annoyance, which is *how to generate chapter proofs* for supervisors to check.
>>>
>>> Presently, I have two template headers: one for the whole thesis that generates all the front matter, chapters (as includes), ToCs, etc.; the other is for chapter proofs that produces a front page with the student name, chapter title, etc and then the chapter as an include (the person changes the chapter file to be included for each proof).
>>>
>>> The downside of the present situation is that chapter numbers have to be replaced with a preset counter ("X" in this case) and cross references to other chapters are broken.
>>>
>>> What I would like is to present the option of a chapter proof as an option declared such as this for a full thesis:
>>> \documentclass[12pt,AK1324,thesis,doublespace]{autthesis}
>>>
>>> and this for a chapter proof:
>>> \documentclass[12pt,AK1324,thesis,doublespace,proof="includes/LitReview"]{autthesis}
>>>
>>> In other words, that unless "proof=[some file name]" is declared as an option, the whole thesis is generated. It would be really nice if the thesis aux file were used to maintain the integrity of counters and labels.
>>>
>>> As I said, suggestions are very welcome. The template lives at:
>>> http://aut.ac.nz.libguides.com/computer/LaTeX
>>>
>>> Alan
>>> --
>>> Dr Alan Litchfield
>>> AlphaByte
>>> PO Box 1941
>>> Auckland, New Zealand 1140
>>>
>>> ----------- Please Consult the Following Before Posting -----------
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
>>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>>>               https://email.esm.psu.edu/pipermail/macosx-tex/
>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>
>>
>> 5x1000 AI GIOVANI RICERCATORI
>> DELL'UNIVERSITÀ DI BOLOGNA
>> Codice Fiscale: 80007010376
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>>                 https://email.esm.psu.edu/pipermail/macosx-tex/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>
>
> --
> Dr Alan Litchfield
> AlphaByte
> PO Box 1941
> Auckland, New Zealand 1140
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                 https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
> 5x1000 AI GIOVANI RICERCATORI
> DELL'UNIVERSITÀ DI BOLOGNA
> Codice Fiscale: 80007010376
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                 https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
>

-- 
Dr Alan Litchfield
AlphaByte
PO Box 1941
Auckland, New Zealand 1140



More information about the MacOSX-TeX mailing list