[NTG-context] playing with Windows drag & drop

Henning Hraban Ramm texml at fiee.net
Tue Oct 6 17:57:20 CEST 2020



> Am 06.10.2020 um 16:18 schrieb Pablo Rodriguez <oinos at gmx.es>:
> 
> Dear list,
> 
> I have a minimal sample file:
> 
>  \starttext
>    \insertpages[\env{PDFdocument}]
>  \stoptext
> 
> I invoke it in Windows, using the following batch file:
> 
>  @echo off
>  REM ~ context --purgeall --arguments="PDFdocument=%1" b.tex
> 
> I’m afraid it only works if the batch file and the PDF document are on
> the same directory.
> 
> I guess this is related to "\" in Windows paths. Is there a way to make
> it work with the sample above?

Did you try with / paths? They usually work on Windows, no need for \s

Hraban


More information about the ntg-context mailing list