Hello,

 

I would like to be able to specify the value of the profiling parameter 
interactively before envoking the transformation process which should be 
possible according to a earlier posting in this mailing list. 

 

I created this macro command which prompts a dialog window and the user is 
asked to type the appropriate value.

 

 

<command name="profile">

    <macro>

      <sequence>

        <command name="prompt" parameter="'Profilov?n?' 'Vlo?te hodnotu'"/>

 

        <get expression="%_"/>

      </sequence>

    </macro>

  </command>

 

 

Then I set up the "profile.condition" parameter which I use for profiling in 
DocBook.

 

       <parameter name="profile.condition">%_</parameter>

 

 

After that I included the prompt command inside the "docb.convertToPS" command.

 

<command name="docb.convertToPS">

    <macro>

      <sequence>

        <command name="profile"/>

        <command name="selectConvertedFile"

                 parameter="saveFileURLWithExtension=%0"/>

 

        <command name="docb.toPSFile" parameter='"%0" "%1" "%2" "%3" "%_"'>

      </sequence>

    </macro>

</command>

 

 

At this point the transformation gets done, but the profiling option does not 
filter the content and leaves the PDF file empty with no text in it.

 

I realize that the problem is related to variables use and at this point I am 
running out of ideas (knowledge :-)). Is it possible just to solve this with 
using the variables the right way or should be the whole macro command rebuilt?

 

Thank you

 

Best regards

pavel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20061215/6f8f37b7/attachment.htm
 

Reply via email to