File: splitidx.cwl

package info (click to toggle)
texstudio 4.9.1%2Bds-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 110,128 kB
  • sloc: cpp: 111,264; xml: 18,668; ansic: 8,977; python: 357; javascript: 177; sh: 147; makefile: 52
file content (50 lines) | stat: -rw-r--r-- 921 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# splitidx package
# Matthew Bertucci 11/26/2021 for v1.2c

#keyvals:\usepackage/splitidx#c
split
makeindex
useindex
allintoone
protected
idxcommands
#endkeyvals

\newindex{shortcut}
\newindex[index name]{shortcut}

\sindex{entry}
\sindex[shortcut]{entry}

#ifOption:useindex
\index[shortcut]{entry}
#endif

\AtWriteToIndex{shortcut}{code}
\AtNextWriteToIndex{shortcut}{code}

\newprotectedindex{shortcut}#*
\newprotectedindex[index name]{shortcut}#*

\printindex
\printindex[shortcut]
\printindex[shortcut][index name]
\printindex*

\printsubindex
\printsubindex*

\setindexpreamble{preamble%text}
\setindexpreamble[shortcut]{preamble%text}

\useindexpreamble
\useindexpreamble[commands]

\indexshortcut#*
\extendtheindex{before begin}{after begin}{before end}{after end}#*

\printindices#*
\see{text}{page number}#*
\seealso{text}{page number}#*
\seename#*
\alsoname#*