On 06/01/2017 05:47 AM, Akira Kakuto wrote:
>> Directories are a problem here. I mean,
>> \shatwo{Desktop/i-context.pdf}
>> cannot work in Windows.
>
> Here both of your example and an example by Hans
> worked fine on Windows.
> Note that
> \shatwo{Desktop/i-context.pdf}
> works only if the curre
On 05/31/2017 10:00 PM, Hans Hagen wrote:
> On 5/31/2017 8:51 PM, Pablo Rodriguez wrote:
>> Dear list,
>>
>> I need to add checksums to files I attach to PDF documents.
>> [...]
>> Directories are a problem here. I mean, \shatwo{Desktop/i-context.pdf}
>> cannot work in Windows.
>>
>> Which would be
Directories are a problem here. I mean,
\shatwo{Desktop/i-context.pdf}
cannot work in Windows.
Here both of your example and an example by Hans
worked fine on Windows.
Note that
\shatwo{Desktop/i-context.pdf}
works only if the current directory is your %USERPROFILE%.
Best,
Akira
_
On 5/31/2017 8:51 PM, Pablo Rodriguez wrote:
Dear list,
I need to add checksums to files I attach to PDF documents.
Following the suggestion from https://stackoverflow.com/a/326715, I wrote:
\starttext
\startluacode
function document.capture(cmd, raw)
local f = assert(i
Dear list,
I need to add checksums to files I attach to PDF documents.
Following the suggestion from https://stackoverflow.com/a/326715, I wrote:
\starttext
\startluacode
function document.capture(cmd, raw)
local f = assert(io.popen(cmd, 'r'))
local s = assert(f:read(