ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: XeTeX patch
       [not found] ` <6faad9f00709160306u1b3fed78o41ad609b19b863fa@mail.gmail.com>
@ 2007-09-16 12:29   ` Andrea Valle
  2007-09-16 13:40     ` Mojca Miklavec
  0 siblings, 1 reply; 2+ messages in thread
From: Andrea Valle @ 2007-09-16 12:29 UTC (permalink / raw)
  To: Mojca Miklavec, mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 4105 bytes --]

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
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 è irrilevante. Queste informazioni vanno inserite in un  
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=stop]

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

\definetypeface[Optima][rm][Xserif][Optima]
\definetypeface[Skia][rm][Xserif][Skia]

\setupbodyfont[Optima]


\setuplayout[
topspace=0.75cm,
bootmspace=0cm,
headerheight=0cm,
footerheight=0cm,
]
%\setupbodyfont[roman, 70pt]
\setupheads[sectionnumber=no]

%\enableregime[mac]
\mainlanguage[it]
\setupcolors[state=start]

\starttext
\definelayer [mybg]	
		[x=0mm, y=0mm,	
		width=\paperwidth, height=\paperheight
		]
		
\definelayer	[mybg2]	
		[x=0mm, y=0mm,	
		width=\paperwidth, height=\paperheight
		]
		
\definelayer	[mybg3]	
		[x=0mm, y=0mm,	
		width=\paperwidth, height=\paperheight
		]
\definelayer	[mybg4]	
		[x=0mm, y=0mm,	
		width=\paperwidth, height=\paperheight
		]



\setlayer	[mybg]	
		[x=0\paperwidth, y=0\paperheight]
		{\color[lightgray]\externalfigure[alternando]
		[height=1\paperheight,width=1\paperwidth]}
\setlayer	[mybg2]	
		[x=0\paperwidth, y=.45\paperheight]
		{\color[darkred]\externalfigure[hbar]
		[height=.1\paperheight,width=\paperwidth]}
\setlayer	[mybg3]	
		[x=.9\paperwidth, y=0\paperheight]
		{\color[lightgray]\externalfigure[vbar]
		[height=\paperheight,width=.05\paperwidth]}

\setupbackgrounds[page][background=mybg]


\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=mybg2]
\section{Design/Test}
\page

\setupbackgrounds[page][background=mybg3]


\startcombination[2*2]
{\externalfigure[test/cubes2][height=.5\textheight
]}{\Capt {Make it simple: use wooden cubes on a plane}}
{\externalfigure[test/testing1][height=.5\textheight
]}{\Capt{If the plane is transparent, a webcam can be used}}
{\externalfigure[test/testing2][height=.5\textheight
]}{\Capt{In the lab: analog cubes and digital signals}}
{\externalfigure[test/testing3][height=.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
> <type-otf.tex>

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università 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  
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)





[-- Attachment #1.2: Type: text/html, Size: 14094 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: XeTeX patch
  2007-09-16 12:29   ` XeTeX patch Andrea Valle
@ 2007-09-16 13:40     ` Mojca Miklavec
  0 siblings, 0 replies; 2+ messages in thread
From: Mojca Miklavec @ 2007-09-16 13:40 UTC (permalink / raw)
  To: Andrea Valle; +Cc: mailing list for ConTeXt users

On 9/16/07, Andrea Valle wrote:
>
> Then:
> texexec --make --all
> texexec --make --all --xetex
>
>
> (I guess the first is useless if I execute the second, isn't it?)

You need the first one for pdfTeX and the second one for XeTeX. (If
you only work with XeTeX, then you don't need the first one, and for
the little patch which was only relevant to XeTeX anyway you don't
need the first one at all.)

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

That's nice to hear. So Hans, here you have the second vote for your
latest patch :)

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-16 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <6faad9f00709160258l6d3ffe15o320fab7a188e3c42@mail.gmail.com>
     [not found] ` <6faad9f00709160306u1b3fed78o41ad609b19b863fa@mail.gmail.com>
2007-09-16 12:29   ` XeTeX patch Andrea Valle
2007-09-16 13:40     ` Mojca Miklavec

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).