Re: index in .tex file

2006-08-03 Thread Juergen Spitzmueller
Wolfgang Engelmann wrote:
> If I run the tex file under latex,
> the index is not shown.

You have to run
latex 
makeindex 
latex 

Have a look at the MakeIndex documentation for details (and options).

> So I guess I have to do it in a somewhat similar way as with the
> bibliography entrance. But I am not sure were to place the content of the
> .ind in the .tex file.
> does it go in the {} of
>
> \printindex{}
> ?

You can just \input{myfile.ind} at the place where the index should appear, if 
there is a good reason to not use the above.

Jürgen


index in .tex file

2006-08-03 Thread Wolfgang Engelmann
Could somebody tell me how to include the index file in the .tex file?

In the preamble of my lyx-generated tex file is
\usepackage{makeindex}
\makeindex

in the text is e.g.:
and daylength\index{daylength} correlate

at the end of the file is:
\printindex{}
\end{document}

Lyx produced in the tmp-directory a .ind file with 


\begin{theindex}

  \item annual clock, 2
  \item apex, 6
  \item autonomous pathway, 6, 9
.
.
.
  \item vernalization pathway, 9

\end{theindex}

If I run the tex file under latex,
the index is not shown.

So I guess I have to do it in a somewhat similar way as with the bibliography 
entrance. But I am not sure were to place the content of the .ind in the .tex 
file.
does it go in the {} of

\printindex{}
?

Help in this matter would be very much appreciated

Wolfgang


Re: index in tex file

2006-07-31 Thread Stephen Harris

Wolfgang Engelmann wrote:
What is the best way to get the index (.idx) into the tex file of my document? 
Unfortunately the publisher wants a .doc file ... 
(ConvTex -> swx -> OO -> word)


Wolfgang 



I've tested ConvTex and it works, but not consistently from
what I've seen for equations, so it depends upon the content
of your document. So I would try ConvTex and also export your
.lyx file as .tex and try "htlatex yourdoc.tex" = yourdoc.html
then use Word to open the yourdoc.html and convert it to .doc.
This last works the best for me but others have had trouble
getting htlatex to run. I think the .html conversion into
Word/doc is slightly better than OOo/sxw/doc but I'm not sure
about a humanities/text document. Both conversions are rather
easy so you could try both and compare them. Nick Thomas has
done a good job getting this to work on Windows and I think
ConvTex may perform still a bit better on Linux. Incidentally
oolatex is an htlatex variant with swithces and I've always
had trouble getting it to work in OOo.

Regards,
Stephen

--

An ambient confluence
of mapped coherence ~

Stephen


index in tex file

2006-07-31 Thread Wolfgang Engelmann
What is the best way to get the index (.idx) into the tex file of my document? 
Unfortunately the publisher wants a .doc file ... 
(ConvTex -> swx -> OO -> word)

Wolfgang