Comments (13)
ok, I will try to debut it's this summer
Maïeul
http://blog.maieul.net
http://www.schtroumpfs.maieul.net/
Le 5 août 2011 à 19:48, ousia a écrit :
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@lineand
! Incompatible list can't be unboxed.
\one@lineRAnd 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
Reply to this email directly or view it on GitHub:
#2
from ledmac.
Sorry, just discovered that the domain doesn't work (as you told me).
Now the files are: http://ousia.110mb.com/criticas.tex, http://ousia.110mb.com/criticas.log and http://ousia.110mb.com/criticas.pdf.
from ledmac.
Hello,
I have partially corrected this issue. Please, open one issue (ticket) by bug.
So I corrected problem with Verse Numbering with subsection.
I can't correct with chapter, because it's a problem of chapter's command definition.
I think that the hyperref bug was also corrected by my correction.
I don't understand what do you want with interstanza. Could you open a new ticket with some PDF looking like as you want ?
Please, forgive me for my bad english
from ledmac.
Thanks for your corrections, Maïeul.
About the chapter issue, I wonder whether it would be possible that ledmac/ledpar redefined the chapter command to avoid the error.
Thanks for your help,
Pablo
from ledmac.
I think it's not a very good idea that ledmac/ledpar interfere with the standard style
Maïeul
http://blog.maieul.net
http://www.schtroumpfs.maieul.net/
Le 22 août 2011 à 08:45, ousia a écrit :
Thanks for your corrections, Maïeul.
About the chapter issue, I wonder whether it would be possible that ledmac/ledpar redefined the chapter command to avoid the error.
Thanks for your help,
Pablo
Reply to this email directly or view it on GitHub:
#2 (comment)
from ledmac.
I'm not a ledmac/ledpar expert (the sample provided with this issue is my first use of it).
As far as I can remember, \section
was redefined to avoid problems with ledmac/ledpar. So redefining \chapter
shouldn't be a problem.
Thanks for your help.
from ledmac.
No, \section
was'nt redefined (I just verified)
from ledmac.
I thought I read it somewhere on the web (I cannot remember where ;-)).
The issue is being able to use chapter with ledmac/ledpar.
I guess finding a workaround would be extremely valuable for the users.
from ledmac.
I have been thinking. And the problem was in the code which make \chapter
open (or not) a new page.
When texts are // in 2 pages, there is no sens to test it !
So I have redefined \chapter
in the environnement pages
.
That made ledpar 0.6 (you can obtain it in this page https://github.com/maieul/ledmac/tree/mac0.10-par0.6-arab0.1, you just have to compil to have the .sty
file).
When you use \chapter
and not \section
the problem with \interstanza
is not.
I think I will expect before post it in the CTAN, because it will be the three in 24h !
from ledmac.
hi @ousia : five year letter, I have to ask you : do you have keept the file problematic ? I have found a bug, related to this one, and I would'nt like to break this debug to fix the other bug.
from ledmac.
I don’t use LaTeX anymore. I switched to ConTeXt.
But the file contents should be these (the file name is criticas.tex
and it was modified on June 2010).
\documentclass[10pt]{book}
\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text}
%~ \setromanfont[Ligatures=NoCommon]{KerkisSans}%{Old Standard}
\setromanfont[ItalicFont=Old Standard-Italic]{Theano Didot}
\usepackage[a5paper]{geometry}
%\usepackage[paperheight=21cm,paperwidth=15cm,margin=1.25cm]{geometry}
%\usepackage[a4,cam,center]{crop}
\usepackage{ledmac,ledpar}
\renewcommand{\Rlineflag}{}
%~ \lineation{chapter}
\setlength{\parskip}{2ex plus 1ex minus 0.4ex}
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
\renewcommand{\sectionmark}[1]{\markright{#1}}
\pagestyle{plain}
\usepackage{polyglossia}
\setmainlanguage{spanish}
\setotherlanguages{greek,italian}
\setkeys{greek}{variant=ancient}
\newcommand{\itit}[1]{\foreignlanguage{italian}{\emph{#1}}}
\gappto\captionsspanish{\renewcommand{\contentsname}{Caput}}
\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, pdfcreator={XeLaTeX + hyperref (by Πράγματα)}]{hyperref}
\pdfstringdefDisableCommands{ %esto evita tonterías en los marcadores
\let\selectlanguage\@gobble
\let\foreignlanguage\@gobble
}
\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}
\selectlanguage{greek}
\linenummargin{outer}\sidenotemargin{inner}\firstlinenum{1}\linenumincrement{1}
\beginnumbering
\pstart\phantomsection\section{Ἡ πόλις}\skipnumbering\pend
\skipnumbering
\begin{astanza}
Εἶπες· «Θὰ πάγω σ’ ἄλλη γῆ, θὰ πάγω σ’ ἄλλη θάλασσα. &
Μιὰ πόλις ἄλλη θὰ βρεθεῖ καλλίτερη ἀπ’ αὐτή. &
Κάθε προσπάθειά μου μιὰ καταδίκη εἶναι γραφτῆ· &
κ’ εἲν’ ἡ καρδιά μου —σὰν νεκρός— θαμένη. &
Ὁ νοῦς μου ὡς πότε μὲς στὸν μαρασμὸν αὐτὸν θὰ μένει. &
Ὅπου τὸ μάτι μου γυρίσω, ὅπου κι ἂν δῶ &
ἐρείπια μαῦρα τῆς ζωῆς μου βλέπω ἐδῶ, &
ποῦ τόσα χρόνια πέρασα καὶ ρήμαξα καὶ χάλασα.» &
\interstanza
Καινούργιους τόπους δὲν θὰ βρεῖς, δὲν θάβρεις ἄλλες θάλασσες. &
Ἡ πόλις θὰ σὲ ἀκολουθεῖ. Στοὺς δρόμους θὰ γυρνᾷς &
τοὺς ἴδιους. Καὶ στὲς γειτονιὲς τὲς ἴδιες θὰ γερνᾷς· &
καὶ μὲς στὰ ἴδια σπίτια αὐτὰ θ’ ἀσπρίζεις. &
Πάντα στὴν πόλι αὐτὴ θὰ φθάνεις. Γιὰ τὰ ἀλλοῦ —μὴ ἐλπίζεις— &
δὲν ἔχει πλοῖο γιὰ σέ, δὲν ἔχει ὁδό. &
Ἔτσι ποῦ τὴ ζωή σου ρήμαξες ἐδῶ &
στὴν κώχη τούτη τὴν μικρή, σ’ ὅλην τὴν γῆ τὴν χάλασες. \&
\end{astanza}
\endnumbering
\end{Leftside}
\begin{Rightside}
\selectlanguage{spanish}
\linenummargin{outer}\sidenotemargin{inner}\firstlinenum{1}\linenumincrement{1}
\beginnumbering
\pstart\phantomsection\section{La ciudad}\skipnumbering\pend
\begin{astanza}
Dices: «Iré a otra tierra, a otro mar. &
Otra ciudad encontraré mejor que ésta. &
Todo esfuerzo mío está condenado; &
y está mi corazón —como un cadáver— sepultado. &
Mi pensamiento languidece en este marasmo. &
Donde vuelvo la vista, donde quiera que mire &
sólo veo las oscuras ruinas de mi vida &
donde tantos años pasé, destruí y perdí». &
\interstanza
No encontrarás ni otros lugares, no encontrarás otros mares. &
La ciudad irá siempre en ti. Vagarás &
por las mismas calles. Y en los mismos barrios envejecerás &
y en la misma casa encanecerás. &
Porque la ciudad es siempre la misma. No busques otra —no hay— &
no hay barco para ti, no hay camino. &
La vida que aquí perdiste, &
la has destruido en toda la tierra. \&
\end{astanza}
\endnumbering
\end{Rightside}
\Pages
\setstanzaindents{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
\begin{Leftside}
\selectlanguage{greek}
\linenummargin{outer}\sidenotemargin{inner}\firstlinenum{1}\linenumincrement{1}
\beginnumbering
\pstart\phantomsection\section{Μονοτονία}\skipnumbering\pend
\begin{astanza}
Τὴν μιὰ μονότονην ἡμέραν ἄλλη &
μονότονη, ἀπαράλλακτη ἀκολουθεῖ. Θὰ γίνουν &
τὰ ἴδια πράγματα, θὰ ξαναγίνουν πάλι — &
οἱ ὅμοιες στιγμές μᾶς βρίσκουνε καὶ μᾶς ἀφίνουν. &
\interstanza
Μῆνας περνᾷ καὶ φέρνει ἄλλον μῆνα. &
Αὐτὰ ποῦ ἔρχονται κανεὶς εὔκολα τὰ εἰκάζει· &
εἶναι τὰ χθεσινὰ τὰ βαρετὰ ἐκεῖνα. &
Καὶ καταντᾷ τὸ αὔριο πιὰ σὰν αὔριο νὰ μὴ μοιάζει. \&
\end{astanza}
\endnumbering
\end{Leftside}
\begin{Rightside}
\selectlanguage{spanish}
\linenummargin{outer}\sidenotemargin{inner}\firstlinenum{1}\linenumincrement{1}
\beginnumbering
\pstart\phantomsection\section{Monotonía}\skipnumbering\pend
\begin{astanza}
Sigue un día monótono a otro día igualmente &
monótono, idéntico. Las mismas &
cosas sucederán de nuevo, una y otra vez — &
las mismas circunstancias nos toman y nos dejan. &
\interstanza
A un mes sigue otro mes igual. &
Lo que vendrá fácilmente se adivina; &
serán las mismas cosas de ayer. &
Y el mañana nunca parece ese mañana. \&
\end{astanza}
\endnumbering
\end{Rightside}
\Pages
\setstanzaindents{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
\begin{Leftside}
\selectlanguage{greek}
\linenummargin{outer}\sidenotemargin{inner}\firstlinenum{1}\linenumincrement{1}
\beginnumbering
\pstart\phantomsection\section{Τὰ παράθυρα}\skipnumbering\pend
\begin{astanza}
Σ' αὐτὲς τὲς σκοτεινὲς κάμαρες, ποῦ περνῶ &
μέρες βαρυές, ἐπάνω κάτω τριγυρνῶ &
γιὰ νἄβρω τὰ παράθυρα.— Ὅταν ἀνοίξει &
ἕνα παράθυρο θἆναι παρηγορία.— &
Μὰ τὰ παράθυρα δὲν βρίσκονται, ἢ δὲν μπορῶ &
νὰ τἄβρω. Καὶ καλλίτερα ἴσως νὰ μὴν τὰ βρῶ. &
Ἴσως τὸ φῶς θἆναι μιὰ νέα τυραννία. &
Ποιὸς ξέρει τί καινούργια πράγματα θὰ δείξει. \&
\end{astanza}
\endnumbering
\end{Leftside}
\begin{Rightside}
\selectlanguage{spanish}
\linenummargin{outer}\sidenotemargin{inner}\firstlinenum{1}\linenumincrement{1}
\beginnumbering
\pstart\phantomsection\section{Ventanas}\skipnumbering\pend
\begin{astanza}
En esas habitaciones oscuras donde vivo &
pesados días, con qué anhelo contemplo a veces &
las ventanas. —Cuándo se abrirá &
una de ellas y qué han de traerme—. &
Pero esa ventana no se encuentra, o yo no sé &
hallarla. Y quizás mejor sea así. &
Quizá esa luz fuese para mí otra tortura. &
Quién sabe cuántas cosas nuevas mostraría. \&
\end{astanza}
\endnumbering
\end{Rightside}
\Pages
\setstanzaindents{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
\begin{Leftside}
\selectlanguage{greek}
\linenummargin{outer}\sidenotemargin{inner}\firstlinenum{1}\linenumincrement{1}
\beginnumbering
\pstart\phantomsection\section{\itit{Che fece .... il gran rifiuto}}\skipnumbering\pend
\begin{astanza}
Σὲ μερικοὺς ἀνθρώπους ἔρχεται μιὰ μέρα &
ποῦ πρέπει τὸ μεγάλο Ναὶ ἢ τὸ μεγάλο τὸ Ὄχι &
νὰ ποῦνε. Φανερώνεται ἀμέσως ὅποιος τόχει &
ἕτοιμο μέσα του τὸ Ναί, καὶ λέγοντας τὸ πέρα
\interstanza
πηγαίνει στὴν τιμὴ καὶ στὴν πεποίθησί του. &
Ὁ ἀρνηθεὶς δὲν μετανοιώνει. Ἂν ρωτιοῦνταν πάλι, &
ὄχι θὰ ξαναέλεγε. Κι ὅμως τὸν καταβάλλει &
ἐκεῖνο τ’ ὄχι — τὸ σωστὸ — εἰς ὅλην τὴν ζωή του. \&
\end{astanza}
\endnumbering
\end{Leftside}
\begin{Rightside}
\selectlanguage{spanish}
\linenummargin{outer}\sidenotemargin{inner}\firstlinenum{1}\linenumincrement{1}
\beginnumbering
\pstart\phantomsection\section{\itit{Che fece... il gran rifiuto}}\skipnumbering\pend
\begin{astanza}
A cada uno le llega el día &
de pronunciar el gran Sí o el gran &
No. Quien dispuesto lo lleva &
Sí manifiesta, y diciéndolo &
\interstanza
progresa en el camino de la estima y la seguridad. &
El que rehúsa no se arrepiente. Si de nuevo lo interrogasen &
diría no de nuevo. Pero ese &
no —legítimo— lo arruina para toda su vida. \&
\end{astanza}
\endnumbering
\end{Rightside}
\Pages
\end{pages}
\end{document}
from ledmac.
from ledmac.
It has a bibliographic module being developed and it has similar features to your packages.
I have written something about critical editions in ConTeXt, although it is outdated (and in Spanish): http://www.ediciones-criticas.tk/.
from ledmac.
Related Issues (20)
- footnoteXmark, footnoteXtext, and hyperref HOT 27
- Incompatibility with memoir v. 3.8 HOT 39
- How to disable only certain footnotes HOT 3
- Error (STOP) in compilation with pdflatex HOT 1
- Stop in compilation with pdflatex HOT 3
- \doinsidethislinehook does not work with reledpar
- footnote directions not correctly initialized HOT 4
- paragraph footnotes do not reset \parfillskip HOT 9
- Les lignes des notes critiques n'acceptent pas de retour (line wrap) en arabe avec HOT 6
- `edtabular` and `edarray` still break `edlabel`s HOT 7
- Problems with the Rightpage side on \reledpar HOT 1
- Footnotes are on the wrong page with \reledpar HOT 1
- Printing verse number in the footnote HOT 5
- noendnotes package option in documentation HOT 1
- Example '2-reledmac-right-to-left.tex' fails HOT 1
- Code-breaking typo in the documentation HOT 1
- Apparat: référence à la ligne ou au paragraphe? HOT 2
- Problems with one series of critical notes per \pstart on reledpar HOT 3
- Reledpar issue with latest Polyglossia v. 2.2 (2024/07/15) HOT 40
- Different spacing around apparatus separator lines in normal vs paragraph arrangement | Espacement autour des lignes séparatrices en apparat varie de l'arrangement normal à l'arrangement paragraph
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ledmac.