Git Product home page Git Product logo

Comments (4)

mathedu4all avatar mathedu4all commented on August 29, 2024 1
  1. 调用外部 wget 命令, 需要正确安装wget, 并把wget路径添加到系统PATH. 另外编译时需使用 xelatex 并添加参数 --shell-escape.

  2. 至于中文文件名是否可以编译成功,视具体系统环境而定,我的win10系统是支持中文文件名的, 具体还是看报错指令提示.

  3. 网站默认使用adobe字体, 如果没有安装adobe字体就会报错,正如你所提到的,可以改用windows字体.

  4. 至于数学环境中的中文符号问题, 可以认领相关试题进行编辑修正后,再重新下载试卷.

from bhcexam.

 avatar commented on August 29, 2024
  1. 同为win10系统,文件名为中文时用xelatex编译会提示无法编译,根据百度检索结果应该为中文编码问题,放弃;
  2. wget按照提示安装,2019年全国III卷运行成功(修改了部分题目的错误);
  3. \maketitle 报错:Undifined control sequence,但是PDF有对应显示标题

from bhcexam.

mathedu4all avatar mathedu4all commented on August 29, 2024
  1. 同为win10系统,文件名为中文时用xelatex编译会提示无法编译,根据百度检索结果应该为中文编码问题,放弃;
  2. wget按照提示安装,2019年全国III卷运行成功(修改了部分题目的错误);
  3. \maketitle 报错:Undifined control sequence,但是PDF有对应显示标题

网站系统的后台编译环境就是ubuntu 18.04 + texlive2019 + bhcexam v1.0, 目前未出现除试题原因外造成的编译错误, windows环境的编译我会在今后继续跟进.

当然, 为了让我们能重现你所遇到的问题,你需要提供一个MWE( Minimal Working Examples ). 并在一个issue中指出一个BUG或者问题.

from bhcexam.

 avatar commented on August 29, 2024

路径问题解决了!
百度搜到的原因大概如下:win系统中文编译方式为gbk,texlive支持的是utf-8,部分中文无法正确转换所以报错。
所以我们只需要修改win系统的编码方式即可,win10系统中打开设置-时间和语言-语言,点击右侧管理语言设置

1

点击更改系统语言区域设置,选择中文(简体,**),勾选下面的Beta
2

点击确定后系统会要求重新启动,重启后即可编译中文路径下的.tex文件了

from bhcexam.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.