Re: woe with indexing

2004-08-16 Thread Helge Hafting
William F. Adams wrote:
On Thursday, August 12, 2004, at 09:36  AM, stephan beal wrote:
But if i delete it or rename it to, e.g., foo i get even MORE errors.

As Herbert noted, special characters which have special meanings 
aren't changed by LyX when entered into an index field --- this 
probably qualifies as a bug, or at least should be mentioned in the 
manual.
Not at all a bug, but mentioning the index rules in the manual is a very 
good idea.

The reason we need ability to put all sorts of symbols into an index 
entry (without having
lyx mangle it automatically so you get exactly what you typed into the 
index ) is that
we sometimes need or want to put latex commands in the index entries. 
There are many
reasons for that - special formatting of some words in the index is one.

Of course the better approach here would be a lyx that auto-mangles 
index text
so that underscores, other special symbols and formatting like 
emphasizing works
for those who just types the stuff in.  This is ok _if_ the enhanced 
index entry also can
contain ERT boxes so the advanced users can keep their latex commands.

Helge Hafting


Re: woe with indexing

2004-08-16 Thread Helge Hafting
William F. Adams wrote:
On Thursday, August 12, 2004, at 09:36  AM, stephan beal wrote:
But if i delete it or rename it to, e.g., foo i get even MORE errors.

As Herbert noted, special characters which have special meanings 
aren't changed by LyX when entered into an index field --- this 
probably qualifies as a bug, or at least should be mentioned in the 
manual.
Not at all a bug, but mentioning the index rules in the manual is a very 
good idea.

The reason we need ability to put all sorts of symbols into an index 
entry (without having
lyx mangle it automatically so you get exactly what you typed into the 
index ) is that
we sometimes need or want to put latex commands in the index entries. 
There are many
reasons for that - special formatting of some words in the index is one.

Of course the better approach here would be a lyx that auto-mangles 
index text
so that underscores, other special symbols and formatting like 
emphasizing works
for those who just types the stuff in.  This is ok _if_ the enhanced 
index entry also can
contain ERT boxes so the advanced users can keep their latex commands.

Helge Hafting


Re: woe with indexing

2004-08-16 Thread Helge Hafting
William F. Adams wrote:
On Thursday, August 12, 2004, at 09:36  AM, stephan beal wrote:
But if i delete it or rename it to, e.g., "foo" i get even MORE errors.

As Herbert noted, special characters which have special meanings 
aren't changed by LyX when entered into an index field --- this 
probably qualifies as a bug, or at least should be mentioned in the 
manual.
Not at all a bug, but mentioning the index rules in the manual is a very 
good idea.

The reason we need ability to put all sorts of symbols into an index 
entry (without having
lyx mangle it automatically so you get exactly what you typed into the 
index ) is that
we sometimes need or want to put latex commands in the index entries. 
There are many
reasons for that - special formatting of some words in the index is one.

Of course the better approach here would be a lyx that auto-mangles 
index text
so that underscores, other special symbols and formatting like 
emphasizing works
for those who just types the stuff in.  This is ok _if_ the enhanced 
index entry also can
contain ERT boxes so the advanced users can keep their latex commands.

Helge Hafting


Re: woe with indexing

2004-08-13 Thread stephan beal
On Friday 13 August 2004 03:38, Fernando Perez wrote:
 stephan beal wrote:
  Now it's time for me to go hack lyxport so it can run makeindex...
  (lyxport-exported docs are missing the index).
...
 If you get this to work, send the mods/patch my way, and I'll put up
 a new version on the usual site.  At least that way others will
 benefit from your enhancements (even if I don't really work on
 lyxport anymore).

