From: Dietmar Maurer Date: Sat, 8 Oct 2016 10:49:20 +0000 (+0200) Subject: scan for bibliography anchors X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=a0ba8b4c2025c1918756ce15d93d5fc845489f7b scan for bibliography anchors --- diff --git a/scan-adoc-refs b/scan-adoc-refs index 1ddc935..246cd35 100755 --- a/scan-adoc-refs +++ b/scan-adoc-refs @@ -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]); + } } }