Permalink
Browse files

* suppress visual display of links in manpage format

* minor adjustments
  • Loading branch information...
1 parent 5894632 commit 10c47c0ad8554d5c75c65666f67bb9d5a9877319 @docelic docelic committed May 17, 2008
Showing with 24 additions and 4 deletions.
  1. +1 −1 Makefile
  2. +1 −1 TODO
  3. +17 −0 docbook/reference.xsl
  4. +2 −1 refs/ExternalExport
  5. +3 −1 refs/date.widget
View
@@ -164,7 +164,7 @@ OUTPUT/%: %.xml docbook/autorefs.ent docbook/autoglossary.ent docbook/autohowtos
--stringparam current.docid $* \
--stringparam target.database.document ../docbook/olinkdb-c.xml \
-o $@/ docbook/html-chunks.xsl $T/$*-c.profiled
-OUTPUT/%.man: %.xml docbook/autorefs.ent docbook/autoglossary.ent docbook/autohowtos.ent docbook/autofiles.ent
+OUTPUT/%.man: %.xml docbook/autorefs.ent docbook/autoglossary.ent docbook/autohowtos.ent docbook/autofiles.ent docbook/reference.xsl
echo "C $@/"
mkdir -p "$@"
$(PSR) $(PSR_FLAGS) \
View
2 TODO
@@ -1,3 +1,4 @@
+- manpages, first line of <screen> loses linebreaks
- work on bin/mkreport
- provide static files for download, describe keys like alt+n
- documentation for bounce and restrict is ignored
@@ -7,7 +8,6 @@
- dal autogen preskoci kontekst koji je prazan? i zasto uopce unkondicionalno
ekspandira @$ctx ako moze da nema konteksta?
-
- order counter, Session->{mv_order_number}, cronjob -0001, or file da-te.counter, or session_id.time
- in iccattut, s/item-field/item-param/ at least on some places.
- Change -latest to version number in tarball download
View
@@ -40,6 +40,23 @@
<code class='filter'><xsl:value-of select="."/></code>
</xsl:template>
+ <xsl:template match="ulink">
+ <xsl:variable name="content">
+ <xsl:apply-templates/>
+ </xsl:variable>
+ <xsl:variable name="url" select="@url"/>
+ <xsl:choose>
+ <xsl:when test="$url=$content or $content=''">
+ <xsl:text>\fI</xsl:text>
+ <xsl:value-of select="$url"/>
+ <xsl:text>\fR</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$content"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
<xsl:include href="common.xsl"/>
</xsl:stylesheet>
View
@@ -63,7 +63,8 @@ ExternalExport <<EOD
EOD
]]></programlisting>
After restarting Interchange, file <filename>/tmp/external</filename> will
-be created with the following contents:
+be created with the following contents (shown here in human-readable
+format):
<programlisting><![CDATA[
{
'number_of_catalogs' => 4,
View
@@ -12,6 +12,8 @@ __END__
__NAME__ example: Specifying year range
<programlisting>
-[display type=date name=create_date value="[value create_date]" year_begin=1975 year_end=2020]
+[display type=date name=create_date
+ value="[value create_date]"
+ year_begin=1975 year_end=2020]
</programlisting>
__END__

0 comments on commit 10c47c0

Please sign in to comment.