Hey, what a surprise. :)
(i've been using lyxport for years!)

For the time being i've changed my makefiles to use 'lyx -e' instead of 
lyxport, but after seeing your mail i will definately see if i can get 
this into lyxport. i'm 100% ignorant of how tex/makeindex/etc work, so 
it will be a big experiment.

If you have a newer version of lyxport than is on the web site, please 
send it my way (if not, i've already got it).

-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-13 Thread stephan beal
On Friday 13 August 2004 03:38, Fernando Perez wrote:
 stephan beal wrote:
  Now it's time for me to go hack lyxport so it can run makeindex...
  (lyxport-exported docs are missing the index).
...
 If you get this to work, send the mods/patch my way, and I'll put up
 a new version on the usual site.  At least that way others will
 benefit from your enhancements (even if I don't really work on
 lyxport anymore).

Hey, what a surprise. :)
(i've been using lyxport for years!)

For the time being i've changed my makefiles to use 'lyx -e' instead of 
lyxport, but after seeing your mail i will definately see if i can get 
this into lyxport. i'm 100% ignorant of how tex/makeindex/etc work, so 
it will be a big experiment.

If you have a newer version of lyxport than is on the web site, please 
send it my way (if not, i've already got it).

-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-13 Thread stephan beal
On Friday 13 August 2004 03:38, Fernando Perez wrote:
> stephan beal wrote:
> > Now it's time for me to go hack lyxport so it can run makeindex...
> > (lyxport-exported docs are missing the index).
...
> If you get this to work, send the mods/patch my way, and I'll put up
> a new version on the usual site.  At least that way others will
> benefit from your enhancements (even if I don't really work on
> lyxport anymore).

Hey, what a surprise. :)
(i've been using lyxport for years!)

For the time being i've changed my makefiles to use 'lyx -e' instead of 
lyxport, but after seeing your mail i will definately see if i can get 
this into lyxport. i'm 100% ignorant of how tex/makeindex/etc work, so 
it will be a big experiment.

If you have a newer version of lyxport than is on the web site, please 
send it my way (if not, i've already got it).

-- 
- [EMAIL PROTECTED]   http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 you have a lot of errors in your code.

It's not MY code, it's LyX's code ;). i just do the typing.
i find it extremely disappointing that lyx allows me to enter invalid 
entries using the Index entry dialog!!!

 - the underscore is _math_ character, so you cannot use it as
text character. You have a lot of labels like blah_blah. A safe
way is to use here blah-blah

i didn't know that.

 - same for a lot of the index entries. They always should use
the \_ characters for the text underscore. And by the way,
where is the sense to put section titles into the index? For
this you have the table of contents.

i don't see anything fundamentally wrong with putting section number 
text into the index. It's just text, after all, and the TOC is not 
alphabetized like the index is.

 - in some items you also forget the backslash at the underscores.
 -  \item class_name\\   this is senseless, use  in textmode
 - \(\)  are the characters for the inline mathmode, what
 you mean is only ()

i tried \\ as a last resort, trying to get rid of the error messages. 
If i now change the entry to, e.g., foo, i get a whole slew of 
complete unrelated errors going all the way back to the title line.

 you can try to use the underscore package in the preamble, then
 have to fix only the errors for the last three items.

i will go through and get rid of all the underscores in the index, but 
i've got to say, i'm NOT at all happy about that. For example, i'm 
indexing C++ class names, like foo_bar.

 I corrected the exported tex file, because the error handling
 with the error boxes inside LyX is a mess. Give me your
 private email and I'll send you the tex file.

i appreciate that, but the tex itself won't do me much good. i don't 
know tex, which is why i use LyX.

Thanks VERY much for your feedback!

-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 09:36  AM, stephan beal wrote:
But if i delete it or rename it to, e.g., foo i get even MORE errors.
As Herbert noted, special characters which have special meanings aren't 
changed by LyX when entered into an index field --- this probably 
qualifies as a bug, or at least should be mentioned in the manual.

If you take HV up on getting the tex file, you can then re-import it 
into LyX and have a good file which you can examine to learn how to 
enter such special characters into index fields.

William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 stephan beal wrote:
  But deleting the broken IDX entry just causes MORE errors. i don't
  get it 

Just FYI, after nuking all IDX entries i've gotten it to work, and am 
now happily re-indexing my document.

Now it's time for me to go hack lyxport so it can run makeindex... 
(lyxport-exported docs are missing the index).

On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 - the underscore is _math_ character, so you cannot use it as
    text character. You have a lot of labels like blah_blah. A safe
    way is to use here blah-blah
 - same for a lot of the index entries.
 - in some items you also forget the backslash at the underscores.
 -  \item class_name\\   this is senseless, use  in textmode
 - \(\)  are the characters for the inline mathmode, what
     you mean is only ()

@Lyx maintainers:

qHow about adding this to the Indexing docs? The current text says 
essentially, just do this... click click, done, without any warnings 
about what is legal and what is not.


-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread stephan beal
On Thursday 12 August 2004 16:33, William F. Adams wrote:
 If you take HV up on getting the tex file, you can then re-import it
 into LyX and have a good file which you can examine to learn how to
 enter such special characters into index fields.

That's a very good idea. Thanks :)

Regarding IDX entries on the same lines as Section labels:

 Right, but by putting it into the section head, it'll then _also_
 appear in the ToC, and that will appear in the index as well, which
 you probably don't want, possibly also in the running head (this
 depends on the documentclass and settings for running heads)

i went through today and removed the IDXs from the sections, moving them 
down a line. This actually violates the suggestions in the docs, which 
say to put it on the same line as word, but i'm not terribly concerned 
about a 1-line difference which *might* lead to an off-by-one page 
number.


-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 07:55  PM, stephan beal wrote:
Right, but by putting it into the section head, it'll then _also_
appear in the ToC, and that will appear in the index as well, which
you probably don't want, possibly also in the running head (this
depends on the documentclass and settings for running heads)
i went through today and removed the IDXs from the sections, moving 
them
down a line. This actually violates the suggestions in the docs, which
say to put it on the same line as word, but i'm not terribly concerned
about a 1-line difference which *might* lead to an off-by-one page
number.
Won't happen. Besides, word is not a section head.
LaTeX will _not_ (barring user manipulation / mangling) break a page 
between a section head and the following text.

It's smart that way ;)
William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: woe with indexing

2004-08-12 Thread Fernando Perez
Hi Stephan,


stephan beal wrote:

 Now it's time for me to go hack lyxport so it can run makeindex...
 (lyxport-exported docs are missing the index).

I saw this accidentally, I almost never read the lyx lists anymore.  If you get
this to work, send the mods/patch my way, and I'll put up a new version on the
usual site.  At least that way others will benefit from your enhancements
(even if I don't really work on lyxport anymore).

Best,

f



Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 you have a lot of errors in your code.

It's not MY code, it's LyX's code ;). i just do the typing.
i find it extremely disappointing that lyx allows me to enter invalid 
entries using the Index entry dialog!!!

 - the underscore is _math_ character, so you cannot use it as
text character. You have a lot of labels like blah_blah. A safe
way is to use here blah-blah

i didn't know that.

 - same for a lot of the index entries. They always should use
the \_ characters for the text underscore. And by the way,
where is the sense to put section titles into the index? For
this you have the table of contents.

i don't see anything fundamentally wrong with putting section number 
text into the index. It's just text, after all, and the TOC is not 
alphabetized like the index is.

 - in some items you also forget the backslash at the underscores.
 -  \item class_name\\   this is senseless, use  in textmode
 - \(\)  are the characters for the inline mathmode, what
 you mean is only ()

i tried \\ as a last resort, trying to get rid of the error messages. 
If i now change the entry to, e.g., foo, i get a whole slew of 
complete unrelated errors going all the way back to the title line.

 you can try to use the underscore package in the preamble, then
 have to fix only the errors for the last three items.

i will go through and get rid of all the underscores in the index, but 
i've got to say, i'm NOT at all happy about that. For example, i'm 
indexing C++ class names, like foo_bar.

 I corrected the exported tex file, because the error handling
 with the error boxes inside LyX is a mess. Give me your
 private email and I'll send you the tex file.

i appreciate that, but the tex itself won't do me much good. i don't 
know tex, which is why i use LyX.

Thanks VERY much for your feedback!

-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 09:36  AM, stephan beal wrote:
But if i delete it or rename it to, e.g., foo i get even MORE errors.
As Herbert noted, special characters which have special meanings aren't 
changed by LyX when entered into an index field --- this probably 
qualifies as a bug, or at least should be mentioned in the manual.

If you take HV up on getting the tex file, you can then re-import it 
into LyX and have a good file which you can examine to learn how to 
enter such special characters into index fields.

William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 stephan beal wrote:
  But deleting the broken IDX entry just causes MORE errors. i don't
  get it 

Just FYI, after nuking all IDX entries i've gotten it to work, and am 
now happily re-indexing my document.

Now it's time for me to go hack lyxport so it can run makeindex... 
(lyxport-exported docs are missing the index).

On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 - the underscore is _math_ character, so you cannot use it as
    text character. You have a lot of labels like blah_blah. A safe
    way is to use here blah-blah
 - same for a lot of the index entries.
 - in some items you also forget the backslash at the underscores.
 -  \item class_name\\   this is senseless, use  in textmode
 - \(\)  are the characters for the inline mathmode, what
     you mean is only ()

@Lyx maintainers:

qHow about adding this to the Indexing docs? The current text says 
essentially, just do this... click click, done, without any warnings 
about what is legal and what is not.


-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread stephan beal
On Thursday 12 August 2004 16:33, William F. Adams wrote:
 If you take HV up on getting the tex file, you can then re-import it
 into LyX and have a good file which you can examine to learn how to
 enter such special characters into index fields.

That's a very good idea. Thanks :)

Regarding IDX entries on the same lines as Section labels:

 Right, but by putting it into the section head, it'll then _also_
 appear in the ToC, and that will appear in the index as well, which
 you probably don't want, possibly also in the running head (this
 depends on the documentclass and settings for running heads)

i went through today and removed the IDXs from the sections, moving them 
down a line. This actually violates the suggestions in the docs, which 
say to put it on the same line as word, but i'm not terribly concerned 
about a 1-line difference which *might* lead to an off-by-one page 
number.


-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 07:55  PM, stephan beal wrote:
Right, but by putting it into the section head, it'll then _also_
appear in the ToC, and that will appear in the index as well, which
you probably don't want, possibly also in the running head (this
depends on the documentclass and settings for running heads)
i went through today and removed the IDXs from the sections, moving 
them
down a line. This actually violates the suggestions in the docs, which
say to put it on the same line as word, but i'm not terribly concerned
about a 1-line difference which *might* lead to an off-by-one page
number.
Won't happen. Besides, word is not a section head.
LaTeX will _not_ (barring user manipulation / mangling) break a page 
between a section head and the following text.

It's smart that way ;)
William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: woe with indexing

2004-08-12 Thread Fernando Perez
Hi Stephan,


stephan beal wrote:

 Now it's time for me to go hack lyxport so it can run makeindex...
 (lyxport-exported docs are missing the index).

I saw this accidentally, I almost never read the lyx lists anymore.  If you get
this to work, send the mods/patch my way, and I'll put up a new version on the
usual site.  At least that way others will benefit from your enhancements
(even if I don't really work on lyxport anymore).

Best,

f



Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
> you have a lot of errors in your code.

It's not MY code, it's LyX's code ;). i just do the typing.
i find it extremely disappointing that lyx allows me to enter invalid 
entries using the Index entry dialog!!!

> - the underscore is _math_ character, so you cannot use it as
>text character. You have a lot of labels like blah_blah. A safe
>way is to use here blah-blah

i didn't know that.

> - same for a lot of the index entries. They always should use
>the \_ characters for the text underscore. And by the way,
>where is the sense to put section titles into the index? For
>this you have the table of contents.

i don't see anything fundamentally wrong with putting section number 
text into the index. It's just text, after all, and the TOC is not 
alphabetized like the index is.

> - in some items you also forget the backslash at the underscores.
> -  \item class_name\<\>   this is senseless, use <> in textmode
> - \(\)  are the characters for the inline mathmode, what
> you mean is only ()

i tried \<\> as a last resort, trying to get rid of the error messages. 
If i now change the entry to, e.g., "foo", i get a whole slew of 
complete unrelated errors going all the way back to the title line.

> you can try to use the underscore package in the preamble, then
> have to fix only the errors for the last three items.

i will go through and get rid of all the underscores in the index, but 
i've got to say, i'm NOT at all happy about that. For example, i'm 
indexing C++ class names, like foo_bar.

> I corrected the exported tex file, because the error handling
> with the error boxes inside LyX is a mess. Give me your
> private email and I'll send you the tex file.

i appreciate that, but the tex itself won't do me much good. i don't 
know tex, which is why i use LyX.

Thanks VERY much for your feedback!

-- 
- [EMAIL PROTECTED]   http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 09:36  AM, stephan beal wrote:
But if i delete it or rename it to, e.g., "foo" i get even MORE errors.
As Herbert noted, special characters which have special meanings aren't 
changed by LyX when entered into an index field --- this probably 
qualifies as a bug, or at least should be mentioned in the manual.

If you take HV up on getting the tex file, you can then re-import it 
into LyX and have a good file which you can examine to learn how to 
enter such special characters into index fields.

William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
> stephan beal wrote:
> > But deleting the broken IDX entry just causes MORE errors. i don't
> > get it 

Just FYI, after nuking all IDX entries i've gotten it to work, and am 
now happily re-indexing my document.

Now it's time for me to go hack lyxport so it can run makeindex... 
(lyxport-exported docs are missing the index).

On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
> - the underscore is _math_ character, so you cannot use it as
>    text character. You have a lot of labels like blah_blah. A safe
>    way is to use here blah-blah
> - same for a lot of the index entries.
> - in some items you also forget the backslash at the underscores.
> -  \item class_name\<\>   this is senseless, use <> in textmode
> - \(\)  are the characters for the inline mathmode, what
>     you mean is only ()

@Lyx maintainers:

qHow about adding this to the Indexing docs? The current text says 
essentially, "just do this... click click, done", without any warnings 
about what is legal and what is not.


-- 
- [EMAIL PROTECTED]   http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread stephan beal
On Thursday 12 August 2004 16:33, William F. Adams wrote:
> If you take HV up on getting the tex file, you can then re-import it
> into LyX and have a good file which you can examine to learn how to
> enter such special characters into index fields.

That's a very good idea. Thanks :)

Regarding IDX entries on the same lines as Section labels:

> Right, but by putting it into the section head, it'll then _also_
> appear in the ToC, and that will appear in the index as well, which
> you probably don't want, possibly also in the running head (this
> depends on the documentclass and settings for running heads)

i went through today and removed the IDXs from the sections, moving them 
down a line. This actually violates the suggestions in the docs, which 
say to put it on the same line as word, but i'm not terribly concerned 
about a 1-line difference which *might* lead to an off-by-one page 
number.


-- 
- [EMAIL PROTECTED]   http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 07:55  PM, stephan beal wrote:
Right, but by putting it into the section head, it'll then _also_
appear in the ToC, and that will appear in the index as well, which
you probably don't want, possibly also in the running head (this
depends on the documentclass and settings for running heads)
i went through today and removed the IDXs from the sections, moving 
them
down a line. This actually violates the suggestions in the docs, which
say to put it on the same line as word, but i'm not terribly concerned
about a 1-line difference which *might* lead to an off-by-one page
number.
Won't happen. Besides, word is not a section head.
LaTeX will _not_ (barring user manipulation / mangling) break a page 
between a section head and the following text.

