macos - 在 iCloud Drive 中进行 latex 化

标签 macos latex sublimetext3 sublimetext icloud-drive

这是一个与 Apple 讨论中发现的这两个帖子(this onethis one)相关的问题。

我正在使用 Sublime Text 3 编写和编译我的 latex 文档。当我处理本地 tex 文件时,它就像一个魅力,但当文件存储在 iCloud Drive 上时它不起作用:它直接返回紧急停止。这是日志文件:

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2016.4.19)  29 APR 2016 23:26
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**"/Users/myname/Library/Mobile Documents/com~apple~CloudDocs/tex/paper-1.tex"

! Emergency stop.
<to be read again> 
                   \protect 
<*> "/Users/myname/Library/Mobile Documents/com~
                                                 apple~CloudDocs/tex/paper-1...
*** (job aborted, file error in nonstop mode)


Here is how much of TeX's memory you used:
 6 strings out of 493089
 278 string characters out of 6134842
 53199 words of memory out of 5000000
 3590 multiletter control sequences out of 15000+600000
 3640 words of font info for 14 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 3i,0n,0p,1b,6s stack positions out of 5000i,500n,10000p,200000b,80000s
!  ==> Fatal error occurred, no output PDF file produced!

也许这与 iCloud 按类型自动组织文件的方式有关......

有没有人摆脱这个问题?

最佳答案

您可以尝试创建指向云目录的符号链接(symbolic link),例如

ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs Documents/CloudDocs

并从 ~/Documents/CloudDocs 运行命令反而。

关于macos - 在 iCloud Drive 中进行 latex 化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36917629/

相关文章:

sublimetext3 - 如何让 Sublime Text 3 在新选项卡中打开文件而不是在当前选项卡中打开它?

macos - MacOS中鼠标光标移动加速和滚轮加速在哪里实现

ios - 为团队 Mac 创建证书并仅授权自己创建配置文件

latex - 如何获取页码链接到 latex 目录?

Python Sympy Latex Fraction 在没有先分解的情况下不会打印

visual-studio-code - 是否可以为多个游标键入不同的值?

python - 如何使 Menu.add_command() 在 Mac 上的 tkinter 中工作?

字符常量对于它的类型来说太长

latex - 如何禁用 LaTeX 中特定部分的缩进?

python - CMD Prompt 和 Sublime Buid 中的不同 OP