Lines Matching full:title

141 /^ *title *= *\"/				{ do_title(); next }
170 Title = ""
196 if (html_length(Title) <= (MAX_TITLE_CHARS + MIN_LEADERS)) # complete title fits on line
197 print_toc_line(parts[n], Title, html_begin_pages() Pages html_end_pages())
198 else # need to split long title over multiple lines
199 do_long_title(parts[n], Title, html_begin_pages() Pages html_end_pages())
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 : "")
308 Title = TeX_to_HTML(get_value($0))
502 function html_breakpoint(title,maxlength, break_after,k)
504 # Return the largest character position in title AFTER which we
505 # can break the title across lines, without exceeding maxlength
507 if (html_length(title) > maxlength) # then need to split title across lines
511 # until html_length(title) is at least maxlength,
513 # too frequently. The need to split the title makes the
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)
531 ; # find space at which to break title
533 k = length(title) # so must print entire string
538 else # title fits on one line
539 k = length(title)
653 print prefix(2) "<TITLE>"
655 print prefix(2) "</TITLE>"
731 # title line is MAX_TITLE_CHARS + MIN_LEADERS.
732 # Leaders are omitted when the title length is
805 function print_toc_line(author,title,pages, extra,leaders,n,t)
807 # When we have a multiline title, the hypertext link goes only
811 if (pages == "") # then no leaders needed in title lines other than last one
812 t = sprintf("%31s %s%s%s", author, Title_prefix, title, Title_suffix)
813 else # last title line, with page number
815 n = html_length(title) # potentially expensive
820 else # title (almost) fills line, so no leaders
824 author, Title_prefix, title, Title_suffix, \