It's smart that way ;)
William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: woe with indexing

2004-08-12 Thread Fernando Perez
Hi Stephan,


stephan beal wrote:

> Now it's time for me to go hack lyxport so it can run makeindex...
> (lyxport-exported docs are missing the index).

I saw this accidentally, I almost never read the lyx lists anymore.  If you get
this to work, send the mods/patch my way, and I'll put up a new version on the
usual site.  At least that way others will benefit from your enhancements
(even if I don't really work on lyxport anymore).

Best,

f



woe with indexing

2004-08-11 Thread stephan beal
Hi, Lyx users!

i'm pulling my hair out... while exporting my Lyx doc i have ONE error, 
something to do with an index entry. When i remove the index entry then 
i suddenly get tons of COMPLETELY unrelated errors, going all the way 
back to the very top of the doc. i'm damned if i do, damned if i don't. 
My only option for exporting right now is to delete the Index.

The latex log dialog says:

Undefined control sequence.
 ...{class_name\\}\index{CLASS_NAME\(T\)}}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


But deleting the broken IDX entry just causes MORE errors. i don't get 
it If i change the line containing the error from a Subsection to 
Standard i get 28 errors. If i delete the line altogether i get 25 
errors. The line currently has 2 index entries. If delete the 1st one, 
i get 1 error. If i then change the TEXT of the 2nd one (say, to foo) 
i get 25 errors. If i delete only the 2nd IDX entry i get 27 errors.
It makes ABSOLUTELY NO SENSE!!! A! i've done all of these 
edits with both Lyx and with emacs, and get the same results.

