Ouline view elides <gap/> element

Having trouble installing Oxygen? Got a bug to report? Post it all here.
solarian
Posts: 48
Joined: Thu Mar 12, 2009 10:27 pm

Ouline view elides <gap/> element

Post by solarian »

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>
Radu
Posts: 9439
Joined: Fri Jul 09, 2004 5:18 pm

Re: Ouline view elides <gap/> element

Post by Radu »

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:

Code: Select all


gap {
display: morph;
content: "[...]";
font-style: italic;
}
gap:after {
content: "";
}
Then reopen the TEI XML files.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
solarian
Posts: 48
Joined: Thu Mar 12, 2009 10:27 pm

Re: Ouline view elides <gap/> element

Post by solarian »

Thanks, very helpful.
Post Reply