The path of tmpdir cannot include single quotes and double quotes
时间: 2024-04-14 07:27:55 浏览: 200
jakarta-tomcat-catalina.rar_The Bat
In VS Code, you can specify the temporary directory (tmpdir) for LaTeX compilation in the settings. However, you are correct that the path of tmpdir should not include single quotes ('') or double quotes ("").
To set the tmpdir path without quotes, you can follow these steps:
1. Open the settings in VS Code by going to `File -> Preferences -> Settings`.
2. In the settings search bar, type `latex-workshop.latex.tmpdir`.
3. Click on `Edit in settings.json` to modify the setting in the JSON configuration file.
4. In the `settings.json` file, locate the `"latex-workshop.latex.tmpdir"` key and provide the desired path for the tmpdir.
For example:
```json
"latex-workshop.latex.tmpdir": "/path/to/tmpdir"
```
Make sure to replace `/path/to/tmpdir` with the actual path you want to use.
5. Save the `settings.json` file.
6. Restart VS Code for the changes to take effect.
By following these steps, you can set the tmpdir path without using single quotes or double quotes.
阅读全文