28 |
list motion .........117 |
list motion .........117 |
29 |
|
|
30 |
All other references and the table of contents work the same way. I |
All other references and the table of contents work the same way. I |
31 |
find this *very* helpful. |
find this *very* helpful. |
32 |
|
|
33 |
|
|
34 |
In brief: you run tex on a .texi file with |
In brief: you run tex on a .texi file with |
126 |
% cp elisp-toc-2vol.toc elisp1-toc.toc |
% cp elisp-toc-2vol.toc elisp1-toc.toc |
127 |
% cp elisp-toc-2vol.toc elisp2-toc.toc |
% cp elisp-toc-2vol.toc elisp2-toc.toc |
128 |
|
|
129 |
Use keyboard macro to put I: in first half of elisp1-toc.toc and |
Use keyboard macro to put I: in first half of elisp1-toc.toc and |
130 |
II: in first half of elisp2-toc.toc |
II: in first half of elisp2-toc.toc |
131 |
|
|
132 |
Copy the tocs to something you can remember more easily |
Copy the tocs to something you can remember more easily |
133 |
|
|
134 |
% cp elisp2-toc.toc elisp1-toc-ready.toc |
% cp elisp2-toc.toc elisp1-toc-ready.toc |
135 |
% cp elisp1-toc.toc elisp2-toc-ready.toc |
% cp elisp1-toc.toc elisp2-toc-ready.toc |
136 |
|
|
137 |
Then, edit vol1.texi to input elisp1-toc-ready.toc |
Then, edit vol1.texi to input elisp1-toc-ready.toc |
138 |
and vol2.texi to input elisp2-toc-ready.toc |
and vol2.texi to input elisp2-toc-ready.toc |
139 |
|
|
140 |
|
|
141 |
### Now format the two volumes: |
### Now format the two volumes: |
217 |
|
|
218 |
(defun volume-index-markup (arg) |
(defun volume-index-markup (arg) |
219 |
"Prepend `NUMBER:' to page number. Use Roman Numeral. |
"Prepend `NUMBER:' to page number. Use Roman Numeral. |
220 |
Apply only to unsorted index file, |
Apply only to unsorted index file, |
221 |
Then insert marked file into other volume's unsorted index file. |
Then insert marked file into other volume's unsorted index file. |
222 |
Then run texindex on that file and save." |
Then run texindex on that file and save." |
223 |
(interactive |
(interactive |
236 |
1. Run TeX, texindex and TeX on file1. |
1. Run TeX, texindex and TeX on file1. |
237 |
2. Run TeX, texindex and TeX on file2. |
2. Run TeX, texindex and TeX on file2. |
238 |
|
|
239 |
3. Copy both .aux files into specially named files |
3. Copy both .aux files into specially named files |
240 |
|
|
241 |
4. In the case of the elisp ref manual, |
4. In the case of the elisp ref manual, |
242 |
|
|
243 |
copy the *unsorted* function index files into specially named files |
copy the *unsorted* function index files into specially named files |
244 |
(no other index used in elisp ref manual) |
(no other index used in elisp ref manual) |
245 |
|
|
246 |
|
|
249 |
Run a function on the specially named .aux files to label each |
Run a function on the specially named .aux files to label each |
250 |
entry according to volume. Save these files. |
entry according to volume. Save these files. |
251 |
|
|
252 |
i.e., convert |
i.e., convert |
253 |
'xrdef {Special-pg}{7} to 'xrdef {Special-pg}{7, vol.'tie1} |
'xrdef {Special-pg}{7} to 'xrdef {Special-pg}{7, vol.'tie1} |
254 |
|
|
255 |
5a.Insert each specially named .aux file into the regular .aux file of |
5a.Insert each specially named .aux file into the regular .aux file of |