dita command line Error: Unsupported option --mmpdf:showProperties

12 views
Skip to first unread message

corinna...@gmail.com

unread,
Mar 27, 2024, 9:14:49 AMMar 27
to DITA-OT Users
Good day all,

I'm using DITA-OT 4.2.1, and want to use the dita command to set a property called 'mmpdf:showProperties' to Y

I can do this in a properties file if the ':' is backslashed:

  mmpdf\:showProperties=N

but whatever I do to set the property on the windows command line (running from powershell or a cmd), for example:

  dita -i "test.ditamap" -f mmpdf --mmpdf:showProperties="N" -v
  dita -i "test.ditamap" -f mmpdf --mmpdf\:showProperties="N" -v

results in the "Error: Unsupported option --mmpdf:showProperties"

even though it shows as an allowed option in the help message:
  --mmpdf:showProperties=<value>                                       Set to Y to include PDF tooltips showing Miramo format definitions; N for production; or property 

Any ideas? Or am I doomed to failure?

Or any thoughts on cool ideas for adding option name aliases ...? 

Unfortunately (really!) it's too late to change all the option names to use . instead of : which is what should have been done in the first place :(

TIA and best wishes!

Stefan Jung

unread,
Mar 27, 2024, 9:52:16 AMMar 27
to corinna...@gmail.com, DITA-OT Users
Hi Corinna,
 

I'd try

-Dmmpdf:showProperties=N
or
-Dmmpdf\:showProperties=N

Good luck
corinna...@gmail.com <corinna...@gmail.com> hat am 27.03.2024 14:14 CET geschrieben:
--
You received this message because you are subscribed to the Google Groups "DITA-OT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dita-ot-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/dita-ot-users/23e4e70b-2f71-436e-81e2-4b06af4534afn%40googlegroups.com.
 
Stefan Jung Consulting
Philipp-Manz-Straße 54
48268 Greven
 
Phone : +49 163 7431585
Reply all
Reply to author
Forward
0 new messages