Dear all, I'm using xetex with fun (as suggested and discussed on the mailing list). I'm revising a previously created document which used attachment command. (the one documented here: http://wiki.contextgarden.net/ Verbatim_text#A_different_approach_to_formatting_and_code_colorization ) The actual version is here: http://www.cirma.unito.it/andrea/sw/sc/prd_tSCIRMA_scr.pdf Now, with ConTeXt no problem. If I use XeConTeXt (--> texexec --xtx) the file is not attached (there's the marker, a link is diplayed, but Acrobat says that there's no attachment). As far as I can say, the problem seems to depend on --xtx switch, Any hints? Thanks Best -a- -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università 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)
Sorry, but I would need a solution, or at least to know if there's nothing to do. Any hints? Best Thanks -a- On 31 Mar 2008, at 17:28, Andrea Valle wrote:
Dear all, I'm using xetex with fun (as suggested and discussed on the mailing list).
I'm revising a previously created document which used attachment command. (the one documented here: http://wiki.contextgarden.net/ Verbatim_text#A_different_approach_to_formatting_and_code_colorization )
The actual version is here: http://www.cirma.unito.it/andrea/sw/sc/prd_tSCIRMA_scr.pdf
Now, with ConTeXt no problem. If I use XeConTeXt (--> texexec --xtx) the file is not attached (there's the marker, a link is diplayed, but Acrobat says that there's no attachment). As far as I can say, the problem seems to depend on --xtx switch,
Any hints?
Thanks
Best
-a-
-------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università 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)
______________________________________________________________________ _____________ 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 ______________________________________________________________________ _____________
-------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università 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)
On Mon, Mar 31, 2008 at 5:28 PM, Andrea Valle wrote:
Dear all, I'm using xetex with fun (as suggested and discussed on the mailing list).
I'm revising a previously created document which used attachment command. (the one documented here: http://wiki.contextgarden.net/Verbatim_text#A_different_approach_to_formatti... )
The actual version is here: http://www.cirma.unito.it/andrea/sw/sc/prd_tSCIRMA_scr.pdf
Now, with ConTeXt no problem. If I use XeConTeXt (--> texexec --xtx) the file is not attached (there's the marker, a link is diplayed, but Acrobat says that there's no attachment). As far as I can say, the problem seems to depend on --xtx switch,
The problem is not the "--xtx switch", but the lack of support for the underlying (xdvipdfmx) driver. I googled a bit and found the following slides: http://project.ktug.or.kr/dvipdfmx/doc/tug2005.pdf see page 18 in particular. 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. (If Hans doesn't reply, then someone else will have to.) Mojca
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à 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 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) -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università 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)
On Thu, Apr 3, 2008 at 11:08 AM, Andrea Valle wrote:
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 :-)
It was meant for someone else trying to help :-)
Something similar needs to be added to spec-dpx.tex.
Can't follow you here. What is spec-dpx?
[TEXMF]/tex/context/base/spec-dpx.tex is a file that someone should fix in order to make attachments work with XeTeX. Mojca
Mojca Miklavec wrote:
On Thu, Apr 3, 2008 at 11:08 AM, Andrea Valle wrote:
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 :-)
It was meant for someone else trying to help :-)
she meant me; however, i have no test file and probably a non working xetex on my machine (need to update) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Thanks Mojca, Hans, ok, I've understood. :) -a- On 3 Apr 2008, at 12:17, Hans Hagen wrote:
Mojca Miklavec wrote:
On Thu, Apr 3, 2008 at 11:08 AM, Andrea Valle wrote:
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 :-)
It was meant for someone else trying to help :-)
she meant me; however, i have no test file and probably a non working xetex on my machine (need to update)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ______________________________________________________________________ _____________ 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 ______________________________________________________________________ _____________
-------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università 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)
Any progress on this? As of 2009-04-09, attachments with xetex still
behave as Andrea described on 2008-03-31. (I'm using the xetex in the
minimals.)
Jesse
Andrea Valle
Thanks Mojca, Hans,
ok, I've understood.
:)
-a-
On 3 Apr 2008, at 12:17, Hans Hagen wrote:
Mojca Miklavec wrote:
On Thu, Apr 3, 2008 at 11:08 AM, Andrea Valle wrote:
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 :-)
It was meant for someone else trying to help :-)
she meant me; however, i have no test file and probably a non working xetex on my machine (need to update)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________
-------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università 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)
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- Jesse Alama (alama@stanford.edu)
Jesse Alama wrote:
Any progress on this? As of 2009-04-09, attachments with xetex still behave as Andrea described on 2008-03-31. (I'm using the xetex in the minimals.)
i didn't look into it; it's mostly a dpx backend issue btw, not that much related to xetex Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Andrea Valle
-
Hans Hagen
-
Jesse Alama
-
Mojca Miklavec