Jump to navigation Jump to search
581 bytes added ,  12:30, 24 February 2006
no edit summary
* <cmd>startregister</cmd><tt>[mymouse]{mouse}</tt> ... <cmd>stopregister</cmd><tt>[mymouse]</tt>: to mark several pages for the same entry; becomes e.g. "mouse 12--16". Note that if you have two or more of these ranges, you need them to have different <tt>[key]</tt> values to stop the system treating them as part of a great big range. So, use <cmd>startregister</cmd><tt>[mymouse1]{mouse}</tt> ... <cmd>stopregister</cmd><tt>[mymouse1]</tt> and then <cmd>startregister</cmd><tt>[mymouse2]{mouse}</tt> ... <cmd>stopregister</cmd><tt>[mymouse2]</tt> to get two independent ranges in the list. <cmd>startregister</cmd> takes four arguments, of which two are mandatory: <cmd>startregister</cmd><tt>[NAME_OF_REGISTER]{ENTRY_NAME}</tt>. The other arguments are <tt>[KEY_FOR_RANGE}</tt> and <tt>[KEY_FOR_SORTING]</tt>. To give an example: <cmd>startregister</cmd><tt>[index][levi][Levi-Strauss]{Lévi|-|Strauss}</tt>. This will start a range with the key <tt>levi</tt> which will put the entry "Lévi-Strauss" in the register "index" (the "normal" register) and sort it under "Levi-Strauss." To mark the end of the range, you write <cmd>stopregister</cmd><tt>[index][levi]</tt>.
* <cmd>writetoregister</cmd> (sometimes needed to avoid macro expansion issues)
* A register per chapter: <cmd>placeregister</cmd><tt>[index][criterium=chapter]</tt>
Anonymous user

Navigation menu