Blob Blame Raw
--- ./etc/buildman.pe.orig	2015-06-09 14:27:22.000000000 -0600
+++ ./etc/buildman.pe	2015-11-05 20:15:37.683352425 -0700
@@ -575,7 +575,7 @@ sub make_tex {
 
       SCANMSK: while ( $line = <MSK> ) {
             # treat the {{...}} replacements
-            while ( $line =~ /{{([^}]*)}}/ ) {
+            while ( $line =~ /\{\{([^}]*)\}\}/ ) {
                 $key = $1;
                 if ( $key =~ /date/ ) {
                     $replace=`date +"%d %B %Y"`;
--- ./etc/convert.pl.orig	2015-06-09 14:27:22.000000000 -0600
+++ ./etc/convert.pl	2015-11-02 20:47:44.061500543 -0700
@@ -1203,7 +1203,7 @@ sub convert_text {
           # \><anything>;   # [<arg>] here is treated as an optional arg
           # \>`<func-with-args>'{<func>![gdfile]} # possibility from
           #                                       # buildman.pe \Declaration
-          if (/^\\>(.*;|`[^\']+\'{[^}!]*!\[[^\]]*\]})/) {
+          if (/^\\>(.*;|`[^\']+\'\{[^}!]*!\[[^\]]*\]\})/) {
               ;
           } elsif (/^\\>.*\(/) {
               if (s/^(\\>[^(]*\([^)]*\)[^\[]*)(\[[^\]]*\])/$1/) {
@@ -2164,14 +2164,14 @@ print  "Processed TOC files\n" unless ($
 open (TEX, "<${dir}manual.tex") || die "Can't open ${dir}manual.tex";
 getlabs $dir;
 while (<TEX>) {
-  if (/\\UseReferences{([^}]*)}/) { 
+  if (/\\UseReferences\{([^}]*)\}/) {
       getlabs "$dir$1/";
-  } elsif (/\\UseGapDocReferences{([^}]*)}/) { 
+  } elsif (/\\UseGapDocReferences\{([^}]*)\}/) {
       getlabs "$dir$1/";
 #      ($gapdocbook = $1) =~ s?.*/([^/]*)/doc?$1?;
 #      $gapdocbooks{$gapdocbook} = 1;
 #      print STDERR "GapDoc books: ", keys(%gapdocbooks), "\n";
-  } elsif (/\\Package{([^}]*)}/) {
+  } elsif (/\\Package\{([^}]*)\}/) {
       $sharepkg .= "|$1"; 
   }
 }