Bom, precisei fazer isso uma vez não lembro o motivo...
segue um quase Ctrl-C/Ctrl-V de 'man pdftk'
Remove 'page 6' to 'page 8' from in.pdf to create out.pdf:
$ pdftk in.pdf cat 1-5 9-end output out.pdf
Remove only 'page 1':
$ pdftk in.pdf cat 2-end output out.pdf
Rotate the first PDF page to 90 degrees clockwise:
$ pdftk in.pdf cat 1E 2-end output out.pdf
Rotate an entire PDF document to 180 degrees:
$ pdftk in.pdf cat 1-endS output out.pdf
Showing posts with label tools. Show all posts
Showing posts with label tools. Show all posts
Friday, April 29, 2011
Tuesday, March 23, 2010
Useful Mac OS X tools for scientists/astronomers
Here are some of my preferred tools when doing science using Mac OS X. I previously had a PC laptop with Linux (Ubuntu) and Windows (Vista) and made a very smooth transition to Mac OS X. I found replacements for all the tools that I used before. Disclaimer: I am an astrophysicist, so the software listed here is biased in that respect.
You can find more resources in my delicious list of mac+astronomy links, including where to get IRAF for example.
TeX Live
Quicksilver
You can find more resources in my delicious list of mac+astronomy links, including where to get IRAF for example.
TeX Live
LaTeX distribution
TeXshop
TeXshop
LaTeX editor (comes with TeX Live)
LaTeXit
LaTeXit
Equation editor (comes with TeX Live)
Uses LaTeX for creating equations that can be exported as PDF, PNG. Equations can be dragged and dropped in other applications. Unfortunately the drag and drop does not work with OpenOffice.
TextWrangler
Uses LaTeX for creating equations that can be exported as PDF, PNG. Equations can be dragged and dropped in other applications. Unfortunately the drag and drop does not work with OpenOffice.
TextWrangler
Useful for editing source code in different programming languages and codifications.
MacPorts
MacPorts
Package of command-line open source software (like Fink), which is an updated version of DarwinPorts. Need Python, gawk, wget, aspell? Use Macports. The functionality is quite similar to Debian's apt-get for installing software. port search [software] searches for available software. sudo port install [software] downloads, compiles and install new software and its dependencies for your architecture.
Quicksilver
Quick way of launching applications. Press Ctrl+Spacebar and type the first few letters of the application you want to launch.
Spotlight
The builtin Spotlight (Cmd+Spacebar) is very handy when searching for papers/documents scattered through your HD. Functionality similar to Google Desktop.
Dropbox
Quite handy way to sync files between home and work. It creates a dropbox folder in your home. Each file you drop there is automatically synced over the internet in all the computers where you installed dropbox. Join it via this link and you will get more space than usual (and I will get a little bonus).
iWork's Keynote: For talks
I had been using OpenOffice Impress for a long time to prepare talks, but gave up on it. Reasons:
Synkron
Sync files between folders locally.
KeePassX
Cross-platform password databases. Work with a master password.
Inkscape
Work with illustrations, edit PDF files. It's a "free version" of Adobe Illustrator. Allows you to edit the figures in a PDF paper, for example, and export them to a talk.
Wine
To run windows programs. You can install it using MacPorts.
Other suggestions
Picasa
I personally prefer Picasa over iPhoto, but that's of course a matter of taste.
Adium
IM client which supports tons of networks, including MSN, Google Talk, AIM etc. Mac's version of Pidgin.
Spotlight
The builtin Spotlight (Cmd+Spacebar) is very handy when searching for papers/documents scattered through your HD. Functionality similar to Google Desktop.
Dropbox
Quite handy way to sync files between home and work. It creates a dropbox folder in your home. Each file you drop there is automatically synced over the internet in all the computers where you installed dropbox. Join it via this link and you will get more space than usual (and I will get a little bonus).
iWork's Keynote: For talks
I had been using OpenOffice Impress for a long time to prepare talks, but gave up on it. Reasons:
- Unstable when editing large presentations containing lots of slides/plots. Crashes commonly in linux/mac.
- Talks do not maintain their structure when you open them in different platforms (e.g., creates the talk in linux, then opens in mac).
- Gets slower as the size of the presentation increases. Especially slow in Mac.
Synkron
Sync files between folders locally.
KeePassX
Cross-platform password databases. Work with a master password.
Inkscape
Work with illustrations, edit PDF files. It's a "free version" of Adobe Illustrator. Allows you to edit the figures in a PDF paper, for example, and export them to a talk.
Wine
To run windows programs. You can install it using MacPorts.
Other suggestions
Picasa
I personally prefer Picasa over iPhoto, but that's of course a matter of taste.
Adium
IM client which supports tons of networks, including MSN, Google Talk, AIM etc. Mac's version of Pidgin.
VirtualBox
Virtualization software, i.e. you can use this to run Windows XP or Ubuntu in a separate windows.
Changelog:
Changelog:
- Apr 21 2010: Added textwrangler to the list.
Tuesday, December 1, 2009
Recovering data points using g3data
A very nice free, (GNU GPL) application that can be used for extracting data from graphs is g3data. You can install it in ubuntu by typing:
$ sudo apt-get install g3data
or simply download it from the g3data website http://www.frantz.fi/software/g3data.php
I have used it a few times in the past on graphs of different kind and quality and always obtained good results for the extracted data points using it.
The following picture shows g3data at work on a plot:
When the data are recovered you can store them in a file and use your favorite tool to create a new plot.
$ sudo apt-get install g3data
or simply download it from the g3data website http://www.frantz.fi/software/g3data.php
I have used it a few times in the past on graphs of different kind and quality and always obtained good results for the extracted data points using it.
The following picture shows g3data at work on a plot:
When the data are recovered you can store them in a file and use your favorite tool to create a new plot.
Subscribe to:
Posts (Atom)