add link tag
[librarian.git] / librarian / pdf / wl2tex.xslt
index 985847f..678d09f 100644 (file)
                 \def\editors{<xsl:call-template name="editors" />}
             </TeXML>
 
-            <cmd name="editorialsection" />
+            <!--<cmd name="editorialsection" />-->
 
         </env>
     </TeXML>
 <!-- ==================================================================================== -->
 
 <xsl:template
-    match="powiesc|opowiadanie|liryka_l|liryka_lp|dramat_wierszowany_l|dramat_wierszowany_lp|dramat_wspolczesny|nota|dedykacja|dlugi_cytat|poezja_cyt|motto">
+    match="powiesc|opowiadanie|liryka_l|liryka_lp|dramat_wierszowany_l|dramat_wierszowany_lp|dramat_wspolczesny|nota|dedykacja|dlugi_cytat|poezja_cyt|motto|ramka">
     <cmd>
         <xsl:attribute name="name">
             <xsl:value-of select="wl:texcommand(name())" />
     </cmd>
 </xsl:template>
 
+<xsl:template match="link" mode="inline">
+    <cmd name="href">
+        <parm><xsl:value-of select="wl:urlquote(@url)" /></parm>
+        <parm><xsl:apply-templates mode="inline"/></parm>
+    </cmd>
+</xsl:template>
+
 
 
 <xsl:template match="tytul_dziela" mode="inline">