Page 1 of 1

Indents in DITA?

Posted: Mon Jun 18, 2012 12:06 pm
by TechWri
How do I indent text? I need to indent one paragraph of text. No lists, no quotes.

Re: Indents in DITA?

Posted: Mon Jun 18, 2012 12:14 pm
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

Re: Indents in DITA?

Posted: Mon Jun 18, 2012 12:26 pm
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