Author: line-wrap between elements
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 48
- Joined: Wed Oct 22, 2014 4:11 pm
Author: line-wrap between elements
Post by friedemann_bach »
Dear Forum,
in the Author Mode, is there a way to avoid line-breaks between two elements which are not separated by a whitespace character?
So that a word that comprises more than one element, like "<a>con</a>t<b>ent</b>" would not be represented as "con[next line]tent" or "cont[next line]ent", but remain unwrapped?
in the Author Mode, is there a way to avoid line-breaks between two elements which are not separated by a whitespace character?
So that a word that comprises more than one element, like "<a>con</a>t<b>ent</b>" would not be represented as "con[next line]tent" or "cont[next line]ent", but remain unwrapped?
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Author: line-wrap between elements
Hi,
The only way I see an answer for this would be if you set space preserve on the <a> element like:
Regards,
Radu
The only way I see an answer for this would be if you set space preserve on the <a> element like:
Code: Select all
a{
white-space:pre;
}
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 48
- Joined: Wed Oct 22, 2014 4:11 pm
Re: Author: line-wrap between elements
Post by friedemann_bach »
Thanks Radu, this is indeed helpful in some of my cases!
Best regards, and many thanks for your work.
Best regards, and many thanks for your work.
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Author: line-wrap between elements
Hi,
We'll also consider adding this as a default behavior in a future version. In a way, if a couple of inline elements are part of the same word Oxygen should not consider that it can visually split them on multiple lines and see them as a single word which cannot be split on multiple lines.
Regards,
Radu
We'll also consider adding this as a default behavior in a future version. In a way, if a couple of inline elements are part of the same word Oxygen should not consider that it can visually split them on multiple lines and see them as a single word which cannot be split on multiple lines.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 48
- Joined: Wed Oct 22, 2014 4:11 pm
Re: Author: line-wrap between elements
Post by friedemann_bach »
This would be perfect, of course! Thank you for considering this.
-
- Posts: 48
- Joined: Wed Oct 22, 2014 4:11 pm
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Author: line-wrap between elements
Hi,
For Asian languages which indeed do not have whitespaces between characters we usually allow breaking to occur after any character, but favoring line breaks after certain characters like full-width comma.
Regards,
Radu
For Asian languages which indeed do not have whitespaces between characters we usually allow breaking to occur after any character, but favoring line breaks after certain characters like full-width comma.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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