Issue with [b]Note:[/b] Text Splitting in Output File
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 22
- Joined: Fri Aug 04, 2023 11:27 am
Issue with [b]Note:[/b] Text Splitting in Output File
Post by Amit+007appviewx »
Hello Team,
I've encountered an issue with the output generated files.
The Note: text is splitting across two lines.
I've attempted both approaches:
Best regards,
Amit Darekar
I've encountered an issue with the output generated files.
The Note: text is splitting across two lines.
I've attempted both approaches:
- 1. Adding the note tag within the p tag.
- 2. Adding the note without the p tag.
Best regards,
Amit Darekar
image.png
image.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Issue with [b]Note:[/b] Text Splitting in Output File
Hi Amit,
It is not very clear from the 2 images you attached which note do you refer to..
Could you highlight the specific area which contains the note you refer to and describe the issue in more details please?
Regards,
Costin
It is not very clear from the 2 images you attached which note do you refer to..
Could you highlight the specific area which contains the note you refer to and describe the issue in more details please?
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 22
- Joined: Fri Aug 04, 2023 11:27 am
Re: Issue with [b]Note:[/b] Text Splitting in Output File
Post by Amit+007appviewx »
Hi Costin,
Greetings !!
I have issue with all the note tags which have been added in the document.
They are splitting into 2 lines after the output is generated.
Can you please help me with this issue.
I have attached the snip of Note tag added in oxygen and its attributes.
Amit Darekar
Greetings !!
I have issue with all the note tags which have been added in the document.
They are splitting into 2 lines after the output is generated.
Can you please help me with this issue.
I have attached the snip of Note tag added in oxygen and its attributes.
image.png
image.png
Thanks & RegardsAmit Darekar
You do not have the required permissions to view the files attached to this post.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Issue with [b]Note:[/b] Text Splitting in Output File
Post by chrispitude »
Hi Amit,
Are you saying that you want the note text to be on the same line as the "Note:" label?
Are you saying that you want the note text to be on the same line as the "Note:" label?
-
- Posts: 22
- Joined: Fri Aug 04, 2023 11:27 am
Re: Issue with [b]Note:[/b] Text Splitting in Output File
Post by Amit+007appviewx »
Yes I want the note to look like this in a single line after the output is generated in both HTML and PDF output.
Some thing like this:
Some thing like this:
image.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Issue with [b]Note:[/b] Text Splitting in Output File
Post by chrispitude »
Hi Amit,
If you use your browser's CSS inspector to look at the note styling, you will see the following property that styles the note title as a block element:
To get the styling you want, you can create a custom CSS file that styles the note title as an inline element:
Here is a testcase that demonstrates the solution:
In our documentation, we keep the note title and content on separate lines (the default) because it allows for complex content in the note, such as a list, a preformatted text block, and other such content.
If you use your browser's CSS inspector to look at the note styling, you will see the following property that styles the note title as a block element:
Code: Select all
span.note__title {
display: block;
}
Code: Select all
span.note__title {
display: inline;
}
oxygen_note_on_one_line.zip
In our documentation, we keep the note title and content on separate lines (the default) because it allows for complex content in the note, such as a list, a preformatted text block, and other such content.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 22
- Joined: Fri Aug 04, 2023 11:27 am
Re: Issue with [b]Note:[/b] Text Splitting in Output File
Post by Amit+007appviewx »
Hi Team
I have tried changes this value in the CSS even then its not working.
In my CSS we had this element before.
span.note__title {
display: inline-block !important;
}"
Kindly suggest if there is any alternate option on the same.
Thank you
I have tried changes this value in the CSS even then its not working.
In my CSS we had this element before.
image.png
"* Note sectionsspan.note__title {
display: inline-block !important;
}"
Kindly suggest if there is any alternate option on the same.
Thank you
You do not have the required permissions to view the files attached to this post.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Issue with [b]Note:[/b] Text Splitting in Output File
Post by chrispitude »
Hi Amit,
You will need to use the CSS inspector in your browser on your actual output to see what CSS rule is taking precedence and causing the title to be rendered on a separate line.
You will need to use the CSS inspector in your browser on your actual output to see what CSS rule is taking precedence and causing the title to be rendered on a separate line.
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