Toolchain doesn't support CJK path.
See original GitHub issueA workaround is proposed in the comment (Jun. 16th). This problem is caused by LaTeX compilers who refuse to understand some of the excellent human languages.
When I configure the tool chain setting as:
// 将设置放入此文件中以覆盖默认设置
{
"latex-workshop.latex.toolchain": [
{
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"%DOC%"
]
}
]
}
I faild to build the tex project. As a consequence I found the tex file is located in path containing chinese characters.
When I move it into pure english path, I got it works.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Supporting UTF-8 (and building R) on Windows
This experimental toolchain serves as a demonstration of this way to support UTF-8 on Windows. It may be used for experimenting with packages,...
Read more >Java doesn't recognize Unicode character in path on Windows ...
Call javac passing the whole path like C:\Users\USERFOLER\PATH\TO\FILE\file.java. The error should appear. I've been stuck for days in this, if ...
Read more >Standard Setup of Toolchain for Windows - ESP32
Limitation: the installation path of Python or ESP-IDF should not contain special characters (non-ASCII) unless the operating system is configured with “Unicode ......
Read more >How to make XXXReader to support chinese file path under ...
Hello,this code: OBJReader reader=OBJReader::New(); reader->SetFileName(“c://user/用户/中文/model.obj”); //reader->SetFileName("/home/user/中文/model.obj"); ...
Read more >67224 – UTF-8 support for identifier names in GCC
There is no "C99" character set in glibc libiconv (after all, it's not a character set at all). Converting extended characters to UCNs...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Confirmed @Hsins .
pdflatex
neither supports cjk path. Meanwhile, I’d recommend you replace all%DOC%
in toolchain with%DOCFILE%
, which only appends the relative path to the command. This point is noted in thereadme
, and I have tested it without problems.Test screenshot:
Running the commands in cmd.exe gives right result 。
I found the path is actually messy code when I inspect output panel of Latex Workshop.
老铁你是中国人吗?用中文交流算了