keeping content chunks on same page
Just about to have these homework files finished! My final problem (I hope) is keeping question/answer blocks together. The questions are currently defined via \defineenumeration with a \testpage (see below). I fiddled with the \testpage and found that \testpage[6] gave me the best results but there are still some question/answer blocks that get split across pages. The content chunks can be as small as a single line question with T/F answer options, or as large as seven lines for the question and seven for the answer options (although I don't think both of these occur together). In my searching for solutions, I thought I'd found something helpful with \startframed but I can't figure any way to combine the framed and enumeration... Anyway, here's some code. It doesn't demonstrate the page-break problem but gives an idea of the different possible sizes of question/answer chunks. \defineenumeration[question] [text=, headstyle=normal, right=., alternative=left, distance=1em, width=fit, before={\testpage[6]\blank[2em]}, after={\blank} ] \defineitemgroup[achoices] [option={packed,a,broad}, left=(, right=), stopper=] \starttext \startquestion Before a joint of pipe is laid down, the thread protector should be installed. \startachoices \startitem True \stopitem \startitem False \stopitem \stopachoices \stopquestion \startquestion The hardest part of the drilling program for young drilling engineers to plan is the section on hole stability because they have not had much hole problem exposure and have not been told that this particular shale is a "twenty-day shale". The most likely reason for the breakdown in communications is: \startachoices \startitem Inadequate case history data and poorly completed field records and NO trend charts \stopitem \startitem Mud company representatives are only calling on drilling superintendents and managers \stopitem \startitem Drilling engineers cannot read "between the lines" on morning reports and therefore miss the point many times. \stopitem \startitem Too few hours to do adequate offset well record check \stopitem \stopachoices \stopquestion \startquestion If the toolpusher noted the following trend while RIH with drill pipe, what should he instruct the driller to do? \setuptabulate[header=none] \starttabulate[|c|c|c|] \NC Stands \NC Increments required vs. actual \NC Trend \NC \NR \NC 0-5 \NC 3.57 vs. 3.57 \NC ~0 \NC \NR \NC 6-10\NC 3.57 vs. 2.57 \NC -1 \NC \NR \NC 11-15\NC 3.57 vs. 1.57 \NC -2 \NC \NR \stoptabulate \startachoices \startitem Continue to RIH to the casing shoe and observe the well \stopitem \startitem Stop and break circulation every 12 stands \stopitem \startitem Slow down because it looks like we are losing mud to the formation \stopitem \startitem RIH quickly because it looks like the hole is trying to flow \stopitem \stopachoices \stopquestion \stoptext THANKS FOR YOUR HELP! Mike Cooper Technical Trainer Murchison Drilling Schools, Inc. 2501 Juan Tabo NE Albuquerque, NM 87112 Tel: (505) 293-6271 Fax: (505) 298-5294 Email: mike@murchisondrillingschools.commailto:mike@murchisondrillingschools.com Website: www.murchisondrillingschools.comhttp://www.murchisondrillingschools.com/ [cid:image007.jpg@01D03ADC.BD6E6850]https://www.facebook.com/pages/Murchison-Drilling-Schools/158018484232622 [cid:image008.jpg@01D03ADC.BD6E6850] http://www.linkedin.com/company/murchison-drilling-schools-inc- [cid:image009.jpg@01D03ADC.BD6E6850] https://twitter.com/trainingmds Murchison Drilling Schools is now part of [cid:image001.png@01D63515.857FD120]
participants (1)
-
Mike Cooper