[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Próxima revisión
Revisión previa
Última revisiónAmbos lados, revisión siguiente
es:howtos:software:how_to_merge_pdf-files [2019/02/28 01:46 (UTC)] – creado slackwarespanoles:howtos:software:how_to_merge_pdf-files [2019/09/02 18:25 (UTC)] – [pdfjam] slackwarespanol
Línea 1: Línea 1:
-====== How to merge PDF-files ======+====== Cómo fusionar archivos PDF ====== 
 +===== Introducción =====
  
-===== Introduction ===== +PDF (Portable Document Format) es un formato de archivo inventado por Adobe. PDF es útil para presentar documentos independientes del hardware, sistema operativo y software de aplicaciónCada archivo PDF tiene un diseño fijoque incluye tamaño de páginafuentesgráficos y otra informaciónTambién es posible encriptar un archivo PDF por seguridado crear una firma digital para autenticación.
- +
-PDF (Portable Document Format) is a file format invented by Adobe. PDF is useful to present documents independent of hardware, operating system and application software. Each PDF file has a fixed layoutincluding page sizefontsgraphics and other informationIt is also possible to encrypt a PDF file for securityor create a digital signature for authentication.+
  
 <note important>Work in Progress!!!</note> <note important>Work in Progress!!!</note>
  
-PDF documents are created from traditional text documents via printer driveror as with LaTeX, created directly from source-codeOne important consequence is that one cannot convert a PDF-document "backinto it's original format such as a Microsoft Word document.+Los documentos PDF se crean partir de documentos de texto tradicionales a través de un controlador de impresorao como con LaTeX, creado directamente desde el código fuenteUna consecuencia importante es que uno no puede convertir un documento PDF "de vuelta" a su formato original, como un documento de Microsoft Word.
  
-This article describes how you can merge several PDF documents into a single PDF documentFor examplethis is useful if you have several pages from a scanner in PDF format and want to put these files into one fileThere are several tools availablesome are included in the stock Slackware install as well as others that can be readily installed.+Este artículo describe cómo puede combinar varios documentos PDF en un solo documento PDF. Por ejemploesto es útil si tiene varias páginas de un escáner en formato PDF y desea colocar estos archivos en un solo archivoHay varias herramientas disponiblesalgunos están incluidos en la instalación estándar de Slackware, así como otros que pueden instalarse fácilmente. 
 +===== Herramientas predeterminadas =====
  
-===== Default Tools =====+Herramientas que ya están disponibles en su computadora Slackware si tiene una instalación completa. 
 +==== imagemagick (convertir) ====
  
-Tools which are already available on your Slackware computer if you have a complete installation.+La herramienta de conversión viene en el paquete imagemagick de Slackware de la serie xap.
  
-==== imagemagick (convert) ==== +La herramienta de conversión utiliza la opción -adjoin para lograr esto
- +<code> convert -adjoin file1.pdf file2.pdf merged.pdf </code> 
-The convert tool comes in Slackware's imagemagick package from the xap-series. +Gracias a jlinkels por la contribución.
- +
-The convert tool uses the -adjoin option to achieve this+
-<code>convert -adjoin file1.pdf file2.pdf merged.pdf</code> +
-Thanks to jlinkels for the contribution. +
- +
-To increase the quality of the output, it is better to read the input PDF files with a higher density (in dots per inch (DPI)) and then resize the output density back to common DPI, 96 for example. I usually use an input density of 600 (after many trial and errors), and then resize with 93.75% (if you dont resize you will get a huge output file). +
-<code>convert -density 600 fileinput_1.pdf fileinput2_.pdf -resize 93.75% output.pdf</code> +
-Thanks to eXpander_ for the contribution.+
  
 +Para aumentar la calidad de la salida, es mejor leer los archivos PDF de entrada con una densidad más alta (en puntos por pulgada (DPI)) y luego cambiar el tamaño de la densidad de salida a DPI común, 96 por ejemplo. Usualmente uso una densidad de entrada de 600 (después de muchas pruebas y errores), y luego cambio el tamaño con 93.75% (si no cambia el tamaño obtendrá un gran archivo de salida).
 +<code> convert -density 600 fileinput_1.pdf fileinput2_.pdf -resize 93.75% output.pdf </code>
 +Gracias a eXpander_ por la contribución.
 ==== ghostscript (gs) ==== ==== ghostscript (gs) ====
  
-The ghostscript package resides in Slackware'ap-series. +El paquete ghostscript reside en la serie ap de Slackware.
- +
-With GhostScript you can merge PDF files on the command line. +
-<code>gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=<newfilename>.pdf <inputfilenameshere></code> +
-Thanks to mrclisdue for the contribution.+
  
 +Con GhostScript puede fusionar archivos PDF en la línea de comando.
 +<code> gs -q -sPAPERSIZE = a4 -dNOPAUSE -dBATCH -sDEVICE = pdfwrite -sOutputFile = <newfilename> .pdf <inputfilenameshere> </code>
 +Gracias a mrclisdue por la contribución.
 ==== pdfconcat ==== ==== pdfconcat ====
  
-The pdfconcat tool comes in Slackware's xpaint package from the xap-series. +La herramienta pdfconcat viene en el paquete xpaint de Slackware de la serie xap.
- +
-<code>pdfconcat -o <output.pdf> <input1.pdf> [...]</code> +
-Thanks to BroX for the contribution.+
  
 +<code> pdfconcat -o <output.pdf> <input1.pdf> [...] </code>
 +Gracias a BroX por la contribución.
 ==== pdfunite ==== ==== pdfunite ====
  
-The pdfunite tool comes in Slackware'poppler package from the l-series.+La herramienta pdfunite viene en el paquete poppler de Slackware de la serie l.
  
-<code>pdfunite [options] PDF-sourcefile1..PDF-sourcefilen PDF-destfile</code> +<code> pdfunite [options] PDF-sourcefile1..PDF-sourcefilen PDF-destfile </code> 
-Thanks to nivieru for the contribution. +Gracias a nivieru por la contribución
- +===== Herramientas adicionales =====
-===== Additional tools ===== +
- +
-Additional tools that can be easily installed.+
  
 +Herramientas adicionales que se pueden instalar fácilmente.
 ==== pdftk ==== ==== pdftk ====
  
-pdftk is available at [[http://slackbuilds.org/repository/14.0/office/pdftk/|slackbuilds.org]]. It is also a command line tool and the usage is:+pdftk está disponible en [[http://slackbuilds.org/repository/14.0/office/pdftk/|slackbuilds.org]]. También es una herramienta de línea de comando y el uso es:
 <code>pdftk first.pdf second.pdf third.pdf cat output altogether.pdf</code> <code>pdftk first.pdf second.pdf third.pdf cat output altogether.pdf</code>
-pdftk can do more things than joining PDF filesfor example rotating a document by 180 degrees is done this way+pdftk puede hacer más cosas que unir archivos PDF, por ejemplo, rotar un documento 180 grados se hace de esta manera
-<code>pdftk upsidedown.pdf cat 1-endsouth output rotated.pdf</code> +<code> pdftk upsidedown.pdf cat 1-finesouth output rotated.pdf </code> 
-Thanks to brianL and michaelk for pointing me to pdftk. +Gracias a brianL michaelk por señalarme a pdftk.
 ==== pdfshuffler ==== ==== pdfshuffler ====
  
-pdfshuffler is also available at [[http://slackbuilds.org/repository/14.0/office/pdfshuffler/|slackbuilds.org]]. It comes with a graphical user interface and is written in Python, therefore [[http://slackbuilds.org/repository/14.0/python/pyPdf/|pyPdf]] and [[http://slackbuilds.org/repository/14.0/python/pypoppler/|pypoppler]] are required in order to get this program to workIt is very convenient because it comes with a document-viewer and shows what you're doingIt has additional features like rotating or splitting PDF files. +pdfshuffler también está disponible en [[http://slackbuilds.org/repository/14.0/office/pdfshuffler/|slackbuilds.org]]. Viene con una interfaz gráfica de usuario y está escrito en Python, por lo tanto [[http://slackbuilds.org/repository/14.0/python/pyPdf/|pyPdf]] [[http://slackbuilds.org/repository/14.0 / python / pypoppler / | pypoppler]] son necesarios para que este programa funcioneEs muy conveniente porque viene con un visor de documentos y muestra lo que está haciendoTiene características adicionales como rotar o dividir archivos PDF.
 ==== pdfjam ==== ==== pdfjam ====
  
-pdfjam is a LaTeX-package which is unfortunately **not** included in tetex. But those of us who have installed texlive instead already have pdfjam. It is also a command line tool (like LaTeX). The documentation is available with the texdoc command +pdfjam es un paquete LaTeX que desafortunadamente ** no ** está incluido en el tetex. Pero aquellos de nosotros que hemos instalado texlive ya tenemos pdfjam. También es una herramienta de línea de comandos (como LaTeX). La documentación está disponible con el comando texdoc 
-<code>texdoc pdfjam</code> +<code> texdoc pdfjam </code> 
-Thanks to joghi for pointing me to pdfjam. +Gracias a joghi por señalarme a pdfjam.
- +
-<note>TODO: handling bookmarks in PDF-files, which of the above tools can handle those bookmarks?</note>+
  
 +<note> TODO: manejo de marcadores en archivos PDF, ¿cuál de las herramientas anteriores puede manejar esos marcadores? </note>
 ====== Sources ====== ====== Sources ======
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->
 es:howtos:software:how_to_merge_pdf-files ()