TEI xsl-fo (footnotes and table captions)
Posted: Tue Nov 24, 2015 4:14 pm
I am intensively testing transformations from TEI documents into PDF (needed for editorship). I have no clue where could be the problem in case of footnotes and captions.
The code is valid. I am using the latest version of TEIC/Stylesheet repository. Testing with Oxygen Author 16.1 (Win 7) and Oxygen Author 17 (Linux Mint). Besides, I have tried the same via XeLaTeX.
Footnotes
1) Oxygens > The number and the body of footnote are separated in two lines.
2) XeLaTeX > Footnotes are OK.
Captions
1) Oxygens > The caption is automatically generated but the rest of is (it should be taken from the "head" element) is missing.
2) XeLaTeX > The caption is properly generated but it is not possible to customize justification and alignment.
I know well it is not possible to port XSL sheets from one system to another one smoothly (mean between Oxygen and LaTeX based system). I am just wondering where could be the problem. Guys from TEIC claim stylesheets were tested with PassiveTeX only. Great but Oxygen apparently uses the same set of them.
I am not an XSLT guru, I would be very happy if anyone could help me. However, I am quite sure there is no bug in XSLT, maybe it is something different.
Here is the result:
ftp://46.28.111.241/tei_lite_FO_test.pdf
Sample code for tables:
Sample code for footnotes:
The code is valid. I am using the latest version of TEIC/Stylesheet repository. Testing with Oxygen Author 16.1 (Win 7) and Oxygen Author 17 (Linux Mint). Besides, I have tried the same via XeLaTeX.
Footnotes
1) Oxygens > The number and the body of footnote are separated in two lines.
2) XeLaTeX > Footnotes are OK.
Captions
1) Oxygens > The caption is automatically generated but the rest of is (it should be taken from the "head" element) is missing.
2) XeLaTeX > The caption is properly generated but it is not possible to customize justification and alignment.
I know well it is not possible to port XSL sheets from one system to another one smoothly (mean between Oxygen and LaTeX based system). I am just wondering where could be the problem. Guys from TEIC claim stylesheets were tested with PassiveTeX only. Great but Oxygen apparently uses the same set of them.
I am not an XSLT guru, I would be very happy if anyone could help me. However, I am quite sure there is no bug in XSLT, maybe it is something different.
Here is the result:
ftp://46.28.111.241/tei_lite_FO_test.pdf
Sample code for tables:
Code: Select all
<table rend="frame" cols="10" rows="20">
<head>Situace a výhled úhrnné plodnosti v letech 1980–2065 ve vybraných zemích OECD</head>
<row role="header">
<cell cols="10">header</cell>
</row>
<row role="label">
<cell/>
<cell>1980–85</cell>
<cell>1990–95</cell>...
Code: Select all
<p>K intenzivnějším ... a MOV<note place="foot" xml:id="ftn4" n="4"><p> http://www.olympic.org/Documents/Reports/EN/en_report_1084.pdf</p></note> (Mezinárodní olympijský ... 2000).</p>