Search found 161 matches

by dcramer
Tue May 03, 2011 5:14 pm
Forum: Common Problems
Topic: Author complains if processing instructions are displayed an
Replies: 13
Views: 4917

Re: Author complains if processing instructions are displayed an

Hi there, This workaround no longer works for 12.2 beta. When I display PIs in tables, the tables are no longer formatted correctly (both CALS and HTML tables). Below are a couple of sample tables with PIs: <table frame="all"> <title>Sample table cals</title> <tgroup cols="2"> <?...
by dcramer
Tue Apr 26, 2011 3:36 pm
Forum: Feature Request
Topic: Newly added frameworks appear at bottom of list, should appe
Replies: 4
Views: 2115

Re: Newly added frameworks appear at bottom of list, should appe

I'll give #1 a shot, though the tricky thing about #1 (which I'm already using for other settings) is that it's difficult to update existing projects. In the future, I'm thinking I'll have an xslt in the framework and button that they can push that runs that xslt over the current project to modify s...
by dcramer
Mon Apr 25, 2011 10:02 pm
Forum: Feature Request
Topic: Newly added frameworks appear at bottom of list, should appe
Replies: 4
Views: 2115

Newly added frameworks appear at bottom of list, should appe

Hi there, When I have my users install a new framework by downloading it and unzipping it into the frameworks dir, the new framework is appended to the list of Document Types as the last item. If my new framework is a customization of an existing framework (perhaps with a CustomRuleMatcher), this me...
by dcramer
Thu Mar 24, 2011 3:20 pm
Forum: Feature Request
Topic: Move rows and columns in a table with buttons
Replies: 6
Views: 3824

Re: Move rows and columns in a table with buttons

Cool!

Thanks,
David
by dcramer
Thu Mar 24, 2011 3:11 pm
Forum: Feature Request
Topic: Move rows and columns in a table with buttons
Replies: 6
Views: 3824

Re: Move rows and columns in a table with buttons

Ok, glad it's on the roadmap.

A similar feature would be an easy way to move list item like things (in DocBook listitems, steps, varlistentrys, members, etc) up and down.

Thanks,
David
by dcramer
Thu Mar 24, 2011 12:56 am
Forum: Feature Request
Topic: Move rows and columns in a table with buttons
Replies: 6
Views: 3824

Move rows and columns in a table with buttons

Hi there, One feature that seems to be missing from Oxygen's cals and html table support are buttons to move rows up and down and columns left and right. I know spans would be a problem, but I assume the script would just refuse to move the row if it hits a span. Is there already a convenience featu...
by dcramer
Sat Mar 05, 2011 7:29 pm
Forum: Common Problems
Topic: Display less detail in the Outline view
Replies: 6
Views: 3382

Re: Display less detail in the Outline view

Yes, it works ok, but requires a little creativity and is not as easy to explain to new writers as I would like. I think there's still a feature request/unsatisfied user story lurking in here. The current Outline View is of limited value for a number of reasons: you can't limit what is displayed to ...
by dcramer
Thu Feb 24, 2011 1:28 am
Forum: Common Problems
Topic: Display less detail in the Outline view
Replies: 6
Views: 3382

Re: Display less detail in the Outline view

Ok, I just figured out that if I switch the wrapper doc to my new toc view, then tile the windows, I can drag them around and put the toc view on the left and stack the others on the right and get what I want.

David
by dcramer
Wed Feb 23, 2011 5:51 pm
Forum: Common Problems
Topic: Display less detail in the Outline view
Replies: 6
Views: 3382

Re: Display less detail in the Outline view

Ok, thanks. I'll look into that one of these days. In the mean time, I've come up with a solution that is closer to what my users really want. I've added another css file to the list of alternative csses. Now in the main wrapper document that xincludes all chapters etc, I switch to that css (pasted ...
by dcramer
Tue Feb 22, 2011 7:36 pm
Forum: Common Problems
Topic: Display less detail in the Outline view
Replies: 6
Views: 3382

Display less detail in the Outline view

