[NTG-context] Re: \placefigure[location=here...] problem

2023-12-09 Thread anton . chigurh
I worked, ;-), thanks.
Let me ask you another thing, how can I avoid messing up the
line spacing by using \sqrt and \frac, the line that follows these has increased
line spacing in the pdf output

code:
Find the normal and shearing stresses on an oblique plane defined by
$l=\sqrt{\frac{3}{13}}$, $m=\sqrt{\frac{1}{13}}$, and $n=\sqrt{\frac{9}{13}}$.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: \placefigure[location=here...] problem

2023-12-09 Thread Wolfgang Schuster

anton.chig...@mail.com schrieb am 09.12.2023 um 11:50:

Hi all,
I am generating a quiz, with eight questions, each
with text and a figure following it. The output was fine till the
fifth question, but then the margin separating the  text of
each question disappeared and the figure got put on the
next page one after the other.
Can anyone suggest what I could be doing wrong?


Without a proper example it's difficult to give an answer.


Do I need to increase the buffer? how?


This is what I have used to place each figure
\startplacefigure[location=here,reference=fig:blah][]{}
  \externalfigure[blah.jpeg][scale=300]
\stopplacefigure


You can try the force option:

\startplacefigure[location=force,reference=fig:blah]
  \externalfigure[blah.jpeg][scale=300]
\stopplacefigure

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___