Lines Matching defs:level

71 /* Number memory for every level @chapter, @section,
82 /* Organized by level commands. That is, "*" == chapter, "=" == section. */
100 get_sectioning_number (int level, int num)
111 for (i = 0; i < level; i++)
139 /* Set the level of @top to LEVEL. Return the old level of @top. */
141 set_top_section_level (int level)
148 result = section_alist[i].level;
149 section_alist[i].level = level;
219 return_val = section_alist[index].level + section_alist_offset;
252 /* Returns current top level division (ie. chapter, unnumbered) number.
294 handle_enum_increment (int level, int index)
302 if (enum_marker == UNNUMBERED_MAGIC && level == 0)
309 /* reset all counters which are one level deeper */
310 for (i = level; i < 3; i++)
313 numbers[level]++;
318 return xstrdup (get_sectioning_number (level, section_alist[index].num));
326 int level;
336 level = what_section (temp, &secname);
337 level -= 2;
338 if (level < 0)
339 level = 0;
365 xml_close_sections (level);
387 handle_enum_increment (level, search_sectioning (cmd)),
392 handle_enum_increment (level, search_sectioning (cmd)));
398 xml_open_section (level, secname);
408 if (level > 0)
410 "renderas=\"sect%d\"", level);
426 sectioning_html (level, secname);
428 insert_and_underscore (level, secname);
436 insert_and_underscore (int level, char *cmd)
443 char with_char = scoring_characters[level];
479 add_word_args ("%s ", handle_enum_increment (level, index));
498 level, current_node, NULL);
512 line as an HTML heading element of the appropriate `level' and
516 sectioning_html (int level, char *cmd)
529 /* level 0 (chapter) is <h2>, and we go down from there. */
530 add_html_block_elt_args ("<h%d class=\"%s\">", level + 2, cmd);
571 char *title_number = handle_enum_increment (level, index);
592 level, current_node, toc_anchor);
599 add_word_args ("</h%d>", level + 2);
680 /* Now set the logical hierarchical level of the Top node. */
705 a level of this section - 1. */
778 /* Reset top level number so we start from Appendix A */