problemi con le impostazioni della numerazione

  • Creatore
    Topic
  • #85700
    Up
    0
    Down
    ::


    Salve a tutti,
    ho cominciato da poco ad usare LaTeX per impaginare la mia tesi e ho qualche difficoltà dovuta alla scarsa pratica con questo sistema.
    Purtroppo, data l’inesperienza, non riesco a risolvere un problema piuttosto banale.
    Sto preparando con ledmac un’edizione critica di un testo che si struttura alternando sezioni in versi e paragrafi in prosa (un prosimetro come potrebbe essere la Vita Nova, ad esempio).
    Non riesco a capire se sia possibile numerare progressivamente i versi delle strofe (in modo che la numerazione dei versi sia continua e “scavalchi” la parte in prosa) e contemporaneamente numerare singolarmente le diverse parti in prosa.
    Il solo risultato che sono stato in grado di ottenere è numerare ciascuna sezione, ma in questo modo ad ogni strofa il conteggio riprende da 1 e non è l’effetto che spererei di ootenere

    Di seguito riporto un modello semplificato per rendere l’idea del testo di cui parlo.

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \documentclass[a4paper,oneside,11pt]{article}
    \usepackage{ledmac}
    \usepackage{setspace}
    \usepackage[utf8]{inputenc}
    \usepackage[italian,latin]{babel}
    \usepackage[T1]{fontenc}
    \usepackage{lmodern}
    \usepackage

    {geometry} %%%%
    \onehalfspacing

    \begin{document}

    \setstanzaindents{0,2,2,2,2,2,2,2,2,2,2,2,2,0}

    [1] \emph{Stanza}

    \vspace{1cm}

    \beginnumbering
    \firstlinenum{3}
    \linenumincrement{3}
    \linenummargin{right}

    \stanza
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi
    \&
    \endnumbering
    \vspace{1cm}

    \beginnumbering
    \linenummargin{left}
    \firstlinenum{5}
    \linenumincrement{5}
    \pstart
    [Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa ]
    \pend
    \endnumbering
    \vspace{1cm}

    [2]\emph{Stanza}
    \vspace{1cm}

    \beginnumbering
    \firstlinenum{3}
    \linenumincrement{3}
    \linenummargin{right}
    \stanza
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi &
    Questo è il testo in versi
    \&

    \endnumbering
    \end{document}

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    Grazie in anticipo per l’aiuto e la pazienza

