* poster @ 2004-06-15 14:32 Zunbeltz 2004-06-15 15:34 ` poster Hans Hagen ` (2 more replies) 0 siblings, 3 replies; 8+ messages in thread From: Zunbeltz @ 2004-06-15 14:32 UTC (permalink / raw) Hi, I'm trying to do a scientific poster in latex and i've some problem. now i want to try it in context. I need two things 1) set a backgroud for the paper (A0 size) with gradient color 2) Deal with textblocks (like the textpos package of latex). This package makes a grid (dont printing it), for example 16x25 part (width and height). And then you can say \begin{textblock}{2}(0,3) .. \end{textbloc} This make a bloc 2 unit width in the (0,3) position. I'm quite new to context, and i don't know if it can be done. Thanks in advance Zunbeltz -- Zunbeltz Izaola Azkona (zunbeltz at wm dot lc dot ehu dot es) Materia Kondentsatuaren Fisika Saila | Zientzia eta Teknologia Fakultatea | Telf: 34 946015326 Euskal Herriko Unibertsitatea | PK 644 | Fax: 34 944648500 48080 Bilbo (SPAIN) | -- ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: poster 2004-06-15 14:32 poster Zunbeltz @ 2004-06-15 15:34 ` Hans Hagen 2004-06-15 15:35 ` poster Peter Münster 2004-06-15 15:38 ` poster Hans Hagen 2 siblings, 0 replies; 8+ messages in thread From: Hans Hagen @ 2004-06-15 15:34 UTC (permalink / raw) Zunbeltz wrote: >Hi, > >I'm trying to do a scientific poster in latex and i've some problem. now >i want to try it in context. I need two things >1) set a backgroud for the paper (A0 size) with gradient color > >2) Deal with textblocks (like the textpos package of latex). This package >makes a grid (dont printing it), for example 16x25 part (width and >height). And then you can say >\begin{textblock}{2}(0,3) >.. >\end{textbloc} > >This make a bloc 2 unit width in the (0,3) position. > >I'm quite new to context, and i don't know if it can be done. > > see metafun manual \setupcolors [state=start] \startreusableMPgraphic{gradient} circular_shade(OverlayBox,0,red,blue) ; \stopreusableMPgraphic \defineoverlay[gradient][\reuseMPgraphic{gradient}] \setupbackgrounds[page][background=gradient] \setuplayout[width=middle,height=middle,backspace=7cm] \starttext \startstandardmakeup \vfill \input ward \vfill \stopstandardmakeup \stoptext ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: poster 2004-06-15 14:32 poster Zunbeltz 2004-06-15 15:34 ` poster Hans Hagen @ 2004-06-15 15:35 ` Peter Münster 2004-06-15 15:38 ` poster Hans Hagen 2 siblings, 0 replies; 8+ messages in thread From: Peter Münster @ 2004-06-15 15:35 UTC (permalink / raw) On Tue, 15 Jun 2004, Zunbeltz wrote: > I'm trying to do a scientific poster in latex and i've some problem. now > i want to try it in context. Hello, I've done it in LaTeX, worked very well, these were my first lines: \documentclass[portrait,a0]{a0poster} \usepackage{multicol,pstricks,textpos} Should work with ConTeXt also without much problems. > I need two things > 1) set a backgroud for the paper (A0 size) with gradient color You can make the gradient at least with MetaFun or PStricks. Making backgrounds is easy with ConTeXt, see for example the mail about "draft stamp" 3 weeks ago. > 2) Deal with textblocks (like the textpos package of latex). This package > makes a grid (dont printing it), for example 16x25 part (width and > height). And then you can say > \begin{textblock}{2}(0,3) > .. > \end{textbloc} Should be possible with \position. Cheers, Peter -- http://pmrb.free.fr/contact/ _____________________________________ FilmSearch engine: http://f-s.sf.net/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: poster 2004-06-15 14:32 poster Zunbeltz 2004-06-15 15:34 ` poster Hans Hagen 2004-06-15 15:35 ` poster Peter Münster @ 2004-06-15 15:38 ` Hans Hagen 2004-06-15 18:32 ` \seeindex problem Bernd Militzer 2 siblings, 1 reply; 8+ messages in thread From: Hans Hagen @ 2004-06-15 15:38 UTC (permalink / raw) Zunbeltz wrote: >2) Deal with textblocks (like the textpos package of latex). This package >makes a grid (dont printing it), for example 16x25 part (width and >height). And then you can say >\begin{textblock}{2}(0,3) >.. >\end{textbloc} > > \setupcolors [state=start] \startreusableMPgraphic{gradient} circular_shade(OverlayBox,0,red,blue) ; \stopreusableMPgraphic \defineoverlay[gradient][\reuseMPgraphic{gradient}] \definelayer[blocks][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background={gradient,blocks}] \setuplayout[width=middle,height=middle,backspace=7cm] \starttext \startstandardmakeup \setlayerframed[blocks][preset=lefttop,offset=1cm][align=middle]{\input ward\relax} \setlayerframed[blocks][preset=rightbottom,offset=2cm][align=middle]{\input zapf\relax} \setlayerframed[blocks][preset=middle,hoffset=-3cm][align=middle]{\input knuth\relax} \stopstandardmakeup \stoptext ^ permalink raw reply [flat|nested] 8+ messages in thread
* \seeindex problem 2004-06-15 15:38 ` poster Hans Hagen @ 2004-06-15 18:32 ` Bernd Militzer 2004-06-21 15:44 ` Problem with \seeindex Bernd Militzer 0 siblings, 1 reply; 8+ messages in thread From: Bernd Militzer @ 2004-06-15 18:32 UTC (permalink / raw) Hi, when I use \seeindex{Polda}{Bu\v{s}ina, Leopold} I get the following messages: This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2004.5.18) 15 JUN 2004 20:21 entering extended mode \write18 enabled. **&cont-en seeindex_test.tex (./seeindex_test.tex{/var/lib/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2004.4.9 fmt: 2004.5.18 int: english mes: english language : language en is active <protectionstate 0> system : cont-new loaded (/usr/local/share/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! color : palette rollover is available system (E-TEX) : [line 255] system (E-TEX) : [line 310] ) system : cont-old loaded (/usr/local/share/texmf/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/share/texmf/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/var/lib/texmf/tex/context/config/cont-sys.tex) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded \openout2 = `seeindex_test.tui'. system : seeindex_test.top loaded (./seeindex_test.top) \openout0 = `mpgraph.mp'. \openout0 = `mpgraph.mp'. (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) fonts : needs map file: ec-public-lm.map fonts : needs map file: original-base.map systems : begin file seeindex_test at line 4 (./seeindex_test.tuo ! Missing number, treated as zero. <to be read again> \let \dobuildtextaccent ... \char \normalaccent #1\let \char \normalchar #2} <argument> Bu\dobuildtextaccent \char 2 0 sina, Leopold \labeltexts #1#2->\leftlabeltext {#1}#2 \rightlabeltext {#1} \doregisterpagehowto ...d #1\c!paginacommando }{#2 }\dostopattributes \limitatetext ...it \empty \normallimitatetext {#1 }\leftlimit {#3}\else \spe... ... l.45 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0} ? ! Emergency stop. <to be read again> \let \dobuildtextaccent ... \char \normalaccent #1\let \char \normalchar #2} <argument> Bu\dobuildtextaccent \char 2 0 sina, Leopold \labeltexts #1#2->\leftlabeltext {#1}#2 \rightlabeltext {#1} \doregisterpagehowto ...d #1\c!paginacommando }{#2 }\dostopattributes \limitatetext ...it \empty \normallimitatetext {#1 }\leftlimit {#3}\else \spe... ... l.45 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0} End of file on the terminal! here my testfile: % \starttext % \enableregime[windows] \mainlanguage[de] \setupencoding[default=texnansi] % Test with \type{\seeindex}\crlf \type{\seeindex{Polda}{Bu\v{s}ina, Leopold}} \blank Dr. Hodina kam \dots \index{Hodina+Franz} \seeindex{Dr. Hodina}{Hodina, Franz} \blank in Böhmen und Mähren \dots \index[Boehmen]{Böhmen} \index[Maehren]{Mähren} \blank Erv\'{i}n P\v{r}ichystal, Bauernsohn \dots \index[Prichystal]{P\v{r}ichystal+Erv\'{i}n} \blank Josef Zachar,Schmied\dots \index{Zachar+Josef}\index{\it Schmied} \seeindex{Onkel Zachar}{Zachar, Josef} \blank Leopold Bu\v{s}ina, Sohn eines Dachdeckers \dots \index[Busina]{Bu\v{s}ina+Leopold} Polda -- sein Rufname \seeindex{Polda}{Bu\v{s}ina, Leopold} % produziert Fehler!!! \blank[2*big] \placeindex % \stoptext Thanks for help Bernd ^ permalink raw reply [flat|nested] 8+ messages in thread
* Problem with \seeindex 2004-06-15 18:32 ` \seeindex problem Bernd Militzer @ 2004-06-21 15:44 ` Bernd Militzer 2004-06-21 16:20 ` Hans Hagen 0 siblings, 1 reply; 8+ messages in thread From: Bernd Militzer @ 2004-06-21 15:44 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 915 bytes --] Hi all, in a german text with a lot of czech words I get an error when using \seeindex \seeindex{Polda}{Bu\v{s}ina, Leopold} does not work! (./seeindex_test.tuo ! Missing number, treated as zero. <to be read again> \let \dobuildtextaccent ... \char \normalaccent #1\let \char \normalchar #2} <argument> Bu\dobuildtextaccent \char 2 0 sina, Leopold \labeltexts #1#2->\leftlabeltext {#1}#2 \rightlabeltext {#1} \doregisterpagehowto ...d #1\c!paginacommando }{#2 }\dostopattributes \limitatetext ...it \empty \normallimitatetext {#1 }\leftlimit {#3}\else \spe... ... l.37 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0} What do I wrong? Thanks for any help Bernd [-- Attachment #2: seeindex_test.tex --] [-- Type: text/x-tex, Size: 821 bytes --] %#ConTeXt % % \starttext % \enableregime[il1] % Eingabe-Codierung \mainlanguage[de] \setupencoding[default=texnansi] % Test with \type{\seeindex}\crlf \type{\seeindex{Polda}{Bu\v{s}ina, Leopold}} \blank Dr. Hodina kam \dots \index{Hodina+Franz} \seeindex{Dr. Hodina}{Hodina, Franz} \blank in Böhmen und Mähren \dots \index[Boehmen]{Böhmen} \index[Maehren]{Mähren} \blank Erv\'{i}n P\v{r}ichystal, Bauernsohn \dots \index[Prichystal]{P\v{r}ichystal+Erv\'{i}n} \blank Josef Zachar,Schmied\dots \index{Zachar+Josef}\index{\it Schmied} \seeindex{Onkel Zachar}{Zachar, Josef} \blank Leopold Bu\v{s}ina, Sohn eines Dachdeckers \dots \index[Busina]{Bu\v{s}ina+Leopold} Polda -- sein Rufname \seeindex{Polda}{Bu\v{s}ina, Leopold} % produziert Fehler!!! \blank[2*big] \placeindex % \stoptext % ENDE [-- Attachment #3: seeindex_test.log --] [-- Type: text/plain, Size: 3210 bytes --] This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2004.6.20) 21 JUN 2004 17:35 entering extended mode \write18 enabled. **&cont-en seeindex_test.tex (./seeindex_test.tex{/var/lib/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2004.4.9 fmt: 2004.6.20 int: english mes: english language : language en is active <protectionstate 0> system : cont-new loaded (/usr/local/share/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! color : palette rollover is available system (E-TEX) : [line 255] system (E-TEX) : [line 310] ) system : cont-old loaded (/usr/local/share/texmf/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/share/texmf/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/var/lib/texmf/tex/context/config/cont-sys.tex) bodyfont : 12pt rm is loaded language : patterns 2:2-cz-2 3:2-cz-2 4:2-en-2 5:2-uk-2 6:2-de-2 7:2-fr-2 8:2-es-2 9:2-it-2 10:2-nl-2 loaded specials : tex,postscript,rokicki loaded \openout2 = `seeindex_test.tui'. system : seeindex_test.top loaded (./seeindex_test.top) \openout0 = `mpgraph.mp'. \openout0 = `mpgraph.mp'. (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) fonts : needs map file: ec-public-lm.map fonts : needs map file: original-base.map systems : begin file seeindex_test at line 4 (./seeindex_test.tuo ! Missing number, treated as zero. <to be read again> \let \dobuildtextaccent ... \char \normalaccent #1\let \char \normalchar #2} <argument> Bu\dobuildtextaccent \char 2 0 sina, Leopold \labeltexts #1#2->\leftlabeltext {#1}#2 \rightlabeltext {#1} \doregisterpagehowto ...d #1\c!paginacommando }{#2 }\dostopattributes \limitatetext ...it \empty \normallimitatetext {#1 }\leftlimit {#3}\else \spe... ... l.37 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0} ? ) columns : balanced in 17 step(s) [1.1] systems : end file seeindex_test at line 35 ) Here is how much of TeX's memory you used: 428 strings out of 66597 6660 string characters out of 725107 4412659 words of memory out of 5507791 31628 multiletter control sequences out of 10000+50000 10453 words of font info for 35 fonts, out of 500000 for 1000 62 hyphenation exceptions out of 1000 44i,17n,49p,157b,627s stack positions out of 1500i,500n,5000p,200000b,5000s 0 PDF objects out of 300000 0 named destinations out of 131072 0 words of extra memory for PDF output out of 65536 Output written on seeindex_test.dvi (1 page, 1500 bytes). ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with \seeindex 2004-06-21 15:44 ` Problem with \seeindex Bernd Militzer @ 2004-06-21 16:20 ` Hans Hagen 2004-06-21 17:05 ` Bernd Militzer 0 siblings, 1 reply; 8+ messages in thread From: Hans Hagen @ 2004-06-21 16:20 UTC (permalink / raw) Bernd Militzer wrote: >Hi all, > >in a german text with a lot of czech words I get an error when using > > Ah .. a bug! The next also works for czech writing german -) (put this in cont-new.tex winthout the\unprotected) \unprotected \def\complexdozieregister[#1]#2#3% {\begingroup \thisisnextinternal\s!ind \ifduplicate\getlastregisterentry{#2}\fi \convertexpanded{\??id\currentregister}{#2}\asciiregisterentryA \convertexpanded{\??id\currentregister}{#3}\asciiregisterentryB \makesectionformat \edef\schrijfwegnaarregister% {\writeutility% {r s % {\currentregister} % {\nextinternalreference} % {#1} % {\asciiregisterentryA} % {\asciiregisterentryB} % {\sectionformat}}}% \schrijfwegnaarregister \endgroup \registerinfo{> zie}{#2}% \GotoPar} \starttext \setuphead[chapter][expansion=yes] \chapter{Bu\v{s}ina, Leopold} \index{Bu\v{s}ina, Leopold} does not work! \index{Polda} \seeindex{Polda}{Bu\v{s}ina, Leopold} does not work! \typefile{test.tuo} \placeindex \stoptext ----------------------------------------------------------------- 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] 8+ messages in thread
* Re: Problem with \seeindex 2004-06-21 16:20 ` Hans Hagen @ 2004-06-21 17:05 ` Bernd Militzer 0 siblings, 0 replies; 8+ messages in thread From: Bernd Militzer @ 2004-06-21 17:05 UTC (permalink / raw) Thanks for help!!! Bernd Am Mo, 2004-06-21 um 18.20 schrieb Hans Hagen: > Bernd Militzer wrote: > > >Hi all, > > > >in a german text with a lot of czech words I get an error when using > > > > > Ah .. a bug! > > The next also works for czech writing german -) > > (put this in cont-new.tex winthout the\unprotected) > > \unprotected \def\complexdozieregister[#1]#2#3% > {\begingroup > \thisisnextinternal\s!ind > \ifduplicate\getlastregisterentry{#2}\fi > \convertexpanded{\??id\currentregister}{#2}\asciiregisterentryA > \convertexpanded{\??id\currentregister}{#3}\asciiregisterentryB > \makesectionformat > \edef\schrijfwegnaarregister% > {\writeutility% > {r s % > {\currentregister} % > {\nextinternalreference} % > {#1} % > {\asciiregisterentryA} % > {\asciiregisterentryB} % > {\sectionformat}}}% > \schrijfwegnaarregister > \endgroup > \registerinfo{> zie}{#2}% > \GotoPar} > > \starttext > > \setuphead[chapter][expansion=yes] > > \chapter{Bu\v{s}ina, Leopold} > > \index{Bu\v{s}ina, Leopold} does not work! > \index{Polda} > \seeindex{Polda}{Bu\v{s}ina, Leopold} does not work! > > \typefile{test.tuo} > > \placeindex > > \stoptext > > ----------------------------------------------------------------- > 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 > ----------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-06-21 17:05 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-06-15 14:32 poster Zunbeltz 2004-06-15 15:34 ` poster Hans Hagen 2004-06-15 15:35 ` poster Peter Münster 2004-06-15 15:38 ` poster Hans Hagen 2004-06-15 18:32 ` \seeindex problem Bernd Militzer 2004-06-21 15:44 ` Problem with \seeindex Bernd Militzer 2004-06-21 16:20 ` Hans Hagen 2004-06-21 17:05 ` Bernd Militzer
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).