[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: copyright notes and translation updates



Hi,

victory <victory.deb@gmail.com> wrote:
> On Sun, 3 Apr 2016 13:34:01 +0200
> Holger Wansing wrote:
> 
> > And: could someone look into the syntax for the copyright notes in
> > English? Currently only one copyright name is displayed, no matter how
> > many are in the refcard.dbk file.
> > There is this logic in preproc.xsl:
> 
> >   <!-- for the original English only one copyright note -->
> >   <xsl:template match="copyright[position() != 1]">
> >     <xsl:if test="/article/@lang != 'en-GB'">
> >       <xsl:copy>
> > 	<xsl:apply-templates select="*|@*|text()"/>
> >       </xsl:copy>
> >     </xsl:if>
> >   </xsl:template>
[...]
> so it will look like:
> copyright[position() &gt; 2]
> 

Yes, that works!
Thanks!

Holger

-- 
============================================================
Created with Sylpheed 3.5.0 under
	D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/
============================================================


Reply to: