From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38440 Path: news.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: \useattachment: Embedding files in PDFs Date: Fri, 04 Jan 2008 14:01:36 +0100 Message-ID: <477E2E30.5000205@net-b.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199451786 3562 80.91.229.12 (4 Jan 2008 13:03:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2008 13:03:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 04 14:03:24 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 1JAmCq-0002bA-MT for gctc-ntg-context-518@m.gmane.org; Fri, 04 Jan 2008 14:03:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 860621FB7F; Fri, 4 Jan 2008 14:02:59 +0100 (CET) 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 27016-01-4; Fri, 4 Jan 2008 14:02:18 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 11F311FB74; Fri, 4 Jan 2008 14:02:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DB9F11FB71 for ; Fri, 4 Jan 2008 14:02:15 +0100 (CET) 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 24992-03-7 for ; Fri, 4 Jan 2008 14:01:38 +0100 (CET) Original-Received: from zs01.physik.fu-berlin.de (zs01.physik.fu-berlin.de [160.45.35.150]) by ronja.ntg.nl (Postfix) with ESMTP id 3C47E1FB4B for ; Fri, 4 Jan 2008 14:01:38 +0100 (CET) Original-Received: from ith.physik.fu-berlin.de ([160.45.32.115] helo=[127.0.0.1]) by zs01.physik.fu-berlin.de with esmtp (Exim 4.63) (envelope-from ) id 1JAmB6-0001sm-5A; Fri, 04 Jan 2008 14:01:37 +0100 User-Agent: Thunderbird 2.0.0.9 (X11/20070801) X-ZEDV-Virus-Scanned: No viruses found. [ClamAV 0.90.1/5362/Fri Jan 4 09:51:18 2008] X-ZEDV-Spam-Level: ---- X-ZEDV-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on zs01.physik.fu-berlin.de X-ZEDV-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED, BAYES_00 autolearn=ham version=3.1.7-deb X-ZEDV-Spam-Report: * -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Scan-Signature: fed5a1a2974d2a7a4b85d3c440af8722 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:38440 Archived-At: Hi all, I can use \useattachment to embed/attach files in a PDF file. I can use: \useattachment[whatever][title][newname][test.tex] \attachment[whatever] This creates an attachment with the description "title" and the name "test.tex". However, how can I set the author/subject? (Shown in tool tip of the annotation symbol; it is shown above the description; actually subject is enough for me.) Additionally, I miss the file size and possibly the modification date for the attachments; they are often handy to have. Is is possible to associate an embedded file stream with the document itself without creating an annotation symbol as with \attachment in ConTeXt? (The PDF spec allows this; cf. e.g. 3.10.3 in the PDF spec and http://www.microtype.com/showcase/EmbedFiles.pdf for an example PDF file.) Tobias ___________________________________________________________________________________ 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 ___________________________________________________________________________________