Hi there, Is there anyway to suppress certain elements in the outline view to reduce the amount of noise? For example, I might like to suppress all <indexterm> and <para> elements. It would also be nice to flatten out xincluded content so you see only the xincluded thing and not two additional level...
by dcramer
Mon Feb 21, 2011 8:11 pm
Forum: Feature Request
Topic: Auto save on window change
Replies: 1
Views: 1599

Auto save on window change

Hi there,
A user has requested that Oxygen be made to automatically save the file(s) when you switch from Oxygen to another application (apparently this is the way IntelliJ behaves). It would be fine if this were a configurable thing.

Thanks,
David
by dcramer
Wed Feb 16, 2011 9:45 pm
Forum: Common Problems
Topic: Styling xincluded inline elements with css
Replies: 4
Views: 2613

Re: Styling xincluded inline elements with css

Yes, that did it. I guess the "url()" part kept the xi from being recognized? Anyway, below is what I ended up with (I've modified DocBook to allow xincludes anywhere, so I want included content in paras, entrys and titles, to be inline and less obtrusive. I've kept the little icon before ...
by dcramer
Tue Feb 15, 2011 11:09 pm
Forum: Common Problems
Topic: Styling xincluded inline elements with css
Replies: 4
Views: 2613

Re: Styling xincluded inline elements with css

Actually, I figured out I just need to leave off the namespace prefix: include { display:inline !important; } That prevents the include element itself from being rendered as a block element, which gets me part of the way there. Is there a way to suppress the link icon and the value of the href attri...
by dcramer
Mon Feb 14, 2011 10:08 pm
Forum: Common Problems
Topic: Reloading operations in classpath
Replies: 2
Views: 1540

Re: Reloading operations in classpath

As far as I can tell, quitting and restarting Oxygen is the only way to pick up a changed class (quitting the docs doesn't do it). It does seem to notice a newly added class however.

Thanks,
David
by dcramer
Mon Feb 14, 2011 8:24 pm
Forum: Common Problems
Topic: Styling xincluded inline elements with css
Replies: 4
Views: 2613

Styling xincluded inline elements with css

Hi there, I was inspired by something in this thread, http://www.oxygenxml.com/forum/topic3240.html, to try to change the styling of xincluded content. I can see that oxy|reference also applies to xinclude, but nothing I try affects the include element itself. My goal is to make xincluded inlines le...
by dcramer
Mon Feb 14, 2011 8:00 pm
Forum: Feature Request
Topic: Insert indexterm action
Replies: 8
Views: 3816

Re: Insert indexterm action

Thanks Radu. That gives me something to work with. I'll have to handle some other situations (like when the word in question is in a <title> or <entry>). I'll let you know if I need more help with that.

David
by dcramer
Mon Feb 14, 2011 5:06 am
Forum: Feature Request
Topic: Insert indexterm action
Replies: 8
Views: 3816

Insert indexterm action

Hi there, I would like to create an "Insert indexterm" action that operates on the current selected text. Say the user has highlighted the word "whatever" in the editor. This action would insert <indexterm><primary>whatever</primary></indexterm> at the end of the nearest ancestor...
by dcramer
Sun Feb 13, 2011 2:14 am
Forum: Common Problems
Topic: Reloading operations in classpath
Replies: 2
Views: 1540

Reloading operations in classpath

Hi there,
Say I've written and compiled an AuthorOperation, associated it with an Action in Oxygen and tested it out. Then I modify the operation and recompile. Is there a way to reload the class to test the change without restarting Oxygen?

Thanks,
David
by dcramer
Sat Feb 12, 2011 8:16 am
Forum: Common Problems
Topic: Modifying docbook.sch
Replies: 2
Views: 1410

Re: Modifying docbook.sch

Ah, I see them now in docbookxi.rng. Commenting out from there works.

Thanks,
David
by dcramer
Sat Feb 12, 2011 2:30 am
Forum: Common Problems
Topic: Inserting an informalfigure in DocBook
Replies: 7
Views: 3418

Re: Inserting an informalfigure in DocBook

cbr, Since you're interested in the DocBook framework, I made a little movie of some other customizations that I did and think should be candidates for the docbook framework: http://www.thingbag.net/docbook/oxygen.ogv I made dropdown buttons out of Bold, Italic, and added one for Monospace, and made...
by dcramer
Sat Feb 12, 2011 1:47 am
Forum: Common Problems
Topic: Inserting an informalfigure in DocBook
Replies: 7
Views: 3418

Re: Inserting an informalfigure in DocBook

Doesn't look like I can attach a zip to this forum, so here's the code for the informalfigure one (just a tweak of the existing Oxygen one). The figure and inlinemediaobject ones are almost identical with only the element names changed. I've also written a similar one for inserting xincludes, so you...
by dcramer
Fri Feb 11, 2011 5:30 pm
Forum: Common Problems
Topic: Modifying docbook.sch
Replies: 2
Views: 1410

Modifying docbook.sch

Hi there, I've created a framework based on the DocBook framework for my DocBook variant. In my version of the framework, I've commented out some rules from docbook.sch, but I still get messages for those rules. I've restarted Oxygen to be sure it's not a caching thing. As far as I can tell, Oxygen ...
by dcramer
Wed Feb 09, 2011 2:12 am
Forum: Common Problems
Topic: Associating a RelaxNG schema with a framework by version
Replies: 5
Views: 2841

Re: Associating a RelaxNG schema with a framework by version

Btw., I ended up implementing this as you suggested and it turned out to be pretty simple to do.

Thanks,
David
by dcramer
Mon Jan 31, 2011 11:27 pm
Forum: Common Problems
Topic: Author complains if processing instructions are displayed an
Replies: 13
Views: 4917

Re: Author complains if processing instructions are displayed an

That workaround does the trick.

Thanks,
David
by dcramer
Mon Jan 31, 2011 10:01 pm
Forum: Other Issues
Topic: API for customizing olinik insertion
Replies: 4
Views: 2179

Re: API for customizing olinik insertion

Hi Radu,
I picked method 2 and it works beautifully.

Thanks!
David
by dcramer
Mon Jan 31, 2011 4:02 am
Forum: Other Issues
Topic: API for customizing olinik insertion
Replies: 4
Views: 2179

Re: API for customizing olinik insertion

Ok, I've taken a look at ro.sync.ecss.extensions.docbook.olink.InsertOLinkOperation and it seems that there's not much going on in that class. Most of the logic must be in ro.sync.ecss.docbook.DocbookAccess, but that's in oxygen.jar. The modification I need to make for our situation is that if the t...
by dcramer
Mon Jan 31, 2011 3:51 am
Forum: Common Problems
Topic: Inserting an informalfigure in DocBook
Replies: 7
Views: 3418

Re: Inserting an informalfigure in DocBook

I ended up creating four classes based on InsertImageDataOperation: InsertFigureOperation, InsertInformalfigureOperation, InsertScreenshotOperatoin and InsertInlinemediaobjectOperation. I then created one action for each of these named figure, informalfigure, screenshot, and inlinemediaobject. I cre...
by dcramer
Sat Jan 29, 2011 8:22 pm
Forum: Feature Request
Topic: Automatically (re)open olink db in olink dialog
Replies: 4
Views: 2684

Re: Automatically (re)open olink db in olink dialog

Thanks ${pdu}/olink.db does the trick for us.

David
by dcramer
Fri Jan 28, 2011 6:49 am
Forum: Feature Request
Topic: Helpful error messages for Actions
Replies: 1
Views: 1432

Helpful error messages for Actions

Hi there, Actions are very flexible and useful and I'm creating bunches of them. I do sometimes find myself wanting to be able to specify a helpful error message sometimes. E.g. Say I write the xpath such that a PI can only be the child of an entry (because this PI controls the rotation of text in t...
by dcramer
Thu Jan 27, 2011 3:20 pm
Forum: Common Problems
Topic: Author complains if processing instructions are displayed an
Replies: 13
Views: 4917

Re: Author complains if processing instructions are displayed an

Btw., in the case of my example, Author displays the PI just fine, but complains about it.

David