Can someone PLEASE take a look at this doc and tell me what is wrong 
with section 13.2 i've tried everything i can think of.

http://s11n.net/tmp/s11n.lyx
(approx 300k)


Please help!

PS: i'm using Lyx 1.3.4 on a Suse Linux 9.1 box.

-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-11 Thread Herbert Voss
stephan beal wrote:
But deleting the broken IDX entry just causes MORE errors. i don't get 
it If i change the line containing the error from a Subsection to 
Standard i get 28 errors. If i delete the line altogether i get 25 
errors. The line currently has 2 index entries. If delete the 1st one, 
i get 1 error. If i then change the TEXT of the 2nd one (say, to foo) 
i get 25 errors. If i delete only the 2nd IDX entry i get 27 errors.
It makes ABSOLUTELY NO SENSE!!! A! i've done all of these 
edits with both Lyx and with emacs, and get the same results.

Can someone PLEASE take a look at this doc and tell me what is wrong 
with section 13.2 i've tried everything i can think of.
you have a lot of errors in your code.
- the underscore is _math_ character, so you cannot use it as
  text character. You have a lot of labels like blah_blah. A safe
  way is to use here blah-blah
- same for a lot of the index entries. They always should use
  the \_ characters for the text underscore. And by the way,
  where is the sense to put section titles into the index? For
  this you have the table of contents.
