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) | --
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
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/
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
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
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
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 -----------------------------------------------------------------
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
participants (4)
-
Bernd Militzer
-
Hans Hagen
-
Peter Münster
-
Zunbeltz