GeneralMultiple appendices in memoir, and non-LaTeX appendices?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
arwintcher
Posts: 29
Joined: Thu Feb 19, 2009 3:23 pm

Multiple appendices in memoir, and non-LaTeX appendices?

Post by arwintcher »

I have two problems with appendices. I'm using the memoir class.

First, I don't understand how to get more than one appendix in the TOC. I have been able to get the heading "appendix" no problem, using the \appendix and associated commands. But if I try something like breaking the appendices up by \chapter, the chapter headings appear in the TOC *before* the line that says "Appendices". I'm sure I am missing a vital piece of info about appendices but my searches have been fruitless.

Second, I have a lot of data in an OpenOffice spreadsheet and database that I want to include as appendices in my thesis. Converting all of my fancy formatting etc. into LaTeX will take forever and it's not that important to me that these appendices have the same "LaTeX" appearence as the rest of the thesis. I would just print them out separately but there are two problems: 1) the print shop wants the thesis as one pdf document, and 2) the university standard is to print the appendices before the references section, with continuous numbering following the chapters. Is there any way to include non-LaTeX files, then have LaTeX resume with the references section? Or barring that, creating the references section as a separate document starting with a specific page number, so that I can combine the three documents using something like PDFCreator?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

arwintcher
Posts: 29
Joined: Thu Feb 19, 2009 3:23 pm

Multiple appendices in memoir, and non-LaTeX appendices?

Post by arwintcher »

Many weeks of googling and some random coincidences later:

For the appendices, I found the pdfpages package will work just fine. In the preamble, I have added this:

Code: Select all

Code, edit and compile here:
\usepackage{eso-pic} %One of the packages required by pdfpages
\usepackage{everyshi} %One of the packages required by pdfpages
\usepackage{graphicx} %One of the packages required by pdfpages
\usepackage{pdfpages}
\pdfminorversion=6 %I was getting an error about PDF version 1.5 being unsupported by pdflatex, but this seems to fix it. It seems that it needs to go after graphicx is called.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
In the appropriate places in the document I have this:

Code: Select all

Code, edit and compile here:
\appendix
\chapter{Appendix title}
\includepdf[pages={1-17},pagecommand={\thispagestyle{plain}}]{appendix.pdf} %Just an example of controlling how much of a given pdf document to include, and a means of adding page numbers.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Of course, your documents that you wish to include have to be in pdf format but this is easy to achieve now, especially with OpenOffice.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Multiple appendices in memoir, and non-LaTeX appendices?

Post by localghost »

It is not necessary to load the packages separately which are needed by pdfpages. It will do that on its own to ensure that things will work.


Best regards
Thorsten
Post Reply