Re: [NTG-context] simple usage of \hpos

2010-02-07 Thread Wolfgang Schuster
Am 06.02.10 23:17, schrieb Peter Münster: Hello, How can I place an element as background at a previously defined position? Here a test-file to show what I'm looking for: \definelayer[graphics][position=yes] \setupbackgrounds[page][background=graphics] \starttext Here is some text. I would

Re: [NTG-context] Rotated footnotes?

2010-02-07 Thread Taco Hoekwater
Steffen Wolfrum wrote: No answer at all ... Does that mean rotating a figure/label with its footnote just can't be done? Maybe something like \startlocalfootnotes ... \stoplocalfootnotes and \placelocalfootnotes at the end of the float body or in the caption would work. Easier to test with

Re: [NTG-context] Rotated footnotes?

2010-02-07 Thread Steffen Wolfrum
Am 07.02.2010 um 10:03 schrieb Taco Hoekwater: Steffen Wolfrum wrote: No answer at all ... Does that mean rotating a figure/label with its footnote just can't be done? Maybe something like \startlocalfootnotes ... \stoplocalfootnotes and \placelocalfootnotes at the end of the float body

Re: [NTG-context] Rotated footnotes?

2010-02-07 Thread Taco Hoekwater
Steffen Wolfrum wrote: Am 07.02.2010 um 10:03 schrieb Taco Hoekwater: Steffen Wolfrum wrote: No answer at all ... Does that mean rotating a figure/label with its footnote just can't be done? Maybe something like \startlocalfootnotes ... \stoplocalfootnotes and \placelocalfootnotes at the

Re: [NTG-context] Rotated footnotes?

2010-02-07 Thread Steffen Wolfrum
Am 07.02.2010 um 11:47 schrieb Taco Hoekwater: Steffen Wolfrum wrote: Am 07.02.2010 um 10:03 schrieb Taco Hoekwater: Steffen Wolfrum wrote: No answer at all ... Does that mean rotating a figure/label with its footnote just can't be done? Maybe something like \startlocalfootnotes ...

Re: [NTG-context] simple usage of \hpos

2010-02-07 Thread Peter Münster
On Sun, Feb 07 2010, Wolfgang Schuster wrote: \newcounter\BackgroundPictures \definelayer[BackgroundPicture][width=\paperwidth,height=\paperheight] \def\FixedPicture {\dodoubleempty\doFixedPicture} \def\doFixedPicture[#1][#2]% {\doglobal\increment\BackgroundPictures

Re: [NTG-context] simple usage of \hpos

2010-02-07 Thread Wolfgang Schuster
Am 07.02.10 13:22, schrieb Peter Münster: The main idea, to position the layer with x=\MPx{} and y=\MPy{} seems to be broken. Smaller test-file: \definelayer[graphics][position=yes] \setupbackgrounds[page][background=graphics] \starttext I would like to appear a graphics exactly 2cm left from

[NTG-context] Changing Index Format

2010-02-07 Thread Tom
Could someone point me to documentation that describes how to change the format of the index created by \placeindex and \completeindex? In particular, I want to get rid of the entries created for the letters of the alphabet because I find them an unnecessary use of space. Tom Benjey 717-258-9733

Re: [NTG-context] simple usage of \hpos

2010-02-07 Thread Peter Münster
On Sun, Feb 07 2010, Wolfgang Schuster wrote: Remove the 'position=yes' setup and correct the coordinates, layers use the top left corner as origin but positions are measures from the left bottom corner. Ah, now I see, why the graphics was at the bottom before. Thank you very much! Here

Re: [NTG-context] simple usage of \hpos

2010-02-07 Thread Wolfgang Schuster
Am 07.02.10 15:26, schrieb Peter Münster: \def\doPlaceAtPos[#1]#2#3{% \getparameters[PAA][dx=0pt, dy=0pt, #1]% \setbox\scratchbox\hbox{#3}% \setlayer[myBG][% x=\the\dimexpr\MPx{#2} - 0.5\wd\scratchbox\relax, y=\the\dimexpr\paperheight-\MPy{#2}-\ht\scratchbox\relax,

Re: [NTG-context] simple usage of \hpos

2010-02-07 Thread Peter Münster
On Sun, Feb 07 2010, Wolfgang Schuster wrote: \def\doPlaceAtPos[#1]#2#3{% \getparameters[PAA][dx=0pt, dy=0pt, #1]% \setbox\scratchbox\hbox{#3}% \setlayer[myBG][% x=\the\dimexpr\MPx{#2} - 0.5\wd\scratchbox\relax, y=\the\dimexpr\paperheight-\MPy{#2}-\ht\scratchbox\relax,

[NTG-context] xml entities and trailing space

2010-02-07 Thread Thomas A. Schmitz
Hi all, Hans, this is something I had mentioned a few weeks ago, but wanted to complain about it again: when you define xml entities as TeX commands, those used to preserve trailing spaces. This hasn't been the case since a number of version. I would like to recommend havin the old behavior

Re: [NTG-context] colors without \definecolor

2010-02-07 Thread Wolfgang Schuster
Am 07.02.10 07:24, schrieb Aditya Mahajan: while \color can only be used as \color[rgb]{...}. No. Both \color[rgb]{...} and {\color[rgb]...} are valid D’oh. I looked in the source and missed this but I wonder if this had been always the case because the manuals {and the wiki) mention only

[NTG-context] DIY toc (or similar list)

2010-02-07 Thread Thomas A. Schmitz
Hi experts, I'm thinking about a new presentation style and need some general advice from the TeXperts. I would like to have a list of topics on some area of the slide (similar to s-pre-19.tex). However, if at all possible, I would like it to be a bit fancier. Let's say I want the list of

Re: [NTG-context] DIY toc (or similar list)

2010-02-07 Thread Wolfgang Schuster
Am 07.02.10 22:58, schrieb Thomas A. Schmitz: Hi experts, I'm thinking about a new presentation style and need some general advice from the TeXperts. I would like to have a list of topics on some area of the slide (similar to s-pre-19.tex). However, if at all possible, I would like it to be a

Re: [NTG-context] DIY toc (or similar list)

2010-02-07 Thread Thomas A. Schmitz
On Feb 7, 2010, at 11:16 PM, Wolfgang Schuster wrote: you can do something like this (not sure if it works): \setuplist[...][alternative=command,command=\MyFancyListentry] \define[3]\MyFancyListentry {\doifelse{#2}{\fullstructureheadtitle} % is this the correct value? {...}% fancy

Re: [NTG-context] DIY toc (or similar list)

2010-02-07 Thread Wolfgang Schuster
Am 07.02.10 23:55, schrieb Thomas A. Schmitz: \def\Topic#1{% \def\MyMark{#1}% \writetolist[MyTopics]{#1}{}% \writetolist[MyTopics]{}{#1}% Wolfgang ___ If your question is of interest to others as well,

[NTG-context] blanks with glue in mkiv

2010-02-07 Thread Aditya Mahajan
Hi, Blanks with glue do not work with MkIV. For example, \defineblank[test][3pt plus 1pt minus 1pt] \starttext some text \blank[test] some text \stoptext gives ! Missing number, treated as zero. to be read again p argument p lus \addaskedblankskip ...nce

[NTG-context] disable hyphenation inside \type

2010-02-07 Thread Aditya Mahajan
Hi, Is is possible to disable hyphenation inside \type? Thanks, Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /