billryan / billryan/resume

A bug when use '%' in \datedsubsection{}

Open
#20 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TeX
Stars
11.4k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

For example:

`\datedsubsection{\textbf{上海交通大学Top10\%}, 上海}{2013 -- 至今}`

After you compiled it,there will be a file:` resume-zh_CN.synctex(busy)`, and when you compile it again,you will get error:
```
Runaway argument?
{上海交通大学Top10\BOOKMARK [2][-]{subsection.1.2}{西安电子\ETC.
! File ended while scanning use of \@@BOOKMARK.

\par
l.11 \begin{document}

```
And need to delete the file:` resume-zh_CN.synctex(busy)`

This bug only appears in the Chinese resume.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in the Chinese resume by compiling a \datedsubsection{} containing an escaped percent sign, then compile it again and inspect resume-zh_CN.synctex(busy) and the reported \@@BOOKMARK error. Done means the Chinese resume compiles repeatedly without requiring deletion of the generated busy file.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.