> \startluacode
> io.savedata("settings.txt", context("\\textwidth"))
> \stopluacodeFound it myself: number.todimen(tex.dimen.textwidth) Sorry for the noise. But now I need the current font name, even better the current values for rm, ss and tt fonts. I found p.123 of cld-mkiv.pdf, but don’t know how to address these values. Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) GPG Key ID 1C9B22FD ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
