* Re: try compiling Tex showcase source : program_sample.tex @ 2005-05-12 20:45 olivier Turlier 2005-05-12 21:55 ` Hans Hagen 2005-07-17 16:47 ` Christopher Creutzig 0 siblings, 2 replies; 5+ messages in thread From: olivier Turlier @ 2005-05-12 20:45 UTC (permalink / raw) Christopher Creutzig wrote: >> olivier Turlier wrote: >> > >>>> I've tryed to compile whithout success. > >> >> >> The files are deliberately incomplete. ...generate the output, is more than a simple texexec. :-) >> >> >> Regards, >> Christopher Hi Christopher, I was trying to compile Program-sample.tex because I find the transparent white frame over the grey background very nice to see for a pure electronic pdf. In the same range, the vit Zyka font demo catalog (http://typokvitek.com/stormcontext/) push hard the limit of those transparent overlays that I'm still in quest to reproduce. Salutations -- Olivier TURLIER ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: try compiling Tex showcase source : program_sample.tex 2005-05-12 20:45 try compiling Tex showcase source : program_sample.tex olivier Turlier @ 2005-05-12 21:55 ` Hans Hagen 2005-05-16 17:23 ` Vit Zyka 2005-07-17 16:47 ` Christopher Creutzig 1 sibling, 1 reply; 5+ messages in thread From: Hans Hagen @ 2005-05-12 21:55 UTC (permalink / raw) olivier Turlier wrote: > Christopher Creutzig wrote: > > >> olivier Turlier wrote: > >> > > > >>>> I've tryed to compile whithout success. > > > >> > >> > >> The files are deliberately incomplete. ...generate the output, is > more than a simple texexec. :-) > >> > >> > >> Regards, > >> Christopher > > Hi Christopher, > I was trying to compile Program-sample.tex because I find the > transparent white frame over the grey background very nice to see for a > pure electronic pdf. In the same range, the vit Zyka font demo catalog interesting document (maybe there should be a copy on the wiki) > (http://typokvitek.com/stormcontext/) push hard the limit of those > transparent overlays that I'm still in quest to reproduce. not sure what you mean here ... the demo shows up ok here; (maybe it will look slightly better if the big two-chars are behind the text) ; the main thing to keep into mind with transparencies is that some versions of the reader mess up anti aliasing when transparencies are involved; i took a quick look in the style -) \expandafter\processcommalist\expandafter[\glyphset]\doglyph ==> processcommacommand[\glyphset]\doglyph \expandafter\switchtobodyfont\expandafter[\the\bigInitSize]#1}% ==> \expanded{\switchtobodyfont[\the\bigInitSize]} actually i think that the expanded is not even needed here (best to use UpperCaseNames in order to prevent clashes) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: try compiling Tex showcase source : program_sample.tex 2005-05-12 21:55 ` Hans Hagen @ 2005-05-16 17:23 ` Vit Zyka 0 siblings, 0 replies; 5+ messages in thread From: Vit Zyka @ 2005-05-16 17:23 UTC (permalink / raw) Hans Hagen wrote: > olivier Turlier wrote: >> I was trying to compile Program-sample.tex because I find the >> transparent white frame over the grey background very nice to see for a >> pure electronic pdf. In the same range, the vit Zyka font demo catalog > > interesting document (maybe there should be a copy on the wiki) Thanks to Patrick it is already on wiki: http://modules.contextgarden.net/stormfontsupport There is also source code for the catalogue: http://dl.contextgarden.net/modules/stormfontsupport/stormcontext-cat.zip vit P.S. Sorry for a delay I was several days off. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: try compiling Tex showcase source : program_sample.tex 2005-05-12 20:45 try compiling Tex showcase source : program_sample.tex olivier Turlier 2005-05-12 21:55 ` Hans Hagen @ 2005-07-17 16:47 ` Christopher Creutzig 2005-07-17 22:35 ` Hans Hagen 1 sibling, 1 reply; 5+ messages in thread From: Christopher Creutzig @ 2005-07-17 16:47 UTC (permalink / raw) olivier Turlier wrote: > I was trying to compile Program-sample.tex because I find the > transparent white frame over the grey background very nice to see for a > pure electronic pdf. In the same range, the vit Zyka font demo catalog Sorry for not answering for such a long time. Please try the following code: \setupcolors[state=start] \startuseMPgraphic{bgnd} StartPage; linear_shade(llcorner Page -- urcorner Page -- ulcorner Page -- cycle, 2, 0.2[red,green], 0.8[red,green]); linear_shade(llcorner Page -- lrcorner Page -- urcorner Page -- cycle, 2, 0.2[green,red], 0.8[green, red]); BoundPageAreas; \stopuseMPgraphic \defineoverlay[bgnd][\useMPgraphic{bgnd}] \setupbackgrounds[page][background=bgnd] \startuseMPgraphic{brighten} StartPage; fill Field[Text][Text] enlarged 2pt withcolor transparent(1, 0.5, white); BoundPageAreas; \stopuseMPgraphic \defineoverlay[brighten][\useMPgraphic{brighten}] \setupbackgrounds[text][background=brighten,backgroundoffset=2pt] \starttext \input tufte \stoptext I'm getting a displaced background this way (leaving the backgroundoffset out does not help), but I'm sure someone will be able to tell us the secret incantation to fix that. Strange thing is – I had tried that a while ago and the transparency was simply lost. (Right now, the numbers must be different depending on whether you put the thing in front of an MP graphic or in front of a plain color background.) If that happens to you, try putting both graphics into the same stack of backgrounds, as in \setupbackgrounds[page][background={bgnd,brighten}] As a last resort, you could of course join the code into one MP graphic. Christopher ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: try compiling Tex showcase source : program_sample.tex 2005-07-17 16:47 ` Christopher Creutzig @ 2005-07-17 22:35 ` Hans Hagen 0 siblings, 0 replies; 5+ messages in thread From: Hans Hagen @ 2005-07-17 22:35 UTC (permalink / raw) Christopher Creutzig wrote: > olivier Turlier wrote: > >> I was trying to compile Program-sample.tex because I find the >> transparent white frame over the grey background very nice to see for a >> pure electronic pdf. In the same range, the vit Zyka font demo catalog > > > Sorry for not answering for such a long time. Please try the > following code: > > > \setupcolors[state=start] > > \startuseMPgraphic{bgnd} > StartPage; > linear_shade(llcorner Page -- urcorner Page > -- ulcorner Page -- cycle, 2, > 0.2[red,green], 0.8[red,green]); > linear_shade(llcorner Page -- lrcorner Page > -- urcorner Page -- cycle, 2, > 0.2[green,red], 0.8[green, red]); > BoundPageAreas; > \stopuseMPgraphic > > \defineoverlay[bgnd][\useMPgraphic{bgnd}] > \setupbackgrounds[page][background=bgnd] > > \startuseMPgraphic{brighten} > StartPage; > fill Field[Text][Text] enlarged 2pt > withcolor transparent(1, 0.5, white); > BoundPageAreas; > \stopuseMPgraphic > > \defineoverlay[brighten][\useMPgraphic{brighten}] > > \setupbackgrounds[text][background=brighten,backgroundoffset=2pt] > > \starttext > > \input tufte > > \stoptext > > > I'm getting a displaced background this way (leaving the > backgroundoffset out does not help), but I'm sure someone will be able > to tell us the secret incantation to fix that. That's because you operate on a page (btw, it's StartPage ... StopPage); In this case you can better use: \startuseMPgraphic{brighten} fill OverlayBox enlarged 2pt withcolor transparent(1, 0.5, white); \stopuseMPgraphic ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-07-17 22:35 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-05-12 20:45 try compiling Tex showcase source : program_sample.tex olivier Turlier 2005-05-12 21:55 ` Hans Hagen 2005-05-16 17:23 ` Vit Zyka 2005-07-17 16:47 ` Christopher Creutzig 2005-07-17 22:35 ` Hans Hagen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).