Hi Alan, please, *no* more latin examples. Since school I have an allergy against it ;) 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] ^^^^ \blank[0.25pc,force] % 0.10pc is not enough \indenting[next] ^^^^ % delete this and insert a \noindent at the end \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right] \noindent}, after={\stopnarrower \godown[0.25pc] ^^^^ \blank[0.25pc,force] \indenting[yes]}] ^^^^ \noindent (and a global \indenting[yes])
You can remove the \noindent from your main text now.
Don't know, if this is exactly what you want, but it look nice. Greetings, Peter
\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