ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] \placefigure[location=here...] problem
@ 2023-12-09 10:50 anton.chigurh
  2023-12-09 11:46 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: anton.chigurh @ 2023-12-09 10:50 UTC (permalink / raw)
  To: ntg-context

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?
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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: \placefigure[location=here...] problem
  2023-12-09 10:50 [NTG-context] \placefigure[location=here...] problem anton.chigurh
@ 2023-12-09 11:46 ` Wolfgang Schuster
  2023-12-09 13:15   ` anton.chigurh
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2023-12-09 11:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users, anton.chigurh

anton.chigurh@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: \placefigure[location=here...] problem
  2023-12-09 11:46 ` [NTG-context] " Wolfgang Schuster
@ 2023-12-09 13:15   ` anton.chigurh
  0 siblings, 0 replies; 3+ messages in thread
From: anton.chigurh @ 2023-12-09 13:15 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-09 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-09 10:50 [NTG-context] \placefigure[location=here...] problem anton.chigurh
2023-12-09 11:46 ` [NTG-context] " Wolfgang Schuster
2023-12-09 13:15   ` anton.chigurh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).