| 1 |
\documentclass[twoside,12pt]{book} |
| 2 |
\usepackage{polyglossia,fontspec,xunicode} |
| 3 |
\usepackage{libertineotf} |
| 4 |
\setmainlanguage{english} |
| 5 |
|
| 6 |
\usepackage[series={A},noend,nofamiliar,noledgroup,noreledmac]{eledmac} |
| 7 |
\linenumincrement{1} |
| 8 |
\firstlinenum{1} |
| 9 |
\begin{document} |
| 10 |
\title{Sectioning commands with critical notes} |
| 11 |
|
| 12 |
\date{} |
| 13 |
|
| 14 |
{\let\newpage\relax\maketitle} |
| 15 |
{\small |
| 16 |
This file provides examples of using sectioning command with eledmac. The section titles are in the line numbering, and have critical and side notes. |
| 17 |
|
| 18 |
We use the \verb+\eledxxx+ commands, each of them in their own \verb+\pstart…\pend+ group. |
| 19 |
|
| 20 |
Page breaks are manually added before chapter with \verb+\beforeeledchapter+. |
| 21 |
} |
| 22 |
\beginnumbering |
| 23 |
\beforeeledchapter |
| 24 |
\pstart |
| 25 |
\eledchapter{\edtext{chapter}{\Afootnote{chapitre}}\ledsidenote{chapter}} |
| 26 |
\pend |
| 27 |
|
| 28 |
\pstart |
| 29 |
I use git to manage some packages. |
| 30 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 31 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten.. |
| 32 |
\pend |
| 33 |
|
| 34 |
\pstart |
| 35 |
\eledsection{section\ledsidenote{section}} |
| 36 |
\pend |
| 37 |
|
| 38 |
\pstart |
| 39 |
\eledsubsection{\edtext{subsection}{\Afootnote{sous-section}}\ledsidenote{subsection}} |
| 40 |
\pend |
| 41 |
|
| 42 |
\pstart |
| 43 |
\eledsubsubsection{\edtext{subsubsection}{\Afootnote{sous-sous-section}}\ledsidenote{subsubsection}} |
| 44 |
\pend |
| 45 |
|
| 46 |
\pstart |
| 47 |
I use git to manage some packages. |
| 48 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 49 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten. |
| 50 |
\pend |
| 51 |
|
| 52 |
\pstart |
| 53 |
\eledsection{section\ledsidenote{section}} |
| 54 |
\pend |
| 55 |
|
| 56 |
\pstart |
| 57 |
I use git to manage some packages. |
| 58 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 59 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten. |
| 60 |
\pend |
| 61 |
|
| 62 |
|
| 63 |
\beforeeledchapter |
| 64 |
\pstart |
| 65 |
\eledchapter{\edtext{chapter}{\Afootnote{chapitre}}\ledsidenote{chapter}} |
| 66 |
\pend |
| 67 |
|
| 68 |
\pstart |
| 69 |
I use git to manage some packages. |
| 70 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 71 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten.. |
| 72 |
\pend |
| 73 |
|
| 74 |
\pstart |
| 75 |
\eledsection{section\ledsidenote{section}} |
| 76 |
\pend |
| 77 |
|
| 78 |
\pstart |
| 79 |
\eledsubsection{\edtext{subsection}{\Afootnote{sous-section}}\ledsidenote{subsection}} |
| 80 |
\pend |
| 81 |
|
| 82 |
\pstart |
| 83 |
\eledsubsubsection{\edtext{subsubsection}{\Afootnote{sous-sous-section}}\ledsidenote{subsubsection}} |
| 84 |
\pend |
| 85 |
|
| 86 |
\pstart |
| 87 |
I use git to manage some packages. |
| 88 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 89 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten. |
| 90 |
\pend |
| 91 |
|
| 92 |
\pstart |
| 93 |
\eledsection{section\ledsidenote{section}} |
| 94 |
\pend |
| 95 |
|
| 96 |
\pstart |
| 97 |
I use git to manage some packages. |
| 98 |
I would like to add a pre-commit hook, to check if I have forgotten |
| 99 |
For now, I have a minimal pre-commit, which tests only the blank spaces at ends of lines, but not the forgotten. |
| 100 |
\pend |
| 101 |
|
| 102 |
\endnumbering |
| 103 |
|
| 104 |
\end{document} |