Mercurial > hg > Aquinas
changeset 68:6e7992263303
works
| author | ht |
|---|---|
| date | Sun, 03 Jan 2010 18:46:18 +0000 |
| parents | 734a1915d5e2 |
| children | 52063d0f8985 |
| files | summa/bilingual/merge.xpl |
| diffstat | 1 files changed, 28 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/summa/bilingual/merge.xpl Sun Jan 03 18:46:03 2010 +0000 +++ b/summa/bilingual/merge.xpl Sun Jan 03 18:46:18 2010 +0000 @@ -6,7 +6,7 @@ <div xmlns="http://www.w3.org/1999/xhtml">list of latin files, use ; as separator</div> </p:documentation> </p:option> - <p:viewport match="x:div[@class='div3']"> + <p:viewport match="x:div[@class='div3']" name="vp"> <p:xslt> <p:input port="stylesheet"> <p:document href="fixup_e.xsl"/> @@ -18,5 +18,32 @@ </p:input> <p:with-param name="lfs" select="$lfs"/> </p:xslt> + <p:xslt> + <p:input port="stylesheet"> + <p:document href="bi.xsl"/> + </p:input> + </p:xslt> </p:viewport> + <p:insert match="x:body" position="first-child"> + <p:input port="source"> + <p:inline> + <html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Bilingual Aquinas</title> + <style> + h2, h3, h4 {margin-bottom: 0px; clear: both} + .bilingual {clear: both; margin-top: .5em} + div.eng {width: 45%; float: left} + div.lat {width: 45%; float: right} + @page { size: A4 portrait; margin: 1cm} + </style> + </head> + <body style="font-family: Bitstream Vera Serif"> + </body> + </html></p:inline> + </p:input> + <p:input port="insertion"> + <p:pipe port="result" step="vp"/> + </p:input> + </p:insert> </p:pipeline>
