|
54
|
1 <?xml version='1.0'?>
|
|
|
2 <!DOCTYPE p:pipeline SYSTEM "../../../../WWW/XML/XProc/docs/schemas/xproc.dtd" >
|
|
66
|
3 <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" xmlns:x="http://www.w3.org/1999/xhtml">
|
|
|
4 <p:option name="lfs" required="true">
|
|
|
5 <p:documentation>
|
|
|
6 <div xmlns="http://www.w3.org/1999/xhtml">list of latin files, use ; as separator</div>
|
|
|
7 </p:documentation>
|
|
|
8 </p:option>
|
|
68
|
9 <p:viewport match="x:div[@class='div3']" name="vp">
|
|
54
|
10 <p:xslt>
|
|
|
11 <p:input port="stylesheet">
|
|
|
12 <p:document href="fixup_e.xsl"/>
|
|
|
13 </p:input>
|
|
|
14 </p:xslt>
|
|
|
15 <p:xslt>
|
|
|
16 <p:input port="stylesheet">
|
|
|
17 <p:document href="merge.xsl"/>
|
|
|
18 </p:input>
|
|
66
|
19 <p:with-param name="lfs" select="$lfs"/>
|
|
54
|
20 </p:xslt>
|
|
68
|
21 <p:xslt>
|
|
|
22 <p:input port="stylesheet">
|
|
|
23 <p:document href="bi.xsl"/>
|
|
|
24 </p:input>
|
|
|
25 </p:xslt>
|
|
54
|
26 </p:viewport>
|
|
68
|
27 <p:insert match="x:body" position="first-child">
|
|
|
28 <p:input port="source">
|
|
|
29 <p:inline>
|
|
|
30 <html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
31 <head>
|
|
|
32 <title>Bilingual Aquinas</title>
|
|
|
33 <style>
|
|
|
34 h2, h3, h4 {margin-bottom: 0px; clear: both}
|
|
|
35 .bilingual {clear: both; margin-top: .5em}
|
|
|
36 div.eng {width: 45%; float: left}
|
|
|
37 div.lat {width: 45%; float: right}
|
|
|
38 @page { size: A4 portrait; margin: 1cm}
|
|
|
39 </style>
|
|
|
40 </head>
|
|
|
41 <body style="font-family: Bitstream Vera Serif">
|
|
|
42 </body>
|
|
|
43 </html></p:inline>
|
|
|
44 </p:input>
|
|
|
45 <p:input port="insertion">
|
|
|
46 <p:pipe port="result" step="vp"/>
|
|
|
47 </p:input>
|
|
|
48 </p:insert>
|
|
54
|
49 </p:pipeline>
|