- in some items you also forget the backslash at the underscores.
-  \item class_name\\   this is senseless, use  in textmode
- \(\)  are the characters for the inline mathmode, what
   you mean is only ()
you can try to use the underscore package in the preamble, then
have to fix only the errors for the last three items.
I corrected the exported tex file, because the error handling
with the error boxes inside LyX is a mess. Give me your
private email and I'll send you the tex file.
Herbert



woe with indexing

2004-08-11 Thread stephan beal
Hi, Lyx users!

i'm pulling my hair out... while exporting my Lyx doc i have ONE error, 
something to do with an index entry. When i remove the index entry then 
i suddenly get tons of COMPLETELY unrelated errors, going all the way 
back to the very top of the doc. i'm damned if i do, damned if i don't. 
My only option for exporting right now is to delete the Index.

The latex log dialog says:

Undefined control sequence.
 ...{class_name\\}\index{CLASS_NAME\(T\)}}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


But deleting the broken IDX entry just causes MORE errors. i don't get 
it If i change the line containing the error from a Subsection to 
Standard i get 28 errors. If i delete the line altogether i get 25 
errors. The line currently has 2 index entries. If delete the 1st one, 
i get 1 error. If i then change the TEXT of the 2nd one (say, to foo) 
i get 25 errors. If i delete only the 2nd IDX entry i get 27 errors.
It makes ABSOLUTELY NO SENSE!!! A! i've done all of these 
edits with both Lyx and with emacs, and get the same results.

