Short: how can I create a list of photographs under latex?

Long: I've successfully been using a listoffigures to coallated a list
of photographs included in a report, but now I want the list to read
"List of Photographs" and I will also want a List of "NewsPaper
Articles" as well.

The Latex Companion by Goosens etal gives an example on Page 36 of how
this can be done. The example is;


\newcommand{\listofexamples}{\@starttoc{loe}}
\newcommand{\pcaption}[1]{\addcontentsline{loe}{example}{#1}}
\newcommand{\l@example}[2]{\par\noindent#1 {\itshape #2}}


Unfortunately, something is wrong with the above and latex puts out this
message that I haven't been able to fathom out.
...................................................................

! LaTeX Error: Command \l 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.35 ...example}[2]{\par\noindent#1 {\itshape #2}}
                                                  
? 

........................................

Clue sticks gratefully accepted {:-).

-- 
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   Wombat Outdoor Adventures <Bicycles, Books, Computers, GIS>

 "People without trees are like fish without clean water"
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to