Visualizzazione 39 filoni di risposte
  • Autore
    Risposte
    • #85701
      Up
      0
      Down
      ::


      Hum,

      I’m understanding what you have as text, but not what you expect as numbering. Do you want the numbering in prose be continuous with the numbering in verse ?

    • #85702
      Up
      0
      Down
      ::


      Thank you for answering so quickly!
      what i would like to have is:

      1) the verse numbering to be continous from the beginning to the end of the document (50 stanzas, 600 verses)
      2) the prose numbering to start and stop whithin one single section

      I hope I have been clearer!
      thank you

    • #85703
      Doc
      Partecipante
        Up
        0
        Down
        ::


        Vedo che ti sta seguendo direttamente Maieul. Chi meglio di lui?

        Solo una cosa: usa eledmac, anziché ledmac!

        Ciao
        Domenic

      • #85704
        Up
        0
        Down
        ::


        Ok.

        As Doc said, you should, in any case, use eledmac instead of ledmac.

        I’m not sur to understand exactly what you mean : have a number for stanza (1) or have an unbroken numbering of line for stanza but a broken for prose (2). So I will propose to you a solution for both case.

        have a number for stanza (1)

        The solution is very easy. If you don’t use a sectionning command (as \section), you could define your own counter and increment it a each stanza.
        For example in you preamble:

        `
        \newcounter{stanza}% A counter for stanza
        \newcommand{\stanzacount}{
        \stepcounter{stanza}%Add one to the counter
        [\thestanza]% Print in bracket the value of the stanza
        }
        `

        And at each stanza, you call \stantzacount (instead of [1] and [2] in your example)

        have an unbroken numbering of line for stanza but a broken for prose (2)

        As it mix broken and unbroken line numbering, we can’t use \pausenumbering.

        The solution will be :

        1. At the end of stanza, before \endnumbering, save the line number in a counter.
        2. At the begining of a stanza, between \beginnumbering and \stanza, set the line number with the value saved in the counter.

        So, in you preamble, define a command \savestanzaline, and call it at the end of a stanza, after the \& and before \linenumbering :

        `
        \makeatletter% We need to use command with an @.
        \newcounter{stanzaline}% The counter to save the stanza line.
        \newcommand{\savestanzaline}[0]{\setcounter{stanzaline}{\line@num}}%\line@num is the internal counter of eledmac use for line numbering.
        \makeatother% No need anymore command with @
        `

        And so, at the begining of a stanza, between \beginnumbering and \stanza, call :
        `
        \setlinenum{\thestanzaline}
        `

        To change the line number, and have a continuus line numbering with the previous stanza…

        Hope to be helpful.

      • #85705
        Up
        0
        Down
        ::


        Once again, thank you for answering.
        I started using “eledmac” as you and Doc suggested and I am trying to make all the changes needed in my original document.
        What I needed, as you said, is an unbroken numbering of line for stanza but a broken for prose (2).
        I tried to follow your suggestion and set my preamble and it worked perfectly for the first two stanzas (with prose section in between): like this

        \documentclass[a4paper,oneside,11pt]{article}

        \usepackage{eledmac}
        \usepackage{setspace}
        \usepackage[utf8]{inputenc}
        \usepackage[italian,latin]{babel}
        \usepackage[T1]{fontenc}
        \usepackage{lmodern}
        \usepackage

        {geometry} %%%%
        \onehalfspacing

        %%%%NEW COMMAND%%%%%%
        \makeatletter% We need to use command with an @.
        \newcounter{stanzaline}% The counter to save the stanza line.
        \newcommand{\savestanzaline}[0]{\setcounter{stanzaline}{\line@num}}%\line@num is the internal counter of eledmac use for line numbering.
        \makeatother% No need anymore command with @
        %%%%NEW COMMAND%%%%%%

        \begin{document}

        \setstanzaindents{0,2,2,2,2,2,2,2,2,2,2,2,2,0}

        [1] \emph{Stanza}

        \vspace{1cm}

        \beginnumbering

        \stanza
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi
        \&
        \savestanzaline
        \endnumbering
        \vspace{1cm}

        \beginnumbering

        \pstart
        [Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa ]
        \pend
        \endnumbering
        \vspace{1cm}

        [2]\emph{Stanza}
        \vspace{1cm}

        \beginnumbering
        \setlinenum{\thestanzaline}
        \stanza
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi
        \&

        \endnumbering

        \end{document}

        ..but if i add another prose section and another stanza (I have to do it 60 times) it all changes, and goes like this:

        \documentclass[a4paper,oneside,11pt]{article}

        \usepackage{eledmac}
        \usepackage{setspace}
        \usepackage[utf8]{inputenc}
        \usepackage[italian,latin]{babel}
        \usepackage[T1]{fontenc}
        \usepackage{lmodern}
        \usepackage

        {geometry} %%%%
        \onehalfspacing

        %%%%NEW COMMAND%%%%%%
        \makeatletter% We need to use command with an @.
        \newcounter{stanzaline}% The counter to save the stanza line.
        \newcommand{\savestanzaline}[0]{\setcounter{stanzaline}{\line@num}}%\line@num is the internal counter of eledmac use for line numbering.
        \makeatother% No need anymore command with @
        %%%%NEW COMMAND%%%%%%

        \begin{document}

        \setstanzaindents{0,2,2,2,2,2,2,2,2,2,2,2,2,0}

        [1] \emph{Stanza}

        \vspace{1cm}

        \beginnumbering

        \stanza
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi
        \&
        \savestanzaline
        \endnumbering
        \vspace{1cm}

        \beginnumbering

        \pstart
        [Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa ]
        \pend
        \endnumbering
        \vspace{1cm}

        [2]\emph{Stanza}
        \vspace{1cm}

        \beginnumbering
        \setlinenum{\thestanzaline}
        \stanza
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi
        \&
        \savestanzaline
        \endnumbering

        \beginnumbering

        \pstart
        [Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa ]
        \pend
        \endnumbering
        \vspace{1cm}

        \vspace{1cm}

        [3]\emph{Stanza}
        \vspace{1cm}

        \beginnumbering
        \setlinenum{\thestanzaline}
        \stanza
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi
        \&

        \endnumbering

        \end{document}

        So I have the following problems:
        1) The first stanza verse numbering is correct, the following are incorrect (for example the counter in stanza II does not start from verse 13, but from verse 50)
        2) Everytime I make a change and refresh to get a new PdF output file, the verse line counter increases
        [attachment:1]C:\fakepath\test Pdf.pdf[/attachment]

        Maybe I have done something wrong, but I spent a lot of time tying before bothering you again…unfortunaly I was not able to make it work by myself!

        Thanks again
        Lorenzo

      • #85706
        Up
        0
        Down
        ::


        Ok, I understand the why. It’s link to the way \setlinenum works.

        So the solution is to add, in the preamble, this command :
        `
        \newcommand{\restorestanzaline}{\line@num=\thestanzaline}
        `

        And to replace

        `
        \setlinenum{\thestanzaline}
        `

        by
        `
        \restorestanzaline
        `

      • #85707
        Up
        0
        Down
        ::


        Yes! Now it works perfectly!!
        thank you so much, now my text has exactly the format that i needed!

        But unfortunately the linenumber printed in the apparatus is still the default one!
        i’ll give you an example:

        \documentclass[a4paper,oneside,11pt]{article}

        \usepackage{eledmac}
        \usepackage{setspace}
        \usepackage[utf8]{inputenc}
        \usepackage[italian,latin]{babel}
        \usepackage[T1]{fontenc}
        \usepackage{lmodern}
        \usepackage

        {geometry} %%%%
        \onehalfspacing

        %%%%CONTINUITà NUMERI DI VERSI DELLE STROFE%%%%%%
        \makeatletter% We need to use command with an @.
        \newcounter{stanzaline}% The counter to save the stanza line.
        \newcommand{\savestanzaline}[0]{\setcounter{stanzaline}{\line@num}}%\line@num is the internal counter of eledmac use for line numbering.
        \newcommand{\restorestanzaline}{\line@num=\thestanzaline}
        %%%%%%%%%%

        \begin{document}

        \setstanzaindents{0,2,2,2,2,2,2,2,2,2,2,2,2,0}

        [1] \emph{Stanza}

        \vspace{1cm}

        \beginnumbering

        \stanza
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi
        \&
        \savestanzaline
        \endnumbering
        \vspace{1cm}

        \beginnumbering

        \pstart
        [Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa ]
        \pend
        \endnumbering
        \vspace{1cm}

        [2]\emph{Stanza}
        \vspace{1cm}

        \beginnumbering
        \restorestanzaline
        \stanza
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in \edtext{\textbf{poesia}}{\Afootnote{A versi }} &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi
        \&
        \savestanzaline
        \endnumbering

        \beginnumbering

        \pstart
        [Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa ]
        \pend
        \endnumbering
        \vspace{1cm}

        \vspace{1cm}

        [3]\emph{Stanza}
        \vspace{1cm}

        \beginnumbering
        \restorestanzaline
        \stanza
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi &
        Questo è il testo in versi
        \&
        \savestanzaline
        \endnumbering

        \end{document}

        That is quite a problem… I am sorry to ask you so many questions but I am not able to set the right parameters by myself!
        Thanks again for you patience
        Lorenzo

      • #85708
        Up
        0
        Down
        ::


        No problem, it’s a quite difficult problem.

        I think what was wrong in the first solution, what was wrong in the second. I hope the third, which combine the two, is the good.

        So you have to change you preambule code by :

        `

        %%%%CONTINUITà NUMERI DI VERSI DELLE STROFE%%%%%%
        \makeatletter% We need to use command with an @.
        \newcount\@stanzaline% The counter to save the stanza line. It's a TeX counter, not a LaTeX counter
        \newcommand{\savestanzaline}[0]{\global\@stanzaline=\line@num}%\line@num is the internal counter of eledmac use for line numbering.
        \newcommand{\restorestanzaline}{\setlinenum{\@stanzaline}}% Use the value of @stanzaline as new line number, but don't write it directly in the .nn file.
        \makeatother%Don't forget.
        %%%%%%%%%%

        `

      • #85709
        Up
        0
        Down
        ::


        Now everything works perfectly!

        Thank you very much: I would have never been able to do it by myself!
        you helped me a lot

        Lorenzo

      • #85710
        Up
        0
        Down
        ::


        I have one last question: do you know if it is possible to set the distance between the end of the verse and the verse number, since I would like it to be on the right side?
        what I usually get is something like

        Verse verse verse verse____________________1

        But I think it would be better to have it nearer, just like that:

        Verse verse verse verse________1

        Thank you..this should be the last one!!!

      • #85711
        Up
        0
        Down
        ::


        for your last question : it’s actually not possible, and i think it’s a bad idea, because the position of line number should be everytime at the end of the line, to be symetric with other page.

      • #85712
        Up
        0
        Down
        ::


        That’s ok..After all, the other problems were the important ones..thE last question was about a very little issue!
        thank you once again for all the help.

        Lorenzo

      • #85713
        Up
        0
        Down
        ::


        Ciao!

        Riapro questo thread perché anch’io ho un problema con la numerazione…

        Il mio testo è in parte in versi in parte in prosa. Si tratta di un testo drammatico e riesco a numerare facilmente e senza problemi la parte in versi, grazie al pacchetto dramatist, con i comandi
        `\begin{drama*}
        \poemlines{5}`

        Questa opzione è molto utile perché automaticamente esclude dal conteggio dei versi le didascalie del testo drammatico.

        La domanda è: è possibile creare qualcosa di simile per la parte in prosa con eledmac? Si può creare un comando del tipo *\renewcommand{\direct}{\skipnumbering}*? Metto gli asterischi perché ho già provato così e non funziona. Anzi mi crea l’ulteriore problema di non trattare il testo preceduto da \direct, come una didascalia…

        Poi ho notato che la numerazione del testo in prosa mi crea una sorta di interlinea diversa tra le battute dei personaggi… come posso evitare questo?

        [attachment=1246]Cattura.JPG[/attachment]

        Infine (ma questo forse riesco a capirlo da sola studiando meglio la documentazione), come posso impostare la numerazione sulla destra?

        Grazie mille,
        Valeria

        Attachments:
        You must be logged in to view attached files.
      • #85714
        Doc
        Partecipante
          Up
          0
          Down
          ::


          Valeria, se mi proponi un esempio minimo (un paio di pagine, anche con battute fittizie), posso vedere di risolverlo. Dovrebbe essere facilissimo!
          Ciao,
          Domenico

        • #85715
          Up
          0
          Down
          ::


          Ecco, ti incollo tutto il codice, anche se un po’ lungo.
          Tra l’altro vedo che, mettendo i numeri di riga a sinistra, questi si sovrappongono al nome del personaggio parlante, quindi mi serve proprio spostarli a destra. Ho fatto un paio di prove ma con scarso successo…

          In più: come si potrebbe rendere la numerazione continua tra la parte in prosa e quella in versi?

          Ti ringrazio molto intanto! 🙂

          `\documentclass[12pt, a4paper]{book}

          \usepackage[T1]{fontenc}
          \usepackage[utf8]{inputenc}
          \usepackage[english, italian]{babel}

          \usepackage{footnote}
          \usepackage[lnps]{dramatist}
          \usepackage{paracol}
          \usepackage{eledmac}
          \usepackage{verse}

          \makeatletter
          \renewcommand\@openact{%
          \thispagestyle{plain}
          \refstepcounter{act}
          \if@lnpa
          \setcounter{storelineno}{0}
          \if@poemscol
          \setcounter{storeprintlineindex}{0}
          \else
          \refstepcounter{storelineno}
          \fi
          \fi
          }
          \makeatother

          \renewcommand{\printactname}{}
          \renewcommand{\printactnum}{}
          \renewcommand{\printacttitle}[1]{\centering\acttitlefont\ #1}
          \renewcommand{\printscenename}{}
          \renewcommand{\printscenenum}{}
          \renewcommand{\printscenetitle}[1]{\centering\scenetitlefont\ #1}

          \title{La Tempesta}
          \author{}
          \date{}

          \begin{document}
          \maketitle

          \begin{paracol}[1]{2}
          \selectlanguage{italian}
          \Character{Alonso}{alo}
          \Character{Sebastiano}{seb}
          \Character{Prospero}{pro}
          \Character{Antonio}{ant}
          \Character{Ferdinando}{fer}
          \Character{Gonzalo}{gon}
          \Character{Adriano}{adr}
          \Character{Francisco}{fra}
          \Character{Calibano}{cal}
          \Character{Trinculo}{tri}
          \Character{Stefano}{ste}
          \Character{Capitano}{master}
          \Character{Nostromo}{boa}
          \Character{Marinai}{mariners}
          \Character{Miranda}{mir}
          \Character{Ariele}{ari}
          \Character{Iride}{iris}
          \Character{Cerere}{ceres}
          \Character{Giunone}{juno}
          \Character{Ninfe}{nymphs}
          \Character{Mietitori}{reapers}

          \Act{Atto Primo}
          \Scene{Scena Prima}

          \StageDir{In mare, su un veliero; tempesta: lampi, tuoni e fragore del mare.
          Entrano il \master e il \boa}

          \begin{drama}

          \beginnumbering
          \pstart

          \masterspeaks{Nostromo!}
          \boaspeaks{\direct{Entra di corsa} A lli cumanne vuoste, Capitanio! Mal'aria e b\`a!\footnote{{\itshape Mal'aria e b\`a}: va male, non c'\`e speranza.}}
          \masterspeaks{Tiempo ’a perdere nun ce n'\`e. Sotto \`e una massa de scuoglie. Cumme s'\`e miso lu mare, o ncagliate rumanimmo\footnote{{\itshape rumanimmo}: rimaniamo.} o da nu mumento all'auto se spacca la rota de poppa. D\`atte da fare. \direct{Esce in fretta}}
          \boaspeaks{\direct{ai marinai che entrano} Guagli\'u, curr\'ite. Faciteve curaggio: ’a Maronna ’a Catena nce aiuta. Ammainate ’a vela maestra e manten\'iteve l\`ese. Appizzate li rrecchie pe' lu sisco de lu Capitanio. Guagli\'u, fac\'immece ann\`ore: simmo Napulitane!}
          \marinersspeaks{\direct{in coro}S\'immo Napulitane! \direct{Escono di corsa}}
          \boaspeaks{\direct{al vento che soffia forte} Sciosciasci\`o! Puozza jettare lu sango, tu e la tempesta de chi t'\`e muorto!}
          \StageDir{Provenienti da sotto coperta entrano alonso, Sebastiano, Antonio, Gonzalo, e Ferdinando.}
          \alospeaks{Forza, Nostromo! Chist'\`e lu mumenti che nce haje da fa' vedere chi \`e don Nicola. Attenzione! ’O Capotanio add\`o stace? Sveglia! Facite l'uommene nun facite lli creature! ’E marinare, ogneduno a lu posto sujo!}
          boaspeaks{Aggi\`atece pacienzia, Majest\`a! Vuje purz\'i ve n'avit' ’a scennere a v'havite da mettere a lu posto vuosto}
          \antspeaks{E lu Capitanio?}
          \boaspeaks{E nun lu sentite? Scenn\'itev\`enne, nzerrateve in cabina. Qua disturbate la fatica nosta, facite confusione! Insomma, la prisenzia vosta fa cchi\'u dammaggio de la tempesta!}
          \gonspeaks{Mb\`e? Cerca de essere calmo.}

          %%%%%%%TAGLIO ALCUNE BATTUTE PER INSERIRE ANCHE LA PARTE IN VERSI%%%%%%
          \StageDir{Escono tutti.}
          \boaspeaks{\direct{entra di corsa, assai agitato} Avasci\`ate lu picco! Av\`ascia, ancora! Attiente, facitele sentire lu velaccio! \direct{Dall'interno, grida. Entrano \gon, \ant e \seb . Vedendoli il \boa li affronta inferocito}}

          \pend
          \endnumbering
          \end{drama}

          \begin{drama*}
          \poemlines{5}
          \boaspeaks{Cc\`a state n'ata vota? E che mal\'ina? \\ Fusseve surde o pazze? Jatev\`enne! \\ Scenn\'itav\`enne dint'a li cabine. \\ Ce ne scenn\'immo a ffunno tuttuquante, \\ cumme ve l'aggia di', \\ sango … r' ’e ddieci!} \\
          \sebspeaks{Nun ghiastemmare, male te ne vene}
          \end{drama*}

          \switchcolumn

          \selectlanguage{english}
          \Character{Alonso}{alo}
          \Character{Sebastian}{seb}
          \Character{Prospero}{pro}
          \Character{Antonio}{ant}
          \Character{Ferdinand}{fer}
          \Character{Gonzalo}{gon}
          \Character{Adriano}{adr}
          \Character{Francisco}{fra}
          \Character{Caliban}{cal}
          \Character{Trinculo}{tri}
          \Character{Stephano}{ste}
          \Character{Master}{master}
          \Character{Boatswain}{boa}
          \Character{Mariners}{mariners}
          \Character{Miranda}{mir}
          \Character{Ariel}{ari}
          \Character{Iris}{iris}
          \Character{Ceres}{ceres}
          \Character{Juno}{juno}
          \Character{Nymphs}{nymphs}
          \Character{Reapers}{reapers}

          \Act{Act First}
          \Scene{Scene First}

          \StageDir{A tempestuous noise of thunder and lightning heard.
          Enter a Ship-\master and a \boa}

          \begin{drama}
          \masterspeaks{Boatswain!}
          \boaspeaks{Here, master. What cheer?}
          \masterspeaks{Good –- speak to th’ mariners. Fall to’t yarely, or we run ourselves aground. Bestir, bestir! \direct{Exit}}
          \direct{Enter \mariners}
          \boaspeaks{Hey, my hearts! Cheerly, cheerly, my hearts! Yare, yare! Take in the topsail. Tend to th’ master’s whistle. \direct{To the storm} — Blow till thou burst thy wind, if room enough!}
          \StageDir{Enter \alo , \seb , \ant , \fer , \gon and others}
          \alospeaks{Good boatswain, have care. Where’s the master? \direct{To the \mariners} Play the men.}
          \boaspeaks{I prey now, keep below}
          \antspeaks{Where is the master, bos'n?}
          \boaspeaks{Do you not hear him? You mar our labour. Keep your cabins –– you do assiste the storm.}
          \gonspeaks{Nay, goog, be patient}
          \boaspeaks{When the sea is. Hence! What care these roarers for the name of king? To cabin; silence! Trouble us not!}

          \end{drama}

          \end{paracol}

          \end{document}`

        • #85716
          Up
          0
          Down
          ::


          Hai provato con \usepackage[noeledmac]{ledmac}?

          valeTi” post=99421Ecco, ti incollo tutto il codice, anche se un po’ lungo.
          Tra l’altro vedo che, mettendo i numeri di riga a sinistra, questi si sovrappongono al nome del personaggio parlante, quindi mi serve proprio spostarli a destra. Ho fatto un paio di prove ma con scarso successo…

          In più: come si potrebbe rendere la numerazione continua tra la parte in prosa e quella in versi?

          Ti ringrazio molto intanto! 🙂

          `\documentclass[12pt, a4paper]{book}

          \usepackage[T1]{fontenc}
          \usepackage[utf8]{inputenc}
          \usepackage[english, italian]{babel}

          \usepackage{footnote}
          \usepackage[lnps]{dramatist}
          \usepackage{paracol}
          \usepackage{eledmac}
          \usepackage{verse}

          \makeatletter
          \renewcommand\@openact{%
          \thispagestyle{plain}
          \refstepcounter{act}
          \if@lnpa
          \setcounter{storelineno}{0}
          \if@poemscol
          \setcounter{storeprintlineindex}{0}
          \else
          \refstepcounter{storelineno}
          \fi
          \fi
          }
          \makeatother

          \renewcommand{\printactname}{}
          \renewcommand{\printactnum}{}
          \renewcommand{\printacttitle}[1]{\centering\acttitlefont\ #1}
          \renewcommand{\printscenename}{}
          \renewcommand{\printscenenum}{}
          \renewcommand{\printscenetitle}[1]{\centering\scenetitlefont\ #1}

          \title{La Tempesta}
          \author{}
          \date{}

          \begin{document}
          \maketitle

          \begin{paracol}[1]{2}
          \selectlanguage{italian}
          \Character{Alonso}{alo}
          \Character{Sebastiano}{seb}
          \Character{Prospero}{pro}
          \Character{Antonio}{ant}
          \Character{Ferdinando}{fer}
          \Character{Gonzalo}{gon}
          \Character{Adriano}{adr}
          \Character{Francisco}{fra}
          \Character{Calibano}{cal}
          \Character{Trinculo}{tri}
          \Character{Stefano}{ste}
          \Character{Capitano}{master}
          \Character{Nostromo}{boa}
          \Character{Marinai}{mariners}
          \Character{Miranda}{mir}
          \Character{Ariele}{ari}
          \Character{Iride}{iris}
          \Character{Cerere}{ceres}
          \Character{Giunone}{juno}
          \Character{Ninfe}{nymphs}
          \Character{Mietitori}{reapers}

          \Act{Atto Primo}
          \Scene{Scena Prima}

          \StageDir{In mare, su un veliero; tempesta: lampi, tuoni e fragore del mare.
          Entrano il \master e il \boa}

          \begin{drama}

          \beginnumbering
          \pstart

          \masterspeaks{Nostromo!}
          \boaspeaks{\direct{Entra di corsa} A lli cumanne vuoste, Capitanio! Mal'aria e b\`a!\footnote{{\itshape Mal'aria e b\`a}: va male, non c'\`e speranza.}}
          \masterspeaks{Tiempo ’a perdere nun ce n'\`e. Sotto \`e una massa de scuoglie. Cumme s'\`e miso lu mare, o ncagliate rumanimmo\footnote{{\itshape rumanimmo}: rimaniamo.} o da nu mumento all'auto se spacca la rota de poppa. D\`atte da fare. \direct{Esce in fretta}}
          \boaspeaks{\direct{ai marinai che entrano} Guagli\'u, curr\'ite. Faciteve curaggio: ’a Maronna ’a Catena nce aiuta. Ammainate ’a vela maestra e manten\'iteve l\`ese. Appizzate li rrecchie pe' lu sisco de lu Capitanio. Guagli\'u, fac\'immece ann\`ore: simmo Napulitane!}
          \marinersspeaks{\direct{in coro}S\'immo Napulitane! \direct{Escono di corsa}}
          \boaspeaks{\direct{al vento che soffia forte} Sciosciasci\`o! Puozza jettare lu sango, tu e la tempesta de chi t'\`e muorto!}
          \StageDir{Provenienti da sotto coperta entrano alonso, Sebastiano, Antonio, Gonzalo, e Ferdinando.}
          \alospeaks{Forza, Nostromo! Chist'\`e lu mumenti che nce haje da fa' vedere chi \`e don Nicola. Attenzione! ’O Capotanio add\`o stace? Sveglia! Facite l'uommene nun facite lli creature! ’E marinare, ogneduno a lu posto sujo!}
          boaspeaks{Aggi\`atece pacienzia, Majest\`a! Vuje purz\'i ve n'avit' ’a scennere a v'havite da mettere a lu posto vuosto}
          \antspeaks{E lu Capitanio?}
          \boaspeaks{E nun lu sentite? Scenn\'itev\`enne, nzerrateve in cabina. Qua disturbate la fatica nosta, facite confusione! Insomma, la prisenzia vosta fa cchi\'u dammaggio de la tempesta!}
          \gonspeaks{Mb\`e? Cerca de essere calmo.}

          %%%%%%%TAGLIO ALCUNE BATTUTE PER INSERIRE ANCHE LA PARTE IN VERSI%%%%%%
          \StageDir{Escono tutti.}
          \boaspeaks{\direct{entra di corsa, assai agitato} Avasci\`ate lu picco! Av\`ascia, ancora! Attiente, facitele sentire lu velaccio! \direct{Dall'interno, grida. Entrano \gon, \ant e \seb . Vedendoli il \boa li affronta inferocito}}

          \pend
          \endnumbering
          \end{drama}

          \begin{drama*}
          \poemlines{5}
          \boaspeaks{Cc\`a state n'ata vota? E che mal\'ina? \\ Fusseve surde o pazze? Jatev\`enne! \\ Scenn\'itav\`enne dint'a li cabine. \\ Ce ne scenn\'immo a ffunno tuttuquante, \\ cumme ve l'aggia di', \\ sango … r' ’e ddieci!} \\
          \sebspeaks{Nun ghiastemmare, male te ne vene}
          \end{drama*}

          \switchcolumn

          \selectlanguage{english}
          \Character{Alonso}{alo}
          \Character{Sebastian}{seb}
          \Character{Prospero}{pro}
          \Character{Antonio}{ant}
          \Character{Ferdinand}{fer}
          \Character{Gonzalo}{gon}
          \Character{Adriano}{adr}
          \Character{Francisco}{fra}
          \Character{Caliban}{cal}
          \Character{Trinculo}{tri}
          \Character{Stephano}{ste}
          \Character{Master}{master}
          \Character{Boatswain}{boa}
          \Character{Mariners}{mariners}
          \Character{Miranda}{mir}
          \Character{Ariel}{ari}
          \Character{Iris}{iris}
          \Character{Ceres}{ceres}
          \Character{Juno}{juno}
          \Character{Nymphs}{nymphs}
          \Character{Reapers}{reapers}

          \Act{Act First}
          \Scene{Scene First}

          \StageDir{A tempestuous noise of thunder and lightning heard.
          Enter a Ship-\master and a \boa}

          \begin{drama}
          \masterspeaks{Boatswain!}
          \boaspeaks{Here, master. What cheer?}
          \masterspeaks{Good –- speak to th’ mariners. Fall to’t yarely, or we run ourselves aground. Bestir, bestir! \direct{Exit}}
          \direct{Enter \mariners}
          \boaspeaks{Hey, my hearts! Cheerly, cheerly, my hearts! Yare, yare! Take in the topsail. Tend to th’ master’s whistle. \direct{To the storm} — Blow till thou burst thy wind, if room enough!}
          \StageDir{Enter \alo , \seb , \ant , \fer , \gon and others}
          \alospeaks{Good boatswain, have care. Where’s the master? \direct{To the \mariners} Play the men.}
          \boaspeaks{I prey now, keep below}
          \antspeaks{Where is the master, bos'n?}
          \boaspeaks{Do you not hear him? You mar our labour. Keep your cabins –– you do assiste the storm.}
          \gonspeaks{Nay, goog, be patient}
          \boaspeaks{When the sea is. Hence! What care these roarers for the name of king? To cabin; silence! Trouble us not!}

          \end{drama}

          \end{paracol}

          \end{document}`

        • #85717
          Up
          0
          Down
          ::


          Grazie 🙂

          Questo pacchetto mi ha eliminato il problema dell’interlinea, ma devo ancora capire come mettere il conta versi sulla destra e come far contare righe e versi in modo continuo…

          Grazie, comunque 😉

        • #85718
          Doc
          Partecipante
            Up
            0
            Down
            ::

            valeTi” post=99427Grazie 🙂

            Questo pacchetto mi ha eliminato il problema dell’interlinea, ma devo ancora capire come mettere il conta versi sulla destra e come far contare righe e versi in modo continuo…

            Grazie, comunque 😉

            Il tuo codice va riscritto del tutto, per adattarlo a eledmac, che non si usa così! Probabilmente, riesco anche a ridurre il numero di pacchetti da te utilizzati.
            Ora sono impegnato: dammi un po’ di tempo!

            Ciao
            Domenico

          • #85719
            Up
            0
            Down
            ::


            Il primo problema si risolve cambiando \linenummargin{right} (nel preambolo) e il secondo non chiudendo la sezione con \pend … \pstart.

            In genere, il pachetto stabile è ledmac: eledmac non risolve i problemi, come hai visto.

            Un saluto

            valeTi” post=99427Grazie 🙂

            Questo pacchetto mi ha eliminato il problema dell’interlinea, ma devo ancora capire come mettere il conta versi sulla destra e come far contare righe e versi in modo continuo…

            Grazie, comunque 😉

          • #85720
            Doc
            Partecipante
              Up
              0
              Down
              ::

              Geronimo” post=99442In genere, il pachetto stabile è ledmac: eledmac non risolve i problemi, come hai visto.

              Scusami, ma ti devo correggere: ledmac è il pacchetto morto, non stabile!
              Oramai, si DEVE usare eledmac, in continuo sviluppo.
              Tra l’altro, lo sviluppatore è estremamente cortese e accetta i suggerimenti e le migliorie proposte.

            • #85721
              Up
              0
              Down
              ::

              Doc” post=99443
              in continuo sviluppo

              È questo che volevo dire.

            • #85722
              Doc
              Partecipante
                Up
                0
                Down
                ::

                Doc” post=99441

                Grazie 🙂

                Questo pacchetto mi ha eliminato il problema dell’interlinea, ma devo ancora capire come mettere il conta versi sulla destra e come far contare righe e versi in modo continuo…

                Grazie, comunque 😉

                Il tuo codice va riscritto del tutto, per adattarlo a eledmac, che non si usa così! Probabilmente, riesco anche a ridurre il numero di pacchetti da te utilizzati.
                Ora sono impegnato: dammi un po’ di tempo!

                Ciao
                Domenico

                Temo di doverti dire che eledmac non è quello che fa per te: il pacchetto prevede numerazioni per pagina, per sezione e per paragrafo.

                A te, da quanto capisco, interessa una numerazione per atto, ma, come avrai notato, il pacchetto dramatist NON usa la numerazione nel caso di testi in prosa.

                Se dunque ho ben capito cosa ti serve fare, temo di doverti dire che si devono trovare altre vie.

              • #85723
                Up
                0
                Down
                ::


                Grazie comunque! 🙂

                In realtà mi sembrava un po’ “sprecato” usare un pacchetto così complesso solo per la numerazione delle righe e dei versi!

                Faccio qualche altra ricerca, grazie ancora!

                buona giornata,
                Valeria

              • #85724
                Up
                0
                Down
                ::


                sorry for speaking english, but maybe you could do with word a page which presents the expected output? Maybe eledmac can do (because eledmac do a lot of thing), bus I don’t understand the problem…

              • #85725
                Up
                0
                Down
                ::


                Hi maieul!

                My problem is: how can I exclude stage directions and characters names from the verse numbering? (sorry for my bad English…)

                Example:

                First character:
                (aside)
                verse
                verse
                verse
                Second character:
                verse
                verse
                verse

                My text with edelmac counts 9 lines, but I would like it to count only the “verse” lines.

                Since all stage directions and character names are introduced in the package Dramatist by “StageDir” or “direct” and “characterspeaks”, do you think it could be possible to create a new command to exclude all “\StageDir”, “\direct” and “\characterspeaks” from the line numbering?
                Thanks 🙂

              • #85726
                Up
                0
                Down
                ::


                you can write the name character between stanza.

                `\documentclass{article}
                \usepackage{eledmac}
                \firstlinenum{1}
                \linenumincrement{1}
                \begin{document}
                \setstanzaindents{0,0}
                \setcounter{stanzaindentsrepetition}{1}
                \beginnumbering

                First character
                \stanza
                verse&
                verse&
                verse\&
                Second character
                \stanza
                verse&
                verse&
                verse\&
                \endnumbering
                \end{document}`

              • #85727
                Up
                0
                Down
                ::


                Ok thanks!

                I thought of something easier (I mean, not to be recalled every single line or character)… anyway I’ve tried and it doesn’t work properly…

                This is what I get

                [attachment=1249]versieledmac.JPG[/attachment]

                With this code:

                `
                \begin{document}
                \begin{drama*}
                \setstanzaindents{0,0}
                \setcounter{stanzaindentsrepetition}{1}
                \beginnumbering

                \sebspeaks \stanza {Nun ghiastemmare, male te ne vene}\&
                \boaspeaks \stanza {Facitav\`ella vuje chesta manovra.}\&
                \antspeaks \stanza {Ma che nostromo si'? Da la paura & staje tremmanno da capa anz\'i\footnote{{\itshape anz\'i}: fino a.} a lu pede\dots & e che diavolo! & Paura d'affogare & nun l'avimmo: & chest'\`e lu rischio de chi va pe' mmare.}\&

                \endnumbering
                \end{drama*}
                \end{document
                `

                Attachments:
                You must be logged in to view attached files.
              • #85728
                Up
                0
                Down
                ::


                it’s just because eledmac and drama are not made to work together… what is the need of drama in your case?

              • #85729
                Up
                0
                Down
                ::


                I need to use dramatist, because I’m editing a tranlsation of The Tempest 😉

              • #85730
                Up
                0
                Down
                ::


                yes, but to edit a drama does not implie necessary to use the drama package. What are the command you need ? what does they do? Why do you need \sebspeaks ?

              • #85731
                Up
                0
                Down
                ::


                please send your FULL MWE exemple…

              • #85732
                Up
                0
                Down
                ::


                I think dramatist makes the editing of a drama much easiear…

                \sebspeaks{…}
                \gonspeaks{…}

                for example, would have this result:
                SEBASTIANO {…}
                GONZALO {…}

                I also need to set all stage directions in the same form, and this is quite easy with the \StageDir and \direct commands. And I use \drama* and \drama to set the verse and the prose parts of the play… I find it very easy…

                *Edit
                MWE (hope it works!):
                `\documentclass[12pt, a4paper]{book}

                \usepackage[T1]{fontenc}
                \usepackage[utf8]{inputenc}
                \usepackage[english, italian]{babel}

                \usepackage{footnote}
                \usepackage[lnps]{dramatist}
                \usepackage{paracol}
                \usepackage[right,modulo]{lineno}
                \usepackage{verse}

                \makeatletter
                \renewcommand\@openact{%
                \thispagestyle{plain}
                \refstepcounter{act}
                \if@lnpa
                \setcounter{storelineno}{0}
                \if@poemscol
                \setcounter{storeprintlineindex}{0}
                \else
                \refstepcounter{storelineno}
                \fi
                \fi
                }
                \makeatother

                \renewcommand{\printactname}{}
                \renewcommand{\printactnum}{}
                \renewcommand{\printacttitle}[1]{\centering\acttitlefont\ #1}
                \renewcommand{\printscenename}{}
                \renewcommand{\printscenenum}{}
                \renewcommand{\printscenetitle}[1]{\centering\scenetitlefont\ #1}

                \title{La Tempesta}
                \author{}
                \date{}

                \begin{document}
                \maketitle

                \begin{paracol}[1]{2}
                \selectlanguage{italian}
                \Character{Alonso}{alo}
                \Character{Sebastiano}{seb}
                \Character{Prospero}{pro}
                \Character{Antonio}{ant}
                \Character{Ferdinando}{fer}
                \Character{Gonzalo}{gon}
                \Character{Adriano}{adr}
                \Character{Francisco}{fra}
                \Character{Calibano}{cal}
                \Character{Trinculo}{tri}
                \Character{Stefano}{ste}
                \Character{Capitano}{master}
                \Character{Nostromo}{boa}
                \Character{Marinai}{mariners}
                \Character{Miranda}{mir}
                \Character{Ariele}{ari}
                \Character{Iride}{iris}
                \Character{Cerere}{ceres}
                \Character{Giunone}{juno}
                \Character{Ninfe}{nymphs}
                \Character{Mietitori}{reapers}
                \Character{Voci interne}{other}

                \Act{Atto Primo}
                \Scene{Scena Prima}

                \StageDir{In mare, su un veliero; tempesta: lampi, tuoni e fragore del mare.
                Entrano il \master e il \boa}

                \begin{drama}
                \linenumbers
                \masterspeaks{Nostromo!}
                \boaspeaks{\direct{Entra di corsa} A lli cumanne vuoste, Capitanio! Mal'aria e b\`a!\footnote{{\itshape Mal'aria e b\`a}: va male, non c'\`e speranza.}}
                \masterspeaks{Tiempo ’a perdere nun ce n'\`e. Sotto \`e una massa de scuoglie. Cumme s'\`e miso lu mare, o ncagliate rumanimmo\footnote{{\itshape rumanimmo}: rimaniamo.} o da nu mumento all'auto se spacca la rota de poppa. D\`atte da fare. \direct{Esce in fretta}}
                \end{drama}
                \switchcolumn
                \selectlanguage{english}
                \nolinenumbers

                \Character{Alonso}{alo}
                \Character{Sebastian}{seb}
                \Character{Prospero}{pro}
                \Character{Antonio}{ant}
                \Character{Ferdinand}{fer}
                \Character{Gonzalo}{gon}
                \Character{Adriano}{adr}
                \Character{Francisco}{fra}
                \Character{Caliban}{cal}
                \Character{Trinculo}{tri}
                \Character{Stephano}{ste}
                \Character{Master}{master}
                \Character{Boatswain}{boa}
                \Character{Mariners}{mariners}
                \Character{Miranda}{mir}
                \Character{Ariel}{ari}
                \Character{Iris}{iris}
                \Character{Ceres}{ceres}
                \Character{Juno}{juno}
                \Character{Nymphs}{nymphs}
                \Character{Reapers}{reapers}

                \Act{Act First}
                \Scene{Scene First}

                \StageDir{A tempestuous noise of thunder and lightning heard.
                Enter a Ship-\master and a \boa}

                \begin{drama}
                \masterspeaks{Boatswain!}
                \boaspeaks{Here, master. What cheer?}
                \masterspeaks{Good –- speak to th’ mariners. Fall to’t yarely, or we run ourselves aground. Bestir, bestir! \direct{Exit}}
                \end{drama}

                \end{paracol}

                \end{document}
                `

              • #85733
                Up
                0
                Down
                ::


                did you try http://ctan.org/pkg/lineno for lineno ? if it doesn’t work for you problem, I think the best solution will be to use eledmac + create you own command to have uniform presenting…

              • #85734
                Up
                0
                Down
                ::


                I am using lineno at the moment! 🙂 Only, I can’t find a way of exluding names and directions from the line counting…

                I wouldn’t be able to create my own commands I’m afraid… I’m new to LateX 😉

              • #85735
                Up
                0
                Down
                ::


                create basic new command is not so difficult…

                you want to print “Giunone” in small cap withj `\junospeak`?:

                `\newcommand{\junospeack}{\textsc{Giunone}}`

                Not so hard 😉

                but I could like for compatibility between drama and eledmac if i obtain the full MWE which producted you bad printing… FULL meaning also with preamble…

              • #85736
                Up
                0
                Down
                ::


                That’s the other one…

                `\documentclass[12pt, a4paper]{book}

                \usepackage[T1]{fontenc}
                \usepackage[utf8]{inputenc}
                \usepackage[english, italian]{babel}

                \usepackage{footnote}
                \usepackage[lnps]{dramatist}
                \usepackage{paracol}
                \usepackage{eledmac}
                \firstlinenum{1}
                \linenumincrement{1}
                \usepackage{verse}

                \makeatletter
                \renewcommand\@openact{%
                \thispagestyle{plain}
                \refstepcounter{act}
                \if@lnpa
                \setcounter{storelineno}{0}
                \if@poemscol
                \setcounter{storeprintlineindex}{0}
                \else
                \refstepcounter{storelineno}
                \fi
                \fi
                }
                \makeatother

                \renewcommand{\printactname}{}
                \renewcommand{\printactnum}{}
                \renewcommand{\printacttitle}[1]{\centering\acttitlefont\ #1}
                \renewcommand{\printscenename}{}
                \renewcommand{\printscenenum}{}
                \renewcommand{\printscenetitle}[1]{\centering\scenetitlefont\ #1}

                \Character{Sebastiano}{seb}
                \Character{Antonio}{ant}
                \Character{Nostromo}{boa}
                \begin{document}
                \begin{drama*}
                \setstanzaindents{0,0}
                \setcounter{stanzaindentsrepetition}{1}
                \beginnumbering

                \sebspeaks \stanza {Nun ghiastemmare, male te ne vene}\&
                \boaspeaks \stanza {Facitav\`ella vuje chesta manovra.}\&
                \antspeaks \stanza {Ma che nostromo si'? Da la paura & staje tremmanno da capa anz\'i a lu pede\dots & e che diavolo! & Paura d'affogare & nun l'avimmo: & chest'\`e lu rischio de chi va pe' mmare.}\&

                \endnumbering
                \end{drama*}
                \end{document}`

              • #85737
                Up
                0
                Down
                ::


                I have looked to your code.

                First, `\stanza` don’t take argument. So delete the

                Spoiler

                {}

                .

                ` \stanza Nun ghiastemmare, male te ne vene\&
                \boaspeaks \stanza Facitav\`ella vuje chesta manovra.\&
                \antspeaks \stanza Ma che nostromo si'? Da la paura & staje tremmanno da capa anz\'i a lu pede\dots & e che diavolo! & Paura d'affogare & nun l'avimmo: & chest'\`e lu rischio de chi va pe' mmare.\&
                `

                Second, I have hacked dramatist prevent the overloap. Add these line in your preamble.

                `\makeatletter
                \def\@character#1#2{%
                \@namedef{#2}{{\namefont #1}\xspace}
                \n@me@ppend@nddef{#2}{\@ppendname}{%
                \if@drverse
                {\speakstab\speaksfont{#1}\speaksdel\par\nobreak}
                \else
                \item[#1\speaksdel]
                \fi}
                }

                \makeatother
                `

                But, indeed, I think you should learn how to do basic command. It’s not so hard… Do you read French ?

              • #85738
                Up
                0
                Down
                ::


                Thanks!

                Well.. I can read French a little bit…

              • #85739
                Up
                0
                Down
                ::


                hum, a little bit is I think to little, but I think you will find italian explanation of how to create commands in LaTeX.

              • #85740
                Up
                0
                Down
                ::


                Thanks anyway…

            Visualizzazione 39 filoni di risposte
            • Devi essere connesso per rispondere a questo topic.

            Go to top