X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Ftexify;h=3df99f029102ea6557901c4c8d7db15d42e5d87c;hb=3d4076b598deb18660e50ec9c327efc3b15f15d0;hp=c4dad63ebcff55ab7b46852a3ff5d03d1006ac8d;hpb=a85d0b3fefe41bb13e2e91e911958b111128f1f0;p=lyx.git diff --git a/src/mathed/texify b/src/mathed/texify index c4dad63ebc..3df99f0291 100755 --- a/src/mathed/texify +++ b/src/mathed/texify @@ -4,7 +4,8 @@ # a given macro. # # Call it with texify '\macro' [...] to get a line per item giving ascent, -# descent, width and the primitives that TeX would use to typeset the item +# descent, width, the font and the position in the font TeX would use to +# typeset the symbol. # Original script: #\batchmode @@ -42,7 +43,9 @@ foreach item $::argv { set f [open $filebase.log r] while {![eof $f]} { gets $f line + # try to interpret it as a hbox line regexp $hboxexp $line dummy ascent descent width + # try to interpret it as a font line regexp $fontexp $line dummy font char } close $f