Skip to content

Incompatible with ctex-kit and bidi? #1

@Explorer-cc

Description

@Explorer-cc

Brief outline of the question

The bidi looks would interupt the \ctexset's format with ctex-kit bundle.

See the example below.

Check/indicate

Minimal example

case 1. without bidi:

\documentclass[fontset=fandol,openany]{ctexbook}
% \usepackage{bidi}
\ctexset{
    chapter/name={第,章},
    section/name={第,节}
}
\begin{document}

\chapter{开始123}
\section{测试456}

\chapter{开始123}
\section{测试456}

\end{document}
Image

case 2. with bidi:

\documentclass[fontset=fandol,openany]{ctexbook}
\usepackage{bidi}
\ctexset{
    chapter/name={第,章},
    section/name={第,节}
}
\begin{document}

\chapter{开始123}
\section{测试456}

\chapter{开始123}
\section{测试456}

\end{document}

The \ctexset's config was reverted.

Image

Expected behavior

The \chapter's config by \ctexset should NOT be overwritten.

Is that possible for bidi to support ctex-package?

Log and PDF files

mwe.log

mwe.pdf

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions