Hello, I am trying to make use of the epub export functionality.

I noticed that, unwanted whitespaces are inserted in the epub file in
exact those locations where a linebreak occurs in the generated PDF
file.

Example, PDF:
让我(linebreak)们得以再次窥见

Example, epub export:
让我 们得以再次窥见

How can I fix this problem?

A minimal example can be found below.

\setupbackend[export=yes]
\mainlanguage[cn]
\setuplabeltext[cn][chapter={{第 },{ 章}}]
\definefontfamily[myfonts][rm][FandolSong][bf=FandolHei,it=FandolKai,bi=FandolFang]
\setscript[hanzi]
\setupbodyfont[myfonts]
\setuplayout[width=middle]
\setupinteraction[
        title={游戏零工:没有游戏,不似零工},
]
\starttext
\startchapter[title=车站夜]


越是传统工作瓦解的年代,靠打游戏赚钱越是个诱惑人的口号。过去两年,作为学
术流水工,出于对主流职业路径的怀疑,也为了弥补青少年时期因为阶层性别地域
等限制而被剥夺的游戏时间,我把中国通过玩游戏赚钱的各类零工:代练、打金、
私服、直播、短视频、陪玩、租号、卖号、博彩等做成了自己的主要研究课题。


\stopchapter
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to