Auto numbering and continuity
Oxygen general issues.
-
- Posts: 1
- Joined: Fri Feb 15, 2013 6:43 pm
Auto numbering and continuity
Post by Strangeone »
I'm fairly new to xml and epub but I love Oxygen and the simplicity it gives me.
I've got two questions that are probably very simple, I just can't figure them out. Maybe someone could help me.
First I'm working with a large compilation of books all put together in one.
I'm putting in margin notes and was wondering how to get the numbers to auto increment for me.
The code I'm using is, <span id="B01C01F01"></span><a href="content063.xhtml#B01C01N01"><sup>1</sup>
I have sometimes over 200 references so it would be nice to have a way to increment the #.
The B01 refs. The book the C01 refs. The chapter in the current book. And the F01/N01 the particular reference.
Each book has several chapters and each chapter many references. It very long and monotonous to go through and increment each ref.
Can anyone help me with an auto increment, where I can tell it which # to increase and as I copy and past the code the # increases.
Second, each book I'm working on has recurring phraseology. From time to time I need to change a phrase but am not sure if that phrase is used anywhere else in the book. It would be great when I change a phrase if Oxygen could auto search for that phrase and then prompt me asking if I'd like to change the phrase in all other places.
Does this exist? I know that I can do a search and find and replace all. But it would be more efficient if oxygen just automatically did the search and ask me to change or not.
Extraordinaire thanks to any and all who may be able to help me.
Have a great day!
Ronnie
I've got two questions that are probably very simple, I just can't figure them out. Maybe someone could help me.
First I'm working with a large compilation of books all put together in one.
I'm putting in margin notes and was wondering how to get the numbers to auto increment for me.
The code I'm using is, <span id="B01C01F01"></span><a href="content063.xhtml#B01C01N01"><sup>1</sup>
I have sometimes over 200 references so it would be nice to have a way to increment the #.
The B01 refs. The book the C01 refs. The chapter in the current book. And the F01/N01 the particular reference.
Each book has several chapters and each chapter many references. It very long and monotonous to go through and increment each ref.
Can anyone help me with an auto increment, where I can tell it which # to increase and as I copy and past the code the # increases.
Second, each book I'm working on has recurring phraseology. From time to time I need to change a phrase but am not sure if that phrase is used anywhere else in the book. It would be great when I change a phrase if Oxygen could auto search for that phrase and then prompt me asking if I'd like to change the phrase in all other places.
Does this exist? I know that I can do a search and find and replace all. But it would be more efficient if oxygen just automatically did the search and ask me to change or not.
Extraordinaire thanks to any and all who may be able to help me.
Have a great day!
Ronnie
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Auto numbering and continuity
Hi Ronnie,
Your requests are very specific for your certain use case and I don't think that we can develop in Oxygen generic tools to help you out.
Oxygen has support for adding plugins to it (using our Java Plugin SDK):
http://www.oxygenxml.com/oxygen_sdk.htm ... er_Plugins
so hypothetically you could implement a plugin to help you.
For example you could implement a plugin action which would take the entire content of the opened document and add <span>s to it automatically based on a certain criteria.
You could also add a listener and each time you are editing you could have some custom code which looks for similar phrases in other resources.
In my opinion, EPUB is more an output format than an editing format.
For example the book could be edited in an XML vocabulary like DITA or Docbook and then published to EPUB.
Then you could have stylesheet customizations which would create the EPUB in the way you want (add the spans).
Regards,
Radu
Your requests are very specific for your certain use case and I don't think that we can develop in Oxygen generic tools to help you out.
Oxygen has support for adding plugins to it (using our Java Plugin SDK):
http://www.oxygenxml.com/oxygen_sdk.htm ... er_Plugins
so hypothetically you could implement a plugin to help you.
For example you could implement a plugin action which would take the entire content of the opened document and add <span>s to it automatically based on a certain criteria.
You could also add a listener and each time you are editing you could have some custom code which looks for similar phrases in other resources.
In my opinion, EPUB is more an output format than an editing format.
For example the book could be edited in an XML vocabulary like DITA or Docbook and then published to EPUB.
Then you could have stylesheet customizations which would create the EPUB in the way you want (add the spans).
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