Giter Site home page Giter Site logo

maieul / ledmac Goto Github PK

View Code? Open in Web Editor NEW
53.0 53.0 28.0 157.46 MB

package reledmac for latex

Home Page: http://www.ctan.org/tex-archive/macros/latex/contrib/reledmac

TeX 99.37% Makefile 0.16% Python 0.37% Lua 0.10% Perl 0.01%
humanities latex latex-package scholarly-editing

ledmac's People

Contributors

adunning avatar baem2 avatar bishopcranmer avatar dgaspar avatar kfeuerherm avatar kylepjohnson avatar lenoch avatar maieul avatar muzimuzhi avatar pharos-alexandria avatar ralessi avatar rebeccachung avatar rrthomas avatar sieversmartin avatar signinstranger avatar stenskjaer avatar tweh avatar wujastyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ledmac's Issues

\ledsidenotes should never be silently discarded

\ledsidenotes shouldn't just be deleted when the next \ledsidenote happens to be in the same line – there should either be a warning and/or automatic pushing them to the next line, preferably both.

right bracket when "The left page has ended on a right page."

Hi!

When ledpar compile the document at the first or the second time, it sometimes makes an error message : "The left page has ended on a right page."

At the next compile, howewer, this problem disappears and the two texts are facing as we want. But when I use the command "\renewcommand{\hangingsymbol}{[,}" (for the verse's hanging), LaTeX put a rigth bracket ( [ ) at the top or at the foot of the page where the error was at first.

When I remove this command the rigth bracket vanish, when I put "\renewcommand{\hangingsymbol}{blop}", for example, I've got "blop" instead of [ at the top or the bottom of the page... So it's certainly a problem with hangingsymbol!

I hope you'll be able to help me!

Enimie

\inplaceofnumber

lorsqu'on a \nonumberinfootnote ou \thisnumberinfootnote, pouvoir indiquer une longueur à mettre.

Sectioning commands (chapter, section &c) as part of the edited text

ledmac's idea about sectioning-commands is, that they ought to be used outside of the numbered text.
Usually this is fine, as they are often additions by the editor anyway.

But when I edit texts that already have sectioning, I need to reproduce this and possibly add critical remarks to the section-headings as well. As it is now, I will not get error-messages when trying to do so, but there are quite some problems:

  1. \chapter is not possible (error)
  2. the formating of the headings is wrong: they "stick" to the previous line
  3. the headings don't have linenumbers; they inherit the preceding one in the apparatus, but in the margin they display none
  4. it somehow ruins the correct placement of the apparatus, cf. the notes to ll. 20 and 27 on page 1, that appear on page 3 in the example below

There are probably more problems, but these were the most obvious ones.

It is obviously not a good idea to change the classes's definitions of these commands, but couldn't ledmac have an extra series of sectioning-commands besides the usual ones?
\ledchapter, \ledsection, etc
They could copy the formatting and other functionality (write to leftmark/rightmark, add TOC-entries...) from the class used, but be part of the numbered text without the problems listed above.

\documentclass[12pt]{book}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}

\setcounter{secnumdepth}{0}

\usepackage{ledmac}

\firstlinenum{1}
\linenumincrement{1}

\footparagraph{A}


\begin{document}

\beginnumbering
\pstart
%\chapter{Erste Abteilung}
\section[1. Summula]{1. %
\edtext{Summula}{%
    \Afootnote{Summa}}
}
\subsection[Anstalten zur Badreise.]{%
\edtext{Anstalten}{%
    \Afootnote{Anstallten}}
 zur Badreise.}
``Ein %
\edtext{Gelehrter}{%
    \Afootnote{Gelahrter}}%
