Risposte nei forum create
-
AutoreRisposte
-
10 Dicembre 2014 alle 16:33 in risposta a: Personalizzare alcuni aspetti della bibliografia (2) #98892::
Ciao a tutti,
mi ricollego a questa discussione, che ha posto alcune questioni che mi interessavano molto mentre cercavo di personalizzare la mia bibliografia per ottenere uno stile non lontano dal modello einaudiano (maiuscoletto con iniziali minuscole per autori citati).
La soluzione proposta è perfetta e funzionante, e la sto adottando con buonissimi risultati: colgo anche l’occasione per ringraziare chi si è impegnato per venire incontro alle esigenze di noi utenti meno esperti.L’unico neo è che, nel caso di voce di bibliografia inserita nel corpo del testo in nota si nota che lo spazio che precede il nome dell’autore è eccessivo.
Suppongo dipenda dal fatto che la soluzione che adottiamo è una “forzatura” rispetto al sistema di citazione standard con le iniziali maiuscole, e che lo spazio extra sia appunto quello che il programma “prevede” per inserire armoniosamente una lettera che ha una dimensione maggiore.
Esiste, secondo voi, un sistema per ovviare a questo problema?
::
A Claudio: la stringa dei comandi per eseguire xelatex in texmaker contiene -synctex=1 (è la seguente: xelatex -synctex=1 -interaction=nonstopmode %.tex)
Per Isabelle, invece: cambiando il comando come mi hai suggerito di fare, purtroppo, il problema persiste.Grazie a entrambi
Ho notato però una cosa assurda in una delle tante prove alle quali mi ha condotto un po’ la disperazione un po’ l’accanimento:
se avvio un nuovo documento (B) e ci copincollo il testo integrale (con tanto di stessi identici pacchetti caricati) del documento per cui la sincronizzazione fallisce (A) e lo salvo non nella cartella Documenti come sono abituato a fare, ma su una nuova cartella creata ad hoc sul desktop il problema sembra essere sparito.
Se però cerco di “salvare con nome” il documento (B) – che non dà più problemi – anche nella cartella Documenti la sincronizzazione fallisce di nuovo!!!Per risolvere il problema di partenza (per il quale vi ho chiesto un aiuto), quindi, mi basterà continuare a salvare su desktop. So che in questo modo nascondo solo la spazzatura sotto il tappeto: non ho idea del perché una cosa simile avvenga, ma a questo punto dubito che la questione possa interessare qualcuno.
Pensavo di avere un problema legato all’esecuzione di xelatex, ma probabilmente il problema è solo mio. Non credo che altri utenti possano far tesoro della mia esperienza, visto che probabilmente nessuno incapperà in un impiccio simile… mi resta la curiosità, ma penso che il mistero rimarrà insoluto!
un grande grazie a tutti quelli che si sono interessati: ho comunque imparato alcune cose!
::
Grazie per la spiegazione: ho fatto come mi hai suggerito.
La compilazione attraverso il prompt dei comandi ha prodotto nella cartella il file miofile.synctex.gz e un file miofile.logho comunque notato che miofile.synctex.gz viene prodotto normalmente anche quando compilo via editor, non so se questa informazione può essere utile.
Per quanto riguarda il problema di sincronizzazione ho verificato che non riguarda uno sfasamento di qualche riga: non c’è proprio corrispondenza tra il file e il pdf.
ciao,
Lorenzo
::
Grazie Claudio,
ho provato a inserire senza modifiche la stringa che mi hai suggerito, ma il risultato è stato che l’editor è andato in crash… ho modificato in: xelatex –synctex=1 %.tex, la composizione è terminata con successo, ma ancora niente sincronizzazione con il pdf!!
non riesco a capire come mai
::
Intanto grazie mille per la risposta! Uso texlive e non miktex, quindi purtroppo il problema non sta nel trattino singolo o doppio della linea di comando. Ho provato a installare texstudio, come mi hai suggerito, ma il problema rimane invariato. Ho provato anche con texworks, ma niente!
Penso che il punto critico non sia nell’editor in sé, ma nelle impostazioni della compilazione: comunque se cerco di settare i parametri della configurazione (con quel poco di competenza che ho) badando al comando synctex le cose restano sempre uguali.
Credo che il problema sia legato alla costruzione del file con xelatex, perché se compilo altri documenti con pdflatex la sincronizzazione è perfetta…il fatto è che mi trovo “costretto” a usare xelatex per via dei font e non so bene come uscirne: in un documento lungo avere la possibilità di passare dal pdf al file è un grande vantaggio.
Sarebbe utile sapere se qualche altro utente ha avuto il mio problema e lo ha risolto o se qualcuno usa xelatex senza che questo problema si presenti!
Grazie ancora per la pazienza,
Lorenzo
::
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 likeVerse 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!!!
::
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
::
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
-
AutoreRisposte