LAZIO:
FERRARA: Via Caselli, 11 / B 14:00 to 16:30 Tuesday and Thursday
diffpdf with Synaptic Package Manager or from the terminal with the usual command: sudo apt-get install diffpdfFor other distributions refer your package manager.
diffpdfcan be passed as arguments to the locations of files you want to compare:
diffpdf / percorso/del/file1.pdf / percorso/del/file2.pdf
# !/bin/ bash→ Compare
titolo = "Confronta PDF"
function controlla() {
estensione =$( echo "$1" zenity - error - title =
"$ title" - text = "You must select two files with the extension \\." pdf \\ "." exit 1 esac
} if [$ #-ne 2];
then zenity - error - title =
"$ title" - text = "You must select two PDF files at a time. "
exit 1 fi
pdf1 = "$ 1"
pdf2
= "$ 2" controls
"$ pdf1" check & & "$ pdf2"
if [$? -Eq 0]; then diffpdf
"$ pdf1" "$ pdf2"
else # should not ever come here, to put safety
zenity - error - title = "$ title" - text = "There was an error."
exit 1 fi
exit 0 To use this script open a blank file with a text editor, copy the script editor and save it in the folder ~
/ .gnome2/nautilus-scripts (recall that the tilde ~
is an abbreviation of the folder current user's home) called, for example, " Compare PDF . Make the script executable
and so you can choose to compare two PDF files that are in the same folder and clicking the right button, choose Script
PDF (or the name you gave to the script).
Note: here suggest that the program GUI DiffPDF that allows a better comparison between two PDF documents. A simple method to compare two documents in PDF format is to exploit the combination # / bin / bash convert function () { txt = $ ( eval "expr \\ $" $txt = $ (
1
")
pdf = $ ( eval" expr \\ $ "$ 2 " )
choice = "" while [ -f "$ txt" ] do
read -p "$ txt file already exists, overwrite? [Y / n]:"
choice case "$ choice " in
s then exit
1 fi eval
"$ 1 = $ txt"
}
if
[$ #-ne 2]; then echo
"Usage: $ 0 PDF1 PDF2 "
exit 1 fi
pdf1 = $ 1 pdf2
= $ 2
txt1 = $ (dirname
" $ pdf1 ") / $ (
basename "$ pdf1"
. pdf). txt2 txt = $ (dirname
"$ pdf1" ) / $ (
basename "$ pdf2" . Pdf). txt convert convert txt1 pdf1 & & txt2 pdf2
if [$? -Eq 0];
then diff-u "$ txt1"
"$ txt2" an abbreviation of the current user's home folder), possibly creating it if it does not exist. Give the command in the terminal .
~ /. profile (for the curious used to load the file ~ /. profile which adds the folder $ HOME / bin the environment variable $ PATH ), then this should be sufficient to give the terminal command
pdf-diff / path / to / first / your / path / to / second / file (or the name you gave to the script). will not be perfect, it has all the limitations that exist in the transition from a PDF to a plain text file (for example if an image change does not notice and the success of the comparison depends on how well pdftotext unable to read the documents) but is quite fast and I found this system often very useful. I also wrote the script corresponding
Nautilus (using zenity
):
# / bin / bash
title = "Comparing PDF" function
convert () {
eval "expr \\ $" $ 1 ") pdf = $ (eval"expr \\ $" $
2 ") while []
do
! zenity - question - title = "$ title" txt = $ ( zenity - entry - title = "$ title" - text = 'Specify a different output file: ")
else
break 2 fi
done
pdftotext "$ pdf" "$ txt" homes $? in 0)
;; 1) zenity - error - title = "$ title" - text = "There was an error opening $ pdf." exit 1 ;;
2) zenity - error - title = "$ title" - text = "There was an error opening $ txt."
exit 1 ;; 3) zenity - error - title = "$ Title" - text = "There was an error related permits $ pdf."
exit 1 ;; *) zenity - error - title = "$ title" - text = "There was an error!"
exit 1 esac
eval "$ 1 = $ txt"}
if [$ #-ne 2];
then zenity - error - title = "$ title" -
text = "You must select two files at a time"
exit 1 fi
pdf1 = $ 1
pdf2 = $ 2
txt1 = $ (dirname
"$ pdf1" ) / $ (basename " $ pdf1 "
. pdf). txt2
txt = $ (dirname
" $ pdf1 ") / $ (basename
" $ pdf2 ". pdf). txt convert txt1 pdf1 & & ; convert txt2 pdf2
if [$? -Eq 0];
then diff-u "$ txt1"
"$ txt2"
- filename = / dev / stdin rm-f "$ txt1" "$ txt2"
else #
should not ever come here, to put safety
zenity - error - title = "$ title" -
text = "There was an error!" exit 1 fi
exit 0
To use this second script open a blank file with a text editor, copy the script editor and save it in the folder ~ / .gnome2/nautilus- calling scripts, for example, " Compare PDF . Make it executable and then script. So you can select and compare two PDF files by clicking the right button, choose Script → Compare PDF (or the name you gave to the script).
From a technical standpoint, the script of which looks a bit 'particular: the function converter (which is used to convert PDF to text and make the appropriate checks) has a sort of passing variable by reference and not by value. The trick is to convert the function not the value of the variable but its name (those familiar with other programming languages \u200b\u200bmay find it natural). Details can be seen here: # http://www.pluto.it/files/ildp/guide/abs/functions.html DEREFERENCECL .
, ecc. hanno le rispettive etichette e, come detto, una mail può anche avere più etichette contemporaneamente (e quindi comparirà in tutti i rispettivi "gruppi"). Invece le mail presenti in Posta inviata hanno come caratteristica di avere come mittente l'account in uso o uno dei mittenti personalizzati. Vi wondering: what does all this talk with the import of emails sent? Calm down, we come now to solve the problem by doing a quick summary of what we learned. We know that Gmail can import from other accounts on the mail arrived, but not sent, then we might think of moving into the old account emails in the Inbox folder (usually this is an operation can, of course I can not explain the details so vary from provider to provider), but this creates the problem that importing the mail in your Gmail email sent will have the label Inbox and then will be in that group (except during import has not been selected Archive incoming messages (Skip the Inbox) just remove the corresponding label, nothing is easier! I have already indicated that the barbatrucco work if we are importing the address from which mail is one of the senders own, then the email will already automatically Sent , otherwise it will not appear in this "Folder" but only in All , always with the command: I, for example, I added the environment lstlisting to do so did not add that Emacs automatically indents the text in this environment. To do this I selected INS, written lstlisting beside Environment: and after putting the check in Function: I wrote in its space
verbatim environment).
Emacs also allows the ' syntax highlighting of LaTeX, but in some (rare) cases may go into distress. For example, I had problems with the aforementioned environment lstlisting as not AUCTeX 11.86 conosce bene il suo funzionamento (per esempio l'inserimento del simbolo del dollaro $ rovina tutta l'evidenziazione del documento). Per fortuna è possibile spiegargli che lo deve trattare allo stesso modo dell'ambiente verbatim (in pratica tutto ciò che si trova all'interno di questo ambiente non viene interpretato da Emacs per quanto riguarda l'evidenziazione della sintassi) modificando la variabile LaTeX-verbatim-environments : customize-variable RET LaTeX-verbatim-environments RET lstlistingIn maniera default Emacs compile documents in DVI
(penso che ormai avrete capito come funziona questo tipo di interfaccia di modifica delle variabili) e il gioco è fatto.
. If you want to set as a default PDF format must change the value of the variable TeX-PDF-mode Select Toggle until you get to .If you installed a distribution of latex in a location that is immediately recognized by Emacs and AUCTeX will need to change some variables. For example, I have installed TeX Live 2010 by following this guide
of Henry Gregory and all the LaTeX files are in subfolders / usr/local/texlive/2010 / (where Emacs e AUCTeX normalmente non cercano). Fra le variabili che potrebbero dover essere cambiate ci sono TeX-macro-global (contiene, ricorsivamente, le cartelle in cui AUCTeX cercherà i file di stile) e (contiene i percorsi in cui Emacs cerca i programmi da eseguire). La modifica di queste variabili è simile a quanto visto finora. Per la prima variabile ho aggiunto il percorso, mentre per
/usr/local/texlive/2010/texmf-dist/tex/
exec-path ho aggiunto /usr/local/texlive/2010/bin/i386-linux/ (su architetture diverse dal 32 bit questo percorso sarà sicuramente diverso. Controllate per bene la posizione in cui avete installato la distribuzione). To change the program that opens the output document (be it in DVI, PDF, HTML, etc.) via Cc Cc RET View must change the variable TeX-view-program-selection . As usual you can customize the variable use customize-variable RET TeX-view-program-selection RET settings've seen so far are saved automatically ). All these settings can also be stored manually editing the file . emacs (so you can do this yourself but you must know the language Emacs Lisp). Now let's see some other useful options you set by editing the file . emacs (this however can always be set using the interface customize-variable). The
of AUCTeX manual suggests adding a so that getting support for LaTeX packages that are used in your documents (option TeX-parse-self Car
of the document and the information will be collected in a subfolder of the directory of the revised document called
. If you do not want to crowd into their own folders, you may not want to activate these two options). If you use frequently divide their LaTeX documents into multiple parts to be included in the main file with the commands \\ input or option emacs (setq-default TeX-master nil) In this way, the opening of LaTeX documents Emacs will ask what is the associated main file (which should, for example, run compilation commands). You can make sure that you open a document LaTeX Emacs spell check on the fly by adding a . option emacs (add-hook 'TeX-mode-hook' flyspell-mode) (add-hook 'TeX-mode-hook' LaTeX-math-mode) that allows the rapid integration of several mathematical symbols (see
than the fixed number of characters) you can add the
(add-hook 'TeX-mode-hook' turn-on-auto-fill) The number of characters line after which Emacs will start a new line is stored in the variable fill-column . Left as an exercise to find out how you change that variable (ok, I leave a clue: you can always use the usual command:-D).
During the run pdflatex There was an error reading the Pdflatex output Trovate la soluzione a questo problema qui:\pdfobjcompresslevel0
http://http.typke.com/cgi-bin/bugzilla3/show_bug.cgi?id=350
e consiste nell'aggiungere al preambolo dell'immagine il comando
. Ricordo che il preambolo di un'immagine Ipe può essere modificato da Edit → Document properties (oppure con la scorciatoia da tastiera CTRL + P ), scrivendo nel campo Latex preamble .
annunciatoCC-BY-NC-SA 2.5 Italy
la realizzazione di una guida (con licenza
http://www.gitorious.org/git4latex address and you can download the PDF document (which may not be updated) at http:// hotfile.com/dl/74484041/9c21bb8/git4latex.pdf.html . If you have Git on your system you can clone the repository with the command git clone git
find the source code of its guide on dianoia Gitorious
: / / gitorious.org/git4latex/git4latex.git
Finally, the source code can also be downloaded in a compressed archive at http://www.gitorious.org/git4latex/git4latex/archive-tarball/master
(the last two commands as explained in the comments, they serve to show my branch). Finally even this long list of addresses to point out that my branch can be downloaded in a compressed archive at
(such as Debian and Ubuntu) and that the source of gnuplot is present in the repositories you can install all these dependencies with the command packagename One of the possible uses of meta is that you can install with just double-click several programs (including them as dependencies of the metapackage created), or to believe in the APT system to be installed a certain program when it is installed in a different way ( for example through the compilation of source code). These days I installed TeX Live 2010 distribution from the site APT and I want see all packages related to TeX Live are installed (because the distribution is installed outside of the APT package manager, but he is not aware of this, obviously), so you can install other programs dependent on these packages. To do this I created the file with the following contents:Section: tex
Package: texlive-dummy Version: 2010 Homepage: http://tug.org/texlive/ Standards-Version: 2010 Provides: tex-common, texlive-latex-base, asymptote, asymptote-doc, context, dblatex, dvipdfmx, dvipng, feynmf, guile-1.8, jadetex, lacheck, latex-beamer, latex-xcolor, latex2html, libsigsegv0, lilypond, lilypond-data, lilypond-doc, lmodern, luatex, PGF, preview-latex-style, prosperous, ps2eps, tex4ht, tex4ht-common, texlive, texlive-base, texlive-base-bin texlive-base-bin-doc texlive-BibTeX-extra, texlive-binaries, texlive-common, texlive-doc-base, texlive-extra-utils, texlive-font-utils, texlive-fonts-recommended, texlive-fonts-recommended-doc texlive-generic-extra texlive-generic-recommended, texlive- Humanities, Humanities, texlive-doc, texlive-lang-Cyrillic, texlive-latex-base, texlive-latex-base-doc texlive-latex-extra, texlive-latex-extra-doc texlive-latex-recommended, texlive- latex-recommended-doc texlive-math-extra texlive-metapost, texlive-metapost-doc texlive-pictures, texlive-pictures-doc texlive-pstricks, texlive-pstricks-doc texlive-xetex, tipa Architecture: all Quelli elencati in Provides
sono i pacchetti della distribuzione TeX Live che ho trovato o che comunque avevo bisogno di far finta che fossero installati, ne esistono molti altri non presenti in questo elenco. Con il comando
equivs-build texlive ho generato il pacchetto deb che ho potuto installare con un doppio clic. Come suggerito nella documentazione (in particolare nel manuale di equivs-build ), se riscontrate qualche caso in cui il sistema delle dipendenze dei pacchetti dovrebbe essere migliorato, non usate equivs ma piuttosto segnalate agli sviluppatori il problema. Here you will find further information on the management of meta: http://guide.debianizzati.org/index.php/Gestione_dei_metapacchetti .
Another solution which should be definitive (though I personally I have not tested, but more than anyone confirmed to be working) is to give this command in Terminal:
gconftool - type bool - set / desktop / gnome / peripherals / touchpad / touchpad_enabled true I found this second solution here: A question quite frequently on the Italian Ubuntu community forum is on how to install a. tar.gz (or even a. tar.bz2 and friends). The answer is simple: tar and compressed with gzip , depending on the program.
in the case of bzip2. Tar.bz in other formats will change the compression), but in can be anything (pre-compiled binaries, sources to be completed by hand, program in python that can not be completed, themes for your desktop, so on and so forth) and that is why it makes no sense ask how to install it. In general you can not say anything about what should be done with a file without knowing what's inside. It's like asking "how to open a file?" Without saying what file it is.
famous example: Mozilla provides on its website Firefox and Thunderbird (and other programs) for GNU / Linux in the archives. tar.bz2 containing programs within
already completed and ready for use (something that many people seem not to understand, despite being said, is that there is no need to compile anything in this case). There is nothing to install, the two programs to start just unzip the archive (and please, if you can not (like me) to do so from a terminal, unzip through GUI, I do not understand why people kill to unzip from the command line when just two clicks) and double-click the file or
firefox thunderbird
Allora la domanda sorgente spontanea: come faccio a capire cosa me ne devo fare di questo archivio? Anche qui la risposta è semplice: . Nella stragrande maggioranza dei casi è presente un file chimatoche contiene le istruzioni (purtroppo praticamente sempre in inglese) sul da farsi (estrarre l'archivio e compilare, oppure estrarre e fare doppio clic su un file o altro).
README
INSTALL che spiega più dettagliatamente come si compila il programma, anche se spesso sono sufficienti i "comandi magici":
This political project, in spite of what is said in the papers these days or people of the old politics, he needs collaborazionecomune, mediation, with a capacity to pursue the path where no one has mentioned ... dallacoalizione indiispensabile and all are useful ! Where we are calling a major change of thought to the city as siamoconvinti the need for a change of pace! We need not dicurare our image or the art of oratory but to bring to the table of projects which the city will benefit because they will unavisibilità to 360 degrees.
We believe that our proposed Centre with the support of the Democratic Party should go ahead with the forces that believe in the city and a change in politicadiversa. The parties can do their part for the purpose of the good citizen with the participation of all who believe in the new policy.