DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion WebHelp output using Command-Line tool arguments

  • fernandoh01

    WebHelp output using Command-Line tool arguments

    Participants 2
    Replies 3
    Last Activity 9 years, 3 months ago

    XMetaL(R) Author Enterprise 7.0
    Version#: 7.0.0.111
    DITA version: 1.5.4 XM
    OS: Windows 7 Enterprise N

    Hi,

      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.

    Reply

    Derek Read

    Reply to: WebHelp output using Command-Line tool arguments

    The 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.xml

    In that file search for the section that starts with DITA15 WebHelp then look at the section that starts with BAT file instructions.

    Reply

    fernandoh01

    Reply to: WebHelp output using Command-Line tool arguments

    Hi 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.

    Reply

    Derek Read

    Reply to: WebHelp output using Command-Line tool arguments

    Have a look in here:
    %USERPROFILE%Local SettingsTempXMetaLrenditionslog

    You can set the value for that parameter in Tools > Configure Output > Advanced (tab) in the Other output parameters box:
    cmd_preserve_temp_files  =  yes

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support