annotate zpt/bibliography.zpt @ 24:6a4996805505

more work on projects.
author casties
date Tue, 09 Apr 2013 16:50:29 +0200
parents bca61e893fcc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
1 <tal:block tal:condition="not:python=here.ZSQLisEmpty(found.id_institutsbibliographie)"
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
2 tal:define="foundIB python:ZSQLInlineSearch(_table='institutsbiblio',id=found.id_institutsbibliographie)[0]">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
3
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
4 <tal:block tal:condition="python:foundIB.reference_type.lower()=='journal article'">
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
5 <span tal:replace="foundIB/author_semi_colon"/>&quot;<span tal:replace="foundIB/title"/>&quot;
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
6 <i><span tal:replace="foundIB/secondary_title"/></i>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
7 <span tal:replace="foundIB/volume"/>&quot;
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
8 (<span tal:condition
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
9
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
10 ret=""
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
11 if not found.id_institutsbibliographie=='':
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
12 foundIB=here.ZSQLInlineSearch(_table='institutsbiblio',id=found.id_institutsbibliographie)[0]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
13 if foundIB.reference_type.lower()=='journal article':
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
14 ret+=foundIB.author_semi_colon+"&quot;"+foundIB.title+"&quot;"+"<i>%s</i>"%foundIB.secondary_title+foundIB.volume+"&quot;("
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
15 if not foundIB.number=='':
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
16 ret+=foundIB.number+"&nbsp;"
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
17 ret+=foundIB.year+")"
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
18 if not foundIB.pages=='':
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
19 ret+=": "+foundIB.pages+"."
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
20
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
21
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
22 <!--
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
23 [FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot <i>[FMP-Field: Secondary Title]</i> [FMP-Field: Volume] ([FMP-If: Number.neq.][FMP-Field: Number] [/FMP-If][FMP-Field: year])[FMP-If: pages.neq.]: [FMP-Field: pages][/FMP-IF].
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
24 [FMP-elseif: Reference Type.eq.Edited Book]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
25 [FMP-Field: Author_semi_colon] (Editor/s). <i>[FMP-Field: Title]</i>. [FMP-If: Place Published.neq.][FMP-Field: Place Published]: [/FMP-if][FMP-if: publisher.neq.][FMP-Field: Publisher], [/FMP-If][FMP-Field: year].
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
26 [FMP-elseif: Reference Type.eq.Book Section]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
27 [FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot In <i>[FMP-Field: Secondary Title]</i>[FMP-If: Secondary_Author_semi_colon.neq.], eds.: [FMP-Field: Secondary_Author_semi_colon][/FMP-if]. [FMP-If: Pages.neq.][FMP-Field: Pages].[/FMP-If][FMP-If: Place Published.neq.][FMP-Field: Place Published][/FMP-IF][FMP-If: Publisher.neq.]: [FMP-Field: Publisher],[/FMP-If] [FMP-Field: Year].
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
28 [FMP-elseif: Reference Type.eq.Book]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
29 [FMP-Field: Author_semi_colon]. <i>[FMP-Field: Title]</i>. [FMP-Field: Place Published]: [FMP-Field: Publisher], [FMP-Field: year].
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
30 [FMP-elseif: Reference Type.eq.Newspaper Article]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
31 [FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot <i>[FMP-Field: Secondary Title]</i>, [FMP-Field: Date].[FMP-Field: Year], [FMP-Field: Pages].
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
32 [/FMP-if]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
33 [/FMP-InlineAction]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
34
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
35
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
36
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
37
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
38 [FMP-else]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
39
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
40
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
41 [FMP-InlineAction: -db=bibliography, ID="{Field: ID_gen_bib}", -find]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
42 [FMP-IF: Reference Type.eq.Journal Article]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
43 [FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot <i>[FMP-Field: Secondary Title]</i> [FMP-Field: Volume] ([FMP-If: Number.neq.][FMP-Field: Number] [/FMP-If][FMP-Field: year])[FMP-If: Pages.neq.]: [FMP-Field: Pages][/FMP-IF].
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
44 [FMP-else][FMP-IF: Reference Type.eq.Edited Book]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
45 [FMP-Field: Author_semi_colon] (Editor/s). <i>[FMP-Field: Title]</i>. [FMP-If: Place Published.neq.][FMP-Field: Place Published]: [/FMP-if][FMP-if: publisher.neq.][FMP-Field: Publisher], [/FMP-If][FMP-Field: year].
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
46 [FMP-else][FMP-IF: Reference Type.eq.Book Section]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
47 [FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot In <i>[FMP-Field: Secondary Title]</i>[FMP-If: Secondary_Author_semi_colon.neq.], eds.: [FMP-Field: Secondary_Author_semi_colon][/FMP-if]. [FMP-If: Pages.neq.][FMP-Field: Pages].[/FMP-If][FMP-If: Place Published.neq.][FMP-Field: Place Published][/FMP-IF][FMP-If: Publisher.neq.]: [FMP-Field: Publisher],[/FMP-If] [FMP-Field: Year].
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
48 [FMP-else][FMP-IF: Reference Type.eq.Book]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
49 [FMP-Field: Author_semi_colon]. <i>[FMP-Field: Title]</i>. [FMP-Field: Place Published]: [FMP-Field: Publisher], [FMP-Field: year].
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
50 [FMP-else][FMP-IF: Reference Type.eq.Newspaper Article]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
51 [FMP-Field: Author_semi_colon]. &quot;[FMP-Field: Title].&quot <i>[FMP-Field: Secondary Title]</i>, [FMP-Field: Date].[FMP-Field: Year], [FMP-Field: Pages].
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
52 [/FMP-if][/FMP-if][/FMP-if][/FMP-if][/FMP-if]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
53 [/FMP-InlineAction]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
54 [/FMP-IF]
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
55 -->