Formatting a dita file
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 4
- Joined: Fri Jul 01, 2016 6:54 am
Formatting a dita file
Post by KISHORE085 »
Hi,
I am very new to xml. I just wanted to edit some dita files. I started using oXygen xml author since yesterday. I could edit the dita file. But when i export it to pdf, The format in original pdf and which i exported are different. Do i need any other files and along with dita for maintaining same format?? Or how to i format before exporting dita to pdf. I dont know anything in xml coding. Hence pls help with respect to oXygen xml author GUI.
Thanks in advance..
I am very new to xml. I just wanted to edit some dita files. I started using oXygen xml author since yesterday. I could edit the dita file. But when i export it to pdf, The format in original pdf and which i exported are different. Do i need any other files and along with dita for maintaining same format?? Or how to i format before exporting dita to pdf. I dont know anything in xml coding. Hence pls help with respect to oXygen xml author GUI.
Thanks in advance..
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Formatting a dita file
Hello,
By "format" you mean styling, right? For example you want to have different headers/footers in the PDF, different page format or a different front page, something like this?
Customizing the default PDF processing requires knowledge of XSLT and XSL-FO:
http://oxygenxml.com/doc/versions/18/ug ... ation.html
There is a good book on the market called DITA for Print which covers most of that:
http://xmlpress.net/publications/dita/dita-for-print/
Regards,
Radu
By "format" you mean styling, right? For example you want to have different headers/footers in the PDF, different page format or a different front page, something like this?
Customizing the default PDF processing requires knowledge of XSLT and XSL-FO:
http://oxygenxml.com/doc/versions/18/ug ... ation.html
There is a good book on the market called DITA for Print which covers most of that:
http://xmlpress.net/publications/dita/dita-for-print/
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 4
- Joined: Fri Jul 01, 2016 6:54 am
Re: Formatting a dita file
Post by KISHORE085 »
Hi Radu,
Formatting in the sense, Lets say i have 3 dita files. What i wanted it to be is first dita file should be main heading, next two dita files should come as sub headings. and everything should be continuous pages. But what i am getting is each dita file as a different chapter and in new pages and in one definite format. like indentation, underline and spaces and all..
If i select topic dita template, i am getting : <topic id="topic_aaa_zzz">.......</topic>
Which template i should select for getting : <p-topic id="topic_aaa_zzz">.......<p-/topic>
In the same way which template i should select for ditamap file for getting : <datasheet>.....</datasheet>
I tried to rename it. But oXygen tool is not able to recognise the template after renaming.
And thanks a lot for so fast reply..
Formatting in the sense, Lets say i have 3 dita files. What i wanted it to be is first dita file should be main heading, next two dita files should come as sub headings. and everything should be continuous pages. But what i am getting is each dita file as a different chapter and in new pages and in one definite format. like indentation, underline and spaces and all..
If i select topic dita template, i am getting : <topic id="topic_aaa_zzz">.......</topic>
Which template i should select for getting : <p-topic id="topic_aaa_zzz">.......<p-/topic>
In the same way which template i should select for ditamap file for getting : <datasheet>.....</datasheet>
I tried to rename it. But oXygen tool is not able to recognise the template after renaming.
And thanks a lot for so fast reply..
-
- Posts: 4
- Joined: Fri Jul 01, 2016 6:54 am
Re: Formatting a dita file
Post by KISHORE085 »
Hi Radu,
Sorry i couldn't attach image in my previous reply. Can you tell me how to attach image while replying for better understanding of my problem..
Thanks
Sorry i couldn't attach image in my previous reply. Can you tell me how to attach image while replying for better understanding of my problem..
Thanks
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Formatting a dita file
Hi,
The DITA standard has a set of element and attribute names defined by the DITA specification.
It allows defining new elements using a method called specialization but this does not mean that automatically you will get the desired output.
I would suggest that you start learning more about DITA:
http://blog.oxygenxml.com/2016/03/resou ... xygen.html
As for the PDF customization I'm maintaining my recommendation of reading the DITA for Print book.
Regards,
Radu
The DITA standard has a set of element and attribute names defined by the DITA specification.
It allows defining new elements using a method called specialization but this does not mean that automatically you will get the desired output.
I would suggest that you start learning more about DITA:
http://blog.oxygenxml.com/2016/03/resou ... xygen.html
As for the PDF customization I'm maintaining my recommendation of reading the DITA for Print book.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 4
- Joined: Fri Jul 01, 2016 6:54 am
Re: Formatting a dita file
Post by KISHORE085 »
Hi Radu,
Thanks for the info.. I'll go through that book. Thanks again..
Thanks for the info.. I'll go through that book. Thanks again..
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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