[NTG-context] Rotated footnotes?
Hi, the figure labels of some rotated figures have footnotes. (see faked example please: http://www.werksatz.com/attachments/rotated.pdf). How do I place a rotated footnote?? Thanks, Steffen ___ 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] l-file.lua:110: stack overflow
Hello, I get the error with the following input file: \setupexternalfigures[directory={\currentvalue, http://pmrb.free.fr/tmp/}] \starttext \externalfigure[hacker-test-5.pdf] \stoptext There is *no* problem, when \currentvalue comes after the url: \setupexternalfigures[directory={http://pmrb.free.fr/tmp/, \currentvalue}] \starttext \externalfigure[hacker-test-5.pdf] \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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] problem with \em in \rightaligned
Hello, The last bla is not emphasised: \starttext \start \em bla\\bla \stop \start \rightaligned{\em bla\\bla} \stop \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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] problem with \em in \rightaligned
Am 04.02.10 13:52, schrieb Peter Münster: Hello, The last bla is not emphasised: \starttext \start \em bla\\bla \stop \start \rightaligned{\em bla\\bla} \stop \stoptext Use \startalignment[flushright]...\stopalignment to align more than one line and \crlf to force a line break. 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 ___
Re: [NTG-context] problem with \em in \rightaligned
On Thu, Feb 04 2010, Wolfgang Schuster wrote: \rightaligned{\em bla\\bla} Use \startalignment[flushright]...\stopalignment to align more than one line and \crlf to force a line break. Right, that's what I do now. I thought, that my construction was supposed to work, because I got used to things like \rightaligned{bla\\bla\\bla}... So excuse me please for not reading the documentation before posting! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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] problem with \em in \rightaligned
Am 04.02.10 14:29, schrieb Peter Münster: On Thu, Feb 04 2010, Wolfgang Schuster wrote: \rightaligned{\em bla\\bla} Use \startalignment[flushright]...\stopalignment to align more than one line and \crlf to force a line break. Right, that's what I do now. I thought, that my construction was supposed to work, because I got used to things like \rightaligned{bla\\bla\\bla}... I was surprised that this is working but when look at the source you can see that \\ finish \rightaligned and starts a new \rightaligned but your \em has ended, to keep the \em you have to write \rightaligned{\em ...\\\em ...} 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 ___
Re: [NTG-context] context minimals
On Mon, 01 Feb 2010 22:04:48 +0100, Hans Hagen wrote: On 1-2-2010 21:47, Martin 'golodhrim' Scholz wrote: thanks for your info, so I have the opinion that the git is much faster and if contextgarden has one, is it possible to add a git for the minimals there or who does one have to ask for it. mojca as she's in charge of the minimals Hi Hans, Hi Mojca, hi list, finished today an ebuild for funtoo, should also work under gentoo if interested for an add to the contextgarden wiki let me know. And Mojca, would be nice to get direct contact to you for some infos concerning the build process of context-minimals. Just reply to my mail- address from which I post. Greetings Martin 'golodhrim' Scholz ___ 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] help! formulas set smaller?
Hi, while I want to have my bodyfont in Times 10pt, my specs force me to set my formulas 1pt smaller: 9pt! As far as I have seen setupformulas doesn't provide setting a smaller font ... What can I do?? Help please!! Steffen (with MkII) ___ 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] context minimals
On Thu, Feb 4, 2010 at 20:06, Martin 'golodhrim' Scholz wrote: On Mon, 01 Feb 2010 22:04:48 +0100, Hans Hagen wrote: On 1-2-2010 21:47, Martin 'golodhrim' Scholz wrote: thanks for your info, so I have the opinion that the git is much faster and if contextgarden has one, is it possible to add a git for the minimals there or who does one have to ask for it. mojca as she's in charge of the minimals Hi Hans, Hi Mojca, hi list, finished today an ebuild for funtoo, should also work under gentoo if interested for an add to the contextgarden wiki let me know. And Mojca, would be nice to get direct contact to you for some infos concerning the build process of context-minimals. Just reply to my mail- address from which I post. I'm sorry. I'm here and I'm reading, it's just that I didn't yet figure out what to reply to you about git. About the speed of git: it's indeed very fast, but you need to bear in mind that you would need to download the whole archive of every single luatex binary version (OK, compressed, but still). If we start shipping the minimals as git repository (but then we would ship it as a whole) it would be best to just put a cron job on contextgarden.net that would update on regular bases. Volunteer? Mojca PS: rsync also updates only changed files which was still better than updating the whole zip, though it does update the whole files, not just the differences between files. It also has an advantage that one would then easily switch back in time locally if something goes wrong. ___ 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] help! formulas set smaller?
Am 04.02.10 20:34, schrieb Steffen Wolfrum: Hi, while I want to have my bodyfont in Times 10pt, my specs force me to set my formulas 1pt smaller: 9pt! As far as I have seen setupformulas doesn't provide setting a smaller font ... What can I do?? \definetypeface[mainface][rm][serif][termes][default] ... \definetypeface[mainface][mm][math] [times] [default][rscale=0.9] 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] overlay at given position: help needed
Hello, Below is a test file, to show a bit what I'm looking for: a background-image behind a text-area at a given position relative to the center of this area. I'm not yet satisfied with the result. Here my questions: 1.) Is \startframedtext a good choice for placing the background, or is there something better? 2.) Is \framed[loffset=..., toffset=...]{} a good choice for specifying the position, or is there something better? 3.) When left=1, why is the image completely outside the frame and not only 50%? 4.) How do I make a step between text and background according to http://wiki.contextgarden.net/Presentation_effects ? I would like to show first the text, and after a mouse-click the background image. Thanks in advance for any help! Cheers, Peter The test-file: % Begins a text-area with a background-image: \def\startBGimg[#1]{% \getparameters[BGimg][top=0, left=0, width=2cm, #1]% \start \newdimen\TopOffset \newdimen\LeftOffset \setupframedtexts[before=, after=] \defineoverlay[myBG][{% \TopOffset=\overlayheight \LeftOffset=\overlaywidth \TopOffset=\BGimgtop\TopOffset \LeftOffset=\BGimgleft\LeftOffset \framed[frame=on, width=\overlaywidth, height=\overlayheight, offset=overlay, toffset=\TopOffset, loffset=\LeftOffset]{% \externalfigure[\BGimgimg][width=\BGimgwidth]}}] \startframedtext[background=myBG, frame=off, offset=overlay, width=\textwidth]} % Stops the text-area with a background-image: \def\stopBGimg{\stopframedtext\stop} \starttext \startBGimg[img=hacker.jpg, top=-1, left=-1] \input tufte \stopBGimg \startBGimg[img=hacker.jpg, top=-1, left=1] \input tufte \stopBGimg \startBGimg[img=hacker.jpg, top=1, left=-1] \input tufte \stopBGimg \startBGimg[img=hacker.jpg, top=1, left=1] \input tufte \stopBGimg \stoptext -- Contact information: http://pmrb.free.fr/contact/ ___ 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] help! formulas set smaller?
On Thu, 4 Feb 2010, Steffen Wolfrum wrote: Hi, while I want to have my bodyfont in Times 10pt, my specs force me to set my formulas 1pt smaller: 9pt! As far as I have seen setupformulas doesn't provide setting a smaller font ... What can I do?? \definetypescript[...][mm][...][...][...][..., rscale=...,] Try for a rscale of 0.9 and measure the actual height and tweak accordingly. Aditya ___ 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] Any syntax highlighter for C++ MKIV?
The verbatim function in MKIV is really powerful, and pretty printing of progamming language is easy. But unfortuantely, I do not know how to modify the php, or lua pretty printing formatter to what I want --- C++ formatter. After laboriously searching, I failed to find any working formatter. Is this really really easy, nobody wants to post it? Or there is no person in need of such a formatter, but only me? I tried vim highlighting module in the wiki, but it always complains cannot find xxx-vimsyntax.tmp and something, in both windows and unbuntu. I know it is something about mtxrun curruent version. But I still cannot fix it after I did following the posts in this mailing list. ___ 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] context minimals
Hi together unfortunately there are the doublestroke fonts missing in the context- minimals. Will bring up an ebuild by today if everything works right. so if somebody likes some help by doing so, I might explain what I did or will make the ebuild available in github. Greetings Martin 'golodhrim' Scholz ___ 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] colors without \definecolor
Hi all, I understand that in order to use a color with \color[somecolor]{colored text} I first have to \definecolor[somecolor][r=.4,g=0,b=1]. Currently I'm trying to do automated colorizing with the help of some lua code and I'd like to make up rgb vectors on the spot without having to \definecolor them first, e.g. something like \color[r=.4,g=0,b=1] {colored text}. Is there a way to achieve this in mkiv? (Right now I'm assigning new rgb values to the same color name whenever the function is called that concatenates the next \color[]{} statement. This seems a bit verbose and hacky to me.) Thanks in advance, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpmr9RKdR6JU.pgp Description: PGP signature ___ 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] colors without \definecolor
Am 04.02.10 21:41, schrieb Philipp Gesang: Hi all, I understand that in order to use a color with \color[somecolor]{colored text} I first have to \definecolor[somecolor][r=.4,g=0,b=1]. Currently I'm trying to do automated colorizing with the help of some lua code and I'd like to make up rgb vectors on the spot without having to \definecolor them first, e.g. something like \color[r=.4,g=0,b=1] {colored text}. Is there a way to achieve this in mkiv? (Right now I'm assigning new rgb values to the same color name whenever the function is called that concatenates the next \color[]{} statement. This seems a bit verbose and hacky to me.) \colored[r=...,g=...,b=...]{...} or {\colored[r=...,g=...,b=...]...} 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 ___
Re: [NTG-context] help! formulas set smaller?
Am 05.02.2010 um 00:34 schrieb Aditya Mahajan: On Thu, 4 Feb 2010, Steffen Wolfrum wrote: Hi, while I want to have my bodyfont in Times 10pt, my specs force me to set my formulas 1pt smaller: 9pt! As far as I have seen setupformulas doesn't provide setting a smaller font ... What can I do?? \definetypescript[...][mm][...][...][...][..., rscale=...,] Try for a rscale of 0.9 and measure the actual height and tweak accordingly. hm ... meanwhile, in core-mat I found: %D \startbuffer %D \startformula[9pt] x = 1 \stopformula %D \startformula[7pt] x = 1 \stopformula %D \stopbuffer %D %D \typebuffer \getbuffer So, setting a smaller formula can also be done by \startformula[9pt] ?! Steffen ___ 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 ___