Customizing tags in the Author?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 5
- Joined: Wed Jun 25, 2008 12:23 pm
Customizing tags in the Author?
Hello!
I'm currently evaluating the Author and up to now find it quite useful for my purpose (that is authoring technical documents in DocBook) and definitely good value for money. However, there is one important thing I could not find.
Maybe I just overlooked it in the documentation, but I would need to redesign the graphical tags (font size, tag height, foreground and background colour) in the "Author" view. At the moment they are too big and too dark and thus hampering the reading/writing flow by catching the author's eye instead of humbly submitting info in the background as a good butler would do.
Is such a setting possible as it is e.g. in XMetaL? I would not mind hacking some configuration or ini file as there seem to be nothing in the Preferences dialogue window.
Thank you in advance!
Greetings,
Faros
I'm currently evaluating the Author and up to now find it quite useful for my purpose (that is authoring technical documents in DocBook) and definitely good value for money. However, there is one important thing I could not find.
Maybe I just overlooked it in the documentation, but I would need to redesign the graphical tags (font size, tag height, foreground and background colour) in the "Author" view. At the moment they are too big and too dark and thus hampering the reading/writing flow by catching the author's eye instead of humbly submitting info in the background as a good butler would do.
Is such a setting possible as it is e.g. in XMetaL? I would not mind hacking some configuration or ini file as there seem to be nothing in the Preferences dialogue window.
Thank you in advance!
Greetings,
Faros
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Customizing tags in the Author?
Post by sorin_ristache »
Hello,
No, the design of the graphical tags of the Author mode is not configurable in the current version, that is version 9.2. We will consider making them configurable in a future version.
Thank you for your suggestion,
Sorin
No, the design of the graphical tags of the Author mode is not configurable in the current version, that is version 9.2. We will consider making them configurable in a future version.
Thank you for your suggestion,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Customizing tags in the Author?
Post by sorin_ristache »
Hello,
We implemented a part of your request. The foreground and background color of the tags used in Author mode will be configurable starting with version 10.3.
Regards,
Sorin
We implemented a part of your request. The foreground and background color of the tags used in Author mode will be configurable starting with version 10.3.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Customizing tags in the Author?
Post by sorin_ristache »
Faros65 wrote:Maybe I just overlooked it in the documentation, but I would need to redesign the graphical tags (font size, tag height, ...
The tags font in Author mode is the same as the text font so when you change the font for text in Author mode (Author default font in Preferences) that changes the XML tags font too. The size of the tags font is smaller with two pixels than the text font so the font size for the XML tags is also changed together with the font family from the Preferences setting.honyk wrote:Good news, but with config of font size it would be even better. I would also suggest replacing current font with better readable one.
Regards,
Sorin
-
- Posts: 206
- Joined: Thu Dec 01, 2011 4:22 pm
- Location: Hamburg, Germany
Re: Customizing tags in the Author?
Hello,
just did a search in the forum about "coloring tag elements" in the Author view and found this thread.
I found the possibility to change the color of all the tag elements in the preferences ( oXygen -> Editor -> Edit modes/Pages -> Author )
What can I do if I want to color certain tag elements with a particular tag name?
For instance I want to color tags named publication green and topic tags red...
Can I do it via CSS or programm code or something else?
just did a search in the forum about "coloring tag elements" in the Author view and found this thread.
I found the possibility to change the color of all the tag elements in the preferences ( oXygen -> Editor -> Edit modes/Pages -> Author )
What can I do if I want to color certain tag elements with a particular tag name?
For instance I want to color tags named publication green and topic tags red...
Can I do it via CSS or programm code or something else?
Simon Scholz
vogella GmbH
http://www.vogella.com
vogella GmbH
http://www.vogella.com
-
- Posts: 9421
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Customizing tags in the Author?
Hi,
We already have such an improvement request registered and you'll be notified when it gets implemented.
The implementation of this feature will probably involve having some additional custom Oxygen CSS properties to style background, foreground colors for the full tags mode.
In the meantime, a workaround I gave previously for this would be that instead of changing to Full Tags using our action, to create an additional CSS stylesheet which imports the standard DITA one (in your case) and which adds some before and after content for each element.
If you specify the new CSS as alternate in the Document Type Association then you could switch to it using the CSS selector available on the toolbar.
Example:
Regards,
Radu
We already have such an improvement request registered and you'll be notified when it gets implemented.
The implementation of this feature will probably involve having some additional custom Oxygen CSS properties to style background, foreground colors for the full tags mode.
In the meantime, a workaround I gave previously for this would be that instead of changing to Full Tags using our action, to create an additional CSS stylesheet which imports the standard DITA one (in your case) and which adds some before and after content for each element.
If you specify the new CSS as alternate in the Document Type Association then you could switch to it using the CSS selector available on the toolbar.
Example:
Code: Select all
p:before{
color:blue;
background-color:brown;
border:ridge 1px;
content:"<" local-name() ">";
}
p:after{
color:blue;
background-color:brown;
border:ridge 1px;
content:"</" local-name() ">";
}
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 206
- Joined: Thu Dec 01, 2011 4:22 pm
- Location: Hamburg, Germany
Re: Customizing tags in the Author?
Does Oxygen 14 now support changing the color of certain tag elements?Radu wrote:Hi,
We already have such an improvement request registered and you'll be notified when it gets implemented.
[...]
If yes, how can I implement this feature?
Best regards,
Simon
Simon Scholz
vogella GmbH
http://www.vogella.com
vogella GmbH
http://www.vogella.com
-
- Posts: 9421
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Customizing tags in the Author?
Hi Simon,
No, sorry. We have a lot of things to do and it's a very tough call to decide which issue gets done and on what version.
Right now the issue is scheduled for version 14.2 (maybe in 6 months or so). I will contact you directly when it becomes available.
How urgent is this to you?
So you just want to have different coloring of the full tags markers controlled from the CSS?
Do you also want to change the name which appears on those tags, which right now is the name of the XML element?
Regards,
Radu
No, sorry. We have a lot of things to do and it's a very tough call to decide which issue gets done and on what version.
Right now the issue is scheduled for version 14.2 (maybe in 6 months or so). I will contact you directly when it becomes available.
How urgent is this to you?
So you just want to have different coloring of the full tags markers controlled from the CSS?
Do you also want to change the name which appears on those tags, which right now is the name of the XML element?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 206
- Joined: Thu Dec 01, 2011 4:22 pm
- Location: Hamburg, Germany
Re: Customizing tags in the Author?
Hello Radu,
we´d like to be able to only change the color(not the text) of certain tags programmatically, so that the color can be changed during runtime under certain circumstances.
CSS is maybe too static, or would it be possible to use the StylesFilter in order to alternate the tag colors?
Hopefully the fact that we do not want to change the text of the tags makes it a bit easier for you to implement this feature.
Maybe you could release the coloring of tags in version 14.1 and implement the rest of the issue in version 14.2.
Best regards,
Simon
we´d like to be able to only change the color(not the text) of certain tags programmatically, so that the color can be changed during runtime under certain circumstances.
CSS is maybe too static, or would it be possible to use the StylesFilter in order to alternate the tag colors?
We would appreciate in having this feature in version 14.1, if it would be possible for you to change your schedule a bit?Radu wrote:How urgent is this to you?
Hopefully the fact that we do not want to change the text of the tags makes it a bit easier for you to implement this feature.
Maybe you could release the coloring of tags in version 14.1 and implement the rest of the issue in version 14.2.
Best regards,
Simon
Simon Scholz
vogella GmbH
http://www.vogella.com
vogella GmbH
http://www.vogella.com
-
- Posts: 9421
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Customizing tags in the Author?
Hi,
Oxygen 14.1 which was just released added this new feature of customizing the colors of the full tags:
http://www.oxygenxml.com/doc/ug-oxygen/ ... -tags.html
Regards,
Radu
Oxygen 14.1 which was just released added this new feature of customizing the colors of the full tags:
http://www.oxygenxml.com/doc/ug-oxygen/ ... -tags.html
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)
- ↳ 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