Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
 Having 2 indexes, how would I need to alter the following so that it
 applies to a general (as opposed to authors) index?

Which package do you use to generate the two indices (to split the index)?

Jürgen


Re: preamble in general index

2006-08-07 Thread Catherine Heyrendt



Having 2 indexes, how would I need to alter the following so that it
applies to a general (as opposed to authors) index?


Which package do you use to generate the two indices (to split the index)?


I use makeindex. My entry tags look like \index{general}{myentry}

Catherine


Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
 I use makeindex. My entry tags look like \index{general}{myentry}

MakeIndex alone does not feature multiple indices, i.e. something like
\index{general}{myentry}
So which package do you use for that? multind? index? splitindex?

Jürgen


Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
 You're right, sorry, it is multind.

Then add the following to the preamble (after \usepackage{multind}):

\makeatletter
[EMAIL PROTECTED]@[EMAIL PROTECTED] 
   \columnseprule \z@ \columnsep 35pt 
   \begin{multicols}{2}   
   [EMAIL PROTECTED] 
   \end{multicols}}
\makeatother

Now the indices do not have a heading anymore, so you can add manually

\chapter{General index}
some text
\printindex{general}

\chapter{Author index}
some other text
\printindex{author}

Jürgen



Re: preamble in general index

2006-08-07 Thread Catherine Heyrendt



Then add the following to the preamble (after \usepackage{multind}):

\makeatletter
[EMAIL PROTECTED]@[EMAIL PROTECTED]
  \columnseprule \z@ \columnsep 35pt
  \begin{multicols}{2}
  [EMAIL PROTECTED]
  \end{multicols}}
\makeatother



The preamble is there. There is one remaining problem: my entries are then in 
one column (instead of two) and are preceded by the number 2 which takes up a 
line of its own.


I get the following errors while running LaTeX through the document:

LaTeX Error: \begin{document} ended by \end{multicols}
! LaTeX Error: Environment multicols undefined.

Catherine


Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
 The preamble is there. There is one remaining problem: my entries are then
 in one column (instead of two) and are preceded by the number 2 which
 takes up a line of its own.

 I get the following errors while running LaTeX through the document:

 LaTeX Error: \begin{document} ended by \end{multicols}
 ! LaTeX Error: Environment multicols undefined.

I forgot:

\usepackage{multicol}

before the \printindex definition.

Jürgen


Re: preamble in general index

2006-08-07 Thread Catherine Heyrendt




I forgot:

\usepackage{multicol}

before the \printindex definition.



It is working perfectly now. Many many thanks from a stressed end-of-PhD 
student,


Catherine


Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
 Having 2 indexes, how would I need to alter the following so that it
 applies to a general (as opposed to authors) index?

Which package do you use to generate the two indices (to split the index)?

Jürgen


Re: preamble in general index

2006-08-07 Thread Catherine Heyrendt



Having 2 indexes, how would I need to alter the following so that it
applies to a general (as opposed to authors) index?


Which package do you use to generate the two indices (to split the index)?


I use makeindex. My entry tags look like \index{general}{myentry}

Catherine


Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
 I use makeindex. My entry tags look like \index{general}{myentry}

MakeIndex alone does not feature multiple indices, i.e. something like
\index{general}{myentry}
So which package do you use for that? multind? index? splitindex?

Jürgen


Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
 You're right, sorry, it is multind.

Then add the following to the preamble (after \usepackage{multind}):

\makeatletter
[EMAIL PROTECTED]@[EMAIL PROTECTED] 
   \columnseprule \z@ \columnsep 35pt 
   \begin{multicols}{2}   
   [EMAIL PROTECTED] 
   \end{multicols}}
\makeatother

Now the indices do not have a heading anymore, so you can add manually

\chapter{General index}
some text
\printindex{general}

\chapter{Author index}
some other text
\printindex{author}

Jürgen



Re: preamble in general index

2006-08-07 Thread Catherine Heyrendt



Then add the following to the preamble (after \usepackage{multind}):

\makeatletter
[EMAIL PROTECTED]@[EMAIL PROTECTED]
  \columnseprule \z@ \columnsep 35pt
  \begin{multicols}{2}
  [EMAIL PROTECTED]
  \end{multicols}}
\makeatother



The preamble is there. There is one remaining problem: my entries are then in 
one column (instead of two) and are preceded by the number 2 which takes up a 
line of its own.


I get the following errors while running LaTeX through the document:

LaTeX Error: \begin{document} ended by \end{multicols}
! LaTeX Error: Environment multicols undefined.

Catherine


Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
 The preamble is there. There is one remaining problem: my entries are then
 in one column (instead of two) and are preceded by the number 2 which
 takes up a line of its own.

 I get the following errors while running LaTeX through the document:

 LaTeX Error: \begin{document} ended by \end{multicols}
 ! LaTeX Error: Environment multicols undefined.

I forgot:

\usepackage{multicol}

before the \printindex definition.

Jürgen


Re: preamble in general index

2006-08-07 Thread Catherine Heyrendt




I forgot:

\usepackage{multicol}

before the \printindex definition.



It is working perfectly now. Many many thanks from a stressed end-of-PhD 
student,


Catherine


Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
> Having 2 indexes, how would I need to alter the following so that it
> applies to a general (as opposed to authors) index?

Which package do you use to generate the two indices (to split the index)?

Jürgen


Re: preamble in general index

2006-08-07 Thread Catherine Heyrendt



Having 2 indexes, how would I need to alter the following so that it
applies to a general (as opposed to authors) index?


Which package do you use to generate the two indices (to split the index)?


I use makeindex. My entry tags look like \index{general}{}

