Re: [NTG-context] Multiple pleas for help (long)
Am 07.06.10 02:03, schrieb Scott Steele: > In Latex, \fancybreak was part of a package called, I believe, > fancyheader or fancypage. It produced a break frequently seen in > published prose (I'm currently reading {\em Bluebeard} where Kurt > Vonnegut uses it liberally) with significant vertical space between > two paragraphs and, centered both in that vertical space as well as > horizontally, a number of well-spaced marks. There are usually 3 > marks, and they are frequently asterisks or traditional > dingbats/fleurons. This sort of break is generally used when the > author wishes to indicate a break more significant than a change in > paragraph but short of an outright new chapter. \unprotect [...] \protect \starttext \input knuth \fancybreak{$* * *$} \input ward \stoptext Wolfgang Thanks a lot for all of that! I'm having trouble getting it to run, though. I tried copy/pasting it into the Context Live site but get I wrote now a module for this, you can download it from here: http://bitbucket.org/wolfs/fancybreak 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] blurred shadow on images?
I'd like to place some plain photos rotated (say 12°) and with a blurred shadow above some colored elements, i.e. the shadow must use transparency. I guess I could get such using ImageMagick, but is there a possibility using ConTeXt or one of its favourite friends? I'd prefer a solution that works with CMYK data. If there isn't - is the transparency of PNG usable? Since all of the pictures will have almost the same size, I could probably also use the shadow as a single PDF picture and place that behind with a small offset. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] \writetolist fails in footnotes when interaction is on
\setupinteraction[state=start,color=,contrastcolor=,option=fit] \definelabel[demonum][text=,before=,after=,way=bytext] \definelist[demos] \setuplist[demos][interaction=all,alternative=b,after=] \starttext \footnote{\writetolist[demos]{\nextdemonum}{demo title}} \stoptext Is there a way around this? ___ 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] blurred shadow on images?
Henning Hraban Ramm wrote: I'd like to place some plain photos rotated (say 12°) and with a blurred shadow above some colored elements, i.e. the shadow must use transparency. I guess I could get such using ImageMagick, but is there a possibility using ConTeXt or one of its favourite friends? I'd prefer a solution that works with CMYK data. Creating a semi-transparent backdrop with metapost is quite simple, but I am not sure whether that works with cmyk, you'll have to try yourself. Code goes something like this: \startuniqueMPgraphic{texthole} for dx = 0 upto 40: dy := dx; wa := 10 + dx; wb := \overlaywidth - dx - 10; ha := dy + 10; hb := \overlayheight - dy - 10; fill (wa,ha)--(wb,ha)--(wb,hb)--(wa,hb)--cycle withcolor transparent("normal", .04,white); endfor; \stopuniqueMPgraphic If there isn't - is the transparency of PNG usable? Sure, and may use less resources than mp drawings, but that is definitely RGB Best wishes, Taco ___ 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 ___