, der den ersten Juli mit seiner Tochter in seinem Wagen mit eignen Pferden ins Bad Maulbronn abreiset, wünscht einige oder mehre Reisegesellschafter.'' -- Dieses ließ der verwittibte ausübende Arzt und anatomische Professor Katzenberger ins Wochenblatt setzen. Aber kein Mensch auf der ganzen Universität Pira (im Fürstentume Zäckingen) wollte mit ihm gern ein paar Tage unter Einem Kutschenhimmel leben; jeder hatte seine Gründe -- und diese bestanden alle darin, daß niemand mit ihm wohlfeil fuhr als zuweilen ein hinten aufgesprungener Gassenjunge; gleichsam als wäre der Doktor ein ansässiger Posträuber von innen, so sehr kelterte er muntere Reisegefährten durch Zu- und Vor- und Nachschüsse gewöhnlich dermaßen aus, daß sie nachher als lebhafte Köpfe schwuren, auf einem Eilboten-Pferde wollten sie wohlfeiler angekommen sein und auf einer Krüppelfuhre geschwinder.
\pend
\pstart %% 
\section[2. Summula]{2. %
\edtext{Summula}{%
    \Afootnote{Summa}}
}
\subsection{Reisezwecke.}
%
\edtext{Katzenberger}{%
    \Afootnote{Hundsberger}}
 machte statt einer Lustreise eigentlich eine Geschäftreise ins Bad, um da nämlich seinen Rezensenten beträchtlich auszuprügeln und ihn dabei mit Schmähungen an der Ehre anzugreifen, nämlich den Brunnen-Arzt Strykius, der seine drei bekannten Meisterwerke -- den Thesaurus Haematologiae, die de monstris epistola, den fasciculus exercitationum in rabiem caninam anatomico-medico-curiosarum, -- nicht nur in sieben Zeitungen, sondern auch in sieben Antworten oder Metakritiken auf seine Antikritiken überaus heruntergesetzt hatte.
\pend
\pstart
\section[3. Summula]{3. %
\edtext{Summula}{%
    \Afootnote{S00ml}}
}
\subsection[Ein Reisegefährte.]{%
\edtext{Ein}{%
    \Afootnote{1}}
 Reisegefährte.}
Wider alle Erwartung meldete sich am Vorabend der Abreise ein Fremder zur Mitbelehnschaft des Wagens.
Während der Doktor in seinem Mißgeburten-Kabinette einiges abstaubte von ausgestopften Tierleichen, durch Räuchern die Motten (die Teufel derselben) vertrieb und den Embryonen in ihren Gläschen Spiritus zu trinken gab: trat ein fremder feingekleideter und feingesitteter Herr in die Wohnstube ein, nannte sich Herr von Nieß und überreichte der %
\edtext{Tochter}{%
    \Afootnote{Nichte}}
 des Doktors, nach der Frage, ob sie Theoda heiße, ein blaueingeschlagenes Briefchen an sie; es sei von seinem Freunde, dem Bühnen-Dichter Theudobach, sagte er. Das Mädchen entglühte hochrot und riß zitternd mit dem Umschlag in den Brief hinein (die Liebe und der Haß zerreißen den Brief, so wie beide den Menschen verschlingen wollen) und durchlas hastig die Buchstaben, ohne ein anderes Wort daraus zu verstehen und zu behalten als den Namen Theudobach. Herr von Nieß schaute unter ihrem Lesen scharf und ruhig auf ihrem geistreichen beweglichen Gesicht und in ihren braunen Feuer-Augen dem Entzücken zu, das wie ein weinendes Lächeln aussah; einige Pockengruben legten dem beseelten und wie Frühling-Büsche zart- und glänzend-durchsichtigen Angesicht noch einige Reize zu, um welche der Doktor Jenner die künftigen Schönen bringt. ``Ich reise'', sagte der Edelmann darauf, ``eben nach dem Badeorte, um da mit einer kleinen deklamierenden und musikalischen Akademie von einigen Schauspielen meines Freundes auf seine Ankunft selber vorzubereiten.'' Sie blieb unter der schweren Freude kaum aufrecht; den zarten, nur an leichte Blüten gewohnten Zweig wollte fast das Fruchtgehänge niederbrechen. Sie zuckte mit einer Bewegung nach Nießens Hand, als wollte sie die Überbringerin solcher Schätze küssen, streckte ihre aber -- heiß und rot über ihren, wie sie hoffte, unerratenen Fehlgriff -- schnell nach der entfernten Türe des Mißgeburten-Kabinettes aus und sagte: ``Da drin ist mein Vater, der sich freuen wird.''
 Er fuhr fort: er wünsche eben ihn mehr kennen zu lernen, da er dessen treffliche Werke, wiewohl als Laie, gelesen. Sie sprang nach der Türe. ``Sie hörten mich nicht aus -- sagte er lächelnd --. Da ich nun im Wochenblatte die schöne Möglichkeit gelesen, zugleich mit einer Freundin meines Freundes und mit einem großen Gelehrten zu reisen:'' -- Hier aber setzte sie ins Kabinett hinein und zog den räuchernden Katzenberger mit einem ausgestopften Säbelschnäbler in der Hand ins Zimmer. Sie selber entlief ohne Schal über die Gasse, um ihrer schwangern Freundin Bona die schönste Neuigkeit und den Abschied zu sagen.