Catherine


Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
> I use makeindex. My entry tags look like \index{general}{}

MakeIndex alone does not feature multiple indices, i.e. something like
\index{general}{}
So which package do you use for that? multind? index? splitindex?

Jürgen


Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
> You're right, sorry, it is multind.

Then add the following to the preamble (after \usepackage{multind}):

\makeatletter
[EMAIL PROTECTED]@[EMAIL PROTECTED] 
   \columnseprule \z@ \columnsep 35pt 
   \begin{multicols}{2}   
   [EMAIL PROTECTED] 
   \end{multicols}}
\makeatother

Now the indices do not have a heading anymore, so you can add manually

\chapter{General index}
some text
\printindex{general}

\chapter{Author index}
some other text
\printindex{author}

Jürgen



Re: preamble in general index

2006-08-07 Thread Catherine Heyrendt



Then add the following to the preamble (after \usepackage{multind}):

\makeatletter
[EMAIL PROTECTED]@[EMAIL PROTECTED]
  \columnseprule \z@ \columnsep 35pt
  \begin{multicols}{2}
  [EMAIL PROTECTED]
  \end{multicols}}
\makeatother



The preamble is there. There is one remaining problem: my entries are then in 
one column (instead of two) and are preceded by the number "2" which takes up a 
line of its own.


I get the following errors while running LaTeX through the document:

LaTeX Error: \begin{document} ended by \end{multicols}
! LaTeX Error: Environment multicols undefined.

Catherine


Re: preamble in general index

2006-08-07 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
> The preamble is there. There is one remaining problem: my entries are then
> in one column (instead of two) and are preceded by the number "2" which
> takes up a line of its own.
>
> I get the following errors while running LaTeX through the document:
>
> LaTeX Error: \begin{document} ended by \end{multicols}
> ! LaTeX Error: Environment multicols undefined.

I forgot:

\usepackage{multicol}

before the \printindex definition.

Jürgen


Re: preamble in general index

2006-08-07 Thread Catherine Heyrendt




I forgot:

\usepackage{multicol}

before the \printindex definition.



It is working perfectly now. Many many thanks from a stressed end-of-PhD 
student,


Catherine


preamble in general index

2006-08-06 Thread Catherine Heyrendt


I need a preamble to my general index, and I have found the following 
documentation:


http://tug.org/TeXnik/mainFAQ.cgi?file=Index/preamble

Having 2 indexes, how would I need to alter the following so that it 
applies to a general (as opposed to authors) index? (my almost-done phD 
thesis has to do with humanities, not science sadly...) Many thanks.


\newcommand{\theindexpreamble}{}
\renewenvironment{theindex}
   [EMAIL PROTECTED]
  [EMAIL PROTECTED]
\else
  [EMAIL PROTECTED]
\fi
\columnseprule \z@
\columnsep 35\p@
\twocolumn[\section*{\indexname}
%
  \theindexpreamble\\
  \renewcommand{\theindexpreamble}{}%
%
]%
[EMAIL PROTECTED]
{\MakeUppercase\indexname}%
\thispagestyle{plain}\parindent\z@
\parskip\z@ [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]
   [EMAIL PROTECTED]


In the text you can write anywhere

\printindex

\renewcommand{\theindexpreamble}{% open the preamble!

This is the text for the preamble ... This is the text for the preamble 
...


}% close the preamble!


preamble in general index

2006-08-06 Thread Catherine Heyrendt


I need a preamble to my general index, and I have found the following 
documentation:


http://tug.org/TeXnik/mainFAQ.cgi?file=Index/preamble

Having 2 indexes, how would I need to alter the following so that it 
applies to a general (as opposed to authors) index? (my almost-done phD 
thesis has to do with humanities, not science sadly...) Many thanks.


\newcommand{\theindexpreamble}{}
\renewenvironment{theindex}
   [EMAIL PROTECTED]
  [EMAIL PROTECTED]
\else
  [EMAIL PROTECTED]
\fi
\columnseprule \z@
\columnsep 35\p@
\twocolumn[\section*{\indexname}
%
  \theindexpreamble\\
  \renewcommand{\theindexpreamble}{}%
%
]%
[EMAIL PROTECTED]
{\MakeUppercase\indexname}%
\thispagestyle{plain}\parindent\z@
\parskip\z@ [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]
   [EMAIL PROTECTED]


In the text you can write anywhere

\printindex

\renewcommand{\theindexpreamble}{% open the preamble!

This is the text for the preamble ... This is the text for the preamble 
...


}% close the preamble!


preamble in general index

2006-08-06 Thread Catherine Heyrendt


I need a preamble to my general index, and I have found the following 
documentation:


http://tug.org/TeXnik/mainFAQ.cgi?file=Index/preamble

Having 2 indexes, how would I need to alter the following so that it 
applies to a general (as opposed to authors) index? (my almost-done phD 
thesis has to do with humanities, not science sadly...) Many thanks.


\newcommand{\theindexpreamble}{}
\renewenvironment{theindex}
   [EMAIL PROTECTED]
  [EMAIL PROTECTED]
\else
  [EMAIL PROTECTED]
\fi
\columnseprule \z@
\columnsep 35\p@
\twocolumn[\section*{\indexname}
%
  \theindexpreamble\\
  \renewcommand{\theindexpreamble}{}%
%
]%
[EMAIL PROTECTED]
{\MakeUppercase\indexname}%
\thispagestyle{plain}\parindent\z@
\parskip\z@ [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]
   [EMAIL PROTECTED]


In the text you can write anywhere

\printindex

\renewcommand{\theindexpreamble}{% open the preamble!

This is the text for the preamble ... This is the text for the preamble 
...


}% close the preamble!