Re: [NTG-context] EUROTEX2006 - hartmut-talk.pdf -

2006-12-20 Thread Peter Rolf
luigi scarso wrote: Very good to me hartmut-talk.pdf, so I've made www.logosrl.it/context/pdftex/hartmut-talk.html luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context hi luigi, really nice work

Re: [NTG-context] EUROTEX2006 - hartmut-talk.pdf -

2006-12-20 Thread Peter Rolf
luigi scarso wrote: really nice work (except the positioning of the two buttons) :) if you download swftools and compile it, you will find HOWTO_pdf2swf andinside it $ pdf2swf -bl -o hartmut-talk.swf hartmut-talk.pdf do all work; after that I use !DOCTYPE html PUBLIC

[NTG-context] overlay problem with textext

2006-11-22 Thread Peter Rolf
Hi all, the attached example works with the version from 17.11.|20.11., but not with the current (22.11.06, 11:02) one. The problem seems to be in the use of textext, as it 'works' (background is visible) when I exchange p:= textext.rt(\MPstring{FunnyFrame}) ; with p:= nullpicture ; I

Re: [NTG-context] beta: bug with transparent colors in fields

2006-11-14 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hi Hans, the support of transparent colors in fields seems to be broken (beta 03.11.06). The attached example works with a non transparent backgroundcolor, but breaks with a transparent one. Same behaviour on ConTeXt Live. \definecolor

[NTG-context] underbar in MP text

2006-11-13 Thread Peter Rolf
Hi all, if \underbar is used inside a MP text, it always uses a fixed rule thickness, regardless of the settings in ConTeXt. How can I change this? TIA, Peter \setupoutput[pdftex] \setMPtext{testtext} {} \startusableMPgraphic{mptext} draw textext.rt(\MPstring{testtext}) ;

[NTG-context] beta: bug with transparent colors in fields

2006-11-13 Thread Peter Rolf
Hi Hans, the support of transparent colors in fields seems to be broken (beta 03.11.06). The attached example works with a non transparent backgroundcolor, but breaks with a transparent one. Same behaviour on ConTeXt Live. \definecolor [notebackgroundcolor] % [s=.85] [s=1,a=1,t=.9] There

Re: [NTG-context] underbar in MP text

2006-11-13 Thread Peter Rolf
Hi Aditya, Aditya Mahajan wrote: Hi Peter, On Sun, 12 Nov 2006, Peter Rolf wrote: Hi all, if \underbar is used inside a MP text, it always uses a fixed rule thickness, regardless of the settings in ConTeXt. How can I change this? Does adding the settings inside \setupMPenvironment

Re: [NTG-context] draw fill

2006-10-19 Thread Peter Rolf
Taco Hoekwater wrote: Peter Rolf wrote: Hi Taco, thanks for the answer. Sadly I doesn't work here; all drawn lines are still fixed to 1pt. Even my own defined pen (upen) in draw_hline is completely ignored. I was somewhat wrong before. The problem in your case is not the grouping

Re: [NTG-context] Any idea about copy or clone fieldstack?

2006-10-19 Thread Peter Rolf
Hi Chen, Zhichu Chen wrote: Hello everyone, I want to display dynamic system time on each page of my presentation. Displaying system time can be manipulated by JavaScript but, a field can be shown only once. So I used clone field and it works very well for me. But when I want to change

Re: [NTG-context] textrules

2006-10-19 Thread Peter Rolf
Hi Thomas, Thomas A. Schmitz wrote: Hi all, I want two paragraphs separated by a rule which has the same distance to the preceding and the following line (yes, I know that this is fuzzy, it's just the optical impression that counts). I can't get my head around the \setuptextrules command,

[NTG-context] draw fill

2006-10-18 Thread Peter Rolf
Hi all, [maybe this is a bit off topic and you think that the Metapost mailing list is the right place for such stuff. But I have quit this list quite some time ago, as there was more spam than regular posts. Try to forgive me... :D ] After buying the 'Metafont' manual, I'm now playing around

Re: [NTG-context] draw fill

2006-10-18 Thread Peter Rolf
Taco Hoekwater wrote: Hi Peter, def draw_vline(expr h,a,b,c)= draw (.5u,.5u)--(.5u,h*u-.5u) withpen pensquare scaled u That scales the whole draw statement, just like if you had said: draw (.5u,.5u)--(.5u,h*u-.5u) scaled u withpen pensquare So you need to do it like this:

Re: [NTG-context] goto framed

2006-10-17 Thread Peter Rolf
Renaud AUBIN wrote: Hi folks ! Consider the working example: \usemodule[pre-original] \starttext \startbuffer[stack1] draw (0,0)--(10cm,10cm); \stopbuffer \startbuffer[stack2] draw (0,10cm)--(10cm,0); \stopbuffer \startbuffer[stack3] draw (0,5cm)--(10cm,5cm); \stopbuffer

Re: [NTG-context] Fielstack and Layers for Presentation

2006-10-14 Thread Peter Rolf
Hi Renaud, I tried your example code and it is really fun. But you should exchange the buffers with setups to minimize runtime. On my machine it's 4x faster this way. I'll better not imagine, how often you have compiled your example code, before it reached this nice and clean state ;) Renaud