Can someone PLEASE take a look at this doc and tell me what is wrong 
with section 13.2 i've tried everything i can think of.

http://s11n.net/tmp/s11n.lyx
(approx 300k)


Please help!

PS: i'm using Lyx 1.3.4 on a Suse Linux 9.1 box.

-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-11 Thread Herbert Voss
stephan beal wrote:
But deleting the broken IDX entry just causes MORE errors. i don't get 
it If i change the line containing the error from a Subsection to 
Standard i get 28 errors. If i delete the line altogether i get 25 
errors. The line currently has 2 index entries. If delete the 1st one, 
i get 1 error. If i then change the TEXT of the 2nd one (say, to foo) 
i get 25 errors. If i delete only the 2nd IDX entry i get 27 errors.
It makes ABSOLUTELY NO SENSE!!! A! i've done all of these 
edits with both Lyx and with emacs, and get the same results.

Can someone PLEASE take a look at this doc and tell me what is wrong 
with section 13.2 i've tried everything i can think of.
you have a lot of errors in your code.
- the underscore is _math_ character, so you cannot use it as
  text character. You have a lot of labels like blah_blah. A safe
  way is to use here blah-blah
- same for a lot of the index entries. They always should use
  the \_ characters for the text underscore. And by the way,
  where is the sense to put section titles into the index? For
  this you have the table of contents.
