On 27 Feb 2003 10:39:09 +0800
Guy Worthington
Mikael Persson wrote:
When I have descriptions that are longer than one paragraph I want the next paragraphs indented in the same way as the other parts of the document.
If you're looking for an elegant way to do this then stop reading now.
You can, with a bit of brute force and ignorance, reset the \parindent dimension from within your description environment by reissuing the imperative \setupindenting[medium]:
-----
\setupindenting[medium] \indenting[yes]
\definedescription[testdesc][% width=broad, location=serried, headstyle=bold, way=bychapter, text={Testdescription: }]
\starttext
\section{Some indenting tests}
...
\starttestdesc{A nonlucky one} This is just a test paragraph. I want to se if the next paragraph is indented or not. So, sooner or later we will know.
\setupindenting[medium] % <-- add this Is this indented? No, but I want it to be.
\stoptestdesc
...
\stoptext
-----
Thank you Guy! That is a solution that will work for now. Even though I would like a solution that don't force me to add this \setupindenting[medium] in every description. Maybe I should tell what I am using it for. I am using the description environment for proofs in my thesis. Since there are many proofs, there will be many places to add this indenting stuff, so it would be really nice if there was a switch to the \setupdescriptions command that let you choose how to do the indenting. Maybe I should use another environment than the description one?
I also have another question. How can one install Math fonts (lucida)? When I run texfont as with other fonts texfont reports that it is math fonts and the installation fail. Should I add another switch? (I tried with the same switches as I successfully use for other fonts, that is--in and --ma (besides the --ve and --co))
Hans Hagen has done all the hard stuff already, so you can install the lucida Math fonts by doing nothing. (Well that's not quite true, I had to lowercase the .pfb binaries and .tfm metrics in the lucida math collection). So for instance, I simply copied the file lbma.pfb over into my type1 directory, and similarly I copied lbma.tfm into my tfm directory.
Hm, ok. Maybe I got another version of the fonts. I got the fonts that come with Adobe. I got three .pfb files, lme.pfb (LucidaMath-Extension), lmi.pfb (LucidaMath-Italic) and lms.pfb (LucidaMath-Symbol). Any tips? Regards, Micke P