DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › WebHelp output using Command-Line tool arguments
-
fernandoh01 July 3, 2013 at 3:09 pm
WebHelp output using Command-Line tool arguments
July 3, 2013 at 3:09 pmParticipants 2Replies 3Last Activity 9 years, 7 months agoXMetaL(R) Author Enterprise 7.0
Version#: 7.0.0.111
DITA version: 1.5.4 XM
OS: Windows 7 Enterprise NHi,
I'm trying to generate an WebHelp output (html with index and search) using command line tool.
According to documentation, there is no WebHelp option. The similar option is 'xhtml'.
If I generate xhtml (command-line: java -jar lib/dost.jar /i:samplesdoc/mainIndex.ditamap /outdir:out /transtype:xhtml), we just have a index.html with toc that are linked with others html. I want to know if there is some option, for 'dost.jar' usage, that allow to generate identical of WebHelp.
Remarks
– I already tested with webhelp option but an issue occurs.Derek Read July 3, 2013 at 11:29 pm
Reply to: WebHelp output using Command-Line tool arguments
July 3, 2013 at 11:29 pmThe DITA OT project doesn't document how to use our webhelp plugin because it isn't part of the DITA OT.
I think what you should do is study the following file and see if you can translate the commands we call and use them with your process instead:
C:Program FilesXMetaL 7.0AuthorDITAXACssharedrenditionsprint_dita15.xml
C:Program Files (x86)XMetaL 7.0AuthorDITAXACssharedrenditionsprint_dita15.xmlIn that file search for the section that starts with
DITA15 WebHelp then look at the section that starts withBAT file instructions .fernandoh01 July 4, 2013 at 1:04 pm
Reply to: WebHelp output using Command-Line tool arguments
July 4, 2013 at 1:04 pmHi Derek,
Thank you for your feedback.
I saw the mentioned file and there is all logic for setup and ant usage to generate the WebHelp output.
For my needs, I think that it's just necessary to find out where the generated BAT file is stored on HD and I can use it several times. I guess that it's stored temporarily at some user temp folder, don't? In BAT file I found out the variable 'cmd_preserve_temp_files'. Does it can help us? Probably there is some way to keep all temp generated contents.
Do you know some fast way to find the generated BAT file?
Best Regards,Fernando.
Derek Read July 5, 2013 at 8:09 pm
Reply to: WebHelp output using Command-Line tool arguments
July 5, 2013 at 8:09 pmHave a look in here:
%USERPROFILE%Local SettingsTempXMetaLrenditionslogYou can set the value for that parameter in Tools > Configure Output > Advanced (tab) in the Other output parameters box:
cmd_preserve_temp_files = yes -
AuthorPosts
- You must be logged in to reply to this topic.