- in some items you also forget the backslash at the underscores.
-  \item class_name\\   this is senseless, use  in textmode
- \(\)  are the characters for the inline mathmode, what
   you mean is only ()
you can try to use the underscore package in the preamble, then
have to fix only the errors for the last three items.
I corrected the exported tex file, because the error handling
with the error boxes inside LyX is a mess. Give me your
private email and I'll send you the tex file.
Herbert



woe with indexing

2004-08-11 Thread stephan beal
Hi, Lyx users!

i'm pulling my hair out... while exporting my Lyx doc i have ONE error, 
something to do with an index entry. When i remove the index entry then 
i suddenly get tons of COMPLETELY unrelated errors, going all the way 
back to the very top of the doc. i'm damned if i do, damned if i don't. 
My only option for exporting right now is to delete the Index.

The latex log dialog says:

Undefined control sequence.
 ...{class_name\<\>}\index{CLASS_NAME\(T\)}}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


But deleting the broken IDX entry just causes MORE errors. i don't get 
it If i change the line containing the error from a Subsection to 
Standard i get 28 errors. If i delete the line altogether i get 25 
errors. The line currently has 2 index entries. If delete the 1st one, 
i get 1 error. If i then change the TEXT of the 2nd one (say, to "foo") 
i get 25 errors. If i delete only the 2nd IDX entry i get 27 errors.
It makes ABSOLUTELY NO SENSE!!! A! i've done all of these 
edits with both Lyx and with emacs, and get the same results.

Can someone PLEASE take a look at this doc and tell me what is wrong 
with section 13.2 i've tried everything i can think of.

http://s11n.net/tmp/s11n.lyx
(approx 300k)


Please help!

PS: i'm using Lyx 1.3.4 on a Suse Linux 9.1 box.

-- 
- [EMAIL PROTECTED]   http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts


Re: woe with indexing

2004-08-11 Thread Herbert Voss
stephan beal wrote:
But deleting the broken IDX entry just causes MORE errors. i don't get 
it If i change the line containing the error from a Subsection to 
Standard i get 28 errors. If i delete the line altogether i get 25 
errors. The line currently has 2 index entries. If delete the 1st one, 
i get 1 error. If i then change the TEXT of the 2nd one (say, to "foo") 
i get 25 errors. If i delete only the 2nd IDX entry i get 27 errors.
It makes ABSOLUTELY NO SENSE!!! A! i've done all of these 
edits with both Lyx and with emacs, and get the same results.

Can someone PLEASE take a look at this doc and tell me what is wrong 
with section 13.2 i've tried everything i can think of.
you have a lot of errors in your code.
- the underscore is _math_ character, so you cannot use it as
  text character. You have a lot of labels like blah_blah. A safe
  way is to use here blah-blah
- same for a lot of the index entries. They always should use
  the \_ characters for the text underscore. And by the way,
  where is the sense to put section titles into the index? For
  this you have the table of contents.
- in some items you also forget the backslash at the underscores.
-  \item class_name\<\>   this is senseless, use <> in textmode
- \(\)  are the characters for the inline mathmode, what
   you mean is only ()
you can try to use the underscore package in the preamble, then
have to fix only the errors for the last three items.
I corrected the exported tex file, because the error handling
with the error boxes inside LyX is a mess. Give me your
private email and I'll send you the tex file.
Herbert