From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30847 Path: news.gmane.org!not-for-mail From: batela Newsgroups: gmane.comp.tex.context Subject: Re: Templates and official documents Date: Fri, 15 Sep 2006 23:08:52 +0100 Message-ID: References: <4500973E.27413.2375A12@wwl.musensturm.de> <20060915130506.4265a5a3.schuster.wolfgang@googlemail.com> <450ACE10.1090503@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v624) Content-Type: multipart/mixed; boundary=Apple-Mail-1--337693790 X-Trace: sea.gmane.org 1158358158 23867 80.91.229.2 (15 Sep 2006 22:09:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Sep 2006 22:09:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 16 00:09:14 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GOLs0-0002pi-Jo for gctc-ntg-context-518@m.gmane.org; Sat, 16 Sep 2006 00:09:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 266ED1FE7B; Sat, 16 Sep 2006 00:09:12 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21302-03-3; Sat, 16 Sep 2006 00:09:05 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2CCDA1FE71; Sat, 16 Sep 2006 00:09:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E1C531FE71 for ; Sat, 16 Sep 2006 00:09:03 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21302-03-2 for ; Sat, 16 Sep 2006 00:09:02 +0200 (CEST) Original-Received: from smtp200.oninetspeed.pt (smtp200.oninetspeed.pt [195.245.128.200]) by ronja.ntg.nl (Postfix) with SMTP id E50041FE70 for ; Sat, 16 Sep 2006 00:09:01 +0200 (CEST) Original-Received: from [213.146.201.18] ([213.146.201.18]) by smtp200.oninetspeed.pt with Microsoft SMTPSVC(6.0.3790.1830); Fri, 15 Sep 2006 23:08:59 +0100 In-Reply-To: <450ACE10.1090503@boede.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.624) X-OriginalArrivalTime: 15 Sep 2006 22:08:59.0413 (UTC) FILETIME=[8B77D450:01C6D913] X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:30847 Archived-At: --Apple-Mail-1--337693790 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi Willi Tanks a lot for your suggestions, but I need some additional assistance. With the code in attach my final document have 4 pages, but I need to fit all information in only 2 pages. In each page I need to include the logo, the unit name, the school name, the table, the teacher name and the date. If the table is to large, then the table will be splited. I have an additional question for you: are there a way to amplified the interline space only in the columns 3,4 and 5 of the table? --Apple-Mail-1--337693790 Content-Transfer-Encoding: quoted-printable Content-Type: application/x-tex; x-mac-type=54455854; x-unix-mode=0644; x-mac-creator=69544D78; name="plano9medio.tex" Content-Disposition: attachment; filename=plano9medio.tex \language[pt]=0A\enableregime[latin11]=0A\loadmapfile[context-base]=0A= \setupcolors[state=3Dstart]=0A\definelogo[Schoollogo]=0A=20=20=20=20= [top]=0A=20=20=20=20[leftmargin]=0A= [command=3D{\framedtext[width=3D\marginwidth,background=3Dcolor,background= color=3Dred]{School=20=0Alogo}},state=3Dstart]=0A=0A=0A\definefont=20= [PrimeiraColuna][Serif=20at=209pt]=0A\definefont=20= [PrimeiraLinha][SerifBold=20at=2010pt]=0A%\usetypescript=20[serif]=20= [hanging]=20[thanh]=0A%\setupencoding=20[default=3Dtexnansi]=0A= %\setupbodyfont=20[cmr,11pt]=0A\setupalign=20[hanging]=0A= \setuppapersize[A4,landscape][A4,landscape]=0A=0A\setuplayout=0A=20=20=20= =20[tospace=20=3D=202cm,=0A=20=20=20=20backspace=3D2.5cm,=0A=20=20=20=20= headerdistance=3D3\bodyfontsize,=0A=20=20=20=20margin=3D2cm,=0A=20=20=20=20= width=3Dfit]=0A=0A=0A=0A= \setupTABLE[r][first][style=3D\PrimeiraLinha,bottomframe=3Don,rulethicknes= s=3D.05em]=0A= \setupTABLE[column][1][style=3D\PrimeiraColuna,align=3D{right,lohi},width=3D= 6cm]=0A\setupTABLE[column][2][align=3D{lohi},=20width=3D5.5cm]=0A= \setupTABLE[column][3][align=3D{lohi},=20width=3D5cm]=0A= \setupTABLE[column][4,5][width=3D3.0cm,=20align=3D{middle,=20middle}]=0A= \setupTABLE[column][6][width=3D3cm,=20align=3D{middle,=20middle}]=0A=0A= \startbuffer[cabeca]=0A\bTABLEhead=0A\bTR=20= \bTD[style=3D\bf,align=3D{middle,=20middle}]=20COMPET=CANCIAS=20(o=20= aluno=20deve=20se=20capaz=20de:)=20=20\eTD=0A=20= \bTD[style=3D\bf,align=3D{middle,=20middle}]=20CONTE=DADOS=20= PROGRAM=C1TICOS=20=20\eTD=20=0A=20\bTD[style=3D\bf,align=3D{middle,=20= middle}]=20METODOLOGIAS/SITUA=C7=D5ES=20DE=20APRENDIZAGEM=20=20\eTD=20=0A= =20=20\bTD[style=3D\bf,align=3D{middle,=20middle}]=20RECURSOS=20= DID=C1CTICOS=20=20\eTD=20=0A=20=20=20\bTD[style=3D\bf,align=3D{middle,=20= middle}]=20AVALIA=C7=C3O/=20INSTRUMENTOS=20=20\eTD=20=0A=20= \bTD[style=3D\bf,align=3D{middle,=20middle}]=20N=20DE=20AULAS=20= PREVISTAS=20=0A=20=20\eTD=20=20\eTR=0A=20=20\eTABLEhead=0A=20=20= \stopbuffer=0A=0A\setupheadertexts[\hfill{\bfa=20Agrupamento=20de=20= Escolas=20do=20Concelho=20de=20AlF=E2ndega=20da=20F=E9}\hfill]=0A= \starttext=0A%\showframe=0A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%=0A=0A= \placelogos=0A\startalignment[middle]=0A=20=20=20=20\cap{UNIDADE=20= DID=C1CTICA}:=20=20Sustentabilidade=20na=20Terra=20(Reac=E7=F5es=20= Qu=EDmicas)=20=0A\stopalignment=0A=0A=0A=0A= %\framed[location=3Dmiddle,align=3Dcenter]{=0A\startalignment[center]=0A= \dontleavehmode=0A\bTABLE[frame=3Don,=20= split=3Drepeat,rulethickness=3D.05em]=0A\getbuffer[cabeca]=0A\bTABLEbody=0A= \bTR\bTD=0A\startitemize[packed]=0A\item=20=20Refere=20que=20h=E1=20= raz=F5es=20hist=F3ricas=20para=20a=20conven=E7=E3o=20universal=20dos=20= s=EDmbolos=20qu=EDmicos=20=0A\item=20Indica=20s=EDmbolos=20de=20um=20= conjunto=20representativo=20=0A\item=20Indicar=20f=F3rmulas=20de=20= algumas=20mol=E9culas=20=0A\item=20Reconhecer=20que=20as=20formulas=20= das=20mol=E9culas=20s=E3o=20utilizadas=20como=20f=F3rmulas=20=0Aqu=EDmicas= =20das=20subst=E2ncias=0A=20\item=20Representar=20as=20mol=E9culas=20= como=20=0Aassocia=E7=E3o=20de=20=E1tomos=20esf=E9ricos=20=0A\item=20= Inferir=20que=20h=E1=20subst=E2ncias=20constitu=EDdas=20por=20=E1tomos=20= todos=20iguais=20e=20subst=E2ncias=20=0Aconstitu=EDdas=20por=20=E1tomos=20= diferentes=20=0A\item=20Reconhecer=20que=20h=E1=20subst=E2ncias=20cujas=20= unidades=20estruturais=20t=EAm=20carga=20el=E9ctrica=20=0A\item=20= Reconhecer=20que=20h=E1=20i=F5es=20com=20carga=20=0Apositiva=20e=20com=20= carga=20negativa=20=0A\item=20Indica=20a=20f=F3rmula=20qu=EDmica=20de=20=0A= compostos=20i=F3nicos=20a=20partir=20de=20uma=20tabela=20=0Ade=20= s=EDmbolos=20e=20f=F3rmulas=20de=20i=F5es=20=0A\stopitemize=0A\eTD\bTD=0A= =0AReac=E7=F5es=20Qu=EDmicas:=0A\startitemize[packed]=0A=20\item=20=20= S=EDmbolos=20e=20formulas=20qu=EDmicas=20=0A\item=20=20Subst=E2ncias=20= elementares=20e=20compostas=20=0A\item=20=20I=F5es=20=0A\stopitemize=0A=0A= \eTD\bTD=0AUsar=20e=20interpretar=20a=20linguagem=20da=20f=EDsica=20e=20= da=20qu=EDmica=20Interpretar=20o=20significado=20de=20s=EDmbolos=20=20e=20= sinais=20de=20perigo=20de=20car=E1cter=20universal=20=0AApoiar=20o=20= aluno=20na=20escolha=20de=20=0Alinguagem=20que=20melhor=20se=20adequam=20= com=20os=20seus=20interesses=20=0A\eTD\bTD=0ALivro=20=20Acetatos=20= Modelos=20moleculares=20=0AMaterial=20de=20Laborat=F3rio=20=0A\eTD\bTD=0A= Fichas=20de=20avalia=E7=E3o=20=0AFichas=20de=20trabalho=20Grelhas=20de=20= observa=E7=E3o=20=0ARelat=F3rios=20das=20aulas=20pr=E1ticas=20=0A= \eTD\bTD=0A2=0A\eTD=0A\eTR=0A\eTABLEbody=0A\eTABLE=0A\stopalignment=0A= \starttabulate[|l|lw(5cm)|l|]=0A\NC=20Teacher=20name\EQ=20\NC=20= Date\EQ\NR=0A\stoptabulate=0A%%%%%%%%%%%%%%%=0A\startalignment[middle]=0A= =20=20=20=20\cap{UNIDADE=20DID=C1CTICA}:=20=20Sustentabilidade=20na=20= Terra=20(Mudan=E7a=20Global=20=20e=20Gest=E3o=20=20Sustent=E1vel=20de=20= Recursos)=20=0A\stopalignment=0A=0A=20=0A=0A= \bTABLE[frame=3Don,width=3Dbroad,split=3Drepeat,rulethickness=3D.1em]=0A=0A= \getbuffer[cabeca]=0A=0A\bTABLEbody=0A=0A\bTR\bTD=0A=0AReconhece=20a=20= import=E2ncia=20da=20previs=E3o=20do=20tempo=20para=20a=20sociedade=20e=20= para=20a=20preven=E7=E3o=20de=20cat=E1strofes\item=20=20Conhece=20as=20= diferentes=20camadas=20da=20=0Aatmosfera:=0A\startitemize[packed]=0A= \item=20=20Indicar=20a=20composi=E7=E3o=20da=20atmosfera=20=20=0A\item=20= Reconhece=20que=20a=20temperatura=20=E9=20um=20=0Afactor=20importante=20= para=20a=20previs=E3o=20do=20tempo=20=0A\item=20=20Localiza=20= isitermicas=0A\item=20=20Explica=20em=20que=20consiste=20a=20humidade=20= relativa=20e=20a=20humidade=20absoluta=0A\item=20Compreende=20o=20= conceito=20de=20press=E3o=20atmosf=E9rica=20=0A\item=20Interpreta=20= aexisat=EAncia=20de=20altas=20e=20=0Abaixas=20press=F5es=20em=20fun=E7=E3o= =20das=20correntes=20=0Adeconvec=E7=E3o=20=0A\item=20Localiza=20= is=F3baras,=20centros=20dealta=20s=20e=20=0Abaixas=20press=F5es,=20de=20= forma=20a=20=0Acompreender=20um=20boletim=20metereol=F3gico=20=0A\item=20= Compreende=20que=20as=20diferen=E7as=20de=20=0Apress=E3o=20provocam=20os=20= ventos=20=0A\item=20Diferencia=20nas=20cartas=20de=20tempo=20as=20=0A= frentes=20fria,=20quente=20e=20oclusa=20=0A\stopitemize=0A=0A\eTD\bTD=0A= Mudan=E7a=20Global=0A\startitemize[packed]=20=0A\item=20Previs=E3o=20e=20= descri=E7=E3o=20do=20tempo=20atmosf=E9rico=0A\item=20=20A=20atmosfera=20= terrestre=20=0A\item=20Factores=20que=20afectam=20o=20clima=20=0A= \startitemize[packed]=0A\item=20=20Temperatura=20=0A\item=20Humidade=20= do=20ar=20=20=0A\item=20Press=E3o=20atmosf=E9rica=20=20=20=0A\item=20= Ventos=20=0A\stopitemize=0A\stopitemize=0A\eTD\bTD=0ADesenvolver=20os=20= conte=FAdos=20a=20=0Apartir=20de=20situa=E7=F5es=20problema=20=0A= Confrontar=20os=20alunos=20com=20=0Afen=F3menos=20do=20dia=20a=20dia=20=0A= Discutir=20poss=EDveis=20solu=E7=F5es=20para=20o=20problema=20=0APropor=20= problemas=20que=20exijam=20pesquisa=20de=20meios=20de=20resolu=E7=E3o,=20= reflex=E3o=20e=20descoberta=20=0A\eTD\bTD=0AV=EDdeos=20=0ANot=EDcias=20= de=20Jornais=20=0A\eTD\bTD=0A=0A=0AFichas=20de=20avalia=E7=E3o=20Fichas=20= de=20trabalho=20=0AGrelha=20de=20observa=E7=E3o=20=0A=0A\eTD\bTD=0A6=0A= \eTD=0A\eTR=0A\eTABLEbody=0A\eTABLE=0A%%%%%%%%%%%%%%%%%%%%%%%=0A=0A=0A= \stoptext= --Apple-Mail-1--337693790 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Thanks alot Jorge Em 15/09/2006, =E0s 5:00, Willi Egger escreveu: > Hi Jorge, > > May be you want much more, but based on your information you could do > something like this: > > setuppapersize[A4,landscape][A4,landscape] > \setupcolors[state=3Dstart] > > \setuplayout > [tospace =3D 2cm, > backspace=3D2.5cm, > headerdistance=3D3\bodyfontsize, > margin=3D2cm, > width=3Dfit] > > \definelogo[Schoollogo] > [top] > [leftmargin] > > = [command=3D{\framedtext[width=3D\marginwidth,background=3Dcolor,background= col=20 > or=3Dred]{School > logo}},state=3Dstart] > > \setupheadertexts[\hfill{\bfa This is our School Name}\hfill] > > \starttext > \placelogos > \startalignment[middle] > \cap{unit}: (changing each page) > \stopalignment > \blank > > \bTABLE > \setupTABLE[column][1][width=3D.9\textwidth] > \bTR > \bTD a table with several columns and several rows \eTD > \eTR > \dorecurse{10}{\bTR \bTD more rows \eTD \eTR} > \eTABLE > \vfill > \starttabulate[|l|lw(5cm)|l|] > \NC Teacher name\EQ \NC Date\EQ\NR > \stoptabulate > \stoptext > > > Willi > > batela wrote: >> Dear Sirs >> >> I'm a teacher in a secondary school and I need to prepare some >> planifications for my class. Until now Word can do the job but I'm >> think that ConTexT can do better. The scheme of the layout of my >> document is: >> >> = |---------------------------------------------------------------------=20= >> -- >> - | >> | logo School Name >> | >> | >> | >> | UNIT: (changing in each page) = =20 >> | >> | >> | >> | |-----------------------------------------------------------| >> | >> | | a table with several coluns | >> | >> | | and several rows >> | | >> | |-----------------------------------------------------------| >> | >> | >> | >> | Teacher name: Date: >> | >> |_________________________________________| >> >> >> The paper are in landscape orientation and in each page I need to >> represent several elements, like: logo, school name, space for the =20= >> unit >> designation, teacher name, date and signatures. >> >> My main question is: is there any way to prepare this kind of =20 >> documents >> in Context? Examples are welcome. >> >> Thanks a lot >> >> Have a nice day >> >> jorge >> >> _______________________________________________ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context >> > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > Um Abra=E7o, Jorge Magalh=E3es --Apple-Mail-1--337693790 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --Apple-Mail-1--337693790--