diff --git a/src/filters/rclsvg b/src/filters/rclsvg index 8060bc14..be5d75b5 100755 --- a/src/filters/rclsvg +++ b/src/filters/rclsvg @@ -84,6 +84,7 @@ xsltproc --novalid --nonet - "$infile" < @@ -94,6 +95,9 @@ xsltproc --novalid --nonet - "$infile" < + + + @@ -111,6 +115,36 @@ xsltproc --novalid --nonet - "$infile" < + + + author + + + + + + + + + + keywords + + + + + + + + + + description + + + + + + + <xsl:value-of select="."/> diff --git a/src/rcldb/rcldoc.h b/src/rcldb/rcldoc.h index 3f05bdb8..b1df3c3c 100644 --- a/src/rcldb/rcldoc.h +++ b/src/rcldb/rcldoc.h @@ -179,7 +179,10 @@ class Doc { } else if (mit->second.empty()) { mit->second = value; } else { - mit->second += string(" - ") + value; + // It may happen that the same attr exists several times + // in the internfile stack. Avoid duplicating values. + if (mit->second != value) + mit->second += string(" - ") + value; } return true; } diff --git a/src/sampleconf/fields b/src/sampleconf/fields index 4ab9e39a..8b154fa0 100644 --- a/src/sampleconf/fields +++ b/src/sampleconf/fields @@ -39,7 +39,6 @@ abstract = XS caption = S title = S subject = S -author = A keywords= K xapyear = Y xapyearmon = M