Hi Alan, I tried your code. I made the extract to be typeset in red.- Indeed a poor spacing. I withdrew the \godown[0.10pc]. The result looked fine to me. Then I replaced the \godown by \blank[halfline], the result was again o.k. Finally the \godown[0.10pc] was replaced with \godown[12pt] and the result looks o.k. to me. - So may be that there is a problem with your unit pc. Willi Alan Bowen wrote:
I have been adapting some of my old Plain TeX macros to ConTeXt, using hints and suggestions from the ConTeXt wiki. What I have thus far works exactly as desired in the body text, but fails in the footnotes. I have appended some encoded text that shows the problem. Note the poor line-spacing and (unwanted) indentation in the first line of the quotation in the footnote: this quotation should look the same as the one in the body text.
I realize that I could fix this simply by inserting a \noindent in the footnote, for instance. But I am trying to reduce the amount of thinking an coder has to do, and so would really like to define the startextract..\stopextract environment more effectively.
Any pointers or suggestions for fixing this will be gratefully received.
Cheers, Alan
****************************
% Paragraph setup \indenting[big,yes] \setupwhitespace[medium] \setupparagraphs[tolerance=verystrict]
%Footnote setup \setupfootnotes[conversion=numbers, way=bytext,location=page,rule=on,bodyfont=10.1pt,style=normal] \setupfootnotes[indenting=yes] \setupfootnotes[interaction=yes] \setupnotedefinition[footnote][indenting={big,yes}]
% Extract setup \definestartstop[extract][ before={\godown[0.10pc] \indenting[next] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right]}, after={\stopnarrower \godown[0.25pc] \indenting[yes]}]
\starttext
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim. Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat. Sed quis velit. \startextract Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis.
Nullam sit amet enim. Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus pharetra posuere sapien. \stopextract \noindent Nam consectetuer. Sed aliquam, nunc eget euismod ullamcorper, lectus nunc ullamcorper orci, fermentum bibendum enim nibh eget ipsum. Donec porttitor ligula eu dolor. Maecenas vitae nulla consequat libero cursus venenatis. Nam magna enim, accumsan eu, blandit sed, blandit a, eros.% \footnote{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim.% \startextract Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus pharetra posuere sapien.
Nam consectetuer. Sed aliquam, nunc eget euismod ullamcorper, lectus nunc ullamcorper orci, fermentum bibendum enim nibh eget ipsum. Donec porttitor ligula eu dolor. \stopextract \noindent Maecenas vitae nulla consequat libero cursus venenatis. Nam magna enim, accumsan eu, blandit sed, blandit a, eros.}\ % Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus pharetra posuere sapien. Nam consectetuer. Sed aliquam, nunc eget euismod ullamcorper, lectus nunc ullamcorper orci, fermentum bibendum enim nibh eget ipsum. Donec porttitor ligula eu dolor. Maecenas vitae nulla consequat libero cursus venenatis. Nam magna enim, accumsan eu, blandit sed, blandit a, eros. \stoptext
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context