My tags are follows:
\documentclass{book}
\newwrite\stylesheetdetails%
\immediate\openout\stylesheetdetails\jobname.ssh%
\AtEndDocument{\immediate\closeout\stylesheetdetails}%
\setlength{\paperheight}{9truein}%
\setlength{\paperwidth}{6truein}%
\immediate\write\stylesheetdetails{Trim size\space\the\paperwidth\space x\space\the\paperheight\space inches}%
\begin{document}
This is for test
\end{document}
I need to get the Trim size values and need to store in a separate file with extension of .ssh, I tried with the above, but the output came as:
Trim size 433.62pt x 650.43pt inches
But I need the output in inches or whatever I given (e.g., some time it may be in mm) not the point values, please suggest, how to get it...