[OS X TeX] a suggestion
Alan Munn
amunn at msu.edu
Sun Mar 2 15:31:23 EST 2008
At 15:14 -0500 2/3/08, ludwik kowalski wrote:
>On Mar 2, 2008, at 1:38 PM, ludwik kowalski wrote:
>
>>On Mar 1, 2008, at 11:27 PM, John McChesney-Young wrote:
>>
>>>. . . Besides the helpful lshort .pdf
>>>suggested by Professor Skiadas, another good
>>>introductory electronic resource is:
>>>
>>>http://theoval.sys.uea.ac.uk/~nlct/latex/novices/novices.html
>>
>>This 2008 tutorial is indeed very good for
>>beginners. The above URL is probably worth
>>adding to the Help menu of TexShop.
>
>Unfortunately, this tutorial does not (?) have a
>chapter on indexing. I learned about this topic
>from the tutorial of Tobias Oetiker (see Help
>menu of the TexShop).
I reiterate my suggestion about buying books. :-)
The LaTeX companion has a whole chapter dedicated
to Index Generation.
>Unfortunately, I was not able to implement what
>I learned on page 35. What follows is my short
>input file; it was based on my understanding of
>Oetiker. But the file did not compile. The error
>message was that the sty file cannot be found.
>Please tell me to accomplish this task. What is
>missing in my input file?\
Two problems. You spelled the package name wrong
(which is what the error is trying to tell you).
It should be \usepackage{makeindx} (no 'e' in
index)
Second, you'll never see your index if you don't
also include a \printindex command at the end of
your document.
Third (and this isn't obvious from your post, but
it may not have been clear either), you need to
do the following: (1) latex your document (2) run
makeindex on your document (in TeXShop this is
command-shift-I) and (3) run latex on your
document again.
>
>Yes, it is silly to have an index for tiny
>document. But it is only an attempt to implement
>what I learned.
No, this is absolutely not silly. It is the best
way to learn how things work. If only more
people with problems would post such small
examples!
Alan
>
>= = = = = = = = = = = = = = = = = =
>
>\documentclass[a4paper]{article}
>\usepackage{makeindex}
>\makeindex
>
>\begin{document}
>
>\section{Introduction}
>
>Most Americans know that \index{Alaska} was
>purchased from \index{Russia} in 1867 before the
>discovery of its rich gold deposits. While the
>Russian Church had a generally positive
>influence on Native Alaskans, the beginning of
>the Russian period was marked by the frequent
>enslavement of the local population by
>adventurous fur traders.'' Male Eskimos
>(Aleuts), for example, were taken from their
>families and deported to the \index{Pribilof
>Islands}; they were forced to hunt sea otters
>and seals for their kidnappers. Most of them
>never returned to their starving wives and
>children. The population of Aleuts was halved
>between the middle and the end of the eighteenth
>century.
>
>\end{document}
>
>= = = = = = = = = = = = = = = = = =
>
>Ludwik Kowalski, a retired physicist
>5 Horizon Road, apt.2702, Fort Lee, NJ, 07024, USA
>Also an amateur journalist at http://csam.montclair.edu/~kowalski/cf/
>
>
>
>
>
>
>
>-------------------------- Helpful Info --------------------------
>TeX FAQ: http://www.tex.ac.uk/faq
>List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
>List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>List Archive: http://tug.org/pipermail/macostex-archives/
>Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
--
Alan Munn
amunn at msu.edu
Department of Linguistics
and Germanic, Slavic, Asian and African Languages Fax. +1-517-432-2736
Michigan State University, East Lansing MI 48824 Tel. +1-517-355-7491
More information about the MacOSX-TeX
mailing list