My wrapper script replaces an asterisk in the output filename with the input filename minus extension, provided there is only one input file or batch mode, so you say e.g. `-o '*.pdf'`. Hilarity ensues if you forget the quotes though, so perhaps some other character would be better, assuming there *is* any suitable character which isn't special to any shell...
/bpj
--I wrote a custom script to do this in the past, but I’m now thinking it probably would be useful to many others if this is build into pandoc. e.g.
-o ""
set the convention that tell pandoc to auto-generate the path and filename.
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe@googlegroups.com .
To post to this group, send email to pandoc-discuss@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/70654604- .cb5b-41e7-ae54-e95cff0310ed% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .