Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to create a book with poetry in two columns, side-by-side, in different languages. After some googling, I chose the ledmac and ledpar packages. But then I found myself doing hacks, and I wonder if there is a better way.

In particular, I need the following:

  1. Aligned stanzas (in other words, starting lines of stanzas with the same numbers from both columns are at the same height). astanza environment does that.

  2. Numbered stanzas (only for the left column). I am using the macro from ledpar documentation:

\newcommand*{\stanzanum}[2][\stanzaindentbase]{%
        \hskip -#1\llap{\textbf{#2}}\hskip #1
        \ignorespaces}
        % Use: \stanzanum{<dimen: whitespace after # of stanza>}{<text: # of stanza>}

\newcommand{\interstanza}{\par\mbox{}\skipnumbering}
  1. No line numbers. I set \firstlinenum{999} in the beginning of the document.

  2. Footnotes for stanzas. Something like:

    \begin{astanza}
    blablabla
    \end{astanza}
    \stanzafootnote{foobar}
    

    And this is supposed to create a footnote with the number of the stanza. This can be done by creating the counter for stanza number and the macro with this number and \footnotetext.

So, are there any packages that can do it already? Or did I miss something in documentation? Maybe ledmac and ledpar were not the best choice? I find it suspicious that I am writing macros for things that seem to be common tasks.

Thank you in advance. Sorry if the question is stupid.

share|improve this question

2 Answers 2

Not a stupid question at all.

Right now, I can think of something else slightly hacky: Using the longtable package, create a longtable with, say, three columns—one for the stanza counter, one for the first language, and one for the second. longtable supports regular footnotes. Each stanza (or line if you want pagebreaks in the middle of stanzas) could be a table row. You'd probably have to write some advance-stanza-counter macro but that should be pretty easy.

share|improve this answer
1  
Yes, I am actually using this approach now. I played a little with macros and ledpar, but could not make all footnotes reside on the pages where they were referenced (even after playing with different weight coefficients), so I gave up and started using tables for stanzas and common text blocks for footnotes (I have lots of footnotes). This is actually a good thing, because ledmac conflicts with microtype package, and I would like to use it too. –  Bogdan Oct 22 '10 at 1:26
    
@Bogdan: does ledmac/ledpar still conflict with microtype? in the microtype documentation it says that since a ledmac update in 2005, protrusion has been possible. Is it that only protrusion is possible, while the other features aren't? Or does ledmac fully cooperate with microtype? –  ClintEastwood Mar 4 '12 at 17:28
    
I wrote to the author of microtype, which said to me that eledmac/eledpar was compatible, but there is a little bug in microtype. I wrote to me in August 2012, and was hoping to correct this bug in next week. I don't know if he do it... –  Maïeul Apr 28 '13 at 15:40

Hum, I don't understand exactly want do you want. Do you want to have a number at every \astanza environment ? and a number in footnote refered to stanza ?

could you send a example what do want to obtain ? If I understand, I could add feature in eledmac/eledpar package (which is to be used instead of ledmac/ledpar, which is depreciated.

share|improve this answer
    
Initially I wanted to have commentaries for stanzas arranged as in books.google.com.au/…, for example. But since I couldn't get it to work I ended up doing it like this: scribd.com/doc/40146250/Poetic-Edda-Old-Norse-English-diglot (github.com/Manticore/poetic_edda for code). –  Bogdan Apr 29 '13 at 0:01
    
Please, open a ticket on the github page of ledmac. With an minimal example of poetry. I will add this feature –  Maïeul Apr 29 '13 at 8:51
    
Hi,I can't help you more if you don't open a issue ;-) –  Maïeul May 13 '13 at 7:45
    
Sorry, Maieul, and thanks for your offer, but unfortunately I'm quite busy now and can't dig up that project and try to reproduce the bug (which I've successfully worked around in a way that I actually like more :) –  Bogdan May 13 '13 at 12:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.