[NTG-context] \placecontent problems

2005-07-23 Thread Idris Samawi Hamid
Dear gang:

I have a \placecontent-type problem. I want to collect all the subsections and
 subsubsections into a list, then place that list into an appendix 
(conversion=Characters):

\definecombinedlist[synopsis][subsection,subsubsection][textstyle=\tf]
\setupcombinedlist [synopsis][alternative=c,textstyle=\tf]

There are two problems:

1. If I place the content list within a chapter, the list disappears. It works 
if I place it before the chapter heading. Thus, I need a way to do 
\placesynopsis beneath a chapter heading;

2. \start-\stopappendices begins a new sectionblock, therefore  \placesynopsis 
does nothing, even if I do not place it within a chapter/appendix.

Thus (assuming we can solve problem 1) I need a way to change the conversion 
to Characters on the fly within the bodymatter sectionblock. I need, e.g.

1. A Chapter
2. Another Chapter
A. An Appendix

within the same sectionblock.

Is this possible? I notice that conversion=Characters appears to be defined 
for the global sectionblock, but not for local headings. It would be nice if I 
could do something like

\definehead[appendix][chapter]
\setuphead[appendix][conversion=Characters]

with the first instance of \appendix starting with `A' (i.e., decoupled from 
the chapter numbers).

See the attached file for some experiments.

Best
Idris

\setupoutput[pdftex]%

\definecombinedlist[summary][chapter][textstyle=\tf]
\setupcombinedlist [summary][alternative=c,textstyle=\tf]

\definecombinedlist[synopsis][subsection,subsubsection][textstyle=\tf]
\setupcombinedlist [synopsis][alternative=c,textstyle=\tf]

\starttext

\startbodymatter
\placesummary
\page
\placesynopsis

\chapter{This is a test.}

\subsection{This is a subtest.}

\subsubsection{This is a subsubtest.}

\chapter{This is another test.}

\subsection{This is another subtest.}

\subsubsection{This is another subsubtest.}

\chapter{Synopsis}
\placesynopsis
\stopbodymatter

\startappendices
\placesynopsis

\chapter{Synopsis}
\placesynopsis
\stopappendices

\stoptext


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Texfont / OTF / Font installation.

2005-07-23 Thread Adam Lindsay
Cool. I'm glad it was that easy.

David Wooten said this at Fri, 22 Jul 2005 17:01:59 -0700:

>Adam & Hans,
>
>Thanks once again---you'd think I'd know by now to check the updates.  
>Now at 5.4.2, and working fine.
>
>Regards,
>Dave
>
>On Jul 22, 2005, at 3:59 PM, Adam Lindsay wrote:
>
>> David Wooten said this at Fri, 22 Jul 2005 13:10:45 -0700:
>>
>>> ConTeXt  ver: 2005.01.31  fmt: 2005.4.3  int: english  mes: english
>>
>> David,
>> It looks like you're using an older ConTeXt. I made some bug fixes in
>> TeXfont in June, and Hans silently updated TeXfont (different, but  
>> still
>> v2.2.1) in a subsequent release.
>>
>> I'd say update to a new version, as a first step. I made a mistake in
>> keeping track of names internally, and your sort of font name  
>> problem is
>> fairly indicative of that issue.
>>
>> Hans suggestion of changing to lower-case font names probably won't
>> hurt, either.
>>
>> Good luck!
>> adam
>

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context