Removing underline form topic title
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Removing underline form topic title
Hi Ben,
Do you mean the thick line which appears under the topic title when the DITA content is published to PDF?
You would need a PDF XSLT customization for this.
This XSLT stylesheet:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\cfg\fo\attrs\commons-attr.xsl
defines an attribute set for the topic title:
That border-bottom attribute is responsible for the thick line under the title.
A topic describing how a PDF XSLT customization can be made without directly modifying the XSLTs which are bundled with the PDF plugin:
http://www.oxygenxml.com/doc/ug-oxygen/ ... ation.html
There is also a good book called http://xmlpress.net/publications/dita/dita-for-print/ which contains details about how various customizations can be made.
And the Yahoo Groups DITA Users List is also a very good place where to ask customization questions.
Regards,
Radu
Do you mean the thick line which appears under the topic title when the DITA content is published to PDF?
You would need a PDF XSLT customization for this.
This XSLT stylesheet:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\cfg\fo\attrs\commons-attr.xsl
defines an attribute set for the topic title:
Code: Select all
<xsl:attribute-set name="topic.title" use-attribute-sets="common.title">
<xsl:attribute name="border-bottom">3pt solid black</xsl:attribute>
....................
A topic describing how a PDF XSLT customization can be made without directly modifying the XSLTs which are bundled with the PDF plugin:
http://www.oxygenxml.com/doc/ug-oxygen/ ... ation.html
There is also a good book called http://xmlpress.net/publications/dita/dita-for-print/ which contains details about how various customizations can be made.
And the Yahoo Groups DITA Users List is also a very good place where to ask customization questions.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Mon Jan 19, 2015 11:12 pm
Re: Removing underline form topic title
Radu,
That's exactly what I was talking about. After posting that, I realized I should have been more clear. Tested it out, and it worked! Thank you so much. FYI, the quick and helpful response (in addition to the great software) here has convinced me to purchase the Oxygen after my trial ends. Thanks a lot.
Ben
That's exactly what I was talking about. After posting that, I realized I should have been more clear. Tested it out, and it worked! Thank you so much. FYI, the quick and helpful response (in addition to the great software) here has convinced me to purchase the Oxygen after my trial ends. Thanks a lot.
Ben
-
- Posts: 6
- Joined: Mon Jan 19, 2015 11:12 pm
Re: Removing underline form topic title
One more question. Are there separate attributes to edit in order to remove the border under tasks, concept and reference elements? I was able to remove the border from the topic but can't find the file that contains tasks, concept and reference elements. Thanks again.
Also, thanks for the book recommendation. I've ordered it.
Ben
Also, thanks for the book recommendation. I've ordered it.
Ben
-
- Posts: 1
- Joined: Fri Jun 21, 2019 10:03 am
Re: Removing underline form topic title
Post by RohitGhosh »
How will I shorten the length of border bottom line ? What attribute changes do I need to make ?
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Removing underline form topic title
Hi,
The bottom border is as long as the element. So you probably need to set it on an element which has a specific width set on it.
Regards,
Radu
The bottom border is as long as the element. So you probably need to set it on an element which has a specific width set on it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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