Re: [NTG-context] Fielstack and Layers for Presentation

2006-10-13 Thread Peter Rolf
Hi Renaud, Renaud AUBIN wrote: Hi all, I would use fieldstack with \getbuffer and overlays... Why the following code doesn't work ? Is there another way to do that ? \setlayer is breaking the fields here, so that they become normal, inactive content (dunno why). If you remove it, the fields

Re: [NTG-context] absolute positioning of figures

2006-10-13 Thread Peter Rolf
Hi Andrea, andrea valle wrote: On 13 Oct 2006, at 00:00, Hans Hagen wrote: indeed, layers put in overlays (there can be many layers on top of each others Now, I tried with overlays and layers. That's fine. In any case, in a second approach I simply used \setlayer to fill

Re: [NTG-context] absolute positioning of figures

2006-10-13 Thread Peter Rolf
andrea valle wrote: Example: \definelayer[layer2a][width=.15\paperwidth] \setlayer [layer2a] [x=.15\paperwidth, y=.5\paperheight] {\externalfigure[layTest][width=.75\paperwidth]} extend your example with

Re: [NTG-context] beta (processaction |)

2006-10-11 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hans Hagen wrote: Peter Rolf wrote: \processaction[\FOO][ |=, unknown=] hm, | and ~ are always special, put \string in fron tof it, or use \letterbar and \lettertilde hm, same error if I use \string| or \letterbar

[NTG-context] beta (processaction |)

2006-10-09 Thread Peter Rolf
Hi, the vertical line symbol | (pipe) breaks \processaction (no problem with the latest stable version). The minimal example at the end of this message results in: [..] systems : begin file processaction at line 3 ! Undefined control sequence. \dotextmodediscretionary ...up \let

Re: [NTG-context] beta (processaction |)

2006-10-09 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: \processaction[\FOO][ |=, unknown=] hm, | and ~ are always special, put \string in fron tof it, or use \letterbar and \lettertilde hm, same error if I use \string| or \letterbar Peter Hans

Re: [NTG-context] beta (processaction |)

2006-10-09 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hans Hagen wrote: Peter Rolf wrote: \processaction[\FOO][ |=, unknown=] hm, | and ~ are always special, put \string in fron tof it, or use \letterbar and \lettertilde hm, same error if I use \string| or \letterbar

[NTG-context] beta (04.10.06)

2006-10-04 Thread Peter Rolf
Hi Hans, there is a file missing in the new beta. [..] ConTeXt ver: 2006.10.03 21:08 MK II fmt: 2006.10.4 int: english/en \@@mslingualstitle: \@@mslinguals9 de \@@mssystemstitle: \@@mssystems2 cont-new (r:/tex/texmf-local/tex/context/base/cont-new.tex systems

[NTG-context] textbackground inside framed

2006-10-03 Thread Peter Rolf
Hi, I need a textbackground inside a \framed macro, which uses it's own background (overlay). Sadly the textbackground appears behind the framed background and my attempts to change this order haven't succeeded. \setuptextbackground[foo] [level=+1] brings the textbackground to the top, but

Re: [NTG-context] Layer Question

2006-09-28 Thread Peter Rolf
Tobias Burnus wrote: Hello, I would like to add a text to a poster, which I load as PDF. The following works nice, except that the layer of the PDF is above the layer block thus the text gets overdrawn. How can I change that order? Tobias

Re: [NTG-context] Layer Question

2006-09-28 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Tobias Burnus wrote: Hello, I would like to add a text to a poster, which I load as PDF. The following works nice, except that the layer of the PDF is above the layer block thus the text gets overdrawn. How can I change that order? Tobias

[NTG-context] problem making docs from sources

2006-09-28 Thread Peter Rolf
texmfstart texexec --module page-bck context : ver: 2006.09.26 22:12 I tried to make docs from page-bck.tex and page-lyr.tex, but run into this error [..] [MP to PDF] (./texexec-mpgraph.1 ! Undefined control sequence. inserted text \collectPDFresources

Re: [NTG-context] problem making docs from sources

2006-09-28 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: texmfstart texexec --module page-bck context : ver: 2006.09.26 22:12 I tried to make docs from page-bck.tex and page-lyr.tex, but run into this error [..] [MP to PDF] (./texexec-mpgraph.1 ! Undefined control sequence. inserted text

Re: [NTG-context] Very strange bug related to textbackground

2006-09-27 Thread Peter Rolf
Hans Hagen wrote: Duncan Hothersall wrote: Just downloaded and tried beta 'ver 2006.09.25 23:38 MK II' - same result I'm afraid. then i need a better test file + explanation (or maybe i have some local patch) Hans You are not seeing the effect? I have put some files up on

Re: [NTG-context] split natural table over columns

2006-09-27 Thread Peter Rolf
(columns.pdf). In my eyes a one column table is the wrong approach to present such content. Peter Johan 2006/9/26, Peter Rolf [EMAIL PROTECTED]: Hi Johan, Johan Sandblom wrote: Hi But I don't understand why you want to split a table over columns. You can reach this effect by using offsets

Re: [NTG-context] split natural table over columns

2006-09-27 Thread Peter Rolf
2006/9/27, Peter Rolf [EMAIL PROTECTED]: Johan Sandblom wrote: What is missing from the example that started the thread? Nothing, but I think it would be a waste of time. Instead of a one column table (of this size) I would use \startitemize[n,columns,three] or simply change the orientation

Re: [NTG-context] split natural table over columns

2006-09-27 Thread Peter Rolf
Peter Rolf wrote: Johan Sandblom wrote: Good point, in the actual case there were two columns, a name and a number. The reason for using the table is align the name to the left and the number to the right. So a more realistic example is something like \starttext \bTABLE \setupTABLE[c][1

[NTG-context] counter for MPtoPDF calls [feature request]

2006-09-27 Thread Peter Rolf
Hi Hans, I tested the beta from yesterday and I liked the incremented number behind the MPtoPDF calls (in older versions this was always [1]). I'm currently optimizing some of my graphics for trailtypesetting and the incremented counter was really informative. [..] [MP to PDF]

Re: [NTG-context] counter for MPtoPDF calls [feature request]

2006-09-27 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hi Hans, I tested the beta from yesterday and I liked the incremented number behind the MPtoPDF calls (in older versions this was always [1]). I'm currently optimizing some of my graphics for trailtypesetting and the incremented counter was really

Re: [NTG-context] split natural table over columns

2006-09-26 Thread Peter Rolf
Hi Johan, Johan Sandblom wrote: Is it possible to make a natural table split over columns or columnsets? see http://wiki.contextgarden.net/Tables_Overview what is possible and what is not. Currently only *linetable* is supporting horizontal splitting. The syntax looks similar to TABLE, but I

Re: [NTG-context] texexec command line switches missing in ruby version

2006-09-26 Thread Peter Rolf
Hans Hagen wrote: Ralf Schmitt wrote: Ralf Schmitt wrote: Hi all, the ruby version of texexec is missing some command line switches I have been using. I'm missing --result (however, I could live without that) and especially --mode and --passon. Are there any workarounds?

Re: [NTG-context] calculations

2006-09-26 Thread Peter Rolf
Hi Hraban, Henning Hraban Ramm wrote: Am 2006-09-26 um 08:53 schrieb Taco Hoekwater: I think I tried everything but didn't get it to work. For the moment I use: \def\LPscale{0.6315789} % downscale the image \def\LPkscale{632} % doesn't work: \def\LPkscale{\numexpr1000\LPscale\relax}

Re: [NTG-context] split natural table over columns

2006-09-26 Thread Peter Rolf
Hi Johan, Johan Sandblom wrote: Hi But I don't understand why you want to split a table over columns. You can reach this effect by using offsets (or empty columns if you use backgrounds or frames), beside from the (in my eyes) strange look. And how will you guarantee that a complete table

Re: [NTG-context] calculations

2006-09-25 Thread Peter Rolf
Henning Hraban Ramm wrote: Am 2006-09-21 um 21:12 schrieb Peter Rolf: \externalfigure[\lily!img][scale=\dimexpr(1000\LPscale)]% \numexpr should work here ..[scale=\numexpr1000\LPscale\relax]% thank you, that seemed what I looked for, but: ! You can't use `\numexpr' in horizontal

Re: [NTG-context] blackrule

2006-09-24 Thread Peter Rolf
Hi Jorge, batela wrote: Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... In the pdf document appears: I,

Re: [NTG-context] blackrule

2006-09-24 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hi Jorge, batela wrote: Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good

Re: [NTG-context] transparent metafun colors turn nearly black

2006-09-23 Thread Peter Rolf
Hi Sanjoy, Sanjoy Mahajan wrote: Just for (meta)fun, I tried a few experiments with transparent colors. The example below gives a black circle instead of a red one. Is it that transparent colors aren't part of metafun -- which I can easily live with since color printing is too expensive

Re: [NTG-context] transparent metafun colors turn nearly black

2006-09-23 Thread Peter Rolf
Sanjoy Mahajan wrote: Maybe you also need \runMPTEXgraphicstrue (enabled in my cont-sys.tex)? I just enabled that in cont-sys.rme, and I put it in the test file for good measure. your example works here (beta 17.09.). I also tried your example at contextgarden (same beta) and it worked

Re: [NTG-context] chinese characters in an itemize environment

2006-09-22 Thread Peter Rolf
Lutz Haseloff wrote: Hi all, If I use: \startitemize[m,packed] \item 三个小矮人 (some chinese characters) \item Die drei Männlein im Walde \stopitemize I get more space between the number and the text in the chinese line as in the latin line. The difference is .3-.4em depending on the

Re: [NTG-context] chinese characters in an itemize environment

2006-09-22 Thread Peter Rolf
Lutz Haseloff wrote: Peter Rolf schrieb: just guessing (but worth a try): \setupitemgroups[inbetween=any fixed dimen] The default is .5ex, which depends on the current font (see end of core-itm.tex). HTH, Peter \setupitemgroups[inbetween=2cm] doesn't work. Iterestingly an inserted

Re: [NTG-context] calculations

2006-09-21 Thread Peter Rolf
Henning Hraban Ramm wrote: Am 2006-09-20 um 00:40 schrieb nico: \figurewidth is not a dimension. I guess the following should work: \def\LPscale{.6315789} % downscale the image \ifvmode \getfiguredimensions[\bufferprefix lilypond-\the\lily!figures.pdf][]%

[NTG-context] spaceinbetween (TABLE)

2006-09-13 Thread Peter Rolf
Hi, the TABLE paramter 'spaceinbetween' doesn't work, if you use it combinations with split=repeat. This is not a beta only problem, as the verson from 08.08.2006 shows the same behaviour. Greetings, Peter \starttext \bTABLE [spaceinbetween=3mm, columndistance=3mm, split=repeat,% works

[NTG-context] DTD

2006-09-11 Thread Peter Rolf
Hi, is there a public DTD (RNC prefered) for the context macro format in cont-en.xml? I also searched for the DTD of the rl-database, but without success. The only thing I found is x-fig-00.dtd, which describes the fig-database format. Greetings, Peter

Re: [NTG-context] margintext style and more

2006-09-11 Thread Peter Rolf
batela wrote: Dear Sirs I have two questions for you: 1. How i can changing the margintext style? As I understand it, you also use \setupinmargin for this (see context manual, top of page 63). 2. In some cases I found a overlapping between to consecutive margintext notes and between a

Re: [NTG-context] DTD

2006-09-11 Thread Peter Rolf
Patrick Gundlach wrote: Hello Peter, is there a public DTD (RNC prefered) for the context macro format in cont-en.xml? There is http://dl.contextgarden.net/texshow/interface.rnc Thanks Patrick and Hans. I searched for something like this on the wiki, but found no link to it. And also in

Re: [NTG-context] beta

2006-09-10 Thread Peter Rolf
Hans Hagen wrote: I uploaded a beta. Brave users met test if their mp graphics still come out well since i cleaned up some of the mp to pdf code. Hans, 'don't change a winning team' ;) Testfile is attached. Peter Hans \setuplayout[pdftex] \setupcolors[state=start]

Re: [NTG-context] beta (31.08.2006)

2006-09-07 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hi, just tested the new beta, but with no luck. I get the following error [. can you test the version i just uploaded and when it fails send me a test file? test file is on the way Hans

Re: [NTG-context] \setuppapersize[XY] not working properly with landscape orientation

2006-09-07 Thread Peter Rolf
Hi Mojca, Mojca Miklavec wrote: Hello, \setuppapersize[XY] is not working properly when paper orientation is landscape. The following code results in pages of dimensions 29.5 x 29.5 cm: \setuppapersize [XY][A4,landscape] \setuppaper [nx=3,ny=1] \setuparranging [XY]

Re: [NTG-context] \setuppapersize[XY] not working properly with landscape orientation

2006-09-07 Thread Peter Rolf
Mojca Miklavec wrote: On 9/7/06, Peter Rolf wrote: I also have an additional question: I can use \setupbackgrounds [page] [background=...] for single pages which works perfectly. But how can I place a background figure on the whole page (i.e. spanning across the middle

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-06 Thread Peter Rolf
: Peter Rolf [EMAIL PROTECTED] To: mailing list for ConTeXt users ntg-context@ntg.nl Date: Tue, 05 Sep 2006 11:42:44 +0200 Subject: Re: [NTG-context] How to display JavaScript's values in ConTeXt Zhichu Chen wrote: Hello everybody, I want to add a clock which shows the system time to a pdf

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-05 Thread Peter Rolf
Zhichu Chen wrote: Hello everybody, I want to add a clock which shows the system time to a pdf file. And I have read the ``art-calc.pdf'' and ``mwidget-p.pdf'' to find some approaches but failed shamely. I am indeed new at ConTeXt and JavaScript. Before I'm shocked by ConTeXt, I used

[NTG-context] beta (31.08.2006)

2006-09-04 Thread Peter Rolf
Hi, just tested the new beta, but with no luck. I get the following error [..] {r:/tex/texmf-local/fonts/map/pdftex/context/texnansi-base.map} ../include/scr eenshots/firefox/1.07/options-general.png (PNG copy) figures : dimensions : 426.84468pt x 354.57469pt figures : state :

Re: [NTG-context] bug?: interaction between columns and background

2006-09-01 Thread Peter Rolf
Hi Mojca, try the new beta (should work)... Mojca Miklavec wrote: Hello, When I place a graphic in the bacground and switch columns on, the background gets shifted for some reason. I hope that the problem will be evident from this example (since it behaves in a pretty random way -

Re: [NTG-context] vertical kerning for TwoThird needed

2006-09-01 Thread Peter Rolf
um 22:44 schrieb Peter Rolf: Steffen Wolfrum wrote: Hi, comparable to the pre-defined \threequarter I want to write a \TwoThird. The following looks quite good (with my respective font settings) ... \def\TwoThird{{\tx\high{\txx 2}}\kern-0.1em/\kern-0.1em{\txx 3}} ... but still the 2

Re: [NTG-context] beta

2006-08-31 Thread Peter Rolf
Hans Hagen wrote: I uploaded a new beta (a few fixes to fig bases [better adapted to new core-fig] and overlays [more robust for dimen0]) No problems with overlays any more. Thanks Hans! Also thanks for the explanation of the register usage. I'll try to use an own register set in the future.

Re: [NTG-context] vertical kerning for TwoThird needed

2006-08-31 Thread Peter Rolf
Steffen Wolfrum wrote: Hi, comparable to the pre-defined \threequarter I want to write a \TwoThird. The following looks quite good (with my respective font settings) ... \def\TwoThird{{\tx\high{\txx 2}}\kern-0.1em/\kern-0.1em{\txx 3}} ... but still the 2 is a bit to high. How can I

Re: [NTG-context] new betae

2006-08-30 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hans Hagen wrote: Peter Rolf wrote: Hans Hagen wrote: Peter Rolf wrote * 2 of 3 picture (png) are not found; both unfound file have a _ in the name hm, will look into it I

Re: [NTG-context] new beta

2006-08-30 Thread Peter Rolf
Peter Rolf wrote: Hans Hagen wrote: Hi, I uploaded a new beta. There is not so much new functionality (if so, taco will report that when there is a new release), but - some reshuffling of code (in order to solve some dependency ugliness in the load order) - this is also a bit

Re: [NTG-context] new beta

2006-08-30 Thread Peter Rolf
Peter Rolf wrote: Peter Rolf wrote: Hans Hagen wrote: Hi, I uploaded a new beta. There is not so much new functionality (if so, taco will report that when there is a new release), but - some reshuffling of code (in order to solve some dependency ugliness in the load order

Re: [NTG-context] new beta

2006-08-30 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: The document is a multi-layer (context, not pdf layer) mp-graphic with nested structures. So I have many boxes that are placed at specific positions (using \setlayer). Some content is collected in a buffer and then placed in a framed vbox (also by \setlayer

Re: [NTG-context] new beta

2006-08-29 Thread Peter Rolf
Hans Hagen wrote: Hi, I uploaded a new beta. There is not so much new functionality (if so, taco will report that when there is a new release), but - some reshuffling of code (in order to solve some dependency ugliness in the load order) - this is also a bit of a preparation for

Re: [NTG-context] new beta

2006-08-29 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote * 2 of 3 picture (png) are not found; both unfound file have a _ in the name hm, will look into it I have found the cause of this one. If I don't use \usefigurebase the gfx are found and included. * position of some (not all) overlay backgrounds

Re: [NTG-context] new beta

2006-08-29 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hans Hagen wrote: Peter Rolf wrote * 2 of 3 picture (png) are not found; both unfound file have a _ in the name hm, will look into it I have found the cause of this one. If I don't use \usefigurebase the gfx are found

Re: [NTG-context] afterpage

2006-08-28 Thread Peter Rolf
Hi Paul, Paul Jones wrote: Hello, I have used Latex in the past and have the following code that inserts information on certain pages using afterpage. Is there some way to do a similar thing in context? \setupoutput[pdf] \definelayer[info] \setuplayer[info]

Re: [NTG-context] strutheight and (german) umlauts

2006-08-28 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hi, I just run into the problem, that \strutheight is lower than the height of some german umlauts (���). % - \setupoutput[pdftex] \mainlanguage[german] \setupcolors[state=start] \starttext \showstruts \def\FOO#1{\framed[frame=off,background

Re: [NTG-context] afterpage

2006-08-28 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hi Paul, Paul Jones wrote: Hello, I have used Latex in the past and have the following code that inserts information on certain pages using afterpage. Is there some way to do a similar thing in context? \setupoutput[pdf] \definelayer[info

Re: [NTG-context] some questions

2006-08-12 Thread Peter Rolf
Hi Wolfgang, [EMAIL PROTECTED] wrote: Hallo! After reading some manuals, I have some questions. May be I have not understand it right. Try the following example: --- \setupcolors[state=start] \starttext How can I use the brace-key right? \starttable[| \{ |]

Re: [NTG-context] doifmode[paging]

2006-08-10 Thread Peter Rolf
David Arnold wrote: Hans et al, I have: \def\startquestions{\exercises{Exercises}\doifmode{copyright} {\footnotetext{Copyrighted material. See: http://msenux.redwoods.edu/ IntAlgText/} }\startcolumnset[exercises]} \def\stopquestions{\stopcolumnset} Then in document, I have:

Re: [NTG-context] TeX trigger in MP macro

2006-08-04 Thread Peter Rolf
Taco Hoekwater wrote: Taco Hoekwater wrote: Hi Peter, Peter Rolf wrote: If someone can solve this problem I would be very glad. Adding a semicolon after the 'endgroup' command removes the error. _Thank you very much, Taco!_ I have spent several hours to fix this MP error, without any

Re: [NTG-context] TeX trigger in MP macro

2006-08-04 Thread Peter Rolf
Taco Hoekwater wrote: Peter Rolf wrote: BTW: Why do I need a semicolon after 'endgroup', but (in most cases) not after 'fi', 'endfor'? You need a semicolon at the end of a statement. The if and loop constructs are not statements, they are preprocessed. You get the 'extra tokens' error

Re: [NTG-context] TeX trigger in MP macro

2006-08-04 Thread Peter Rolf
Taco Hoekwater wrote: Taco Hoekwater wrote: Hi Peter, Peter Rolf wrote: If someone can solve this problem I would be very glad. Adding a semicolon after the 'endgroup' command removes the error. (I just looked at your pdf document). You probably want 'useMPgraphic' instead

[NTG-context] TeX trigger in MP macro

2006-08-03 Thread Peter Rolf
Hi all, Currently I am using \startuniqueMPgraphic{foo} ... if (\DbgFill=0) : fill whatever fi ... \stopuniqueMPgraphic in my MP graphics. \DbgFill (0|1) is just a trigger, which prevents filling in case of visual debugging. Instead of always writing this 'long' form, it should be

Re: [NTG-context] Natural Tables with verbatim text

2006-08-03 Thread Peter Rolf
Confused Scientist wrote: Hello Is it possible to use \type{} in a natural table cell? The example below seems to generate an error for me. Thanks! \type works (try \type{\TEST}), but not exactly as in normal environment. For your example you can use '\_' instead of '_' (even without

Re: [NTG-context] indented footnotes

2006-07-26 Thread Peter Rolf
Steffen Wolfrum wrote: Hi, I want my footnotes (bottom page) to be indented first line. So I tried this \setupfootnotes[indentnext=yes,numbercommand=\hskip1em\high] \setupfootnotedefinition [indentnext=yes,distance=0.5em,location=serried] But \hskip1em is now the distance to the right

Re: [NTG-context] centered headertexts ??

2006-07-26 Thread Peter Rolf
Steffen Wolfrum wrote: Hi, apologies, I guess this one is a pretty easy question, but after trying (almost) every combination I gave up... How do I get xxx and yyy set in the header's center?? Look at http://wiki.contextgarden.net/Headers_and_Footers Marginal headings and centered

Re: [NTG-context] underbar and hyphenation

2006-07-25 Thread Peter Rolf
Aditya Mahajan wrote: On Tue, 25 Jul 2006, Mojca Miklavec wrote: Hello, is there any way to make hyphenation work when using \underbar? Mojca, sorry I do not know the answer to that. But I was testing a few things with \underbar and now have questions of my own. Something seem to be

Re: [NTG-context] clipping problem

2006-07-10 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Just as a reminder for an unsolved problem :) I also tested this on contextgarden, with faulty result. Same with \clip[hoffset=64bp,voffset=64bp,width=64bp,height=64bp]{\reuseMPgraphic{cliptest}} So it doesn't look like a rounding problem

Re: [NTG-context] Skipping two

2006-07-07 Thread Peter Rolf
Hi David, David Arnold wrote: All, Why does this increment by two? because the argument of \setuplabeltext is expanded two times per call (add a \message to your macro). Mostly this is done to collect information (for size maxima, whatever) in the first run, so you can set things pretty in

Re: [NTG-context] clipping problem

2006-07-06 Thread Peter Rolf
Just as a reminder for an unsolved problem :) I also tested this on contextgarden, with faulty result. Same with \clip[hoffset=64bp,voffset=64bp,width=64bp,height=64bp]{\reuseMPgraphic{cliptest}} So it doesn't look like a rounding problem. Peter Rolf wrote: Hi, I have some png-graphics

[NTG-context] clipping problem

2006-07-03 Thread Peter Rolf
Hi, I have some png-graphics, where several (equal sized) icons are arranged in array form. When I cut out an icon, I get the icon gfx plus a very small part from the surronding icon(s). The attached file shows, that the same problem occurs when using a vector based graphic. Normally I use

[NTG-context] bug in mptopdf?

2006-05-09 Thread Peter Rolf
Hi, I get the following error with the newest context (09.05.2006): --- 1 output file written: testbrief-mpgraph.1 Transcript written on testbrief-mpgraph.log. [MP to PDF] (./testbrief-mpgraph.1)This is MetaPost, Version 0.901 (Web2c 7.5.3) (testbrief-mpgraph.mp ! Extra tokens will be

Re: [NTG-context] Simple problem with quotation paragraph

2006-05-04 Thread Peter Rolf
Hi Gerben, here is a solution that works with a local layout. For sure there are better ways to reach your desired style, but I have no experience with this stuff. Greets, Peter Gerben Wierda wrote: I am having a simple problem I can't solve by reading the manuals. I want to quote a

Re: [NTG-context] mp file not compiling

2006-05-03 Thread Peter Rolf
Aditya Mahajan wrote: Hi, Is the mp support for btex...etex broken in the latest context (ConTeXt ver: 2006.04.27 15:59) The following does not compile, \starttext \startMPpage label(btex This is a test etex, origin) ; \stopMPpage \stoptext I get an error ! Unable to make

Re: [NTG-context] lb bar/Unicode 2114 symbol

2006-05-02 Thread Peter Rolf
Johannes Graumann wrote: Hello, I'm using the following encoding commands \usetypescript[modern-base][texnansi] \setupbodyfont[12pt,modern] and was wondering whether someone knows an elegant way to get the pound sign 'lb bar' (unicode #2114, html #8468;). My current hack looks like

Re: [NTG-context] Fieldstack Walk

2006-04-22 Thread Peter Rolf
Michal Kvasnička wrote: Good afternoon. Many thanks, this solves the problem -- at least partially. The frames are `walking' now, but new problems appeared. I found that when I set `clickin=...', it is set it automatically to `clickout' as well, so one mouse click runs the JavaScript code

Re: [NTG-context] feature request: \everytrypass

2006-04-20 Thread Peter Rolf
Vit Zyka wrote: Dear ConTeXters, I am counting occurence of some macro in the text. Problem is when this macro is inside \bTABLE (and may be somewhere else). Due to try passes the increment is counter is incremented more then once and the result is multiplied. It is possible to

Re: [NTG-context] using headnumber

2006-04-20 Thread Peter Rolf
Hi Thomas, Thomas A. Schmitz wrote: Hi, I have a counter which I want to be incremented after every \section command and reset after every odd \section (don't ask why...). So I tried this approach: \setuphead[section] [command={{{\determineheadnumber[section]}

Re: [NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Peter Rolf
Johannes Graumann wrote: nico wrote: Do you want to do this? \setupTABLE[row][last][rulethickness=0.90pt,bottomframe=on] \setupTABLE[r][last][] Use only the short forms (r=row and c=column) and it should work. I had to look in an old table, where I had the same problems (I guess).

Re: [NTG-context] Fieldstack Walk

2006-04-19 Thread Peter Rolf
Thanks Sanjoy for pointing this out. Both problems are still *unfixed* (beta from 17.04). Unfortunately fixing them doesn't solve my problem. I'll try it again later. Maybe I was to tired yesterday to solve this and the error is on my side... Greets, Peter Sanjoy Mahajan wrote: there are still

Re: [NTG-context] Fieldstack Walk

2006-04-18 Thread Peter Rolf
Michal Kvasnička wrote: Good morning. I use a fieldstack in my presentation. I'd like to go to the next frame when I click on the figure. I tried this: \definefieldstack[fgolds3] [sgolds1,sgolds3a,sgolds3b,sgolds3c,sgolds3] [frame=off,clickin=JS(Walk_Field{fgolds3})]

Re: [NTG-context] Fieldstack Walk

2006-04-18 Thread Peter Rolf
Hi Michal, Michal Kvasnička wrote: Hi Peter, thank for your answer, but it doesn't help. First, it seems the order is not important in ConTeXt. Second, the fieldstack works well. I can even make it walk with \goto{...}[JS(Walk_Field{fgolds3})]. The only thing that doesn't work is that I

Re: [NTG-context] Fieldstack Walk

2006-04-18 Thread Peter Rolf
Michal Kvasnička wrote: Good afternoon. Many thanks, this solves the problem -- at least partially. The frames are `walking' now, but new problems appeared. I found that when I set `clickin=...', it is set it automatically to `clickout' as well, so one mouse click runs the JavaScript code

Re: [NTG-context] Fieldstack Walk

2006-04-18 Thread Peter Rolf
Peter Rolf wrote: Michal Kvasnička wrote: Good afternoon. Many thanks, this solves the problem -- at least partially. The frames are `walking' now, but new problems appeared. I found that when I set `clickin=...', it is set it automatically to `clickout' as well, so one mouse click runs

Re: [NTG-context] Changing page orientation - Landscape/Portrait

2006-04-13 Thread Peter Rolf
Miguel Queiros wrote: \placetable{Just an example}{\externalfigure[teste.tmp]} This is what I call 'creative usage' of a feature :) Better use \getbuffer for this. I was using \externalfigure because I saw that on the manual, and because I wanted to scale down the table to the width of the

Re: [NTG-context] Changing page orientation - Landscape/Portrait

2006-04-11 Thread Peter Rolf
Miguel Queiros wrote: Hello Peter, \start ... \stop mark the boundaries of the local (layout) setup, which is defined between \startlocal ... \stoplocal. This way you don't need to redefine your old layout after a local (one page) style change. ConTeXt returns to the prior layout

Re: [NTG-context] Changing page orientation - Landscape/Portrait

2006-04-10 Thread Peter Rolf
Hi Miguel, Miguel Queiros wrote: \start\startlocal \setuppapersize [A4, landscape] [A4, landscape] \stoplocal PAGE TWO \page \stop % end of local layout I'v tested your solution and it worked, but I had problems trying to get a table inside a buffer using \startbuffer etc... I removed

<    3   4   5   6   7   8   9   >