Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment DocBook and Emacs for Apache 2 Pocket Reference (Score 1) 325

Back in 2000, I wrote the Apache Pocket Reference and mod_perl Pocket Reference in DocBook SGML using emacs, with a perl script to convert to LaTeX for me to be able to preview what I had written. This year I updated the former book as the Apache 2 Pocket Reference. This time it is written in DocBook XML - again using emacs. Each of the 400-odd directives is held in a separate XML file and I have scripts that parse those files and the directive definitions in the Apache source code and report on inconsistencies. I also published two vegetarian cookery books written by my wife. These were written in LaTeX - with each recipe being held in a separate file. Writing a book is akin to a complex project. Keeping each section of the book separate and maintained in a version control system means that you can see which parts of the book are changing and do quick word searches just by using grep. Emacs also has various tags functions that allow searching and replacing across tagged files, so even managing a book split into almost 500 source files is quite easy.

Slashdot Top Deals

Everybody likes a kidder, but nobody lends him money. -- Arthur Miller

Working...