Search found 168 matches

by honyk
Tue Aug 25, 2009 11:19 am
Forum: Common Problems
Topic: Vertical cursor position just before closing tag
Replies: 5
Views: 1602

Re: Vertical cursor position just before closing tag

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> <?oxy_insert_start author="honyk" timestamp="20090825T103928+0200"?> <para>test</para> <?oxy_insert_end?> http://img254.imageshack.us/img254/74...
by honyk
Tue Aug 25, 2009 10:29 am
Forum: Other Issues
Topic: CSS selector for empty attribute
Replies: 1
Views: 4042

CSS selector for empty attribute

Hello, I'd like display links without specified target in red. In Docbook there is link element with linkend attribute. I've specified following styles: link { color:red; } link[linkend] { color:navy; } But it don't work properly if linkend attribute is present, but empty. In documentation there is ...
by honyk
Tue Aug 25, 2009 10:15 am
Forum: Feature Request
Topic: Author mode - attribute order in tags
Replies: 3
Views: 1303

Author mode - attribute order in tags

Hello,

there is settings in Preferences for selection of order of displayed attributes in Outline view. Could be this settings used also for displaying attributes in tags?

Jan
by honyk
Tue Aug 25, 2009 9:32 am
Forum: Common Problems
Topic: Vertical cursor position just before closing tag
Replies: 5
Views: 1602

Re: Vertical cursor position just before closing tag

Yes, your description is exactly what I mean. Now Verdana 12pt is used and described effect is most visible if text is zoomed out by several Ctrl- click (font is not specified in CSS). I'd attach screenshot, but I don't know how to insert image to this forum.
by honyk
Mon Aug 24, 2009 6:37 pm
Forum: Feature Request
Topic: Validation scenario - editor variables
Replies: 1
Views: 1017

Validation scenario - editor variables

Hello, it would be nice to add to the available editor variables something like ${currentFileUpperFolders} to build URL of validation unit. We have many branches of our documentation. The master document is composed from many partial documents placed in multi-level hierarchy. It prevents us to use r...
by honyk
Mon Aug 24, 2009 6:16 pm
Forum: Other Issues
Topic: LIBXML - limitations
Replies: 1
Views: 1046

LIBXML - limitations

Hello, if LIBXML is set as validation engine, feature 'Check errors on save' is not working - although this settings is enabled, document with errors is saved without any warning. Is it bug or limitation? Is there any list of possible limitations if this engine is used? It needn't be complete, but a...
by honyk
Mon Aug 24, 2009 5:31 pm
Forum: Feature Request
Topic: Author mode - disallow of writing text everywhere
Replies: 3
Views: 1331

Author mode - disallow of writing text everywhere

Hello, at present is quite easy to produce invalid document as there is not any mechanism how to prevent to write text everywhere. For example just into section element before title element in docbook document. I am also not very enjoyed that it is possible to insert multiple spaces in non 'preserve...
by honyk
Mon Aug 24, 2009 4:29 pm
Forum: Feature Request
Topic: Working with large Docbook document splitted into parts
Replies: 14
Views: 6239

Re: Working with large Docbook document splitted into parts

Yes, the list of possible values for linkend is available in auto-completion only if the default engine is used. LIBXML is an external engine and cannot be used for finding these values. In this case there would be nice to improve the default engine to be able to process XIncludes and to offer simi...
by honyk
Mon Aug 24, 2009 4:01 pm
Forum: Feature Request
Topic: Author mode - run actions on insert of element
Replies: 1
Views: 844

Author mode - run actions on insert of element

Hello, it would be nice to extend current functionality and to allow running of actions beside shortcut also on insert of specified element. If now there is inserted itemizedlist element into docbook document manually, you have to add also nested listitem and para elements. All these elements can be...
by honyk
Mon Aug 24, 2009 1:14 pm
Forum: Feature Request
Topic: Working with large Docbook document splitted into parts
Replies: 14
Views: 6239

