From b3c6bdda38f7e370e1f80f02a61f1d3f08c1b57d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 29 Dec 2007 00:24:15 -0600 Subject: doc: rename manlink macro to linkman Between AsciiDoc 8.2.2 and 8.2.3, the following change was made to the stock Asciidoc configuration: @@ -149,7 +153,10 @@ # Inline macros. # Backslash prefix required for escape processing. # (?s) re flag for line spanning. -(?su)[\\]?(?P\w(\w|-)*?):(?P\S*?)(\[(?P.*?)\])= + +# Explicit so they can be nested. +(?su)[\\]?(?P(http|https|ftp|file|mailto|callto|image|link)):(?P\S*?)(\[(?P.*?)\])= + # Anchor: [[[id]]]. Bibliographic anchor. (?su)[\\]?\[\[\[(?P[\w][\w-]*?)\]\]\]=anchor3 # Anchor: [[id,xreflabel]] This default regex now matches explicit values, and unfortunately in this case manlink was being matched by just 'link', causing the wrong inline macro template to be applied. By renaming the macro, we can avoid being matched by the wrong regex. Signed-off-by: Dan McGee --- doc/repo-add.8.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/repo-add.8.txt') diff --git a/doc/repo-add.8.txt b/doc/repo-add.8.txt index 27e0e93f..5664949f 100644 --- a/doc/repo-add.8.txt +++ b/doc/repo-add.8.txt @@ -24,7 +24,7 @@ repo-remove ... Description ----------- repo-add and repo-remove are two scripts to help build a package database for -packages built with manlink:makepkg[8] and installed with manlink:pacman[8]. +packages built with linkman:makepkg[8] and installed with linkman:pacman[8]. repo-add will update a package database by reading a built package file. Multiple packages to add can be specified on the command line. @@ -46,6 +46,6 @@ Options See Also -------- -manlink:makepkg[8], manlink:pacman[8] +linkman:makepkg[8], linkman:pacman[8] include::footer.txt[] -- cgit v1.2.3