[NTG-context] margintext drifting down the page
Hello all. I have an odd behaviour which I think I just about understand but can't fix. I use \margintext{Note that ...} to place little notes into the margin next to things in the running text. It has worked beautifully for all my content up till now, but I now find myself wanting to put a note next to a \bTABLE...\eTABLE and the margin text now drifts down so that it is beside the content that follows the table, rather than next to the table itself. So, \margintext{This works well} Normal running text takes a margintext without problems... but \margintext{This drifts down below the table} \bTABLE \bTR ... ... \eTABLE The margintext appears next to this normal running text... I'm using the latest stable release. I'd be happy with a workaround that enables me to have this appearance. I have tried putting a \strut in front of the table but this only shifts the margintext up a little bit. Is there something else I can do? (I tried wrapping the table in a \vtop, and in an \hbox, and in an invisible \frame, but no luck.) Thanks for any help. Duncan ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Czech patterns in TeXlive2003
On Wed, Oct 15, 2003 at 12:45:06AM +0200, Hans Hagen wrote: > I assume that this patch goes into the tex live repository Hello, I've tried to propagate the changes into TeXlive, so I posted it to the [EMAIL PROTECTED] mailing list. The list seems completely dead, even its long-time members I know of report that their posts get lost. Do you have an idea what happens there? Thanks, D.A. -- For God's sake, stop researching for a while and begin to think! ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] enumeration and countproblem
Hi all, Writing examinations I want to tell my students the points of each question and the max points they can reach. I wrote a macro which prints the points at the right side of the question and count the points. % % % ad the points of each question \def\getPunkte[#1]{\advance\summeP by \number#1} % % show the points on the right side \def\showP[#1]{\inright{\hfill(#1 P.)}} % % handle the points \def\pkt[#1]% {% \ifnum\ZeigeP=1 \showP[#1]% \ifnum\addP=1 \getPunkte[#1] \fi \fi% } % Using this macro in normal text like TestQuestion \pkt[5] it works without problems! But when I use this macro in combination with enumeration I run in a problem example: % \defineenumeration[question][location=inmargin,text=,width=fit] % \question\pkt[5] TestQuestion\par nothing ist count in this case! How can I fix this problem? Thanks in advance. Bernd \starttext % % Zähler für die Punkte [summeP] = 0 % \global\newcount\summeP \summeP=0 % % % Schalter [ZeigeP] (intern) zur Steuerung der Anzeige der Punkte % Ausgangswert 0, d.h. die Punkte werden nicht angezeigt % \chardef\ZeigeP=0 % % Schalter [addP] (intern) zur Steuerung der Berechnung der Gesamtpunkte % Ausgangswert 0, d.h. die Gesamtpunkte werden nicht berechnet \chardef\addP=0 % % Die Schalter für den Anwender % direkt nach \starttext setzen % [1] % die Punkte der Aufgaben anzeigen \def\zeigePunkte{\chardef\ZeigeP=1} % % [2] % die Gesamtpunktzahl berechnen \def\SummePunkte{\chardef\addP=1} % % Berechnung der GesamtPunkte [getPunkte] durchführen % \def\getPunkte[#1]{\advance\summeP by \number#1} % % % Punkte im rechten Rand ausgeben % \def\showP[#1]{\inright{\hfill(#1 P.)}} % % % Die Behandlung der Punktangaben % \def\pkt[#1]% {% \ifnum\ZeigeP=1 \showP[#1]% \ifnum\addP=1 \getPunkte[#1] \fi \fi% } % % \defineenumeration[question][location=inmargin,text=,width=fit] % \zeigePunkte% Punkte anzeigen \SummePunkte% Summe der Punkte berechnen % % \textrule[top]{first test} max. points (start): \number\summeP\blank % First TestQuestion \pkt[5] \dorecurse{10}{just a test text } \blank[medium] Second TestQuestion \pkt[15] \dorecurse{10}{just a test text } \blank[medium] % max. points (end): \number\summeP.\blank[2*big] % % \textrule[top]{second test} % \summeP=0 max. points (start): \number\summeP\blank % \question\pkt[5] \dorecurse{10}{just a test text }\par % \question\pkt[15] \dorecurse{10}{just a test text }\par % max. points (end): \number\summeP.\blank[2*big] % % \textrule[top]{third test} % \summeP=0 max. points (start): \number\summeP\blank % \question \dorecurse{10}{just a test text }\par\pkt[5] % \question \dorecurse{10}{just a test text }\par\pkt[15] % max. points (end): \number\summeP.\blank[2*big] % \stoptext