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 1ddc935..246cd35 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]);
+       }
     }
 }