]> git.proxmox.com Git - pve-docs.git/commitdiff
scan for bibliography anchors
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 8 Oct 2016 10:49:20 +0000 (12:49 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 8 Oct 2016 11:40:08 +0000 (13:40 +0200)
scan-adoc-refs

index 1ddc9350d4e98815620fc25bb684704316368111..246cd35f26c1548ff82f90dae6cc5de3653acb9d 100755 (executable)
@@ -144,6 +144,13 @@ sub scan_adoc_file {
            die "implement me" if $blockid =~m/,/;
            register_blockid($filename, $blockid, $env_stack->[-1]);
        }
+       # fixme: "anchor:"
+       # bibliography anchors
+       if ($line =~ m/\[\[\[([^\]]*)\]\]\]/) {
+           my $blockid = $1;
+           die "implement me" if $blockid =~m/,/;
+           register_blockid($filename, $blockid, $env_stack->[-1]);
+       }
     }
 }