【问题标题】:Latexing within iCloud Drive在 iCloud Drive 中进行乳胶化
【发布时间】:2016-08-23 09:25:16
【问题描述】:

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

我正在使用 Sublime Text 3 编写和编译我的乳胶文档。当我处理本地 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自动按类型组织文件的方式有关……

有人解决了这个问题吗?

【问题讨论】:

  • “不起作用”是什么意思?是有错误还是什么?
  • 是的,对不起,我忘记提了。我编辑问题。
  • 问题是 pdflatex 无法处理带有波浪线的文件名/路径。有人对此有解决方案吗?

标签: macos latex sublimetext3 sublimetext icloud-drive


【解决方案1】:

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

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

然后从~/Documents/CloudDocs 运行命令。

【讨论】:

    猜你喜欢
    • 2011-02-08
    • 2010-12-29
    • 1970-01-01
    • 1970-01-01
    • 2020-01-02
    • 2011-01-12
    • 1970-01-01
    • 2015-01-20
    • 2010-10-20
    相关资源
    最近更新 更多