pdftk arquivo.pdf background background.pdf output out.pdf sed -i 's/foo/bar/g' *Para substituir \n-\nsed -i ':a;N;$!ba;s/\n-\n//g' * Salve no seu diretorio ~/bin, de permissoes de execucao e seja feliz!for f in *odgdo if [ -f $f ] ; then echo "Checking ${f}" name=${f%\.*} if test ${name}.pdf -ot ${name}.odg ; then echo "Converting ${name}.pdf" libreoffice --headless --invisible --convert-to pdf ${name}.odg echo "Croping...." pdfcrop ${name}.pdf ${name}.pdf fi fi ;doneCertamente e necessario instalar o libreoffice, o test (que costuma vir instalado) e o pdfcrop. Proceedings do V Ubimus - 2014Template latex utilizado para gerar o proceedings do V Ubimus.\documentclass[11pt, a4paper]{book}\usepackage[utf8x]{inputenc}\usepackage[brazil]{babel}\usepackage{cite}\usepackage{textcomp} %para o greater than\usepackage{float}\usepackage{placeins}\usepackage{enumerate}\usepackage{xspace}\usepackage{colortbl}\usepackage{hyperref}\usepackage{pdfpages} %Para importar PDFs\usepackage{afterpage} % Para pular pagina\usepackage[dvipsnames]{xcolor} % Para cor de fundo na pagina\usepackage{color}\usepackage{tikz} % para desenhar o retangulo lateral na capa\usepackage{lipsum} % Para testes\usepackage[absolute,overlay]{textpos}\usepackage{tocloft} % Pontinhos no Sumario% Cabecalho com nome da secao\usepackage{fancyhdr}\fancyhf{}\fancyhead[LE,RO]{\fancyplain{}{V Ubimus - 2014} }\fancyhead[LO,RE]{\fancyplain{}{From Digital Arts to Ubiquitous Music} }\fancyfoot[LE,RO]{\fancyplain{}{Vitoria - ES - Brazil} }\fancyfoot[LO,RE]{\fancyplain{}{\thepage} }\renewcommand{\footrulewidth}{1pt}%\fancyhf{}%\fancyhead[LE,RO]{\thepage}%\fancyhead[LO,RE]{\textit{\nouppercase{\leftmark}} }\renewcommand{\chaptermark}[1]{\markboth{\thechapter.\space#1}{}} % --- My Include command\newcommand{\includepaper}[2]{\includepdf[pages={1},scale=1,pagecommand={\addcontentsline{toc}{chapter}{#1}}]{#2}\includepdf[pages={2-},scale=1,pagecommand={}]{#2}}\newcommand{\includepaperOP}[2]{ % One page paper\includepdf[pages={1},scale=1,pagecommand={\addcontentsline{toc}{chapter}{#1}}]{#2}}% Para controlar margens e etc:\textwidth 6.5in\textheight 10.2in\topmargin -0.8in\oddsidemargin -0.20in\evensidemargin -0.20in\usepackage{titlesec}%\titleformat{\chapter}[display]% {\normalfont\huge\bfseries}{}{0pt}{\Huge}%\titlespacing*{\chapter}% {0pt}{10pt}{40pt}\begin{document}\pagenumbering{gobble}% Remove page numbers (and reset to 1)% ------------------------------------------------------------------------------% CAPA\clearpage\thispagestyle{empty}\definecolor{Roxo}{HTML}{593662}\definecolor{Marrom}{HTML}{2c2c28}\pagecolor{Roxo}% Quadrado Esquerdo\begin{textblock}{20}(-3,0)\tikz \fill [Marrom] (0,0) rectangle (5,40);\end{textblock}\vspace*{\fill}\begin{center}\begin{minipage}{.6\textwidth}{\color{white}\vspace{3.7cm}\begin{flushleft}\large{\textbf{Anais do V Workshop de Musica Ubiqua}}\linebreak\large{Proceedings of V Workshop on Ubiquitous Music}\linebreak\end{flushleft}\centerline{\includegraphics[width=1\columnwidth]{logo-PT-small_1_2_0_0}}\Huge{2014 - Vitoria - ES - Brazil}\vspace{2cm}\begin{flushright}\normalsize{Das Artes Digitais a Musica UbiquaFrom Digital Arts to Ubiquitous Music}\end{flushright}\vspace{8cm}\normalsize{29 de Outubro a 1 de NovembroOctober 29th - November 1st}}\end{minipage}\end{center}\vfill % equivalent to \vspace{\fill}\afterpage{\nopagecolor}\clearpage% ------------------------------------------------------------------------------% Folha de rosto\includepdf[pages={-},scale=1]{Rosto}% ------------------------------------------------------------------------------% Prologo\include{prologue}\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} % for chapters\tableofcontents\clearpage% ------------------------------------------------------------------------------\pagenumbering{arabic}% Arabic page numbers (and reset to 1)\pagestyle{fancy}\includepaper{Musica ubiqua e paisagens sonoras. Possiveis contribuicoes}{1.pdf}\includepaper{Exploring the potential of mobile technology for creating music collaboratively}{2.pdf}\includepaperOP{DroneUnknown: An experiment in embracing unpredictability in live electronic performance}{3.pdf}\includepaper{Suporte para a Criatividade Musical Cotidiana: Mixdroid Segunda Geracao}{4.pdf}\includepaper{Making meaningful musical experiences accessible using the iPad}{5.pdf}\includepaperOP{Musica Ubiqua no Colegio de Aplicacao da UFRGS e Centro de Tecnologia Academica e Ciencia Cidada Jr: transversalidades em pesquisa em ensino}{6.pdf}\includepaper{The Beathealth Project: Synchronising Movement and Music}{7.pdf}\includepaper{Characterizing Resources in Ubimus Research: Volatility and Rivalry}{8.pdf}\includepaper{Prototyping of Ubiquitous Music Ecosystems}{10.pdf}\includepaper{Ubiquitous Computing meets Ubiquitous Music}{11.pdf}\includepaperOP{Progressive Disclosure}{12.pdf}\includepaper{Computacao Ubiqua e a interacao corporal na aprendizagem de execucao ritmica}{13.pdf}\includepaperOP{Balance: um estudo sobre a traducao digital do corpo em equilibrio}{14.pdf}% ------------------------------------------------------------------------------% CONTRA CAPA\clearpage\thispagestyle{empty}\pagecolor{Roxo}\newpage\vspace*{\fill}% Quadrado Esquerdo\begin{textblock}{20}(14,0)\tikz \fill [Marrom] (0,0) rectangle (5,40);\end{textblock}{\color{white}\centerline{\includegraphics[width=0.3\columnwidth]{logo-PT-small_1_2_0_0}}\vspace{1cm}2014 - Vitoria - ES - Brazil}\clearpage% ------------------------------------------------------------------------------\end{document} Ken Loach, September 11 https://vimeo.com/163950192 Para separar arquivos PDF no Linux em linha de comando com o pdf jampdfjam proceedings.pdf 13-26 -o papers/artigo01_01-14.pdfpdfjam proceedings.pdf 27-28 -o papers/artigo02_15-16.pdfpdfjam proceedings.pdf 29-29 -o papers/artigo03_17-17.pdfpdfjam proceedings.pdf 30-41 -o papers/artigo04_18-29.pdfpdfjam proceedings.pdf 42-56 -o papers/artigo05_30-44.pdfpdfjam proceedings.pdf 57-57 -o papers/artigo06_45-45.pdfpdfjam proceedings.pdf 58-68 -o papers/artigo07_46-56.pdfpdfjam proceedings.pdf 69-80 -o papers/artigo08_57-68.pdfpdfjam proceedings.pdf 81-92 -o papers/artigo09_69-80.pdfpdfjam proceedings.pdf 93-95 -o papers/artigo10_81-83.pdfpdfjam proceedings.pdf 96-96 -o papers/artigo11_84-84.pdfpdfjam proceedings.pdf 97-98 -o papers/artigo12_85-86.pdfpdfjam proceedings.pdf 99-99 -o papers/artigo13_87-87.pdfE Zaz! Heis o proceedings do V Ubimus separado e pronto para ser publicado! Convertendo videos de MKV para MP4.avconv -i input.mkv -codec copy output.mp4 Caderno de resumos do SBCM 2015\documentclass[10pt, a5paper, oneside]{book}\usepackage{wasysym} % Music symbols, baby!\usepackage{enumitem}\setlist[itemize,1]{label={\eighthnote}}\usepackage[utf8x]{inputenc}\usepackage[brazil]{babel}\usepackage{cite}\usepackage{textcomp} %para o greater than\usepackage{float}\usepackage{placeins}\usepackage{enumerate}\usepackage{xspace}\usepackage{colortbl}\usepackage{hyperref}\usepackage{pdfpages} %Para importar PDFs\usepackage{afterpage} % Para pular pagina\usepackage[absolute,overlay]{textpos} %posicao absoluta (usado na contracapa)\usepackage{tocloft} % Pontinhos no Sumario\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}% Fancy Chapter%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup\usepackage[Sonny]{fncychap}\usepackage{titlesec}\let\oldchapter\chapter\renewcommand{\chapter}[1]{\oldchapter*{#1}\addcontentsline{toc}{section}{\protect #1}}% Para controlar margens e etc:\textwidth 4.7in\textheight 7.2in\topmargin -0.8in\oddsidemargin -0.40in\evensidemargin -0.40in\begin{document}\pagenumbering{gobble}%