Looks like the TeXLive 2011 binaries are now available along with a recommendation to do a network install instead of a iso download and then installing.
Postings on living in an Emacs world. Posts will be mostly on using Emacs, related functions and tools.
Ads by Google
Friday, July 22, 2011
Thursday, July 21, 2011
A Visual Guide to Narrowing in Emacs
Every once in a while, you'd hear someone talk about narrowing in Emacs and you'd wonder what they're talking about. The idea behind narrowing is that, you might be interested in only a certain portion of the file/buffer you're working on and you'd like to work on that portion alone and nothing else. Narrowing allows you to do that by simply eliminates from your viewing, any other extraneous lines other than the highlighted ones. Here's an example
In the screenshot above, let's say I want to work on the rows only upto to 10-Jan-2006 in a file containing 1000s of rows. Mark the region and hit C-x n n.
The rest of the lines are gone and only the marked region is left. Now, you can work on the narrowed region as usual; the normal editing editing commands apply. Once you've completed the changes, you can get your complete buffer back by using C-x n w which widens the buffer or cancels narrowing. For example, I've changed ABB to XXX in the narrowed region and reverted to the normal buffer by C-x n w.
That's it. A couple of points are in order. It is disabled by default, so you'd want to enable it by adding the following to your .emacs
;;;enable narrowing(put 'narrow-to-region 'disabled nil)
If you're confused whether narrowing is in effect or not, the modeline should have the word Narrow in it as a visual indication. Lastly, the hidden text and lines are not gone even if you save with narrowing in effect, so you really don't need to panic that you've accidently overwritten the entire file or any other pant turding fear!
Friday, July 15, 2011
Gnus Tip: Viewing old messages of the thread
What follows depends on the server's retention policy for messages or articles. On high volume newsgroups, it might not get all the articles. And it may not be that reliable as the servers may not thread the articles properly.
The simplest method is to use A T to retrieve the entire thread when the cursor is on a article. The second option is to use A R which fetches articles that are mentioned in the references header. And lastly, if you want to find out to which post was the current article you're looking at references, use ^ that fetches the parent article.

These options are available on the Article menu option as you can see in the above screenshot.


The simplest method is to use A T to retrieve the entire thread when the cursor is on a article. The second option is to use A R which fetches articles that are mentioned in the references header. And lastly, if you want to find out to which post was the current article you're looking at references, use ^ that fetches the parent article.
These options are available on the Article menu option as you can see in the above screenshot.


Wednesday, July 13, 2011
A new release of PuTTY....after 4 years
From the Putty mailing list, here's the announcement and the list of changes. For those using cygwin, minTTY is the supposedly the cygwin implementation using some of the same codebase. MinTTY is part of the cygwin core package, so the new changes may propagate after some time into MinTTY and come through the cygwin update routine.




Tuesday, July 12, 2011
Open Source Firms: Pawns in Corporate Warfare?
This story on HP support for Enterprise DB is a few days old. While the article goes into a lot of details on the technical and pricing proposed, the last paragraph caught my eye.
What does this mean for Open Source firms? Mostly, the product is being supported probably not on the merits of the technology but possibly on a scorched earth, no prisoners taken battle between big firms. Sure, they get investments and buyouts but it appears it will be mostly towards warding off competition or a bargaining chip against a short term threat. In hindsight, MySQL and OpenOffice come to my mind though I have no numbers to back up how well they're doing post their purchase in terms of development support or sales. MySQL I believe was purchased by Sun over disputes with Oracle over Database licenses on multicore chips?
And I wouldn't be surprised if they were let adrift by the firms once their perceived threats have receded. Since these are open source firms that are acquired with possible community feedback and patches, wonder how the free contributors/ developers would feel about this?
It does remind one of the African saying "When Elephants fight, it's the grass that suffers"


Rather than messing around, HP should buy out IBM's stake in EnterpriseDB and just finally get itself a database of its own to sell. Apotheker has software aspirations, and while he is at it, he should get serious and buy Red Hat, too. That would give HP the operating system, middleware, and database options to counter both Oracle and IBM. While EnterpriseDB has grown decently, from 75 customers in 2006 to nearly 800 by the end of last year, it could grow a lot faster with the HP R&D and sales channel behind it. Buying Red Hat is just obvious.
What does this mean for Open Source firms? Mostly, the product is being supported probably not on the merits of the technology but possibly on a scorched earth, no prisoners taken battle between big firms. Sure, they get investments and buyouts but it appears it will be mostly towards warding off competition or a bargaining chip against a short term threat. In hindsight, MySQL and OpenOffice come to my mind though I have no numbers to back up how well they're doing post their purchase in terms of development support or sales. MySQL I believe was purchased by Sun over disputes with Oracle over Database licenses on multicore chips?
And I wouldn't be surprised if they were let adrift by the firms once their perceived threats have receded. Since these are open source firms that are acquired with possible community feedback and patches, wonder how the free contributors/ developers would feel about this?
It does remind one of the African saying "When Elephants fight, it's the grass that suffers"


