1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
\documentclass{article}
\usepackage{polyglossia,fontspec,xunicode}
\usepackage{libertineotf}
\setmainlanguage{latin}
\setotherlanguage{english}
\usepackage{eledmac,hyperref}
\begin{document}
\begin{english}
\title{Cross-referencing with eledmac}
\date{}
\maketitle
\begin{abstract}
This files provides a MWE of cross-referencing with eledmac, referencing to line number.
The \verb+\edlabel+, \verb+\edpageref+ and \verb+\lineref+ commands are used.
See p.~\edpageref{ultrices} l.~\lineref{ultrices}.
\end{abstract}
\end{english}
\beginnumbering
\pstart
Pellentesque non orci dui. Donec a libero eu nisl sollicitudin lobortis eget nec lacus. Nulla pellentesque, neque ut tincidunt vestibulum, ante mi varius purus, nec cursus neque orci ut orci. Donec bibendum ligula bibendum nisl aliquet auctor. Nam luctus lorem mauris, ac venenatis felis posuere non. Quisque ultricies ante magna, facilisis pellentesque nibh placerat at. Aliquam sit amet ante varius, vestibulum augue condimentum, scelerisque turpis. Proin at nibh vulputate, tincidunt tellus vel, vehicula libero. Praesent venenatis, turpis nec feugiat sodales, risus sapien tempus odio, at vehicula ipsum nisl a nisl. Nunc pretium elit tellus, \edlabel{ultrices}ultrices facilisis odio interdum non. Donec et condimentum quam, id ullamcorper nisl.
\pend
\end{document}
|