projects
/
pve-docs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
835dd63
)
scan for bibliography anchors
author
Dietmar Maurer
<dietmar@proxmox.com>
Sat, 8 Oct 2016 10:49:20 +0000
(12:49 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Sat, 8 Oct 2016 11:40:08 +0000
(13:40 +0200)
scan-adoc-refs
patch
|
blob
|
blame
|
history
diff --git
a/scan-adoc-refs
b/scan-adoc-refs
index 1ddc9350d4e98815620fc25bb684704316368111..246cd35f26c1548ff82f90dae6cc5de3653acb9d 100755
(executable)
--- 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]);
+ }
}
}