2

reledpar - section 5 Facing pages 5.1 Basic usage - asks for a pages environment, is there any one? The following does not produce a two facing pages output:

\documentclass[11pt,a4paper,titlepage,twoside]{article}
\usepackage{reledmac}
\usepackage{reledpar}
\title{Two languages on facing pages}
\author{mc}
\begin{document}
  \maketitle
\begin{pages}
    \begin{Leftside} Language ONE \end{Leftside}
    \begin{Rightside} Language TWO \end{Rightside}
\end{pages}
\Pages
\end{document}

I get the following:

Package reledpar Error: \Pages called without previous `pages` environment. \end

I am sure it is something silly, but I can't see it.

mario
  • 761

1 Answers1

5

The error message is not correct. What is missing here is \beginnumbering…\endnumbering and \pstart\pend structure.

Here a correct version

\documentclass[11pt,a4paper,titlepage,twoside]{article}
\usepackage{reledmac}
\usepackage{reledpar}
\title{Two languages on facing pages}
\author{mc}
\begin{document}
  \maketitle
\begin{pages}
\begin{Leftside}
   \beginnumbering
   \pstart
   Language ONE 
   \pend 
   \endnumbering
\end{Leftside}
\begin{Rightside} 
  \beginnumbering
  \pstart
   Language TWO

   \pend
   \endnumbering 
\end{Rightside}
\end{pages}
\Pages
\end{document}

I will correct this bad message.

Maïeul
  • 10,984
  • thanks, it works! (I am trying a few things, look for more queries, I appreciate your help) – mario Jul 26 '16 at 12:42
  • 1
    please validate the answer and up it – Maïeul Jul 26 '16 at 12:46
  • I have tested again, end before the "\Pages called without previous pages environment" message, there was already Missing \pstart…\pend insideLeftsideenvironment. So this previous message is the correct one. – Maïeul Sep 26 '16 at 13:59
  • @ Maieul I am not sure to understand the point of your last comment – mario Sep 29 '16 at 08:37
  • 1
    With the actual version of reledmac, there was, with your MWE, a message which tell you that you have ommited \pstart…\pend. So there is no lack on the message of reledmac. – Maïeul Sep 29 '16 at 11:45