🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #357

Re: Can anybody share the config for FM8 --> DITA Plugin --> (Web OR Eclipse)?

#357
From: Scott_Prentice
Date: Mon, 01 Dec 2008 21:19
34 lines
2126 bytes
Hi Riley...

Basically, all you have to do is to add more targets to the ditafm-ant.xml file (in your DITA-OT folder), and update the BuildFile section of your ditafm.ini file with matching target names.

I've posted the DITA-FMx version of the ditafm-ant.xml file (ditafmx-ant.xml) to ..

 <http://leximation.com/outbox/ditafmx-ant.xml.txt>

You should be able to copy and paste the targets from the lower section into the corresponding area of your ditafm-ant.xml file. For example, to add the eclipsehelp target, copy the target element that starts with ..

<target name="eclipsehelp"
...
</target>

Then update your ditafm.ini file (in C:\Program Files\Adobe\FrameMaker8\fminit\ditafm) so the BuildFile section looks something like this ..

[BuildFile]
AntCommand=ant
AntScript=ditafm-ant.xml
Count=3
DitaDir=C:\Tools\DITA\DITA-OT1.3.1
1=chm
2=html
3=eclipsehelp

Now when you run the Generate Output command, you should see eclipsehelp as an available output target.

Note that you can't use the ditafmx-ant.xml file in place of your ditafm-ant.xml file, since DITA-FMx uses slightly different parameters when it calls the Ant script, but you should be able to futz with it a bit to get it to work.

Note that some of the target types will require additional tweaking or compilers/tools to get useful output (JavaHelp and ElipseHelp for example), but this *should* get you started.

Cheers,

...scott
Technical Details
Message-ID: <59b72727.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!goblin2!goblin1!goblin.stu.neva.ru!eweka.nl!hq-usenetpeers.eweka.nl!news4us.nl!webcrossing
References: <59b72727.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,36b69f6bda257ee1
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Scott_Prentice@adobeforums.com
Newsgroups: adobe.framemaker.sgml
Subject: Re: Can anybody share the config for FM8 -->
 DITA Plugin --> (Web OR Eclipse)?
Message-ID: <59b72727.0@webcrossing.la2eafNXanI>
Date: Mon, 1 Dec 2008 13:19:14 -0800
References: <59b72727.-1@webcrossing.la2eafNXanI>
Lines: 47
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!goblin2!goblin1!goblin.stu.neva.ru!eweka.nl!hq-usenetpeers.eweka.nl!news4us.nl!webcrossing