Problem with foiltex and texpower

"Angelo R. Rossi" <[email protected]> Fri, 04 Apr 2003 11:23:09 -0500
Newsgroups gmane.comp.tex.texpower.user
Organization IBM Research Division
Message-ID <[email protected]>
Hello:

I am foiltex and texpower in a document:

I have two questions:

1) Why am I getting the following error?  I am using the latest version 
of texpower in cvs.  If  I remove the texpower packing, error goes away.

! LaTeX Error: Command \hpagecolor already defined.
               Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                             
l.2703   }

Sample input follows.
-------------
\documentclass[landscape,footrule,17pt]{foils}

  \usepackage[pdftex,usenames]{color}
  \usepackage{tabularx}
  \usepackage{pause}
  \usepackage[colorlinks]{hyperref}
  \usepackage{pp4link}
  \usepackage{mpmulti}
  \usepackage{graphicx}
  \usepackage[bgadd]{background}
  \usepackage{latexsym}
  \usepackage{chemsym}
  \usepackage{amsmath}
  \usepackage{amssymb}
  \usepackage{pifont}
  \usepackage{alltt}
  \usepackage{minitoc}
  \usepackage[coloremph,colorhighlight,display]{texpower}

\begin{document}

\foilhead{}

this is a test

\end{document}

End of Sample Input
-------------

2) How do I get foiltex to generate a page number for me?  Here is what 
I mean:

A) This is the first foil in the document.
 \foilhead{Table of Contents}
 \toplink{whatis}{Parallelization and Parallel Speedup \dotfill Page xxxx}

B) This is the second foil in the document.
\foilhead{Parallelization and Parallel Speedup}
\toptarget{whatis}
blah, blah, blah

I have to fill in by hand  the value of xxx.  When one has the \section 
command, this can be done with \tableofcontents.  

There's gotta be a trick for this.

Best regards,

Angelo


-- 

Angelo R. Rossi                              
IBM Research Division
T. J. Watson Research Center
Yorktown Heights, New York 10598
e-mail: [email protected]     
Voice:  914-945-3834
FAX:    914-845-2141    




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/