From af91d4da42e0af733538d923a2514bf6a6bd3e73 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 24 Apr 2006 05:52:56 +0000 Subject: [PATCH] Added refentry.meta.get.quietly param. If zero (the default), notes and warnings about "missing" markup are generated during gathering of refentry metadata. If non-zero, the metadata is gathered "quietly" -- that is, the notes and warnings are suppressed. NOTE: If you are processing a large amount of refentry content, you may be able to speed up processing significantly by setting a non-zero value for refentry.meta.get.quietly. --- xsl/common/refentry.xsl | 2 -- xsl/manpages/param.ent | 1 + xsl/manpages/param.xweb | 2 ++ xsl/params/refentry.meta.get.quietly.xml | 32 ++++++++++++++++++++++++ 4 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 xsl/params/refentry.meta.get.quietly.xml diff --git a/xsl/common/refentry.xsl b/xsl/common/refentry.xsl index 1f663a80b..73752bbed 100644 --- a/xsl/common/refentry.xsl +++ b/xsl/common/refentry.xsl @@ -17,8 +17,6 @@ - - diff --git a/xsl/manpages/param.ent b/xsl/manpages/param.ent index 1ecb8f12d..cdf535c94 100644 --- a/xsl/manpages/param.ent +++ b/xsl/manpages/param.ent @@ -15,6 +15,7 @@ + diff --git a/xsl/manpages/param.xweb b/xsl/manpages/param.xweb index a81d69371..c8a9e7b28 100644 --- a/xsl/manpages/param.xweb +++ b/xsl/manpages/param.xweb @@ -59,6 +59,7 @@ Refentry metadata gathering +&refentry.meta.get.quietly; &refentry.date.profile; &refentry.date.profile.enabled; &refentry.manual.profile; @@ -133,6 +134,7 @@ + diff --git a/xsl/params/refentry.meta.get.quietly.xml b/xsl/params/refentry.meta.get.quietly.xml new file mode 100644 index 000000000..04d75f424 --- /dev/null +++ b/xsl/params/refentry.meta.get.quietly.xml @@ -0,0 +1,32 @@ + + +refentry.meta.get.quietly + + + +refentry.meta.get.quietly +Suppress notes and warnings when gathering refentry metadata? + + + + + + + + +Description + +If zero (the default), notes and warnings about “missing” markup +are generated during gathering of refentry metadata. If non-zero, the +metadata is gathered “quietly” -- that is, the notes and warnings are +suppressed. + + + If you are processing a large amount of refentry + content, you may be able to speed up processing significantly by + setting a non-zero value for + refentry.meta.get.quietly. + + + + -- 2.40.0