Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
5_fichiers:pdf:attacher_un_fichier_a_un_pdf [2019/10/24 22:05] – Page créée à l'état d'ébauche. jejust5_fichiers:pdf:attacher_un_fichier_a_un_pdf [2022/08/21 12:35] (Version actuelle) – Correction de la mise en forme. yannick.tanguy
Ligne 1: Ligne 1:
-====== Que veut dire attacher un fichier à un PDF ? ======+====== Comment attacher un fichier à un PDF avec LaTeX? ======
  
-$\Reponse$  PDF, Adobe’s Portable Document Format, is a common way to distribute documents +Le format PDF est bien pratique pour distribuer des documents électroniques qui auront toujours la même apparence, quelle que soit la plate-formeDepuis la version 1.3 du format PDF (publiée en 1999), il est possible d'« attacher des fichiers » à un document PDFc'est-à-dire d'y inclure des fichiers arbitraires, de la même façon qu'on peut attacher des fichiers à un email.
-that look the same on all platforms and output devicesBeginning with PDF version 1.3+
-PDF supports “file attachment annotations”. These are arbitrary auxiliary files +
-that get embedded directly into the pdf document, just like attachments +
-in an e-mail message.+
  
 +La personne qui lira le document PDF pourra extraire ces fichiers et les enregistrer sur son ordinateur (généralement, il suffit de cliquer sur l'icône représentant le fichier attaché).
  
-===== Comment attacher un fichier en LaTeX ? =====+===== Avec l'extension “attachfile2” =====
  
-$\Reponse$  Le package [[ctanpkg>attachfile2]] permet d'attacher un ou plusieurs fichier +L'extension [[ctanpkg>attachfile2]] permet d'attacher un ou plusieurs fichiers à votre document PDF. Elle reprend et étend les fonctionnalités de l'extension [[ctanpkg>attachfile]] et vous avez intérêt à consulter [[texdoc>attachfile|la documentation de cette dernière extension]] pour en connaître la syntaxe.
-à votre document PDF. Il reprend et étend les fonctionnalités du package ''attachfile'', +
-et vous avez intérêt à consulter la [[texdoc>attachfile|documentation de “attachfile”]] +
-pour en connaître la syntaxe.+
  
 +<WRAP column 50ex>
 +<code latex>
 +\documentclass{article}
 +  \usepackage{attachfile2}
 +  
 +\begin{document}
 +Longtemps, je me suis couché de bonne heure.
  
 +\attachfile{planning.xlsx}
 +
 +\end{document}
 +</code>
 +</WRAP>
 +<WRAP column 30ex>
 +<latexdoc>
 +\documentclass{article}
 +  \usepackage[T1]{fontenc}
 +  \usepackage{lmodern}
 +  \usepackage{attachfile}
 +  \usepackage[french]{babel}
 +  \pagestyle{empty}
 +
 +\begin{document}
 +Longtemps, je me suis couché de bonne heure.
 +
 +\noattachfile
 +\end{document}
 +</latexdoc>
 +</WRAP>
 +<WRAP clear />
 +
 +Des options permettent de changer l'icône utilisée pour représenter le fichier ou d'afficher son nom.
 +
 +------
 +//Sources ://
 +  * [[wpfr>Portable_Document_Format|Portable document format]],
 +  * [[https://helpx.adobe.com/acrobat/using/links-attachments-pdfs.html|Links and attachments in PDFs]].
  
 {{htmlmetatags>metatag-keywords=(LaTeX,fichier PDF,fichier attaché,document attaché,document joint à un PDF,pièce jointe,Portable Document Format) {{htmlmetatags>metatag-keywords=(LaTeX,fichier PDF,fichier attaché,document attaché,document joint à un PDF,pièce jointe,Portable Document Format)
-metatag-og:title=(Attacher un fichier à un PDF)+metatag-og:title=(Comment attacher un fichier à un PDF avec LaTeX)
 metatag-og:site_name=(FAQ LaTeX francophone) metatag-og:site_name=(FAQ LaTeX francophone)
 }} }}
5_fichiers/pdf/attacher_un_fichier_a_un_pdf.1571954713.txt.gz · Dernière modification : 2019/10/24 22:05 de jejust
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0