0

Is there any way to define a path relative to home in windows ?

Like it's done here for linux

1 Answers1

3

The answers given in the linked question should work.

\input{\string~/abc}

for example.

The documentation of the comments (for example in

/usr/local/texlive/2017/texmf-dist/web2c/texmf.cnf

or equivalent on your system) say

.... ~ expands to %USERPROFILE% on Windows, $HOME otherwise.

David Carlisle
  • 757,742