ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Andrea Valle <valle@di.unito.it>
To: Mojca Miklavec <mojca.miklavec.lists@gmail.com>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: XeTeX patch
Date: Sun, 16 Sep 2007 14:29:05 +0200	[thread overview]
Message-ID: <37AE9731-02F2-45B1-BD58-2CE46760F6A8@di.unito.it> (raw)
In-Reply-To: <6faad9f00709160306u1b3fed78o41ad609b19b863fa@mail.gmail.com>


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

       reply	other threads:[~2007-09-16 12:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6faad9f00709160258l6d3ffe15o320fab7a188e3c42@mail.gmail.com>
     [not found] ` <6faad9f00709160306u1b3fed78o41ad609b19b863fa@mail.gmail.com>
2007-09-16 12:29   ` Andrea Valle [this message]
2007-09-16 13:40     ` Mojca Miklavec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37AE9731-02F2-45B1-BD58-2CE46760F6A8@di.unito.it \
    --to=valle@di.unito.it \
    --cc=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).