Re: [NTG-context] placed tabulations broken when ended with \HL in MkIV
Wolfgang Schuster <schuster.wolfg...@gmail.com> writes: > > John Devereux > 26. September 2016 um 13:20 > > Hi, > > I updated my context (IV) installation recently and most of my > tabulations are not working when they are placed with \placetable. > > Even the examples on the wiki do not work e.g. this aborts with an > undefined control sequence error for the \stoptabulate: > > \starttext > This is a very long text, longer than the width of the table. > It must be long enough to flow to the next line to see the effect. > > \startplacetable[location=force,number=no] > \starttabulate[|r|l|] > \HL > \NC I want this table \NC aligned in the center.\NC\NR > \HL > \stoptabulate > \stopplacetable > \stoptext > > > I traced it to ending with a \HL. It can be made to work if I add > an > extra \AR after the final \HL > > tabl-tbl.mkiv: > > \def\tabl_tabulate_inside_before > {\ifhmode\par\fi > \ifhmode > \ifinsidesplitfloat > \let\tabl_tabulate_inside_after \relax > + \let\tabl_tabulate_inside_inbetween\relax > \else > \vbox\bgroup > \let\tabl_tabulate_inside_after \egroup > + \let\tabl_tabulate_inside_inbetween\relax > \fi > \else > \let\tabl_tabulate_inside_after \relax > + \let\tabl_tabulate_inside_inbetween\relax > \fi} Thanks Wolfgang, that works. John -- John Devereux ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] placed tabulations broken when ended with \HL in MkIV
John Devereux <mailto:j...@devereux.me.uk> 26. September 2016 um 13:20 Hi, I updated my context (IV) installation recently and most of my tabulations are not working when they are placed with \placetable. Even the examples on the wiki do not work e.g. this aborts with an undefined control sequence error for the \stoptabulate: \starttext This is a very long text, longer than the width of the table. It must be long enough to flow to the next line to see the effect. \startplacetable[location=force,number=no] \starttabulate[|r|l|] \HL \NC I want this table \NC aligned in the center.\NC\NR \HL \stoptabulate \stopplacetable \stoptext I traced it to ending with a \HL. It can be made to work if I add an extra \AR after the final \HL tabl-tbl.mkiv: \def\tabl_tabulate_inside_before {\ifhmode\par\fi \ifhmode \ifinsidesplitfloat \let\tabl_tabulate_inside_after\relax + \let\tabl_tabulate_inside_inbetween\relax \else \vbox\bgroup \let\tabl_tabulate_inside_after\egroup + \let\tabl_tabulate_inside_inbetween\relax \fi \else \let\tabl_tabulate_inside_after\relax +\let\tabl_tabulate_inside_inbetween\relax \fi} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] placed tabulations broken when ended with \HL in MkIV
Hi, I updated my context (IV) installation recently and most of my tabulations are not working when they are placed with \placetable. Even the examples on the wiki do not work e.g. this aborts with an undefined control sequence error for the \stoptabulate: \starttext This is a very long text, longer than the width of the table. It must be long enough to flow to the next line to see the effect. \startplacetable[location=force,number=no] \starttabulate[|r|l|] \HL \NC I want this table \NC aligned in the center.\NC\NR \HL \stoptabulate \stopplacetable \stoptext I traced it to ending with a \HL. It can be made to work if I add an extra \AR after the final \HL Thanks, John -- John Devereux ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \hl line thickness
Hello, there is a way to select the line thickness of a \hl[n] command? I want to use \hl[n] for a fillin space in a question/answer document. The \fillinline, \fillinrules, ... are not good for my goal because they extend the horizontal line until the end of the line. I need several fillin space of different width on the same line for question like: Complete the following sentence: bla bla bla __ bla bla bla __ bla bla bla__. The \hl[n] is ok for this but I like to have a thinner line. -- Andrea De Michele ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \HL[...] in mkiv
runs in mkii and mkiv, but the optional argument for \HL is only valid for mkii. For mkiv it is not taken into account. \starttext \starttable[|c|c|c|c|c|c|c|c|c|c|]\HL \VL 1 \VL 2 \VL 3 \VL 4 \VL 5 \VL 6 \VL 7 \VL 8 \VL 9 \VL 10 \VL\AR\HL[5] \stoptable \stoptext Herbert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unwanted space before a \HL in tables
Hi, now I have changed to TABLE, and this is very powerful and well functioning. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Unwanted space before a \HL in tables
Hi, now I have a new conTeXt, but tables remain tricky. A slight variation of the wiki example with horizontal lines gives unwanted vertical space: \starttext \placetable[here][tab:sample]{sample table}{\start \starttablehead \HL \VL command \VL meaning \VL\SR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|l|] \VL \tex{NC}\VL next column \VL\FR \VL \tex{HL}\VL horizontal line \VL\MR \VL \tex{VL}\VL vertical line \VL\MR \VL \tex{NR}\VL next row\VL\AR \HL \VL \tex{SR}\VL single row \VL\MR \VL \tex{FR}\VL first row \VL\MR \VL \tex{MR}\VL middle row \VL\MR \VL \tex{LR}\VL last row\VL\LR \stoptables \stop} \stoptext -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context