]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/graph/doc/jwebfrob.pl
1 # Copyright (c) 2002 Trustees of Indiana University
3 # Distributed under the Boost Software License, Version 1.0.
4 # (See accompanying file LICENSE_1_0.txt or copy at
5 # http://www.boost.org/LICENSE_1_0.txt)
11 $alphabet = "\@abcdefghijklmnopqrstuvwxyz";
12 $Alphabet = "\@ABCDEFGHIJKLMNOPQRSTUVWXYZ";
19 # These changes are so that it works when we aren't using hyperref
21 # if (/(\\newlabel.*\{\{)([0-9]+)(\}\{)([0-9ivx]+)(\}.*JWebCtr\.)([0-9]+)(.*)/) {
22 if (/\\newlabel\{sec:.*/) {
23 # make sure not to munge normal (non jweb part) section labels
25 } elsif (/\\newlabel\{class:.*/) {
26 # make sure not to munge normal (non jweb part) class labels
28 } elsif (/\\newlabel\{tab:.*/) {
29 # make sure not to munge normal (non jweb part) table labels
31 } elsif (/\\newlabel\{concept:.*/) {
32 # make sure not to munge normal (non jweb part) concept labels
34 } elsif (/\\newlabel\{fig:.*/) {
35 # make sure not to munge normal (non jweb part) class labels
37 } elsif (/(\\newlabel.*\{\{)([0-9\.]+)(\}\{)([0-9ivx]+)(\}.*)(.*)/) {
40 if ($thispage ne $lastpage) {
46 # $saved_full = "$1".substr($alphabet,$counter,1)."$3$4$5$6$7\n";
47 # $saved_empty = "$1"."$3$4$5$6$7\n";
48 $saved_full = "$1".substr($alphabet,$counter,1)."$3$4$5\n";
49 $saved_empty = "$1"."$3$4$5\n";
53 # print "$1".substr($alphabet,$counter,1)."$3$4$5$counter$7\n";
54 print "$1".substr($alphabet,$counter,1)."$3$4$5\n";
59 $lastpage = $thispage;
73 # - if it is first, save off someplace
74 # - if there is a first saved, dump the empty version
76 # - if there is a first saved, dump the non empty version