From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39804 Path: news.gmane.org!not-for-mail From: Andrea Valle Newsgroups: gmane.comp.tex.context Subject: Re: xetex and attachment: troubles Date: Thu, 3 Apr 2008 11:08:55 +0200 Message-ID: References: <3ABD00F8-22E0-4292-BFDA-66CCDF3AD113@di.unito.it> <6faad9f00804021429g41e7cc2eia6303220aba54af9@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: multipart/mixed; boundary="===============1068046430==" X-Trace: ger.gmane.org 1207215482 16257 80.91.229.12 (3 Apr 2008 09:38:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2008 09:38:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 03 11:38:31 2008 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 1JhLtv-0005p1-CT for gctc-ntg-context-518@m.gmane.org; Thu, 03 Apr 2008 11:38:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3DAEA1FA41; Thu, 3 Apr 2008 11:37:53 +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 31533-01-16; Thu, 3 Apr 2008 11:37:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D366C1FC00; Thu, 3 Apr 2008 11:09:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 83F431FB82 for ; Thu, 3 Apr 2008 11:09:52 +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 26625-01-14 for ; Thu, 3 Apr 2008 11:09:18 +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 D0DBE1FC00 for ; Thu, 3 Apr 2008 11:09:18 +0200 (CEST) Original-Received: from [192.168.1.2] (d83-184-26-163.cust.tele2.it [83.184.26.163]) by pianeta.di.unito.it (INFO-DIP) with ESMTP id m3398wwi016544 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO userCertificateDN= AuthenticatedUser=valle ) for ; Thu, 3 Apr 2008 11:08:59 +0200 (MEST) In-Reply-To: <6faad9f00804021429g41e7cc2eia6303220aba54af9@mail.gmail.com> X-Mailer: Apple Mail (2.753) 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=-102.498, required 3.5, autolearn=not spam, AUTHENTICATEDUSER -100.00, BAYES_00 -2.60, HTML_MESSAGE 0.00, RDNS_DYNAMIC 0.10) 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:39804 Archived-At: --===============1068046430== Content-Type: multipart/alternative; boundary=Apple-Mail-20--874214660 --Apple-Mail-20--874214660 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Thanks Mojca, > > The problem is not the "--xtx switch", but the lack of support for the > underlying (xdvipdfmx) driver. Sorry, please remember I'm very far from there... I was just meaning: the problem is in xetex engine? > I googled a bit and found the following slides: > http://project.ktug.or.kr/dvipdfmx/doc/tug2005.pdf > see page 18 in particular. thanks, means really nothing to me :-) > > In spec-fdf there is: > > \definespecial \doattachfile {\doPDFattachfile} > > \def\doPDFattachfile#1#2#3#4#5#6#7#8% > {\bgroup % title width height color symbol file > \edefconvertedargument\PDFfile{#8}% > % beware: the symbol may (indirectly) use the file > % reference when typesetting the object number; > \presetPDFsymbolappearance{#5}{#6}{#2}{#3}{#4}% sets width/height > \startPDFsymbolappearance > \doPDFembedfile\PDFfile{#7}{#8}% > \doPDFgetembeddedfilereference\PDFfile\PDFobjectreference > \setFDFlayer\@@DriverAttachmentLayer > \doPDFannotation{\width}{\totalheight} > {/Subtype /FileAttachment > /FS \PDFobjectreference\space > /Contents (#1) > \PDFsymbol > \FDFlayer > \PDFattributes}% > \stopPDFsymbolappearance > \egroup} > > Something similar needs to be added to spec-dpx.tex. Can't follow you here. What is spec-dpx? Best -a- > -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Universit=E0 degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> 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) -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Universit=E0 degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> andrea.valle@unito.it -------------------------------------------------- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) --Apple-Mail-20--874214660 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Thanks = Mojca,


The problem is not the "--xtx = switch", but the lack of support for the
I googled a bit and found the = following slides:
see page = 18 in particular.

thanks, means = really nothing to me :-)


In = spec-fdf there is:
\definespecial \doattachfile = {\doPDFattachfile}
=A0 {\bgroup % title width height = color symbol file
=A0=A0 = \edefconvertedargument\PDFfile{#8}%
=A0=A0 % beware: the symbol may = (indirectly) use the file
=A0=A0 % reference when = typesetting the object number;
=A0=A0 = \presetPDFsymbolappearance{#5}{#6}{#2}{#3}{#4}% sets = width/height
=A0=A0 = \startPDFsymbolappearance
=A0=A0 =A0 = \doPDFembedfile\PDFfile{#7}{#8}%
=A0=A0 =A0 = \doPDFgetembeddedfilereference\PDFfile\PDFobjectreference
=A0=A0 =A0 = \setFDFlayer\@@DriverAttachmentLayer
=A0=A0 =A0 = \doPDFannotation{\width}{\totalheight}
=A0=A0 =A0 =A0 = {/Subtype /FileAttachment
=A0 =A0 =A0 =A0 /FS = \PDFobjectreference\space
=A0 =A0 =A0 =A0 /Contents = (#1)
=A0 =A0 =A0 =A0 = \PDFsymbol
=A0 =A0 =A0 =A0 = \FDFlayer
=A0 =A0 =A0 =A0 = \PDFattributes}%
=A0=A0 = \stopPDFsymbolappearance
=A0=A0 \egroup}
Something similar needs to be added to spec-dpx.tex. =

Can't follow you here. What is = spec-dpx?


Best

-a-


Andrea = Valle
--------------------------------------------------
CIRMA - DAMS
Universit=E0 degli Studi di = Torino
= --------------------------------------------------


I did this interview where I just = mentioned that I read Foucault. Who doesn't in = university, right? I was in this strip = club=A0givi= ng this guy a lap dance=A0and 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)



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


"
Think of it as = seasoning
. noise [salt] is boring
. = F(blah) [food without salt] can be boring
. = F(noise, blah) can be really tasty
"
(Ken Perlin on = noise)





= --Apple-Mail-20--874214660-- --===============1068046430== 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 ___________________________________________________________________________________ --===============1068046430==--