I'm trying to layout a paper for a conference that requires a format
different from the standard latex layout, and for the most part context
has been making this quite easy on me (excluding the four hours I spent
trying to mimic the latex \thanks{} construct), however, I've encoutered a
new problem that's confusing me.  since I'm sure the problem stems from my
lack of plain tex and context knowledge, I figured someone here would know
what I'm doing wrong, and asking you for help is certainly more pleasant
than banging my head for another four hours only to find another trivial
solution...

My problem is this:  I needed to place a "." after the number in the
section and subsection headings, so I included the following in my
preamble:

% setup section headings to include a . after the section number
\setuphead
  [section]
  [command=\mysec,
   indentnext=yes]
\def\mysec#1#2{#1. #2}
\setuphead
  [subsection]
  [command=\mysubsec,
   indentnext=yes]
\def\mysubsec#1#2{#1. #2}

This works just fine as far as inserting the ".", however, it has the
side-effect of not wrapping long section of subsection headings.  For
example, \subsection[longsubsec]{This is a really long subsection heading
that won't wrap} gets typeset all on a single line, which is not good
since the paper is set in two columns...

So, is there either a better (more proper) way to insert the ".", or at
least a better command to use for \mysec and \mysubsec

Thanks,
William D. Neumann

---

"Well I could be a genius, if I just put my mind to it.
And I...I could do anything, if only I could get 'round to it.
Oh we were brought up on the space-race, now they expect you to clean toilets.
When you've seen how big the world is, how can you make do with this?
If you want me, I'll be sleeping in - sleeping in throughout these glory days."

        -- Jarvis Cocker
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to