Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

What is a good way to place a short paragraph in the margin next to a figure in ConTeXt?

I've been trying the following code, but it places the \inmargin text at the base of the figure which only works for about 2 lines before the text goes well beneath the end of the figure.

\starttext
\starthanging
{\placefigure[force][fig:figure-reference]{Figure Caption}
{\externalfigure[figure-file][width=\textwidth]}}
\inmargin{Sometext that is intended for the Margin}
\stophanging
\stoptext

enter image description here

I've had a quick look in the Details Manual but was unable to find or work out what to apply to get a good result.

share|improve this question
2  
I have completed your code snippet into a MWE and added the output. I hope that is OK. :-) –  hpesoj626 Apr 11 '13 at 4:33
    
That is most definitely OK. Thank you very much. This demonstrates the issue clearly. –  sien Apr 11 '13 at 5:04
    
You use a too old version. It was fixed before 2012-12-06. What version are you running? –  Marco Apr 11 '13 at 14:51
    
It was an old version problem. Thanks Marco! –  sien Apr 15 '13 at 7:59
    
This question appears to be off-topic because it is about an issue which is fixed in the current release version. –  Joseph Wright Aug 12 '13 at 20:31
add comment

closed as off-topic by Joseph Wright Aug 12 '13 at 20:31

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.