Re: I can't use multiple indexes in LyX

2011-07-28 Thread Francesc Gispert Sanchez
El mar, 26-07-2011 a las 16:15 -0400, Richard Heck escribió:

 What do you mean by an alphabetic index? Do you need two indexes, or
 is it just the title that you want to change? If the latter, then you
 can use the normal index and change the title fairly easily. Just put:
 \renewcommand\indexname{Alphabetic Index}
 into the preamble.

I suppose I explained it in a too ambiguous way. I need two indexes (or
the table of contents plus another index.

 I don't know what is happening, but please see the attached.
 
 Richard

I see that the attached document is similar to what I do, but I couldn't
export it because I lack a package (I get a heck.sty-not-found error).

Actually, my problem is that when I export my document the indexes
created manually don't appear in the PDF (or whatever format). For
example, in the attached document, I'd like to see the table of contents
and, below, another index with the Important word and the page where
it is. But when I export it, there's just the table of contents.

Thanks for your help.

Francesc Gispert



indexes.lyx
Description: application/lyx


Re: I can't use multiple indexes in LyX

2011-07-28 Thread Helge Hafting

On 28. juli 2011 11:46, Francesc Gispert Sanchez wrote:

El mar, 26-07-2011 a las 16:15 -0400, Richard Heck escribió:


What do you mean by an alphabetic index? Do you need two indexes, or
is it just the title that you want to change? If the latter, then you
can use the normal index and change the title fairly easily. Just put:
 \renewcommand\indexname{Alphabetic Index}
into the preamble.


I suppose I explained it in a too ambiguous way. I need two indexes (or
the table of contents plus another index.


I don't know what is happening, but please see the attached.

Richard


I see that the attached document is similar to what I do, but I couldn't
export it because I lack a package (I get a heck.sty-not-found error).

Actually, my problem is that when I export my document the indexes
created manually don't appear in the PDF (or whatever format). For
example, in the attached document, I'd like to see the table of contents
and, below, another index with the Important word and the page where
it is. But when I export it, there's just the table of contents.

Thanks for your help.


Are you perhaps using the Debian distribution of linux?

I tried your example, and it failed like you say. No index.
Then I tried the UserGuide that comes with LyX, and it also failed to 
produce an index.


I use Debian testing, and it turns out they ship a broken clisp 
package. When LyX makes an index, it uses a package called xindy, 
which in turn depends on clisp. When clisp is wrong, the index is not 
produced.


clisp-2.49 does not work, but clisp-2.48 is fine. So the solution is to 
downgrade to clisp-2.48. On debian, this command did it for me:


apt-get install clisp=1:2.48-3

Or just download the software and install it yourself.

After this, both the userguide and your file produced indexes as they 
should.


Helge Hafting




Re: I can't use multiple indexes in LyX

2011-07-28 Thread Francesc Gispert Sanchez
El mar, 26-07-2011 a las 16:15 -0400, Richard Heck escribió:

 What do you mean by an alphabetic index? Do you need two indexes, or
 is it just the title that you want to change? If the latter, then you
 can use the normal index and change the title fairly easily. Just put:
 \renewcommand\indexname{Alphabetic Index}
 into the preamble.

I suppose I explained it in a too ambiguous way. I need two indexes (or
the table of contents plus another index.

 I don't know what is happening, but please see the attached.
 
 Richard

I see that the attached document is similar to what I do, but I couldn't
export it because I lack a package (I get a heck.sty-not-found error).

Actually, my problem is that when I export my document the indexes
created manually don't appear in the PDF (or whatever format). For
example, in the attached document, I'd like to see the table of contents
and, below, another index with the Important word and the page where
it is. But when I export it, there's just the table of contents.

Thanks for your help.

Francesc Gispert



indexes.lyx
Description: application/lyx


Re: I can't use multiple indexes in LyX

2011-07-28 Thread Helge Hafting

On 28. juli 2011 11:46, Francesc Gispert Sanchez wrote:

El mar, 26-07-2011 a las 16:15 -0400, Richard Heck escribió:


What do you mean by an alphabetic index? Do you need two indexes, or
is it just the title that you want to change? If the latter, then you
can use the normal index and change the title fairly easily. Just put:
 \renewcommand\indexname{Alphabetic Index}
into the preamble.


I suppose I explained it in a too ambiguous way. I need two indexes (or
the table of contents plus another index.


I don't know what is happening, but please see the attached.

Richard


I see that the attached document is similar to what I do, but I couldn't
export it because I lack a package (I get a heck.sty-not-found error).

Actually, my problem is that when I export my document the indexes
created manually don't appear in the PDF (or whatever format). For
example, in the attached document, I'd like to see the table of contents
and, below, another index with the Important word and the page where
it is. But when I export it, there's just the table of contents.

Thanks for your help.


Are you perhaps using the Debian distribution of linux?

I tried your example, and it failed like you say. No index.
Then I tried the UserGuide that comes with LyX, and it also failed to 
produce an index.


I use Debian testing, and it turns out they ship a broken clisp 
package. When LyX makes an index, it uses a package called xindy, 
which in turn depends on clisp. When clisp is wrong, the index is not 
produced.


clisp-2.49 does not work, but clisp-2.48 is fine. So the solution is to 
downgrade to clisp-2.48. On debian, this command did it for me:


apt-get install clisp=1:2.48-3

Or just download the software and install it yourself.

After this, both the userguide and your file produced indexes as they 
should.


Helge Hafting




Re: I can't use multiple indexes in LyX

2011-07-28 Thread Francesc Gispert Sanchez
El mar, 26-07-2011 a las 16:15 -0400, Richard Heck escribió:

> What do you mean by an "alphabetic index"? Do you need two indexes, or
> is it just the title that you want to change? If the latter, then you
> can use the normal index and change the title fairly easily. Just put:
> \renewcommand\indexname{Alphabetic Index}
> into the preamble.

I suppose I explained it in a too ambiguous way. I need two indexes (or
the table of contents plus another index.

> I don't know what is happening, but please see the attached.
> 
> Richard

I see that the attached document is similar to what I do, but I couldn't
export it because I lack a package (I get a "heck.sty"-not-found error).

Actually, my problem is that when I export my document the indexes
created manually don't appear in the PDF (or whatever format). For
example, in the attached document, I'd like to see the table of contents
and, below, another index with the "Important word" and the page where
it is. But when I export it, there's just the table of contents.

Thanks for your help.

Francesc Gispert



indexes.lyx
Description: application/lyx


Re: I can't use multiple indexes in LyX

2011-07-28 Thread Helge Hafting

On 28. juli 2011 11:46, Francesc Gispert Sanchez wrote:

El mar, 26-07-2011 a las 16:15 -0400, Richard Heck escribió:


What do you mean by an "alphabetic index"? Do you need two indexes, or
is it just the title that you want to change? If the latter, then you
can use the normal index and change the title fairly easily. Just put:
 \renewcommand\indexname{Alphabetic Index}
into the preamble.


I suppose I explained it in a too ambiguous way. I need two indexes (or
the table of contents plus another index.


I don't know what is happening, but please see the attached.

Richard


I see that the attached document is similar to what I do, but I couldn't
export it because I lack a package (I get a "heck.sty"-not-found error).

Actually, my problem is that when I export my document the indexes
created manually don't appear in the PDF (or whatever format). For
example, in the attached document, I'd like to see the table of contents
and, below, another index with the "Important word" and the page where
it is. But when I export it, there's just the table of contents.

Thanks for your help.


Are you perhaps using the Debian distribution of linux?

I tried your example, and it failed like you say. No index.
Then I tried the UserGuide that comes with LyX, and it also failed to 
produce an index.


I use "Debian testing", and it turns out they ship a broken clisp 
package. When LyX makes an index, it uses a package called "xindy", 
which in turn depends on clisp. When clisp is wrong, the index is not 
produced.


clisp-2.49 does not work, but clisp-2.48 is fine. So the solution is to 
downgrade to clisp-2.48. On debian, this command did it for me:


apt-get install clisp=1:2.48-3

Or just download the software and install it yourself.

After this, both the userguide and your file produced indexes as they 
should.


Helge Hafting




Re: I can't use multiple indexes in LyX

2011-07-26 Thread Richard Heck
On 07/22/2011 08:14 AM, Francesc Gispert Sanchez wrote:
 Hi, I am new at using LyX and I'm trying to create an alphabetic index
 in a book. However, there's no such option in the book layout, so I've
 been trying to use a custom index.

What do you mean by an alphabetic index? Do you need two indexes, or
is it just the title that you want to change? If the latter, then you
can use the normal index and change the title fairly easily. Just put:
\renewcommand\indexname{Alphabetic Index}
into the preamble.

 I created it by adding a new index called 'Alphabetic index' in Document 
 Settings  Indexes. Then I selected the text I wanted to add in the
 index and I added it with Insert  Index entry (Alphabetic index), and a
 gray box with green letters appeared. 
 After that, I inserted the alphabetic index somewhere in the book
 (Insert  Indexes  Index: Alphabetic index) and a gray box labeled
 'Alphabetic index' appeared right there. 
 But when I try to export it as a PDF, there is no index (apart from the
 default table of contents).

 Am I doing something wrong? If so, how am I supposed to add multiple
 indexes?

I don't know what is happening, but please see the attached.

Richard



index.lyx
Description: application/lyx


Re: I can't use multiple indexes in LyX

2011-07-26 Thread Richard Heck
On 07/22/2011 08:14 AM, Francesc Gispert Sanchez wrote:
 Hi, I am new at using LyX and I'm trying to create an alphabetic index
 in a book. However, there's no such option in the book layout, so I've
 been trying to use a custom index.

What do you mean by an alphabetic index? Do you need two indexes, or
is it just the title that you want to change? If the latter, then you
can use the normal index and change the title fairly easily. Just put:
\renewcommand\indexname{Alphabetic Index}
into the preamble.

 I created it by adding a new index called 'Alphabetic index' in Document 
 Settings  Indexes. Then I selected the text I wanted to add in the
 index and I added it with Insert  Index entry (Alphabetic index), and a
 gray box with green letters appeared. 
 After that, I inserted the alphabetic index somewhere in the book
 (Insert  Indexes  Index: Alphabetic index) and a gray box labeled
 'Alphabetic index' appeared right there. 
 But when I try to export it as a PDF, there is no index (apart from the
 default table of contents).

 Am I doing something wrong? If so, how am I supposed to add multiple
 indexes?

I don't know what is happening, but please see the attached.

Richard



index.lyx
Description: application/lyx


Re: I can't use multiple indexes in LyX

2011-07-26 Thread Richard Heck
On 07/22/2011 08:14 AM, Francesc Gispert Sanchez wrote:
> Hi, I am new at using LyX and I'm trying to create an alphabetic index
> in a book. However, there's no such option in the book layout, so I've
> been trying to use a custom index.
>
What do you mean by an "alphabetic index"? Do you need two indexes, or
is it just the title that you want to change? If the latter, then you
can use the normal index and change the title fairly easily. Just put:
\renewcommand\indexname{Alphabetic Index}
into the preamble.

> I created it by adding a new index called 'Alphabetic index' in Document >
> Settings > Indexes. Then I selected the text I wanted to add in the
> index and I added it with Insert > Index entry (Alphabetic index), and a
> gray box with green letters appeared. 
> After that, I inserted the alphabetic index somewhere in the book
> (Insert > Indexes > Index: Alphabetic index) and a gray box labeled
> 'Alphabetic index' appeared right there. 
> But when I try to export it as a PDF, there is no index (apart from the
> default table of contents).
>
> Am I doing something wrong? If so, how am I supposed to add multiple
> indexes?
>
I don't know what is happening, but please see the attached.

Richard



index.lyx
Description: application/lyx


I can't use multiple indexes in LyX

2011-07-23 Thread Francesc Gispert Sanchez
Hi, I am new at using LyX and I'm trying to create an alphabetic index
in a book. However, there's no such option in the book layout, so I've
been trying to use a custom index.

I created it by adding a new index called 'Alphabetic index' in Document
 Settings  Indexes. Then I selected the text I wanted to add in the
index and I added it with Insert  Index entry (Alphabetic index), and a
gray box with green letters appeared. 
After that, I inserted the alphabetic index somewhere in the book
(Insert  Indexes  Index: Alphabetic index) and a gray box labeled
'Alphabetic index' appeared right there. 
But when I try to export it as a PDF, there is no index (apart from the
default table of contents).

Am I doing something wrong? If so, how am I supposed to add multiple
indexes?

Thank you very much.


Francesc Gispert


PS: I am currently using Debian Wheezy and LyX 2.0.0. The result of
'#uname -r' (kernel) is 2.6.39-2-686-pae. All the lyx- or latex-related
packages have been installed through the Debian Wheezy official
repositories.   



I can't use multiple indexes in LyX

2011-07-23 Thread Francesc Gispert Sanchez
Hi, I am new at using LyX and I'm trying to create an alphabetic index
in a book. However, there's no such option in the book layout, so I've
been trying to use a custom index.

I created it by adding a new index called 'Alphabetic index' in Document
 Settings  Indexes. Then I selected the text I wanted to add in the
index and I added it with Insert  Index entry (Alphabetic index), and a
gray box with green letters appeared. 
After that, I inserted the alphabetic index somewhere in the book
(Insert  Indexes  Index: Alphabetic index) and a gray box labeled
'Alphabetic index' appeared right there. 
But when I try to export it as a PDF, there is no index (apart from the
default table of contents).

Am I doing something wrong? If so, how am I supposed to add multiple
indexes?

Thank you very much.


Francesc Gispert


PS: I am currently using Debian Wheezy and LyX 2.0.0. The result of
'#uname -r' (kernel) is 2.6.39-2-686-pae. All the lyx- or latex-related
packages have been installed through the Debian Wheezy official
repositories.   



I can't use multiple indexes in LyX

2011-07-23 Thread Francesc Gispert Sanchez
Hi, I am new at using LyX and I'm trying to create an alphabetic index
in a book. However, there's no such option in the book layout, so I've
been trying to use a custom index.

I created it by adding a new index called 'Alphabetic index' in Document
> Settings > Indexes. Then I selected the text I wanted to add in the
index and I added it with Insert > Index entry (Alphabetic index), and a
gray box with green letters appeared. 
After that, I inserted the alphabetic index somewhere in the book
(Insert > Indexes > Index: Alphabetic index) and a gray box labeled
'Alphabetic index' appeared right there. 
But when I try to export it as a PDF, there is no index (apart from the
default table of contents).

Am I doing something wrong? If so, how am I supposed to add multiple
indexes?

Thank you very much.


Francesc Gispert


PS: I am currently using Debian Wheezy and LyX 2.0.0. The result of
'#uname -r' (kernel) is 2.6.39-2-686-pae. All the lyx- or latex-related
packages have been installed through the Debian Wheezy official
repositories.