Search found 501 matches

by Dan
Tue Mar 08, 2016 11:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: ro.sync.ecss.css.Styles getPseudoLevel() only returns 0 or 1
Replies: 3
Views: 2666

Re: ro.sync.ecss.css.Styles getPseudoLevel() only returns 0 or 1

Hi Johann, We changed the way the StylesFilter.filter() gets called for pseudo elements. Now it works also for higher level pseudo elements but only if they have been defined in the CSS (i.e. they have a ' content ' property). You can change this content from the filter method. The level is accessib...
by Dan
Wed Jan 27, 2016 1:39 pm
Forum: Common Problems
Topic: Removing White Spaces added in text mode
Replies: 1
Views: 2857

Re: Removing White Spaces added in text mode

Hello, When saving from Author editing mode, the content gets formatted according to the rules defined in the options from: Options/Preferecens/Editor/Format Options/Preferecens/Editor/Format/XML To make the Author serialize long lines without breaking them you can use the option: Compatibility with...
by Dan
Wed Jan 20, 2016 10:40 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Controlling bi-directional text output in PDF publishing
Replies: 8
Views: 7476

Re: Controlling bi-directional text output in PDF publishing

Hi, I still cannot reproduce your problem with the oXygen default settings. This is my setup: 1. I used the 'samples/dita/it-book/taskbook.ditamap' 2. I opened the map, then I opened the 'installing.dita' topic. I switched to 'Text mode' and pasted your paragraph before the first one from the topic....
by Dan
Fri Jan 15, 2016 11:42 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: SVG ArialMT Unicode issue
Replies: 7
Views: 4476

Re: SVG ArialMT Unicode issue

Sorry, my mistake, the font-family attribute is more important in this case and Batik is using it. However, it seems that Batik looks only into the AWT(JRE) and system fonts, so it skips the substitutions from fop.xconf. http://osdir.com/ml/fop-users-xmlgraphics.apache.org/2012-06/msg00045.html http...
by Dan
Fri Jan 15, 2016 10:47 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: SVG ArialMT Unicode issue
Replies: 7
Views: 4476

Re: SVG ArialMT Unicode issue

But even if you map the fonts to other ones using the FOP config, it will not solve the problem.
The Batik SVG processor will ignore all the properties following "-inkscape-font-specification", and will abort all other styling of the text, so it won't even interpret the font name attribute.
by Dan
Fri Jan 15, 2016 10:43 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Controlling bi-directional text output in PDF publishing
Replies: 8
Views: 7476

Re: Controlling bi-directional text output in PDF publishing

