TEI xsl-fo (footnotes and table captions)
Here should go questions about transforming XML with XSLT and FOP.
TEI xsl-fo (footnotes and table captions)
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>
-
- Posts: 1008
- Joined: Wed Nov 16, 2005 11:11 am
Re: TEI xsl-fo (footnotes and table captions)
Post by alex_jitianu »
Hello,
The TEI publishing support in Oxygen is based on the official TEI XSLTs. Perhaps you can try asking this question on the official TEI mailing list: TEI-L@LISTSERV.BROWN.EDU . Chances are someone from the TEI community will know more about the PDF transformation.
Best regards,
Alex
The TEI publishing support in Oxygen is based on the official TEI XSLTs. Perhaps you can try asking this question on the official TEI mailing list: TEI-L@LISTSERV.BROWN.EDU . Chances are someone from the TEI community will know more about the PDF transformation.
Best regards,
Alex
Re: TEI xsl-fo (footnotes and table captions)
In the case of footnotes, Oxygen and its output is very much sensitive to the style:
works like a charm;
is the problem—it is shifted to another line like a new paragraphs.
Conclusion—when dealing with footnotes, try to experiment with nested paragraphs.
Code: Select all
<note place="bottom">XYZ</note>
Code: Select all
<note place="bottom"><p>XYZ</p></note>
Conclusion—when dealing with footnotes, try to experiment with nested paragraphs.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service