From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36622 Path: news.gmane.org!not-for-mail From: Andrea Valle Newsgroups: gmane.comp.tex.context Subject: Re: XeTeX patch Date: Sun, 16 Sep 2007 14:29:05 +0200 Message-ID: <37AE9731-02F2-45B1-BD58-2CE46760F6A8@di.unito.it> References: <6faad9f00709160258l6d3ffe15o320fab7a188e3c42@mail.gmail.com> <6faad9f00709160306u1b3fed78o41ad609b19b863fa@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: multipart/mixed; boundary="===============0387294445==" X-Trace: sea.gmane.org 1189945800 9441 80.91.229.12 (16 Sep 2007 12:30:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2007 12:30:00 +0000 (UTC) To: Mojca Miklavec , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 16 14:29:58 2007 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 lo.gmane.org with esmtp (Exim 4.50) id 1IWtG4-0003Wg-9N for gctc-ntg-context-518@m.gmane.org; Sun, 16 Sep 2007 14:29:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2338C20258; Sun, 16 Sep 2007 14:29:51 +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 22730-05-3; Sun, 16 Sep 2007 14:29:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2740520237; Sun, 16 Sep 2007 14:29:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 78BC320234 for ; Sun, 16 Sep 2007 14:29:31 +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 22730-05-2 for ; Sun, 16 Sep 2007 14:29:24 +0200 (CEST) Original-Received: from pianeta.di.unito.it (pianeta.di.unito.it [130.192.156.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2EE2D20237 for ; Sun, 16 Sep 2007 14:29:23 +0200 (CEST) Original-Received: from [192.168.1.2] (d83-184-26-160.cust.tele2.it [83.184.26.160]) by pianeta.di.unito.it (INFO-DIP) with ESMTP id l8GCTAfS007836 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO userCertificateDN= AuthenticatedUser=valle ); Sun, 16 Sep 2007 14:29:11 +0200 (MEST) In-Reply-To: <6faad9f00709160306u1b3fed78o41ad609b19b863fa@mail.gmail.com> X-Mailer: Apple Mail (2.752.3) X-dipinfo-MailScanner-Information: Please contact Department of Computer Science technical staff for more information X-AntiVirus: Scanned for viruses by VirusFinder @2001-tecnici@di.unito.it - Email Clean X-SpamCheck: not spam, SpamAssassin (score=-100.652, required 3.5, autolearn=not spam, AUTHENTICATEDUSER -100.00, BAYES_00 -2.60, HTML_MESSAGE 0.00, RCVD_IN_NJABL_DUL 1.95) X-MailScanner-From: valle@di.unito.it X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:36622 Archived-At: --===============0387294445== Content-Type: multipart/alternative; boundary=Apple-Mail-110--962335417 --Apple-Mail-110--962335417 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Really thanks a lot Mojca for the help. I replaced the two files, I found two copies of font-ini.tex and =20 replaced them all. Then: texexec --make --all texexec --make --all --xetex (I guess the first is useless if I execute the second, isn't it?) YES! Alleluja, alleluja, it works, no complaining, with the test file: %\enableregime[utf] \setuppapersize[S6][S6] %\setupbodyfont[ss, 12pt] \definetypeface[Optima][rm][Xserif][Optima] \setupbodyfont[Optima] \starttext \startitemize \item nome dell'insegnamento (es. $\to$ Storia del cinema) \item settore scientifico-disciplinare (SSD, es. $\to$ l-art/06) \item numero di crediti (cfu, es. $\to$ 10) \stopitemize La votazione =E8 irrilevante. Queste informazioni vanno inserite in un =20= file di testo in una forma simile: \stoptext And works also with my photobook which now compiles exactly like this: http://www.cirma.unito.it/research/alternando/photo/photoBookX.pdf \setuppapersize[S6][S6] \setuppagenumber[state=3Dstop] \define[1]\Capt{{\darkred \switchtobodyfont[8pt] #1}} \definetypeface[Optima][rm][Xserif][Optima] \definetypeface[Skia][rm][Xserif][Skia] \setupbodyfont[Optima] \setuplayout[ topspace=3D0.75cm, bootmspace=3D0cm, headerheight=3D0cm, footerheight=3D0cm, ] %\setupbodyfont[roman, 70pt] \setupheads[sectionnumber=3Dno] %\enableregime[mac] \mainlanguage[it] \setupcolors[state=3Dstart] \starttext \definelayer [mybg]=09 [x=3D0mm, y=3D0mm,=09 width=3D\paperwidth, height=3D\paperheight ] =09 \definelayer [mybg2]=09 [x=3D0mm, y=3D0mm,=09 width=3D\paperwidth, height=3D\paperheight ] =09 \definelayer [mybg3]=09 [x=3D0mm, y=3D0mm,=09 width=3D\paperwidth, height=3D\paperheight ] \definelayer [mybg4]=09 [x=3D0mm, y=3D0mm,=09 width=3D\paperwidth, height=3D\paperheight ] \setlayer [mybg]=09 [x=3D0\paperwidth, y=3D0\paperheight] {\color[lightgray]\externalfigure[alternando] [height=3D1\paperheight,width=3D1\paperwidth]} \setlayer [mybg2]=09 [x=3D0\paperwidth, y=3D.45\paperheight] {\color[darkred]\externalfigure[hbar] [height=3D.1\paperheight,width=3D\paperwidth]} \setlayer [mybg3]=09 [x=3D.9\paperwidth, y=3D0\paperheight] {\color[lightgray]\externalfigure[vbar] [height=3D\paperheight,width=3D.05\paperwidth]} \setupbackgrounds[page][background=3Dmybg] \startstandardmakeup \strut \vfill {\color[darkred] {\tfc Alternating from 1 to X $\to$ homage to A e B} \crlf {\tfb A photo documentation} \vfill \setupbodyfont[Skia] il guardaroba della mente \hfill Oratorio di San Filippo \hfill 20/06/03 } \stopstandardmakeup \setupbodyfont[Optima] \setupbackgrounds[page][background=3Dmybg2] \section{Design/Test} \page \setupbackgrounds[page][background=3Dmybg3] \startcombination[2*2] {\externalfigure[test/cubes2][height=3D.5\textheight ]}{\Capt {Make it simple: use wooden cubes on a plane}} {\externalfigure[test/testing1][height=3D.5\textheight ]}{\Capt{If the plane is transparent, a webcam can be used}} {\externalfigure[test/testing2][height=3D.5\textheight ]}{\Capt{In the lab: analog cubes and digital signals}} {\externalfigure[test/testing3][height=3D.5\textheight ]}{\Capt{What's going on up there? extracting the parameters}} \stopcombination \page [snip] \stoptext More, it works fast: runtime: 14.904212 Wow Best -a- On 16 Sep 2007, at 12:06, Mojca Miklavec wrote: > Oh, and try to patch this file as well. > > Mojca > -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Universit=E0 degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> andrea.valle@unito.it -------------------------------------------------- I did this interview where I just mentioned that I read Foucault. Who =20= doesn't in university, right? I was in this strip club giving this =20 guy a lap dance and all he wanted to do was to discuss Foucault with =20 me. Well, I can stand naked and do my little dance, or I can discuss =20 Foucault, but not at the same time; too much information. (Annabel Chong) --Apple-Mail-110--962335417 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
Really thanks a lot Mojca = for the help.

I = replaced the two files, I found two copies of font-ini.tex and replaced = them all.

Then:
texexec = --make --all=A0
texexec --make --all --xetex


(I guess the first is = useless if I execute the second, isn't it?)

YES!
Alleluja, = alleluja,=A0 it works, no complaining, with the test file:

%\enableregime[utf]
\setuppapersize[S6][S6]
%\setupbodyfont[ss, = 12pt]
\definetypeface[Optima][rm][Xserif][Optima]
\set= upbodyfont[Optima]

\starttext

\startitemize
\item= nome dell'insegnamento (es. $\to$ Storia del cinema)
\item = settore scientifico-disciplinare (SSD, es. $\to$ l-art/06) =
\item numero di crediti (cfu, es. $\to$ 10) =
\stopitemize
La votazione =E8 irrilevante. Queste = informazioni vanno inserite in un file di testo in una forma = simile:
\stoptext

=A0

And works also with my = photobook which now compiles exactly like this:
http://www.cirma.unito.it/research/alternando/photo/photoBookX.pdf


\setuppapersize[S6][S6] =
\setuppagenumber[state=3Dstop]

\define[1]\Capt{{\darkred = \switchtobodyfont[8pt] #1}}

\definetypeface[Optima][rm][X= serif][Optima]
\definetypeface[Skia][rm][Xserif][Skia]

\setupbodyfont[Optima]
<= DIV>

\setuplayout[
topsp= ace=3D0.75cm,
bootmspace=3D0cm,
headerheight=3D0cm,
footerheight=3D0cm,
]
%\setupbodyfont[roman, = 70pt]
\setupheads[sectionnumber=3Dno]

%\enableregime[mac] =
\mainlanguage[it] =
\setupcolors[state=3Dstart]

\starttext
= \definelayer [mybg]
= [x=3D0mm, y=3D0mm,
= width=3D\paperwidth, height=3D\paperheight
= ]
=
\definelayer [mybg2] =
[x=3D0mm, y=3D0mm, =
width=3D\paperwidth, = height=3D\paperheight
]
=
\definelayer [mybg3] =
[x=3D0mm, y=3D0mm, =
width=3D\paperwidth, = height=3D\paperheight
= ]
\definelayer [mybg4] =
[x=3D0mm, y=3D0mm, =
width=3D\paperwidth, = height=3D\paperheight
]



\setlayer = [mybg] =
[x=3D0\paperwidth, = y=3D0\paperheight]
= {\color[lightgray]\externalfigure[alternando]
= [height=3D1\paperheight,width=3D1\paperwidth]}
\setlayer<= SPAN class=3D"Apple-tab-span" style=3D"white-space:pre"> = [mybg2] =
[x=3D0\paperwidth, = y=3D.45\paperheight]
= {\color[darkred]\externalfigure[hbar]
= [height=3D.1\paperheight,width=3D\paperwidth]}
\setlayer<= SPAN class=3D"Apple-tab-span" style=3D"white-space:pre"> = [mybg3] =
[x=3D.9\paperwidth, = y=3D0\paperheight]
= {\color[lightgray]\externalfigure[vbar]
= [height=3D\paperheight,width=3D.05\paperwidth]}

\setupbackgrounds[page][backg= round=3Dmybg]


\startstandardmakeup
\strut
\vfill
{\color[darkred]
{\tfc = Alternating from 1 to X $\to$ homage to A e = B}
\crlf
{\tfb A photo = documentation}
\vfill
\setupbodyfont[Skia]
i= l guardaroba della mente \hfill Oratorio di San Filippo \hfill 20/06/03 =
}
\stopstandardmakeup

\setupbodyfont[Optima]
<= DIV>
\setupbackgrounds[page][backg= round=3Dmybg2]
\section{Design/Test}
\page
<= BR = class=3D"khtml-block-placeholder">
\setupbackgrounds[page][backg= round=3Dmybg3]


\startcombination[2*2]
<= DIV>{\externalfigure[test/cubes2][height=3D.5\textheight
]}{\Cap= t {Make it simple: use wooden cubes on a = plane}}
{\externalfigure[test/testing1][height=3D.5\textheight
]}{\Capt{If the plane is transparent, a webcam can be = used}}
{\externalfigure[test/testing2][height=3D.5\textheight
]}{\Capt{In the lab: analog cubes and digital = signals}}
{\externalfigure[test/testing3][height=3D.5\textheight=
]}{\Capt{What's going on up there? extracting the = parameters}}
\stopcombination
\page

[snip]=A0

\stoptext

More, it works = fast:
runtime: 14.904212


Wow

Best



-a-

On 16 Sep 2007, at = 12:06, Mojca Miklavec wrote:

Oh, and try to patch this file as well.

http://www.cirma.unito.it/andre= a/
= --------------------------------------------------


I did this interview where I just = mentioned that I read Foucault. Who doesn't in = university, right? I was in this strip = club giving this guy a lap = dance and all he wanted to do was to discuss Foucault = with me. Well, I can stand naked and do my little dance, or I can = discuss Foucault, but not at the same time; too much = information.
(Annabel = Chong)



=

= --Apple-Mail-110--962335417-- --===============0387294445== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0387294445==--