Hard to tell without seeing the generated markup... Maybe you can provide an fragment of DITA and FO markup, so we can get a clearer picture. I tried to put the company name in the middle of an Arabic text and it reads ".Amazing Widgets Inc" (the dot is BIDI neutral and it goes to the firs...
by Dan
Wed Jan 13, 2016 11:12 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: SVG ArialMT Unicode issue
Replies: 7
Views: 4476

Re: SVG ArialMT Unicode issue

There is a problem in the Apache Batik SVG renderer with files created from Inkscape. I removed the "-inkscape-font-specification:'Arial Unicode MS, Normal'" from the style attribute and it started to work, without any change to the font mappings. I understand you have no control on how th...
by Dan
Mon Jan 11, 2016 11:05 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Controlling bi-directional text output in PDF publishing
Replies: 8
Views: 7476

Re: Controlling bi-directional text output in PDF publishing

Yes, you need to control the direction of the static content you generate using the fo:bidi-override elements. But I would use "embed" instead of "bidi-override", it works better in case you have city names or other meta information in Arabic or/and English. (The "bidi-overr...
by Dan
Thu Dec 24, 2015 12:13 pm
Forum: Feature Request
Topic: Performance: Lots of temp imageio requests
Replies: 4
Views: 3750

Re: Performance: Lots of temp imageio requests

Hi, We reproduced the problem and we fixed it. The fix was to disable the disk cache used by the ImageIO library. From our tests the performance improvement is between 5% and 10%. Thank you! Dan PS:To determine the file activity we used logging and Java profiling, but I would like to find out what t...
by Dan
Tue Nov 17, 2015 12:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK using individual license
Replies: 8
Views: 3887

Re: SDK using individual license

Indeed, you cannot use a user-based license as an argument, it accepts only site or evaluation type.
I think the best is to let the user paste the license in the oXygen licensing dialog, or enter the license server details. For this dialog to pop-up, leave the licensing arguments set to null.
by Dan
Tue Nov 17, 2015 12:05 pm
Forum: Common Problems
Topic: Trying out flow() in pdf-css
Replies: 3
Views: 2198

Re: Trying out flow() in pdf-css

Hello Kristian, 1. For the first problem, move the <oxy:title-to-move-to-headers> inside <oxy:front-page-title> . <xsl:template match="*[contains(@class, ' map/map ')]"> <xsl:copy> <xsl:copy-of select="@*"/> <oxy:front-page> <oxy:front-page-title> <xsl:choose> <xsl:when test=&quo...
by Dan
Mon Nov 16, 2015 1:34 pm
Forum: Common Problems
Topic: Trying out flow() in pdf-css
Replies: 3
Views: 2198

Re: Trying out flow() in pdf-css

Hello, By using "flow", you effectively remove the element from the normal flow and you are moving it into a static part of the page. See: http://www.princexml.com/doc/8.1/properties/prince-flow/ http://www.princexml.com/doc/8.1/page-headers-footers/ So you are moving the entire bookmap in...
by Dan
Fri Nov 21, 2014 1:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Remove Namespace from selected node
Replies: 6
Views: 4026

Re: Remove Namespace from selected node

For the moment there is no way to do that. I understand your use case. For instance, when serializing a 'p' element you get something like: <p xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" xmlns=""> some text </p> For sure you do not need the 'ditaarch' namespace...
by Dan
Fri Nov 21, 2014 12:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Remove Namespace from selected node
Replies: 6
Views: 4026

Re: Remove Namespace from selected node

Hello Denis,

There is no API to filter out the namespaces from the node or fragment.
I sugest you post-process the serialized output (fiter it using SAX for instance).

Best regards,
Dan
by Dan
Fri Nov 21, 2014 10:37 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Resolved @keyref values not printed
Replies: 4
Views: 2646

Re: Resolved @keyref values not printed

Hi Frank,

Yes, you are right. Somehow the key context is not passed to the oXygen print facility. I will record an issue for this. I see this problem also when transforming a single topic to PDF using DITA-OT.

For now, the only possibility is to transform the entire map.

Best regards,
Dan
by Dan
Fri Nov 21, 2014 10:26 am
Forum: Feature Request
Topic: CSS: "link" open in browser
Replies: 9
Views: 6458

Re: CSS: "link" open in browser

Hello Stefan, If you want the links to be opened in the browser, then make sure that you register the extension of the link targets with the "HTML Editor". For this, use "Options"/"Preferences"/"File Types". If you want to open the link in the editor then regi...
by Dan
Thu Nov 20, 2014 5:27 pm
Forum: Feature Request
Topic: Support for CSS3 standard in font switching/fallback
Replies: 4
Views: 3674

Re: Support for CSS3 standard in font switching/fallback

Hi Kat,

We will fully support the fallback font switching at character level in the next oXygen version (17), in the standalone version (not in the Eclipse plugin).
by Dan
Fri May 02, 2014 11:04 am
Forum: Other Issues
Topic: topicsetref support in relationship tables?
Replies: 6
Views: 5540

Re: topicsetref support in relationship tables?

In fact any of the aggregated topics may be in relation with other topics from the map. This is why at the end of each topic content may be shown the "related links" section. In your case only the first topic is in relation with others, so only this one will have the "related links&qu...
by Dan
Mon Dec 31, 2012 11:41 am
Forum: Other Issues
Topic: "missing cover" when creating Kindle file from epub
Replies: 8
Views: 5653

Re: "missing cover" when creating Kindle file from epub

Looks like the XSLT processor gets confused by the "meta" element (which is also declared in the XHTML vocabulary). Try changing from: <xsl:element namespace="http://www.idpf.org/2007/opf" name="meta"> <xsl:attribute name="name">cover</xsl:attribute> <xsl:attr...
by Dan
Mon Aug 15, 2011 11:49 am
Forum: General XML Questions
Topic: How to make Oxygen treat a txt file as XML (no import) ?
Replies: 2
Views: 2130

Re: How to make Oxygen treat a txt file as XML (no import) ?

You can change the internal oXygen file association for the "txt" files. For this:
  • Open the Options/Preferences dialog
  • Go to "File Types"
  • Select the "txt" entry and press "Edit"
  • Change the default editor to "XML Editor"
Regards,
Dan
by Dan
Mon Aug 15, 2011 11:28 am
Forum: XSLT and FOP
Topic: Java command line failure
Replies: 7
Views: 3529

Re: Java command line failure

My guess is that your XML input file uses a DTD that cannot be accessed by the XSLT processor. This happens usually when you are using an HTTP proxy server to connect to Internet. You should try using a catalog resolver, like this (place all the arguments on a single line): java -Dxml.catalog.files=...
by Dan
Tue Aug 04, 2009 4:32 pm
Forum: XSLT and FOP
Topic: rss and xml
Replies: 1
Views: 2933

Re: rss and xml

Hello,

You could try to a combination of grouping:
http://www.xml.com/lpt/a/1314
and output using xsl:result-document:
http://www.ibm.com/developerworks/xml/l ... ltxsl.html

Cheers,
Dan
by Dan
Mon Jul 06, 2009 11:25 am
Forum: XSLT and FOP
Topic: Position texts based on x-y
Replies: 1
Views: 2601

Re: Position texts based on x-y

You should generate a FO file like the one below: <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="my-page"> <fo:region-body margin="1in"/> </fo:s...
by Dan
Wed Jun 24, 2009 2:44 pm
Forum: Common Problems
Topic: oXygen can't (readily) WYSIWYG-edit its own home page
Replies: 2
Views: 1789

Re: oXygen can't (readily) WYSIWYG-edit its own home page

You can open directly the page http://www.oxygenxml.com/ into the editor by using the Open URL action from the File menu. In this case you will get exactly the content of the page. As Sorin mentioned, our website is not edited as individual XHTML files. All the pages are generated using XSLT from a ...
by Dan
Wed Jun 10, 2009 10:37 am
Forum: XSLT and FOP
Topic: Selecting nodes between empty elements
Replies: 2
Views: 1686

Re: Selecting nodes between empty elements

You can find a word count stylesheet here: http://www.biglist.com/lists/xsl-list/archives/200605/msg00351.html You can use it as a starting point. You should group first the elements you are interested in counting the words for, using xsl:for-each-group, then apply the counting template over each gr...
by Dan
Mon Apr 27, 2009 8:41 am
Forum: XSLT and FOP
Topic: What is the error? Please Help
Replies: 3
Views: 1904

Re: What is the error? Please Help

For a good XSLT tutorial, please see:
http://www.zvon.org/xxl/XSLTutorial/Output/index.html
Best regards,
Dan
by Dan
Mon Jan 26, 2009 11:12 am
Forum: Common Problems
Topic: Disable indention feature in author mode
Replies: 16
Views: 16784

Re: Disable indention feature in author mode

Hello,

It is scheduled for 10.3. (probably in the summer months)
Regards,
Dan
by Dan
Fri Jan 23, 2009 4:37 pm
Forum: Common Problems
Topic: Disable indention feature in author mode
Replies: 16
Views: 16784

Re: Disable indention feature in author mode

The author mode formats the XML taking also into account the CSS display rules. For instance two consecutive elements having inline display will be placed on the same line. The formatting action from the text editing mode does not take this kind of information into account, so the results may differ...
by Dan
Thu Jan 22, 2009 4:57 pm
Forum: Common Problems
Topic: Disable indention feature in author mode
Replies: 16
Views: 16784

Re: Disable indention feature in author mode

In case all authors use oXygen they should use a common .xpr file, or have the same formatting options. In case some of the authors are using other tools, I am afraid there is no simple solution. You could try to apply a formatting XSL stylesheet over the XML documents before commiting them to the r...
by Dan
Thu Jan 22, 2009 10:57 am
Forum: Common Problems
Topic: Disable indention feature in author mode
Replies: 16
Views: 16784

Re: Disable indention feature in author mode

Hello Monika, The number of differences between versions of the same file can be minimized by imposing the same set of formatting options when saving the file, for all the content authors. oXygen supports options at the project level. So the solution is: 1. Create a project file. 2. Change the setti...