From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24768 Path: news.gmane.org!not-for-mail From: Fabio Mancinelli Newsgroups: gmane.comp.tex.context Subject: Weird things... Date: Tue, 27 Dec 2005 18:07:03 +0100 Message-ID: <43B174B7.1080905@di.univaq.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060206090907060507010106" X-Trace: sea.gmane.org 1135703123 13715 80.91.229.2 (27 Dec 2005 17:05:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Dec 2005 17:05:23 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 27 18:05:19 2005 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 1ErIG8-0004AX-B4 for gctc-ntg-context-518@m.gmane.org; Tue, 27 Dec 2005 18:05:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2C212127E1; Tue, 27 Dec 2005 18:05:11 +0100 (CET) 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 17233-02; Tue, 27 Dec 2005 18:05:05 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CC16D127B6; Tue, 27 Dec 2005 18:05:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64101127B6 for ; Tue, 27 Dec 2005 18:05:04 +0100 (CET) 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 17170-04 for ; Tue, 27 Dec 2005 18:05:03 +0100 (CET) Original-Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by ronja.ntg.nl (Postfix) with ESMTP id 2343B12791 for ; Tue, 27 Dec 2005 18:05:02 +0100 (CET) Original-Received: from hydrogene.pps.jussieu.fr (hydrogene.pps.jussieu.fr [134.157.168.1]) by shiva.jussieu.fr (8.13.5/jtpda-5.4) with ESMTP id jBRH4w1M099500 for ; Tue, 27 Dec 2005 18:05:02 +0100 (CET) X-Ids: 165 Original-Received: from [134.157.168.99] (einsteinium.pps.jussieu.fr [134.157.168.99]) by hydrogene.pps.jussieu.fr (8.13.4/jtpda-5.4) with ESMTP id jBRH4u4h030542 for ; Tue, 27 Dec 2005 18:04:57 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050930) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.7.2 (shiva.jussieu.fr [134.157.0.165]); Tue, 27 Dec 2005 18:05:02 +0100 (CET) X-Antivirus: scanned by sophie at shiva.jussieu.fr X-Miltered: at shiva.jussieu.fr with ID 43B1743A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:24768 Archived-At: This is a multi-part message in MIME format. --------------060206090907060507010106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi all... I would like to report a weird behavior when compiling the attached tex file... If I put the background layer definitions before the columnset definitions everything works well. \useexternalfigure[test][buttons][frame=true] \definelayer[graphics][x=0.5cm,y=2cm,width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=graphics] \definelayerpreset[lefttop][corner={left,top},location={right,bottom}] \setlayer[graphics][preset=lefttop]{\externalfigure[test]} \definecolumnset[threecolumns][n=3,distance=12pt] \definecolumnsetspan[spantwo][n=2] \definecolumnsetspan[spanthree][n=3] \definecolumnsethsize{threecolumns}{1}{1}\OneColumn \definecolumnsethsize{threecolumns}{1}{2}\TwoColumns \definecolumnsethsize{threecolumns}{1}{3}\ThreeColumns If I put them after then I get an "ERROR: Bad character code (648)" \definecolumnset[threecolumns][n=3,distance=12pt] \definecolumnsetspan[spantwo][n=2] \definecolumnsetspan[spanthree][n=3] \definecolumnsethsize{threecolumns}{1}{1}\OneColumn \definecolumnsethsize{threecolumns}{1}{2}\TwoColumns \definecolumnsethsize{threecolumns}{1}{3}\ThreeColumns \useexternalfigure[test][buttons][frame=true] \definelayer[graphics][x=0.5cm,y=2cm,width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=graphics] \definelayerpreset[lefttop][corner={left,top},location={right,bottom}] \setlayer[graphics][preset=lefttop]{\externalfigure[test]} I have spent one hour trying to figure out what was wrong with my file and only by hasard, after having done some experiments, I put the things in the "working" order. Why this happens? See you, Fabio --------------060206090907060507010106 Content-Type: text/x-tex; name="style.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="style.tex" \setupoutput[pdftex] \usetypescriptfile[type-zapfhumanist] \usetypescript[map][zapfhumanist][\defaultencoding] \usetypescript[zapfhumanist][\defaultencoding] \setupbodyfont[zapfhumanist,sans, 10pt] \definefont[SectionHeaderFont][ZapfHumanist-Bold at 14pt] \definefont[SubSectionHeaderFont][ZapfHumanist-Bold at 12pt] \definefont[SubSubSectionHeaderFont][ZapfHumanist-Bold at 10pt] \setuplayout[ width=middle, height=middle, grid=yes, topspace=1cm, bottomspace=1cm, header=1cm, footer=1cm, backspace=1cm, ] \setuphead[section][ style=\SectionHeaderFont, grid={line,4pt}, before=\blank, after=\blank, ] \setuphead[subsection][ style=\SubSectionHeaderFont, grid={line,-4pt}, before=\blank, after=, ] \def\runin#1#2{#2.} \setuphead[subsubsection][ style=\SubSubSectionHeaderFont, command=\runin, alternative=text, ] \setuptolerance[strict] \setupheadertexts[{\sl XNemesis.org Research and Development}][{\sl The vault}] \setuppagenumbering[location=bottom] \useexternalfigure[test][buttons][frame=true] \definelayer[graphics][x=0.5cm,y=2cm,width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=graphics] \definelayerpreset[lefttop][corner={left,top},location={right,bottom}] \setlayer[graphics][preset=lefttop]{\externalfigure[test]} \definecolumnset[threecolumns][n=3,distance=12pt] \definecolumnsetspan[spantwo][n=2] \definecolumnsetspan[spanthree][n=3] \definecolumnsethsize{threecolumns}{1}{1}\OneColumn \definecolumnsethsize{threecolumns}{1}{2}\TwoColumns \definecolumnsethsize{threecolumns}{1}{3}\ThreeColumns \starttext \startcolumnset[threecolumns] \startcolumnsetspan[spantwo] \bgroup \switchtobodyfont[32pt] {\par\noindent\bf Title very long spanning two lines} \switchtobodyfont[20pt] {\par\noindent\bi Subtitle} \blank[small] \switchtobodyfont[10pt] {\par\noindent\bi Fabio Mancinelli $<$fm@fabiomancinelli.org$>$} \blank[2*big] \egroup \stopcolumnsetspan {\bf Abstract}\par AbstractHere fdshfjdskf hjdskf hskjd fhskjd fhskjd fhkjdsf hkjds hfkjds fhksjd fhskjd fhkjds fhkjdsf hk \blank {\bf Keywords:} Keywords here \dorecurse{5}{ \section{Section} \input text \subsection{Section} \input text \placefigure{Simple figure}{\externalfigure[test][width=\OneColumn]} \subsubsection{Section} \input text } \stopcolumnset \stoptext %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: --------------060206090907060507010106 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 --------------060206090907060507010106--