Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile files with "~" in the path name #1471

Open
paddlix opened this issue Mar 25, 2024 · 1 comment
Open

Cannot compile files with "~" in the path name #1471

paddlix opened this issue Mar 25, 2024 · 1 comment

Comments

@paddlix
Copy link

paddlix commented Mar 25, 2024

Dear ladies and gentlemen,

I'm using MikTex with macOS. Unfortunately I wanted to compile files which are located in the iCloud Drive, which's file path contains the "~" symbol, due to apple's folder structure.

For simpler reproduction, just do the following:

  1. Create a new folder, which's name contains the "~" symbol (e.g. "My~LaTeX~Folder").
  2. Inside that folder, create a valid LaTeX file (or use the attached "latex.txt" file).
  3. Open the console and change the working directory to NOT be the one where the LaTeX file is located (e.g. use "/").
  4. Run "pdflatex <...>/My~LaTeX~Folder/latex.txt".

The Problem also occurs when the LaTeX file's name itself contains the "~" symbol (e.g. "lat~ex.txt").

System information:

Log: texput.log
LaTeX file: latex.txt

@u-fischer
Copy link

3. Open the console and change the working directory to NOT be the one where the LaTeX file is located (e.g. use "/").

Unrelated to the issue but you normally shouldn't do that. It can break relativ input pathes in your document. And if you use a root folder or some other folder with restrictions it can even happen that auxiliary files can't be correctly written. I always start every compilation from the document folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants