Closed alexad closed 11 years ago
I think, like for the title section, we can't make the native section environnment, but we could make somethink which will be like it (ie -> indented).
But it is some complex, because it implies to change the way of splitting the block in line.
Could you say me if something like the result of the file https://github.com/maieul/ledmac/blob/issue84/issue84.tex could be what you want ?
Not really: I would like the quotation to have a left and a right margin. Furthermore, when I compile the "issue84.tex" document, the bottom margin of the {quotation} is a bit bigger than the top margin.
Example of a regular quote in latex: https://pangea.stanford.edu/computing/unix/formatting/latexexample3.jpg
I don't see the difference : the quotation in my example have left and right margin …., even if this right margin and left margin is not of the same size.
For the vertical space, I push a new example ...
Sorry, I tried again and it works for the left and the right margin. (I do not know why I messed the first compilation of the document.) It is indeed what I wanted. Thanks for the "\leftskip=0.1\textwidth\rightskip=0.1\textwidth" tip.
ok, I will make a generic command this week-end or in the next summer. I invite you, if not emergency, to wait
could you try https://github.com/maieul/ledmac/tree/issue84 ?
you must run the .ins file to obtain the .sty file. This new file will propose quotation inside numbering section (like in the issue84.tex file)
Hi Maieul, the quote now is indeed numbered, but the resultat is not perfect. Here is my test file: https://sites.google.com/site/testxyz789x/tex/test.pdf And the pdf: https://sites.google.com/site/testxyz789x/tex/test.tex
Thanks, Alex.
I think your problem is because you open \pstart and \pend inside quotation, and not outside ...
In fact I tried both. If you look at the two files I linked, in the second page of the document, the quotation in inside \pstart and \pend. The quotation is correctly numbered but the bottom margin of the quotation is missing. Can you reproduce this?
I have just seen the problem. Please for the next time, be more explicit. "The resultat is not perfect" didn't say what is the problem ...
I have just pushed the solution. Could you try ?
Sorry for the vague reports. The solution you pushed works well: the quotation has a bottom margin. One more thing, though:
This code:
\begingroup
\beginnumbering
\autopar
\lipsum[1]
\begin{quotation}
\lipsum[2]
\end{quotation}
\lipsum[3]
\endnumbering
\endgroup
... produces top and bottom margins which are bigger than the same code without the "\autopar" command:
\begingroup
\beginnumbering
\pstart
\lipsum[1]
\begin{quotation}
\lipsum[2]
\end{quotation}
\lipsum[3]
\pend
\endnumbering
\endgroup
You are right. I have just push a change, wich I hope will correct this problem
could you test the new version ?
The latest code seems to work well, thanks a lot for your work! Alex
thanks, I will publish it today on CTAN
Hi, The command \pstart and \pend mess with the margins: the left and the right margin of the quotation disappear, and the bottom margin is too big. File for testing:
I found on the web that ledmac was not doing well with quote environment: http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2005-08/msg01370.html
Is it possible to fix this problem in eledmac.sty? Or is it too complicate?
Thanks! Alex