Lines Matching refs:title
217 function do_long_title(author,title,pages, last_title,n)
219 title = trim(title) # discard leading and trailing space
220 while (length(title) > 0)
222 n = html_breakpoint(title,MAX_TITLE_CHARS+MIN_LEADERS)
223 last_title = substr(title,1,n)
224 title = substr(title,n+1)
225 sub(/^ +/,"",title) # discard any leading space
226 print_toc_line(author, last_title, (length(title) == 0) ? pages : "")
502 function html_breakpoint(title,maxlength, break_after,k)
507 if (html_length(title) > maxlength) # then need to split title across lines
517 for (k = min(maxlength,length(title)); k < length(title); ++k)
519 if (substr(title,k+1,1) == " ")
521 if (html_length(substr(title,1,k)) <= maxlength)
529 for (k = min(maxlength,length(title)) - 1; \
530 (k > 0) && (substr(title,k+1,1) != " "); --k)
533 k = length(title) # so must print entire string
539 k = length(title)
805 function print_toc_line(author,title,pages, extra,leaders,n,t)
812 t = sprintf("%31s %s%s%s", author, Title_prefix, title, Title_suffix)
815 n = html_length(title) # potentially expensive
824 author, Title_prefix, title, Title_suffix, \