eledpar 中的平行章节

eledpar 中的平行章节

我正在尝试使用 排版两个并行文本eledpar。我希望中的两个文本独立并行运行。我希望有两个独立的目录。当我添加它们时,它们会一个接一个地排版,而不是并行。我怎样才能在 中\chapter制作并行?\chaptereledpar

这是我的代码:

\documentclass{book}
\usepackage[xetex,a4paper,landscape]{geometry}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{polyglossia}
\usepackage{bidi}
\usepackage{eledmac}
\usepackage{eledpar}    
\setdefaultlanguage{russian}
\setotherlanguage{hebrew}    
\setmainfont[Ligatures=TeX]{Linux Libertine O}
\newfontfamily\hebrewfont[Script=Hebrew]{Linux Libertine O}
\newfontfamily\russianfont[Script=Cyrillic]{Linux Libertine O}    
\newcommand{\mybeginru}{ %
\begin{russian}%
\begin{Leftside} %
\beginnumbering%
}
\newcommand{\mybeginhe}{ %
\begin{RTL}%
\begin{hebrew}%
\begin{Rightside} %
\beginnumbering%
}
\newcommand{\myendru}{ %
\endnumbering%
\end{Leftside}%
\end{russian}%
\Columns
}
\newcommand{\myendhe}{ %
\endnumbering%
\end{Rightside}%
\end{hebrew}%
\end{RTL}%
} 

\begin{document}
\numberlinefalse
\numberpstarttrue 
\sidepstartnumtrue 

\begin{pairs}
\mybeginhe
\chapter{המאמר השני}
\pstart
בפנות התוריות, ר״ל שהם יסודות ועמודים אשר בית אלהים נכון עליהם, ובמציאותם יציר מציאות התורה מסדרת ממנו יתברך, ואלו יציר העדר אחת מהם תפל התורה בכללה חלילה.
\pend    
\myendhe
\mybeginru
\chapter{Трактат Второй}    
\pstart
О краеугольных [принципах] Торы, имеется ввиду, которые [есть] основы и столпы на которых дом Б-жий опирается/нахон, и с существованием их может быть представлено существование Торы упорядоченной от Него, благословенного, и если бы было представлено отсутствие одного из них — упадет Тора в общем, [Б-же] упаси.
\pend
\myendru
\end{pairs}
\end{document}

以下是我所拥有的:

在此处输入图片描述

这是我想要的:

在此处输入图片描述

答案1

eledmac/eledpar 1.12.0 /1.8.0 版本应该可以帮到你。

有新的命令,称为 \eledchapter,它可以在并行列中工作。

这是一个 MWE

\beforeeledchapter
\begin{pairs}
\begin{Leftside}
\beginnumbering

\pstart
\eledchapter{\edtext{xxx}{\Afootnote{yyyy}}}
\pend
\pstart
DI use s git to manage some package.
I would like to add a pre-commit hook, to check if I have forgotten
For now, I have a minimal pre-commit, which test only the blank spaces at ends of lines, but not the forgotten..
\pend
\pstart
\eledsection{xxxx}
\pend
\pstart
\eledsubsection{xxxx}
\pend
\pstart
\eledsubsubsection{sssxxxx}
\pend
\pstart
\edtext{D}{\Afootnote{C}}I use s git to manage some package.
I would like to add a pre-commit hook, to check if I have forgotten
For now, I have a minimal pre-commit, which test only the blank spaces at ends of lines, but not the forgotten.\edtext{E}{\Afootnote{F}}.
\pend
\pstart
\eledsection{\edtext{xxx}{\Afootnote{yyyy}}}
\pend
\pstart
\edtext{D}{\Afootnote{C}}I use s git to manage some package.
I would like to add a pre-commit hook, to check if I have forgotten
For now, I have a minimal pre-commit, which test only the blank spaces at ends of lines, but not the forgotten.\edtext{E}{\Afootnote{F}}.
\pend


\endnumbering
\end{Leftside}

\begin{Rightside}
\beginnumbering

\pstart
\eledchapter{\edtext{xxx}{\Afootnote{yyyy}}}
\pend
\pstart
DI use s git to manage some package.
I would like to add a pre-commit hook, to check if I have forgotten
For now, I have a minimal pre-commit, which test only the blank spaces at ends of lines, but not the forgotten..
\pend
\pstart
\eledsection{xxxx}
\pend
\pstart
\eledsubsection{xxxx}
\pend
\pstart
\eledsubsubsection{sssxxxx}
\pend
\pstart
\edtext{D}{\Afootnote{C}}I use s git to manage some package.
I would like to add a pre-commit hook, to check if I have forgotten
For now, I have a minimal pre-commit, which test only the blank spaces at ends of lines, but not the forgotten.\edtext{E}{\Afootnote{F}}.
\pend
\pstart
\eledsection{\edtext{xxx}{\Afootnote{yyyy}}}
\pend
\pstart
\edtext{D}{\Afootnote{C}}I use s git to manage some package.
I would like to add a pre-commit hook, to check if I have forgotten
For now, I have a minimal pre-commit, which test only the blank spaces at ends of lines, but not the forgotten.\edtext{E}{\Afootnote{F}}.
\pend


\endnumbering

\end{Rightside}
\Columns
\end{pairs}

此版本即将发布。你能帮我试试吗? - 下载https://github.com/maieul/ledmac/archive/issue165.zip - 运行 .ins 文件以获取 .sty 文件 - 尝试使用您的文件,遵循 MWE(存在于 zip 中)

相关内容