mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Extended.lyx: remove section about Index preparation as this is since LyX 1.5.2 described in the UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21110 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e6bb7dc281
commit
35f459d70f
@ -1,4 +1,4 @@
|
||||
#LyX 1.5.2svn created this file. For more info see http://www.lyx.org/
|
||||
#LyX 1.5.2 created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 276
|
||||
\begin_document
|
||||
\begin_header
|
||||
@ -2559,152 +2559,8 @@ every
|
||||
Also, the btUnits cannot be nested.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Making an Index
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
A good index is one of the hardest things to make in a lengthy document,
|
||||
but LyX helps make things a bit simpler by interfacing to the
|
||||
\family typewriter
|
||||
makeindex
|
||||
\family default
|
||||
program which is found in most recent LaTeX distributions.
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\family roman
|
||||
\series medium
|
||||
\shape up
|
||||
\size normal
|
||||
\emph off
|
||||
\bar no
|
||||
\noun off
|
||||
\color none
|
||||
In the
|
||||
\family default
|
||||
\series default
|
||||
\shape default
|
||||
\emph default
|
||||
\bar default
|
||||
|
||||
\family sans
|
||||
\size default
|
||||
\noun default
|
||||
Outputs\SpecialChar \menuseparator
|
||||
LaT\SpecialChar \textcompwordmark{}
|
||||
eX
|
||||
\family roman
|
||||
\series medium
|
||||
\shape up
|
||||
\size normal
|
||||
\emph off
|
||||
\bar no
|
||||
\noun off
|
||||
section of the preferences dialog, however, you can customize the index
|
||||
command, if you prefer an alternative program like
|
||||
\family default
|
||||
\series default
|
||||
\shape default
|
||||
\emph default
|
||||
\bar default
|
||||
|
||||
\family typewriter
|
||||
\size default
|
||||
\noun default
|
||||
xindy
|
||||
\family roman
|
||||
\series medium
|
||||
\shape up
|
||||
\size normal
|
||||
\emph off
|
||||
\bar no
|
||||
\noun off
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Inserting an index and marking words to include in it works much the same
|
||||
way as preparing a bibliography as mentioned in the last section.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
First, go to the end of your file and select
|
||||
\family sans
|
||||
\bar under
|
||||
I
|
||||
\bar default
|
||||
nsert\SpecialChar \menuseparator
|
||||
List
|
||||
\family default
|
||||
\InsetSpace ~
|
||||
/\InsetSpace ~
|
||||
|
||||
\family sans
|
||||
T
|
||||
\bar under
|
||||
O
|
||||
\bar default
|
||||
C\SpecialChar \menuseparator
|
||||
|
||||
\bar under
|
||||
I
|
||||
\bar default
|
||||
ndex
|
||||
\family default
|
||||
\InsetSpace ~
|
||||
|
||||
\family sans
|
||||
List
|
||||
\family default
|
||||
.
|
||||
Then, for each word you would like to include in the index, go to the end
|
||||
of that word and click on
|
||||
\family sans
|
||||
\bar under
|
||||
I
|
||||
\bar default
|
||||
nsert\SpecialChar \menuseparator
|
||||
|
||||
\bar under
|
||||
I
|
||||
\bar default
|
||||
ndex
|
||||
\family default
|
||||
\InsetSpace ~
|
||||
|
||||
\family sans
|
||||
Entry
|
||||
\family default
|
||||
.
|
||||
This will insert a tag showing the word as it will appear in the index.
|
||||
That's all there is to it; LyX will automatically call
|
||||
\family typewriter
|
||||
makeindex
|
||||
\family default
|
||||
for you and create the index itself.
|
||||
The text in the dialog available from right-clicking on the index button
|
||||
accepts LaTeX, so you'll need to be careful to avoid using any special
|
||||
characters.
|
||||
On the positive side, you can use the advanced options - have a look at
|
||||
the documentation which comes with your LaTeX distribution to find out
|
||||
how to do things like
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
nested entries
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
, etc.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Be careful not to put spaces between the word in the text and the index
|
||||
marker; apparently the wrong page number can be produced if this happens.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
|
Loading…
Reference in New Issue
Block a user