On Thursday 11 July 2002 1:51 am, David Kastrup wrote: > Take a look at the output when you run previews with the added "lyx" > option (it must come after the tightpage option, or it will fail to > report the additional bounding box adjustments from the tightpage > option).
David, you're a star! Putting this in a script: #!/bin/sh FONTSIZE=`sed -e "s/Preview: Fontsize \(.*\)pt./\1/p;d" < 1lyxpreview.log` echo ${FONTSIZE} sed -e "/^Preview: Snippet/s/Preview: \(.*\) ended.(\(.*\)+\(.*\)x\(.*\))/\1: \2 \3 \4/p;d" < 1lyxpreview.log > 1lyxpreview.metrics cat 1lyxpreview.metrics Gives 10 Snippet 1: 492688 0 744653 Snippet 2: 1441792 163840 16026923 Snippet 3: 282168 0 377591 Snippet 4: 1619363 449545 16026923 This is /exactly/ what I was after. Regards, Angus