Hello List,
I'm using Reledmac to footnote a text; mainly using the familiar notes feature.
Is there a convenient way to separate the foot note text from the main text (in the source code)?
I ask because embedding lots of notes within the main text essentially makes the main text unreadable (in the source code). This makes it kinda difficult to edit/maintain both the main text and the notes text.
Any thoughts/alternative experience appreciated...
Page Layout ⇒ Reledmac: Seperating notes from main text in the source code?
Reledmac: Seperating notes from main text in the source code?
Another question, again for reledmac; is there a way to refer to a familiar foot note number from within another familiar foot note?
E.g.,
11 foot note number one; just some text.
12 foot note number two; see also note #11.
E.g.,
11 foot note number one; just some text.
12 foot note number two; see also note #11.
Reledmac: Seperating notes from main text in the source code?
These is not a lot of reledmac users, and, personnaly, I will suggest to ask on https://tex.stackexchange.com/, as I read all question of this forum about reledmac.
1. For you firts question, there is no direct way provided in reledmac (as in standard LaTeX). However, what is possible is to do somethink like this
But I am not sure that is a so much good idea to separate text from footnote. It will be create more confusion, if you have a lot of footnote.
You should better use good practicis for writing your code.
For example
1. For you firts question, there is no direct way provided in reledmac (as in standard LaTeX). However, what is possible is to do somethink like this
Code: Select all
\documentclass{article}
\usepackage[noend,noeledsec]{reledmac}
%Some tools to define footnote before calling them.
\newcounter{fnA}
\newcommand{\prefnA}[1]{%
\addtocounter{fnA}{1}%Increase the counter
\csgdef{prefnA@\thefnA}{#1}%Store the footnote in memory
}
\newcommand{\fnA}{%
\addtocounter{fnA}{1}%Increase the counter
\expandafter\footnoteA\expandafter{\csname prefnA@\thefnA\endcsname}%Call the footnote (the expandafter is required because of the way reledmac store temporally footnotes when splitting the text in line)
}
% Now, defining the footnote
\prefnA{First footnote.}
\prefnA{Second fn.}
\prefnA{Third fn.}
% Don't forget to reset the fnA counter
\setcounter{fnA}{0}
\begin{document}
\beginnumbering
\pstart
Lorem ipsum\fnA\
dolor amet\fnA\
sicut transit gloria mundi\fnA.
\pend
\endnumbering
\end{document}
You should better use good practicis for writing your code.
For example
Code: Select all
A\footnoteA{%
The texte of the footnote.}
and them the main text is continuing
[\code]
2. You can use crossref mechanism with reledmac familair footnote. You put a `\label` in the footnote to be refered, and a `\ref` in the refering footnote.
Please forgive me for English : I'm french.
http://geekographie.maieul.net
http://geekographie.maieul.net
Reledmac: Seperating notes from main text in the source code?
Thanks Maieul; appreciated.