Indents in DITA?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
TechWri
Posts: 6
Joined: Mon Jun 18, 2012 8:57 am

Indents in DITA?

Post by TechWri »

How do I indent text? I need to indent one paragraph of text. No lists, no quotes.
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Indents in DITA?

Post by Radu »

Hi,

Oxygen uses the DITA Open Toolkit to publish DITA documents to various output formats.
To what output format are you publishing (PDF, XHTML, etc)?
You probably need to make some modifications in the XSLT stylesheets for this.
On that certain paragraph you could try to set the attribute @outputclass to a custom value like INDENT and then in the XSLT stylesheets used to produce the output you could add an XSLT template which matches the paragraph and adds an indent.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
TechWri
Posts: 6
Joined: Mon Jun 18, 2012 8:57 am

Re: Indents in DITA?

Post by TechWri »

Thanks. I'll try this. I'm making online helps.

TechWri
Radu wrote:Hi,

Oxygen uses the DITA Open Toolkit to publish DITA documents to various output formats.
To what output format are you publishing (PDF, XHTML, etc)?
You probably need to make some modifications in the XSLT stylesheets for this.
On that certain paragraph you could try to set the attribute @outputclass to a custom value like INDENT and then in the XSLT stylesheets used to produce the output you could add an XSLT template which matches the paragraph and adds an indent.

Regards,
Radu
Post Reply