Re: Working with large Docbook document splitted into parts

If LIBXML validation engine is used, no list of available ID's is available for linkend attribute of link element in my docbook document. Is this feature available only to the default engine? Btw, jumping across reffered content, not only via master document, would be nice feature. If validation sce...
by honyk
Mon Aug 24, 2009 10:41 am
Forum: Other Issues
Topic: LIBXML catalog path
Replies: 3
Views: 2384

Re: LIBXML catalog path

I was wrong in previous post. It still doesn't work, or, at least, it is not reliable. I've restored catalog settings for sure. Catalogs are resolved properly (info from catalog tab): Description: Resolved system: http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd file:/C:/Program%20Files%20(x86...
by honyk
Mon Aug 24, 2009 9:16 am
Forum: Other Issues
Topic: LIBXML catalog path
Replies: 3
Views: 2384

Re: LIBXML catalog path

I've restored DocBook DTD to original one (I've added there xi:include element so inclusion mechanism probably didn't work properly) and now it is Ok.
by honyk
Thu Aug 20, 2009 12:15 pm
Forum: Other Issues
Topic: LIBXML catalog path
Replies: 3
Views: 2384

LIBXML catalog path

Hello, if there is set LIBXML as engine for validation, the following error is displayed: E [LIBXML] warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd". Maybe some firewall issue, but it seems there is attempt to validate document against public DTD, whi...
by honyk
Wed Aug 19, 2009 6:35 pm
Forum: Feature Request
Topic: Working with large Docbook document splitted into parts
Replies: 14
Views: 6239

Re: Working with large Docbook document splitted into parts

To clarify my post: master file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> <book> <title>Test</title> <xi:include href="first.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:includ...
by honyk
Wed Aug 19, 2009 6:21 pm
Forum: Other Issues
Topic: Displaying content of document level entities in Author mode
Replies: 8
Views: 2621

Re: Displaying content of document level entities in Author mode

Could somebody explain, what is wrong with the following use case? Master file (support for xi:include at this place is injected into local DTD): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"...
by honyk
Wed Aug 19, 2009 5:56 pm
Forum: Other Issues
Topic: Displaying content of document level entities in Author mode
Replies: 8
Views: 2621

Re: Displaying content of document level entities in Author mode

Finally I am quite sure it is caused by non valid master document. If master document is not valid, its content is not available to child even with properly set validation scenario and hence entities defined there cannot be resolved properly. From my point of view the master document is valid (despi...
by honyk
Wed Aug 19, 2009 5:40 pm
Forum: Feature Request
Topic: Working with large Docbook document splitted into parts
Replies: 14
Views: 6239

Re: Working with large Docbook document splitted into parts

Great, I got it. It requires valid master file. From my point of view it was valid, but Oxygen have some limitation. It is described in previous post If in my partial document there is specified link, which target is in another document, I would expect fine result, but validation complains that 'An ...
by honyk
Wed Aug 19, 2009 4:32 pm
Forum: Other Issues
Topic: Displaying content of document level entities in Author mode
Replies: 8
Views: 2621

Re: Displaying content of document level entities in Author mode

You are right. If entities are specified in the main document and used directly in it, they are displayed correctly (I didn't make this easiest proof before). But if they are used in xincluded parts (my case), although defined globally, they are not resolved in Author view of the main document.
by honyk
Wed Aug 19, 2009 2:15 pm
Forum: Feature Request
Topic: Working with large Docbook document splitted into parts
Replies: 14
Views: 6239

Re: Working with large Docbook document splitted into parts

Click on the symbol of the inserted link in Author mode jumps to the referenced section/element. This works for links across single document, not for links between two individual documents, which are xincluded into the main document. Linkend attribute is ID only so I understand that real path canno...
by honyk
Wed Aug 19, 2009 1:46 pm
Forum: Feature Request
Topic: Working with large Docbook document splitted into parts
Replies: 14
Views: 6239

Re: Working with large Docbook document splitted into parts

Custom validation scenario seems promising, thanks for the tip. I've tested it but I am quite confused by validation result: 1. I am disturbed by errors not corresponding to my document. Sometimes it is useful, but there would be nice an option to show only related errors. 2. It doesn't tell me the ...
by honyk
Wed Aug 19, 2009 12:35 pm
Forum: Other Issues
Topic: Displaying content of document level entities in Author mode
Replies: 8
Views: 2621

Re: Displaying content of document level entities in Author mode

Option is enabled, there is no problem to load content via xi:includes, but in this case it is not so called referred content I think: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!ENTITY...
by honyk
Wed Aug 19, 2009 12:29 pm
Forum: Other Issues
Topic: Recognizing of entities
Replies: 3
Views: 1426

Re: Recognizing of entities

Thanks for reply. In such case it would be nice to have an option for Author mode: 'Display characters not allowed in XML as entities' - without any exception.
by honyk
Wed Aug 19, 2009 12:17 pm
Forum: Feature Request
Topic: Working with large Docbook document splitted into parts
Replies: 14
Views: 6239

Working with large Docbook document splitted into parts

Hello, our common scenario is to split documentation into smaller parts, which are referred using xi:include into the main document. Although it is not necessary for processing of the main document, for linking we use olink instead of link to avoid validation issues if target is outside of current d...
by honyk
Wed Aug 19, 2009 10:19 am
Forum: Other Issues
Topic: Displaying content of document level entities in Author mode
Replies: 8
Views: 2621

Displaying content of document level entities in Author mode

Hello,

is there any possibility to show the content of defined entities? By default there is displayed only entity name in tag, not content itself. Is there way via CSS's content feature?

Jan
by honyk
Wed Aug 19, 2009 9:29 am
Forum: Other Issues
Topic: Author mode - css style for included content
Replies: 2
Views: 1137

Author mode - css style for included content

Hello,

is there any way how to change default decoration of included/referred content? If in Docbook source some content is linked via xi:includes, it is displayed in grey backround with thin border in Author mode. I'd like to change this background color.

Jan
by honyk
Tue Aug 18, 2009 6:13 pm
Forum: Other Issues
Topic: Recognizing of entities
Replies: 3
Views: 1426

Recognizing of entities

Hello, if the following Docbook code is displayed in Author mode <<guilabel>F2</guilabel>> closing character '>' is colored as processing instruction. I think that common entities like amp, apos, gt, lt, quot should be processed in the same way so either considered as processing instruction or, bett...
by honyk
Tue Aug 18, 2009 5:54 pm
Forum: Other Issues
Topic: CSS selector for &nbsp;
Replies: 2
Views: 3489

CSS selector for &nbsp;

Hello,

is there any way in Oxygen to apply different css style to &nbsp; than to other entities?

Jan
by honyk
Tue Aug 18, 2009 4:51 pm
Forum: Other Issues
Topic: Displaying processing instructions inline
Replies: 11
Views: 3599

Re: Displaying processing instructions inline

Sorry, my fault, I didn't know it is necessary to include namespace info, I thought it is known to Oxygen by default. Now it works fine. Thanks for patience.
by honyk
Tue Aug 18, 2009 4:32 pm
Forum: Other Issues
Topic: Displaying processing instructions inline
Replies: 11
Views: 3599

Re: Displaying processing instructions inline

I've checked your code on another PC with the same result as on mine (with processing instruction switched on). If the following code is used <copyright> <year><?dbtimestamp format="Y"?></year> <holder>MyCompany</holder> </copyright> Year and holder are on separate lines. If PI is replaced with any ...
by honyk
Tue Aug 18, 2009 2:49 pm
Forum: Other Issues
Topic: Displaying processing instructions inline
Replies: 11
Views: 3599

Re: Displaying processing instructions inline

Even impotant! keyword doesn't help. Is it working for you in Author 10.3?