Document ClassesMemoir titlepages

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
mohbana
Posts: 4
Joined: Wed May 28, 2008 9:23 pm

Memoir titlepages

Post by mohbana »

First hi everyone :), this is officially my first post!

I'd like some help with getting the examples from http://www.tex.ac.uk/tex-archive/help/C ... pages.html or http://www.mail-archive.com/ctan-ann@da ... 00979.html working, it's Peter Wilson's doc named Some Examples of Title Pages. Most of the example don't seem to work as expected i get plenty of errors, which is surprising since the doc was compiled on January 2007 and how much of the class could have changed?

Just take a look at
maindoc.pdf
Output of 'maindoc.tex'.
(132.17 KiB) Downloaded 494 times
maindoc.pdf and see the resulting pdf, it's awful, if you manage to compile the titlepage and have the same results as Peter Wilson please post the resulting pdf and the source. The compile errors i mentioned earlier are mainly the following;

Code: Select all

! Undefined control sequence.
\titleJT ->\begingroup \drop 
                             = 0.08\textheight \vspace *{\drop } \hspace *{0...
l.522 \titleJT
              
? 
! Missing number, treated as zero.
<to be read again> 
                   \protect 
l.522 \titleJT
              
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \protect 
l.522 \titleJT
              
? 
! Undefined control sequence.
<argument> \drop 
                 
l.522 \titleJT
              
? 
! Missing number, treated as zero.
<to be read again> 
                   \vskip 
l.522 \titleJT
              
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \vskip 
l.522 \titleJT
              
? 
! Undefined control sequence.
<argument> \vskip 2\drop 
                         
l.522 \titleJT
              
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   }
l.522 \titleJT
              
? 
! Undefined control sequence.
<argument> \drop 
                 
l.522 \titleJT
              
? 
! Missing number, treated as zero.
<to be read again> 
                   \vskip 
l.522 \titleJT
              
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \vskip 
l.522 \titleJT
              
? 
...
I am using texlive under Ubuntu hardy, pdflatex --version outputs;

Code: Select all

pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX using libpoppler copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX using libpoppler source.
Primary author of pdfTeX using libpoppler: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry, Olaf Weber, and others.

Compiled with libpng 1.2.15beta5; using libpng 1.2.15beta5
Compiled with zlib 1.2.3.3; using zlib 1.2.3.3
Compiled with libpoppler version 3.00
Attachments
titlepages.sty
Found this on google.
(15.18 KiB) Downloaded 381 times
maindoc.tex
The file i tried to compile.
(14.74 KiB) Downloaded 389 times
Last edited by mohbana on Wed May 28, 2008 9:46 pm, edited 1 time in total.

Recommended reading 2024:

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

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

mohbana
Posts: 4
Joined: Wed May 28, 2008 9:23 pm

Re: Memoir titlepages

Post by mohbana »

Another post due to the 3 attachment limit. Any sort of help would be greatly appreciated, thanks in advance.
Attachments
maindoc2.pdf
Output using 'maindoc2.tex'.
(132.58 KiB) Downloaded 465 times
maindoc2.tex
I tried compiling using 'titlepages.sty', but it still failed.
(928 Bytes) Downloaded 350 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Memoir titlepages

Post by Stefan Kottwitz »

Hi mohbana,

welcome to the LaTeX Community Forum!
You provided very good information. The solution is to create the length \drop before the title definitions:

Code: Select all

\newlength{\drop}
Stefan
LaTeX.org admin
mohbana
Posts: 4
Joined: Wed May 28, 2008 9:23 pm

Memoir titlepages

Post by mohbana »

Stefan_K wrote:Hi mohbana,

welcome to the LaTeX Community Forum!
You provided very good information. The solution is to create the length \drop before the title definitions:

Code: Select all

\newlength{\drop}
Stefan
Thanks alot!
Post Reply