Ouline view elides <gap/> element
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 48
- Joined: Thu Mar 12, 2009 10:27 pm
Ouline view elides <gap/> element
Can anyone explain why the <gap/> element in the following example is shown in the Outline view when in Text mode but not in Author mode?
Code: Select all
<?oxygen RNGSchema="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="xml"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Title</title>
</titleStmt>
<publicationStmt>
<p>Publication information</p>
</publicationStmt>
<sourceDesc>
<p>Information about the source</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<p>Some<gap quantity="5" unit="mm"/> text here.</p>
</body>
</text>
</TEI>
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Ouline view elides <gap/> element
Hi,
In the CSS files (which were provided by the TEI developers) used to render TEI, the <gap> is specified with display:none which makes it invisible both in the Author page and the Outline.
We will fix this probably in the next version.
In the meantime, you can open the OXYGEN_INSTALL_DIR/frameworks/tei/xml/tei/css/tei_oxygen.css and add the following code at the end of the file:
Then reopen the TEI XML files.
Regards,
Radu
In the CSS files (which were provided by the TEI developers) used to render TEI, the <gap> is specified with display:none which makes it invisible both in the Author page and the Outline.
We will fix this probably in the next version.
In the meantime, you can open the OXYGEN_INSTALL_DIR/frameworks/tei/xml/tei/css/tei_oxygen.css and add the following code at the end of the file:
Code: Select all
gap {
display: morph;
content: "[...]";
font-style: italic;
}
gap:after {
content: "";
}
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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