diff options
author | Karl Berry <karl@freefriends.org> | 2014-08-06 22:49:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-08-06 22:49:21 +0000 |
commit | 6dbec9cf98c5cc99c45848bbb37a207c2ae21160 (patch) | |
tree | 9a852286da25707be4379a9c2170ffe30783b8be /Master/texmf-dist/doc/latex/eledmac/examples/indexing.tex | |
parent | ff1845c8557690d905ecb126d40c90e611602de5 (diff) |
eledmac (6aug14)
git-svn-id: svn://tug.org/texlive/trunk@34854 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/eledmac/examples/indexing.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/eledmac/examples/indexing.tex | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/eledmac/examples/indexing.tex b/Master/texmf-dist/doc/latex/eledmac/examples/indexing.tex new file mode 100644 index 00000000000..44e6e01701b --- /dev/null +++ b/Master/texmf-dist/doc/latex/eledmac/examples/indexing.tex @@ -0,0 +1,41 @@ +\documentclass{article} +\usepackage{polyglossia,fontspec,xunicode} +\usepackage{libertineotf} +\setmainlanguage{latin} +\setotherlanguage{english} +\usepackage[nonewpage]{imakeidx} + +\usepackage{eledmac,hyperref} +\makeindex +\makeindex[title=Index Nominum,name=name] +\begin{document} + +\begin{english} +\date{} +\title{Indexing with eledmac} +\maketitle + +\begin{abstract} + This file provides a MWE of indexing with eledmac, referencing to line number. + The \verb+\edindex+ command is used. The package imakeidx is used, to have multiple index. +\end{abstract} +\end{english} + +\beginnumbering +\pstart +Imperator\edindex[name]{Nero} purus, dictum a semper eu, \edindex{long-passage|(}fermentum a augue. Nam enim sapien, consequat sit amet fermentum et, convallis non orci. Aliquam erat volutpat. Sed laoreet vitae enim eget posuere. Integer auctor aliquet sagittis. Curabitur odio felis, tempus sit amet porttitor sed, mattis a sapien. Interdum et malesuada fames ac ante ipsum primis in faucibus. Vivamus posuere adipiscing erat, et porta augue semper nec. +\pend +\pstart +Phasellus pretium euismod urna ac congue. Integer interdum\edindex{long-passage|)} dapibus aliquet. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vestibulum placerat volutpat est, porta adipiscing lectus commodo vel. Vestibulum libero magna, vulputate eget tellus ornare, posuere lobortis velit. Suspendisse non diam at est auctor luctus in nec elit. Cras sed aliquam tellus. Suspendisse non odio sit amet nunc consequat malesuada. Curabitur eget lacus lectus. Vivamus elementum risus eget nisi venenatis, in volutpat elit placerat. Maecenas congue nunc id est luctus accumsan. Fusce id nisl enim. +\pend +\pstart +Pellentesque non orci dui. Donec a libero\edindex{libero|textbf} 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, ultrices facilisis odio interdum non. Donec et condimentum quam, id ullamcorper nisl. +\pend +\endnumbering + +\newpage +\printindex + +\printindex[name] + +\end{document} |