Changeset 65840


Ignore:
Timestamp:
Apr 2, 2010, 1:09:16 AM (8 years ago)
Author:
raimue@…
Message:

Use attributes to avoid overwriting xsl templates as that breaks multiple
refnames. linkman-inlinemacro is now a citerefentry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new-help-system/base/doc/asciidoc.conf.in

    r50691 r65840  
    88# the command.
    99
     10[attributes]
     11mansource=MacPorts
     12manversion=@MACPORTS_VERSION@
     13manmanual=MacPorts Manual
     14
    1015[macros]
    1116(?su)[\\]?(?P<name>linkman):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
     
    1318ifdef::backend-docbook[]
    1419[linkman-inlinemacro]
    15 <ulink url="{target}{0?.{0}}.html">{target}{0?({0})}</ulink>
     20<citerefentry>
     21    <refentrytitle>{target}</refentrytitle>{0?<manvolnum>{0}</manvolnum>}
     22</citerefentry>
    1623endif::backend-docbook[]
    1724
     
    2027<a href="{target}{0?.{0}}.html">{target}{0?({0})}</a>
    2128endif::backend-xhtml11[]
    22 
    23 
    24 ifdef::doctype-manpage[]
    25 ifdef::backend-docbook[]
    26 [header]
    27 template::[header-declarations]
    28 <refentry>
    29 <refmeta>
    30 <refentrytitle>{mantitle}</refentrytitle>
    31 <manvolnum>{manvolnum}</manvolnum>
    32 <refmiscinfo class="source">MacPorts</refmiscinfo>
    33 <refmiscinfo class="version">@MACPORTS_VERSION@</refmiscinfo>
    34 <refmiscinfo class="manual">MacPorts Manual</refmiscinfo>
    35 </refmeta>
    36 <refnamediv>
    37   <refname>{manname}</refname>
    38   <refpurpose>{manpurpose}</refpurpose>
    39 </refnamediv>
    40 endif::backend-docbook[]
    41 endif::doctype-manpage[]
Note: See TracChangeset for help on using the changeset viewer.