我的老师说用WPS和Pages写的IA上传到IB官方的PDF会乱码,但Word和Latex不会。那我...

Créé le : 24 décembre 2025

Répondu en utilisant GPT-5.2 Thinking par Chat01

Question

我的老师说用WPS和Pages写的IA上传到IB官方的PDF会乱码,但Word和Latex不会。那我可以用typst吗?

Réflexion

Recommending PDF submission for typst and ensuring font compatibility

We got confirmation from IB eCoursework guidelines which mention that PDFs should be non-editable. I recommend uploading PDFs without conversion. For typst, export as PDF 1.7 or PDF/A-2u, choose suitable fonts, and ensure embedding. Verify with Acrobat and avoid using tools like Ghostscript that may alter fonts.

Recommending typst export for IB eCoursework uploads

When IB converts PDFs, it likely uses LibreOffice, which may struggle with WPS-specific features. Typst should work better, resembling LaTeX with direct exports and embedded fonts. For Chinese display issues, correct font and language settings fix it. I’ll cite relevant guides and advise testing with a sample.

Best practices for typst PDF exports to IB

For the best compatibility, producers should choose PDF/A-2u in Typst to ensure Unicode mapping. However, if the user prefers the web app, PDF/A export options are also available. IB doesn’t officially recommend Typst, but accepts any widely-supported format such as Word or LaTeX. Let’s cite IB guidelines from the eCoursework newsletter.

Citing sources and creating response in Chinese

I’ll cite extracted text lines, mentioning that while screenshots might fail, the text extraction from a reliable source is accurate. I'll also cite Typst documentation on exporting PDF 1.7 or PDF/A formats, and their Chinese font guide. For font-related garbled issues, sources like MiniTool and Adobe can be cited as well. Finally, I’ll craft my response in Chinese to clarify the approach.

Thought for 1m 21s

Réponse

可以用 Typst,而且从“避免乱码”的角度看,它更像 LaTeX:直接生成标准 PDF,不依赖 IB 系统去把你上传的 .docx 再二次转换(WPS/Pages 出问题通常就出在这一步)。

关键点其实不是“用什么写”,而是你最终上传的 PDF 是否自包含(字体嵌入 + 正确的 Unicode 映射)。PDF 里字体没嵌入、或编码/映射有问题,就很容易在别人的环境/系统转换里变成乱码。(MiniTool PDF Editor)

为什么 Typst通常没问题

  • Typst 默认导出 PDF 1.7,兼容性很强;还可以选择导出 PDF/A(更偏“长期归档/最大兼容”)。(Typst)
  • IB eCoursework 对“文档类”文件本来就接受 .pdf(non-editable),并且系统会做格式扫描;上传 PDF 本身就是常见且稳的路径。(IB Docs Repository)

用 Typst 写 IA 的稳妥做法(照做基本不会乱码)

  1. 只上传 PDF,不上传 docx(尤其别让平台帮你“转 PDF”)。IB 文档类型里明确有 .pdf(non-editable)。(IB Docs Repository)
  2. 明确设置中文字体 + 语言(别依赖默认回退字体):
    • 在 typst 里给 lang: "zh",并选覆盖中文的字体(常用:Noto Sans/Serif CJK、思源黑体/宋体等)。(Typst Guide)
  3. 导出时保持默认 PDF 1.7就行;如果你想更“保险”,可以导出 PDF/A-2u(强调 Unicode 可映射,更利于复制/检索/系统处理)。Typst 支持这些标准。(Typst)
  4. 导出后做一次自检:用 Adobe Acrobat/系统预览打开,看“文档属性 → 字体”是否显示 Embedded/Embedded Subset
  5. 不要再用某些压缩/重保存流程去处理 Typst 导出的 PDF(有些工具会重写字体导致新问题)。

最实用的验证方式

先拿一页包含中文、公式/代码块的“测试版 PDF”上传到 eCoursework 预览一下:如果预览正常,正式稿基本也会正常(同样的导出设置/字体)。eCoursework 本身也提供预览下载来核对。(PirateIB)

如果你愿意,把你 Typst 导出的 PDF(或导出设置截图)发我,我可以按“字体是否嵌入/是否可能触发乱码”的清单帮你快速排查一遍。

Partager cette Q&R