Fix #9305 LaTeX: backslash in sphinxupquote error with Japanese

This commit is contained in:
jfbu 2021-06-13 18:34:06 +02:00
parent 7673cd6429
commit ef9b55c961
2 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,8 @@ Bugs fixed
* #9330: changeset domain: :rst:dir:`versionchanged` with contents being a list * #9330: changeset domain: :rst:dir:`versionchanged` with contents being a list
will cause error during pdf build will cause error during pdf build
* #9313: LaTeX: complex table with merged cells broken since 4.0 * #9313: LaTeX: complex table with merged cells broken since 4.0
* #9305: LaTeX: backslash may cause Improper discretionary list pdf build error
with Japanese engines
Testing Testing
-------- --------

View File

@ -765,7 +765,8 @@
% break at . , ; ? ! / % break at . , ; ? ! /
\sphinxbreaksviaactive \sphinxbreaksviaactive
% break also at \ % break also at \
\let\sphinx@textbackslash\textbackslash \setbox8=\hbox{\textbackslash}%
\def\sphinx@textbackslash{\copy8}%
\let\textbackslash\sphinxtextbackslash \let\textbackslash\sphinxtextbackslash
% by default, no continuation symbol on next line but may be added % by default, no continuation symbol on next line but may be added
\let\sphinxafterbreak\sphinxafterbreakofinlineliteral \let\sphinxafterbreak\sphinxafterbreakofinlineliteral