Sie mußte aber jubeln und stürmen. Denn sie hatte vor einiger Zeit an den großen Bühnendichter Theudobach -- der bekanntlich mit Schiller und Kotzebue die drei deutschen Horatier ausmacht, die wir den drei tragischen Curiatiern Frankreichs und Griechenlands entgegensetzen -- in der Kühnheit des langen geistigen Liebetrankes der Jugendzeit unter ihrem Namen geschrieben, ohne Vater und Freundin zu fragen, und hatte ihm gleichsam in einem warmen Gewitterregen ihres Herzens alle Tränen und Blitze gezeigt, die er wie ein Sonnengott in ihr geschaffen und gesammelt hatte. Selig, wer bewundert und den unbekannten Gott schon auf der Erde als bekannten antrifft! -- Im Briefchen hatte sie noch über ein umlaufendes Gerücht seiner Badreise nach Maulbronn gefragt und die seinige unter die Antriebe der ihrigen gesetzt. Alle ihre schönsten Wünsche hatte nun sein Blatt erfüllt.
\pend
\endnumbering
\tableofcontents
\end{document}

\nolemmaseparator

\nolemmaseparator should be \lemmaseparator{}, but that also sets \lemmaseparatoraround{0pt}{0pt}. (I'd say that \lemmaseparator{} should be disabled to avoid confussion.) (from #13)

incompatibility between \thepstart and the Memoir class

The current \thepstart definition causes an error with used with the memoir class :
\renewcommand{\thepstart}{{\bf@arabic\c@pstart}. }

The command \bf is not compatible with the Memoir class. Moreover, commands such as \bf or \it are deprecated and should no longer be used (see http://www.tex.ac.uk/cgi-bin/texfaq2html?label=2letterfontcmd). Instead, commands such as \bfseries should be used :
\renewcommand{\thepstart}{{\bfseries@arabic\c@pstart}. }
works just fine.

\parafootsep

\parafootftmsep est un outils pas mal... mais archaîque (2 mois après !)

on va créer \parafootsep fonctionnant sur le même schéma que les autres commandes de personalisation de notes.

la valeur par défaut sera \parafootftmsep pour garder compatibilité ascendant.

[Suggestion] Support Microtype package

Dear Maieul,
have you planned to introduce support for MicroType package?

I imagine how it is difficult, and, therefore, please do not kill me! :-D

Hi and thanks for all your efforts,
Domenico

[easier-user-interface] no line for critical apparatus

Hi Maïeul,

my first suggestion would be to have the following command that suppresses the line for the critical apparatus:

\nofootnoteline{X}

where X can stand for: A, A,C, B-D or all.

I hope my brief explanation. Don't hesitate to ask, if it isn't.

Many thanks for your help,

Pablo

Very long apparatus notes automatically spanning on multiple pages

I have seen that these days there is a great job on this package, and I thought I'd offer you a suggestion.

This issue has been discussed already years ago (cf. http://comments.gmane.org/gmane.comp.tex.xetex/11506), but it seemed to be unsolvable.

In short, some of my footnotes (at least those of one series) in the critical apparatus are very long, a few even filling more than one page.
Is it possible to let ledmac break these notes automatically across multiple pages?

Hi and thanks in advance,
Doc

\numberinfootnotebeforeandafter (from Pablo)

It will be also useful to have the following command:

\numberinfootnotebeforeandafter{before}{after}

As explained with \lemmaseparatorbeforeandafter, before and after should contain dimensions.

Many thanks for your help,

make \ledsidenote work everywhere

The usage of \ledsidenote is restricted to the main text of the edition, but it is sometimes desirable to be able to to put sidenotes besides the apparatus, too.

Perhaps code from the marginnotes-package could be used?

widow- and orphan-control in ledpar

Using ledpar LaTeX's \clubpenalty and \widowpenalty are ignored. As manual pagebreaks are next to impossible in ledpar, the user cannot balance the pages manually.

If feature-request #6 is implemented, this issue here will not be important any more.

Footnotes equally spanning through both pages in bilingual edition done by ledpar.

Currently, critical aparatus/footnnotes are confined to the (single language) page
where the note is done. I use notes only for single language, leaving the page with
second language without commentaries. It would be nice if the footnotes could optionally
run through both left/right facing pages leaving approximately the same size for the text.

It might be that this enh request is not easily doable with the current internal structure of ledpar --
if so feel free to close this issue in such case.
Thanks.

Typo in example code

In the following line of example code:

\csname #1\footnoterule\endcsname}

"\footnoterule" should be just "footnoterule" (no backslash): the aim is to construct a command name here.

\textit{} breaks notes

If \textit{} is inside the argument of \edtext{}, there are problems. (As a workaround, {\it } is just fine.)

wrong verse numbering using ledpar

Hi Maïeul,

(Sorry, this is the fourth report on this issue, so allow me copying an pasting [reported previously on the ledmac mailing list, Berlios and Bitbucket])

I had already sent a message to the mailing list (https://lists.berlios.de/pipermail/ledmac-users/2010-March/000026.html), but since I haven't received any reply, I guess I might have hit a bug in ledpar.

The files are: http://www.ousia.tk/criticas.tex, http://www.ousia.tk/criticas.log and http://www.ousia.tk/criticas.pdf.

AFAIK, the bug may be caused by the verse numbering in ledpar and causes the following issues:

-Verse numbering is wrong on left pages, because it includes a line number before the astanza environment (which is wrong). This doesn't happen on right pages.

-Verse numbering is also wrong on right pages, because the \interstanza command doesn't print the number, but it seems to ignore the \skipnumbering command it contains. This doesn't happen on left pages.

-Related to previous issues, vertical positioning of the section title is different in both. And it seems that the right pages are the ones that have the correct vertical positioning (although it seems that there is an extra vertical space after the section title).

-Using hyperref the bookmark destinations are not the titles themselves, but the line after them.

-If I try to replace the \section with \chapters (starred or not), I'm afraid I get these two errors:

! Incompatible list can't be unboxed.
\one@line

and

! Incompatible list can't be unboxed.
\one@lineR

And there are one, two or three numbered empty lines before the chapter title, there is a numbered empty line before the stanzas on both left and right pages (and the right pages have the \interstanza line with its line not counted).

I really appreciate your work on ledmac and it would be great if you could fix this bug (or these issues).

Congratulations for your excellent work and many thanks for your help,

Pablo

Incorrect interaction between hyperref and numberpstarttrue

I would like to report a strange behavior (I dont't know if it's a bug!) of the new command numberpstarttrue.

I am preparing a critical edition with a series of numbered paragraphs. The apparatus references are often based on these numbers.

So, I put in the preamble:
\newcounter{para}\setcounter{para}{0}
\newcommand{\newpara}{%
\refstepcounter{para}%
\noindent\llap{\thepstart}}
\newcommand{\oldpara}[1]{%
\noindent\llap{\ref{#1}}}

The paragraph numbering begins at every chapter, each of which has the following structure:
\beginnumbering
\numberpstarttrue
\pstart\newpara \label{ex1}...... \pend
\pstart\newpara \label{ex2}\edtext{\abb{}}{\killnumber\Afootnote{{\textbf{\ref{ex2}}}\enspace ......}}...... \pend
...
\numberpstartfalse
\endnumbering

The strange thing is that while the numbering of paragraphs actually started at each \beginnumbering, the numbers of cross-references in apparatus continue from the previous chapters!

So, I inserted at the beginning of each chapter:
\setcounter{para}{0}

This method, however, creates a conflict with hyperref, which is no longer able to create correct hyperlinks: in fact, if, for example, in Chapter 3 there is a paragraph 81, the hyperlink in apparatus will refer back to paragraph 81 of Chapter 1!

Thank you in advance and I hope I was clear.

P.S.: Sorry for my bad English!

ledpar: no space between paragraphs + linespacing

Hi Maïeul,

Thank you very much for maintaining the ledpar package. It is a wonderful tool and I am gladly using it.

I have a question regarding ledpar: Is there a way to turn off the paragraph synchronization which adds space between the paragraphs on page A when the paragraphs on A are smaller than the paragraphs on page B? I understand, that this is a feature, but I would rather like to be able to turn this feature off...

In addition it would be convenient to be able to have, for example, on page A double spacing lines and on page B single spacing lines.

I have expounded the problem more fully here: http://tex.stackexchange.com/q/46614/12277

Thank you very much,
ClintEastwood

wrong url in documentation

Hi Maïeul,

ledmac.pdf contains in the abstract the following url lhttps://github.com/maieul/ledmac/issues/, which should read https://github.com/maieul/ledmac/issues/.

Just in case it helps,

Pablo

Marginal lineation by paragraph

Currently, I see, the lines can be numbered by page or section, but there isn't a way to mark them by paragraphs.

I think this could be an important solution for those who produce editions of fragmentary texts or, as in my case, of lexica.

Could you implement this feature?

Thanks in advance!

[easier-user-interface] different separator for lemmata (or none)

Hi Maîeul,

the default lemmata separator is ], but I wonder whether this could be implemented:

\lemmaseparator[X]{x}

[X] should be optional and should work the same way as suggested for \nofootnoteline. It specifies the critical footnote group(s) to which the command applies.

{x} specifies the actual glyph that replaces the ] glyph for the specified groups.

It is very helpful to add the following commands:

\lemmaseparatorbeforeandafter[X]{before}{{after}
\nolemaseparator[X]

\nolemmaseparator should be \lemmaseparator{}, but that also sets \lemmaseparatorbeforeandafter{0pt}{0pt}. (I'd say that \lemmaseparator{} should be disabled to avoid confussion.)

\lemmaseparatorbeforeandafter{after}{before} should specify dimensions in both before and after. But I wonder whether it would be possible to add also an space (which has the same length as any other spaces in that line).

Many thanks again,

Pablo

Paragraphs numbering

Hello, this is enhacenment request:

It would be nice to have numbering of paragraphs only. This problem has been raised multiple times on TeX lists
and there are even several hack solutions provided by Peter Wilson and Dirk-Jan Dekker
on the web, I included the relevant links below.

http://groups.google.com/group/comp.text.tex/browse_thread/thread/fe9e3c4a39eccd26
http://groups.google.com/group/comp.text.tex/browse_thread/thread/a0433c992ea131d7
http://groups.google.com/group/comp.text.tex/browse_thread/thread/832b2e61bc0298b0

[easier-user-interface] number only in first occurence from the same line

Hi Maïeul,

the code I tried didn't work for this, having the critical footnote group formatted as a paragraph (but this is another question).

\numberonlyfirstinline[X]

[X] should work as explained in \nofootnoteline and \lemmaseparator.

A new feature would be to be able to use the command no matter of the critical footnote formatting is. I mean, not only \footparagraph, but also \foottwocol, \footthreecol and \footnormal.

If implementing this feature for the other formats is too complex, I'd ask to have it implemented for \footparagraph first .

Many thanks for your help,

Pablo

Ajouter un séparateur de notes paragraphés

Lorsque les notes sont en paragraphes, permettre d'avoir un séparateur entre les notes, par ex 2 traits verticaux. Via une commande à redefinir de type footparmtseparator.

Code qui fonctionne

\newcount\prevpage@num \newcommand*{\newparafootfmt}[3]{% \ifnum\prevpage@num=\page@num% \doublebarre \enspace \fi% \global\prevpage@num=\page@num% \ledsetnormalparstuff {\notenumfont\printlines#1|}\enspace {\select@lemmafont#1|#2}\rbracket\enskip \normalfont #3\penalty-10}

A intégrer directement dans ledmac et à documenter

beforesymlinenum and aftersymlinenum

Implementeer l'équivalent de

% \changes{v0.3}{2004/02/14}{Two more Dekker examples}
% Dirk-Jan Dekker\index{Dekker, Dirk-Jan} felt that there was too much
% empty space if the starting line number was ommited in a footnote. He
% proposed\footnote{Posted to \texttt{comp.text.tex} on 24 January 2004.}
% this solution, here applied to a paragraphed footnote.
% \begin{verbatim}
% \renewcommand*{\Bparafootfmt}[3]{%
% \ledsetnormalparstuff
% \scriptsize
% \notenumfont\printlines#1|% % NEW FROM HERE
% \ifledplinenum
% \enspace
% \else
% {\hskip 0em plus 0em minus .4em}%
% \fi% % TO HERE
% {\select@lemmafont#1|#2}\rbracket\enskip
% #3\penalty-10}
% \end{verbatim}

ledmac easier user interface?

Hi Maïeul,

I started yesterday to use ledmac for a special kind of commented edition. I have found a couple of possible bugs which I want to report later.

I have some suggestions for a simpler user interface. Since right now I don't have a daily access to my personal computer, I will report the suggestions right now (one suggestion per issue report). Sorry if you aren't interested in implementing these.

My aim is to make documents that use ledmac easier to read and to write (also preambles).

Many thanks for your excellent work,

Pablo

bugs in lineation command

In my up-to-date (2012/08/03 CTAN) ledmac the \lineation{<arg>}-command has the following bugs:

section

\lineation{section} gives the error-message:

! Undefined control sequence.
\lineation ...bal \bypstart@true \else \def@tempb 
                                                  {section} \ifx \@tempa \@t...
l.3 \lineation{section}

Line-numbering per section works as expected, when it isn't called explicitely but the default is used.

pstart

\lineation{pstart} leaves the last line of a paragraph (\pend\pstart) without a number in the margin. The number is correctly put in front of \pend\endnumbering though.
It is easiest to see, when every line is numbered, but it happens also with other enumeration-patterns.

\documentclass[11pt]{book}
\usepackage{ledmac}
\lineation{pstart}

\footparagraph{A}

\firstlinenum{1}
\linenumincrement{1}


\begin{document}

\beginnumbering
\pstart
``Ein Gelehrter, der den ersten Juli mit seiner Tochter in seinem Wagen mit eignen Pferden ins Bad Maulbronn abreiset, wünscht einige oder mehre Reisegesellschafter.'' -- Dieses ließ der verwittibte ausübende Arzt und anatomische Professor Katzenberger ins Wochenblatt setzen. Aber kein Mensch auf der ganzen Universität Pira (im Fürstentume
\pend
\pstart
Katzenberger machte statt einer Lustreise eigentlich eine Geschäftreise ins Bad, um da nämlich seinen Rezensenten beträchtlich auszuprügeln und ihn dabei mit Schmähungen an der Ehre anzugreifen, nämlich den Brunnen-\pend
\pstart
Katzenberger machte statt einer Lustreise eigentlich eine Geschäftreise ins Bad, um da nämlich seinen Rezensenten beträchtlich auszuprügeln und ihn dabei mit Schmähungen an der Ehre anzugreifen, nämlich den Brunnen-Arzt Strykius, der seine drei bekannten Meisterwerke -- den Thesaurus \pend
\endnumbering

\end{document}

underline instead of italics in draft-mode

I'd suggest to change the default emphasis of the edtext in draft-mode from italics to something else, e.g. underlining.

Italicising is IMO an unfortunate default, as it is used in a number of other senses: often it is already in the edited text, some critical texts use to mark expanded abbreviations, others use it for corrected texts. On top of that italic text has different dimensions in most fonts and changes line- and page-breaks.

Underlining does none of the above and works reasonably well.

`\interstanza` working wrong

Hi Maïeul,

as you requested, I'm opening a new issue with the \interstanza problem.

AFAIK, \interstanza is a command defined to get a blank line that gets no numbering. At least, this is how the command is defined:

\newcommand{\interstanza}{\par\mbox{}\skipnumbering}

And you have the following source:

\documentclass[10pt]{book}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\setromanfont{Theano Didot}
\usepackage[a5paper]{geometry}

\usepackage{ledmac,ledpar}
\renewcommand{\Rlineflag}{}

\setlength{\parskip}{2ex plus 1ex minus 0.4ex}

\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
\renewcommand{\sectionmark}[1]{\markright{#1}}

\pagestyle{empty}

\usepackage[spanish]{babel}
\setcounter{secnumdepth}{-1}

\newcommand*{\stanzanum}[2][\stanzaindentbase]{%
\hskip -#1\llap{\textbf{#2}}\hskip #1\ignorespaces}
\newcommand{\interstanza}{\par\mbox{}\skipnumbering}

\usepackage[bookmarksnumbered, bookmarksopen, bookmarksdepth=5, dvipdfmx-outline-open, pdfpagemode=UseOutlines, pdfstartview=FitH]{hyperref}

\begin{document}

\tableofcontents

\begin{pages}
\setstanzaindents{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
\begin{Leftside}
\linenummargin{outer}\sidenotemargin{inner}\firstlinenum{1}\linenumincrement{1}
\beginnumbering
\pstart\phantomsection\section{Soneto de repente}\skipnumbering\pend
\skipnumbering
\begin{astanza}
Un soneto me manda hacer Violante, &
que en mi vida me he visto en tanto aprieto; &
catorce versos dicen que es soneto, &
burla burlando van los tres delante. &

\interstanza

Yo pensé que no hallara consonante &
y estoy a la mitad de otro cuarteto, &
mas si me veo en el primer terceto, &
no hay cosa en los cuartetos que me espante. &

\interstanza

Por el primer terceto voy entrando, &
y parece que entré con pie derecho &
pues fin con este verso le voy dando. &

\interstanza

Ya estoy en el segundo y aun sospecho &
que voy los trece versos acabando: &
contad si son catorce y está hecho. \&
\end{astanza}
\endnumbering
\end{Leftside}

\begin{Rightside}
\linenummargin{outer}\sidenotemargin{inner}\firstlinenum{1}\linenumincrement{1}
\beginnumbering
\pstart\phantomsection\section{Soneto de repente}\skipnumbering\pend

\begin{astanza}
Un soneto me manda hacer Violante, &
que en mi vida me he visto en tanto aprieto; &
catorce versos dicen que es soneto, &
burla burlando van los tres delante. &

\interstanza

Yo pensé que no hallara consonante &
y estoy a la mitad de otro cuarteto, &
mas si me veo en el primer terceto, &
no hay cosa en los cuartetos que me espante. &

\interstanza

Por el primer terceto voy entrando, &
y parece que entré con pie derecho &
pues fin con este verso le voy dando. &

\interstanza

Ya estoy en el segundo y aun sospecho &
que voy los trece versos acabando: &
contad si son catorce y está hecho. \&
\end{astanza}
\endnumbering
\end{Rightside}

\Pages

\end{pages}
\end{document}

\interstanza works right on the left, but wrong on the right. (I hope I can attach the PDF output, after having submitted the new issue).

Thanks for your help,

Pablo

\nonumberthisnote

equivalent de \killnumber dans l'exemple
% Dirk-Jan Dekker\index{Dekker, Dirk-Jan}
% suggested\footnote{Private communication, 17 February 2004.} the following
% \verb?\killnumber? macro if you want to occasionaly kill a number.
% \verb?\newcommand*{\killnumber}{\linenum{|-1|||-1||}}? \

% Then insert
% \verb?\ifnum#2=-1 \ledplinenumfalse\fi?
% near the start of the definition of \verb?\printlines? so it reads
% \begin{verbatim}
% \def\printlines#1|#2|#3|#4|#5|#6|#7|{\begingroup
% \ifnum#2=-1 \ledplinenumfalse\fi% %% NEW
% \setprintlines{#1}{#2}{#3}{#4}{#5}{#6}%
% ...
% \end{verbatim}
% It is used like this:
% \verb?\edtext{critical}{\killnumber\Afootnote{criticism}}?
% The \verb?\killnumber? command will kill the line number for the one
% note, unlike \verb?\killnumbers? which kills numbers for subsequent notes.
%

ledpar-syncing with large apparatuses

Large apparatuses (more than half the page) on one side make ledpar go out of sync after some pages.
In most cases setting \goalfraction to an extremely high value restores the syncing, but leaves too big amounts of white space on the pages.

Even though the attached example may seem far-fetched, text- and note-distributions like this do occur in real editions.
At a \goalfraction of 0.65 the code compiles and stabilises without The right page has ended on a left page.-errors, but the sync is lost on page 18/19 of the resulting pdf.
The blocks are eventually aligned correctly with \goalfraction set to 0.35. (cf page 72/73)

If the calculation of the sync cannot be optimised -- and I very much hope it can! -- perhaps you could at least implement an error-message like ledpar-syncing not possible. Try to lower goalfraction.?

linebreaks and indents in the apparatus

Sometimes one has to add or replace very long passages in the apparatus. One problem with this is already addressed in #29

Another problem is, that these lengthy additions sometimes consist of several paragraphs or include other material that needs linebreaks and indents, like dialogues or poetry.
(Poetry-handling doesn't necessarily be as elaborate as ledmac's \stanza, because these passages are rather seldom, so formatting could be done by hand as soon as linebreaks are available.)

The following example should have linebreaks and indents at all ¶

\documentclass[12pt]{book}

\usepackage{lipsum}

\usepackage{ledmac}
\footparagraph{A}


\begin{document}

\beginnumbering
\pstart
\lipsum[1]
\pend
\pstart
Lorem %
\edtext{once}{%
    \Afootnote{Once in a while you will have longish textsportions or even short chapters to enter in a critical note.
%
    \textparagraph{} Quisque facilisis erat a dui. Nam malesuada ornare dolor. Cras gravida, diam sit amet rhoncus ornare, erat elit consectetuer erat, id egestas pede nibh eget odio. Proin tincidunt, velit vel porta elementum, magna diam molestie sapien, non aliquet massa pede eu diam. Aliquam iaculis. Fusce et ipsum et nulla tristique facilisis. Donec eget sem sit amet ligula viverra gravida. Etiam vehicula urna vel turpis. Suspendisse sagittis ante a urna. Morbi a est quis orci consequat rutrum. Nullam egestas feugiat felis. Integer adipiscing semper ligula. Nunc molestie, nisl sit amet cursus convallis, sapien lectus pretium metus, vitae pretium enim wisi id lectus. Donec vestibulum. Etiam vel nibh. Nulla facilisi. Mauris pharetra. Donec augue. Fusce ultrices, neque id dignissim ultrices, tellus mauris dictum elit, vel lacinia enim metus eu nunc.
%
    \textparagraph{} Proin at eros non eros adipiscing mollis. Donec semper turpis sed diam. Sed consequat ligula nec tortor. Integer eget sem. Ut vitae enim eu est vehicula gravida.
%   
    \textparagraph{} Or you have to refer direct speech:
%   
    \textparagraph{} --- Why, he asked.
%   
    \textparagraph{} --- Just because the text has it, she answered. }}
 more.
\pend
\pstart
\lipsum[1]
\pend
\pstart
And another line.%
\edtext{}{%
    \Afootnote{Here the other text witness intersperses some lines of verse:
%   
%   \stanza
\textparagraph{} Arma gravi numero violentaque bella parabam %&
\textparagraph{}  edere, materi\={a} conveniente modis. %&
\textparagraph{} Par erat inferior versus---risisse Cupido %&
\textparagraph{}  dicitur atque unum surripuisse pedem. %\&
    }}
\pend
\pstart
\lipsum[1]
\pend
\endnumbering

\end{document}

(Maïeul, this is my last feature-requests for the time being, I promise!)

pouvoir régler l'espace entre les notes

idem, dans la ligne de @ousia. ce serait afternotes[X]{length}

et la ligne a modifier, c'est par là :

\newcommand*{\unvxh}[1]{%%
\setbox0=\vbox{\noindent\unvbox#1%%
\global\setbox1=\lastbox}%%
\unhbox1%
\unskip % remove \rightskip,%
\unskip % remove \parfillskip,%
\unpenalty % remove \penalty of 10000,%
\hskip\ipn@skip} % but add the glue to go between the notes%

Bug with autopar and ledref

When we use \autopar and \ledref at the start of some paragrapgh, some \ledref are not writing in the .1 file, and so the crossref are wrong. (See in my local repository of Ps Augustin App. 195 the commit 6a103a7)

adding footnotes to \section{\edtext{text}{\Afootnote{note}}}

I cannot add a footnote inside a section definition. (I don't know if ledmac was supposed to accept it)

\documentclass{article}
\usepackage{ledmac}
\begin{document}
\beginnumbering
\pstart

\section{The \edtext{title}{\Afootnote{note}}}
\edtext{A}{\Afootnote{bla}}

\pend
\endnumbering
\end{document}
``
`

__Error__: _Argument of \select@@lemmafont has an extra }_

Some other footnote packages ask for a _\protect_ before the foonote command,
while others don't: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ftnsect

(I don't really understand the quirks of the TeX language in these cases...)

Pouvoir faire autant d'apparat que souhaité

Gros chantier : plutôt que de copier-coller le code de different niveau, faire des commandes génériques créer automatiquement à partir d'une liste (etoolbox).

Le jour où j'aurais cela, on pourra passer à 1.0

\maxchunk vs. \Pages

Hi, Maieul.

I am editing a pretty long text in ledpar. Now and then I get the error "no room for a new count" or something simmilar. It can be fixed by increasing \maxchunk, but that has a limit too (100 results already in a compilation error) . The alternative is using \Pages, but then a new page is started, which can be quite inconvenient.

Is there a way of using \Pages and continue in the same page?

Thanks and best wishes,

Anabell

\numberinfootnotebeforeandafter (from Pablo)

It will be also useful to have the following command:

\numberinfootnotebeforeandafter{before}{after}

As explained with \lemmaseparatorbeforeandafter, before and after should contain dimensions.

Many thanks for your help,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.