Sunday, July 10, 2011
Converting Inkscape Svg layers into Beamer overlays
This might be useful for those using Inkscape and know something about Beamer. If you don't know anything about LaTeX, then this is not going to be useful. From the project page
takes an Inkscape .svg as input, and generates pdf files corresponding to each of the layers and a LaTeX file that uses the LaTeX Beamer commands to incrementally overlay them.
If you use Beamer to make your presentations and Inkscape to draw, then this might be potentially useful though I daresay people would tend to use PGF with Beamer. PGF examples can be found here.


takes an Inkscape .svg as input, and generates pdf files corresponding to each of the layers and a LaTeX file that uses the LaTeX Beamer commands to incrementally overlay them.
If you use Beamer to make your presentations and Inkscape to draw, then this might be potentially useful though I daresay people would tend to use PGF with Beamer. PGF examples can be found here.


Saturday, July 9, 2011
Gnus Tip: Deleting Incoming mail files automatically
When Gnus reads in incoming mail, it stores a copy of the slurped file as Incomingxxxx in the ~/Mail folder as a backup. These files get deleted by default after 10 days. If you need to change it to something else or delete it immediately upon reading into Gnus, add the following to your .gnus or gnus.el file.
More information on these and other options can be found in the Mail Source Customization in the Gnus Manual.



;;if retrieving from spool, delete temp file after 1 day(s)
(setq mail-source-delete-incoming 1) ;; change 1 to t to immediately delete or any number
(setq mail-source-delete-old-incoming-confirm nil)
(setq mail-source-delete-incoming 1) ;; change 1 to t to immediately delete or any number
(setq mail-source-delete-old-incoming-confirm nil)
More information on these and other options can be found in the Mail Source Customization in the Gnus Manual.
Friday, July 8, 2011
Gnus Tip: Show unread articles in Summary Buffer
The simplest way to show a mix of read and unread messages in your Summary Buffer is to add the following to the Group Parameters.
You can change that number which tells Gnus to display the last 100 articles to any number that you want. And while you're at it, you might as well read the other customisation options to Group Parameters.



((display . 100))
You can change that number which tells Gnus to display the last 100 articles to any number that you want. And while you're at it, you might as well read the other customisation options to Group Parameters.



Thursday, July 7, 2011
Org-mode 7.6 released
From the org-mode mailing lists, a new release of org-mode can be downloaded here or here.
Key new features include OpenDocument support, new keybindings, babel and lilypond support apart from bug fixes.
If you use git, you may have to do a git pull to get the latest.


Key new features include OpenDocument support, new keybindings, babel and lilypond support apart from bug fixes.
If you use git, you may have to do a git pull to get the latest.
The End of Patents?
In a article titled In a Bill, Wall Street Shows Its Clout, the NYT outlined a bill which is winding its way through the US Congress for approval that outlines a fantastic opt-out-if-i-don't-feel-like-paying by Financial firms.
Now, the issue is not the about the firms themselves but the language in the bill.
Some quotes
Basically, it allows firms to challenge and invalidate patents and processes that were already approved by Courts and the Patent Office.
How and why on earth would anyone file for patents then, if this gets through? Imagine, slogging on a very clever solution and that gets usurped by a version of the Greater Common Good theory (albeit for some vested interest). That a patent allows an inventor a limited monopoly to make money is one key incentive...take away that, what's in it for him?
Please don't say, let them go the trade secret route where it can be reverse engineered in a matter of months.
And of course, there is the massive damage to Patent Firms, companies that have amassed portfolios of patents; their business model is in tatters. Lots of companies make money by simply licensing patents and they'd no longer have a revenue stream from their patents.
It really would be the end of patents.



Now, the issue is not the about the firms themselves but the language in the bill.
Some quotes
The provision even allows “retroactive reviews of approved business method patents, allowing the financial services industry to challenge patents that have already been found valid both at the U.S. Patent and Trade Office and in Federal Court,”
...
It covers patents for “a financial product or service” as well as “corresponding apparatus for performing data processing or other operations used in the practice, administration, or management of a financial product or service.”
How and why on earth would anyone file for patents then, if this gets through? Imagine, slogging on a very clever solution and that gets usurped by a version of the Greater Common Good theory (albeit for some vested interest). That a patent allows an inventor a limited monopoly to make money is one key incentive...take away that, what's in it for him?
Please don't say, let them go the trade secret route where it can be reverse engineered in a matter of months.
And of course, there is the massive damage to Patent Firms, companies that have amassed portfolios of patents; their business model is in tatters. Lots of companies make money by simply licensing patents and they'd no longer have a revenue stream from their patents.
It really would be the end of patents.

Subscribe to:
Posts (Atom)