Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xeCJK:#字符重复的bug #427

Closed
zwz opened this issue May 9, 2019 · 2 comments
Closed

xeCJK:#字符重复的bug #427

zwz opened this issue May 9, 2019 · 2 comments

Comments

@zwz
Copy link

zwz commented May 9, 2019

这是一个MWE

\documentclass{article}
\usepackage[CJKchecksingle]{xeCJK}                % 如果把xeCJK包去掉,结果是正常的
\usepackage{listings}
\newcommand{\mypassthrough}[1]{#1}

\begin{document}
\lstinline!#!

\mypassthrough{test}

\mypassthrough{\lstinline!#!}
\end{document}

使用xelatex编译成pdf,可以看到结果是

#
test
##

如果把不使用xeCJK包,则结果是

#
test
#
@stone-zeng
Copy link
Member

#378 应该是重复的。

@zwz
Copy link
Author

zwz commented May 10, 2019

哦哦,了解,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants