GNU Astronomy Utilities manual

Next: , Previous: , Up: Installing Gnuastro   [Contents][Index]


3.3.3 A4 print manual

The default print manual is provided in the letter paper size. If you would like to have the print version of this manual on paper and you are living in a country which uses A4, then you can rebuild the manual. The great thing about the GNU build system is that the manual source code which is in Texinfo is also distributed with the program source code, enabling you to do such customizations (hacking).

In order to change the paper size, you will need to have GNU Texinfo installed. For simplicity, let’s assume SRCdir is equivalent to DOWLD/gnuastro-0.1. Open SRCdir/doc/gnuastro.texi with any text editor. This is the source file that created this manual. In the first few lines you will see this line:

@c@afourpaper

In Texinfo, a line is commented with @c. Therefore, uncomment this line by deleting the first two characters such that it changes to:

@afourpaper

Save the file and close it. You can now run

$ make pdf

and the new PDF manual will be available in SRCdir/doc/gnuastro.pdf. By changing the pdf in $ make pdf to ps or dvi you can have the manual in those formats. Note that you can do this for any manual that is in Texinfo format, they might not have @afourpaper line, so you can add it close to the top of the Texinfo source file.


Read in other formats.
GNU Astronomy Utilities manual, November 2015.