susenyang's blog

By susenyang, history, 5 months ago, In English

weedy post the blog Issues with Building PDF Statements on Polygon 2 months ago.

To summarize this blog post: authors who need to write problem statements in non-Latin languages have recently encountered rendering bugs on Polygon, especially in newly created problems. These issues include inconsistent fonts and bold text failing to render properly.

This problem has not been fixed yet, so if you need to generate PDFs on Polygon in the near future, you may be affected.

Fortunately, compiling LaTeX locally is both simple and fully workable.

First, make sure you have a basic LaTeX environment installed on your machine. Then package all problems in the contest on Polygon, and finally click "Download Package" on the contest page.

For example, in one of my contests, I just go to the statements/chinese/ directory and run:

chmod +x doall.sh
./doall.sh

If the compilation fails, try replacing

latex statements.tex
latex statements.tex

with

pdflatex statements.tex
pdflatex statements.tex

Hope this helps!

  • Vote: I like it
  • +14
  • Vote: I do not like it