Issue with transformation Scenario for DITA map files

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Nicolas
Posts: 12
Joined: Mon Jul 14, 2008 6:42 am

Issue with transformation Scenario for DITA map files

Post by Nicolas »

Hi,

I have a minor issue with the transformation scenarios for Ditamaps.
I use the Eclipse plugin v9.3 with Eclipse 3.4 on Windows Vista.

When I reboot my machine (and it is probably the same when restarting Eclipse), for a given scenario, some parameters are reset to the default values (custom build file, build target, temp directory, output dir.) Others, like args.css and args.xsl are reset to a value I was using earlier.

Any idea what could be causing that issue?

Thanks.

Cheers,

[EDIT]
It does not happen when closing down Eclipse manually. It might just be an issue when Windows kills all the running processes...
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Issue with transformation Scenario for DITA map files

Post by sorin_ristache »

Hello,

Please make sure Eclipse is closed down normally (close with the X button, the action File -> Exit, an Eclipse dialog that prompts you to restart Eclipse) instead of being killed by Windows. Your modifications are stored in the options on disk when Eclipse receives an exit command (close Eclipse manually, restart Eclipse when an Eclipse dialog prompts you to restart for finishing the installation of a plugin, etc). If the Eclipse process is killed it does not get a chance to save the current state of the options so the old options will be used, that is the options that you had before changing the values of the DITA scenario parameters.


Regards,
Sorin
jero3000
Posts: 2
Joined: Fri Jan 22, 2010 10:34 am

Re: Issue with transformation Scenario for DITA map files

Post by jero3000 »

Hi,

How can I apply styles for DITA content in eclipse help transformation scenario? Where is the .css?

Thanks.
Radu
Posts: 9439
Joined: Fri Jul 09, 2004 5:18 pm

Re: Issue with transformation Scenario for DITA map files

Post by Radu »

Hi,

When you create/edit an Eclipse Help transformation scenario for a DITA Map in Oxygen you can go to the Parameters tab, edit the args.css parameter and set its value to the custom CSS path.
You can also edit the args.copycss parameter and set it to yes to copy the CSS to the output directory.

If you do that, the CSS file will get copied to the output directory and it will be referenced by all HTML files created by the Eclipse Help transformation together with the default commonltr.css which gets copied to the output directory by default:

Code: Select all


<link rel="stylesheet" type="text/css" href="../commonltr.css"/>
<link rel="stylesheet" type="text/css" href="../personal.css"/>
I also suggest that you register and ask this problem also on the DITA Users List. Maybe they have a better solution:
http://tech.groups.yahoo.com/group/dita-users/

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply