ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: for the brave
Date: Tue, 27 Jan 2009 21:22:38 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.00.0901272110520.4363@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <496CD893.403@wxs.nl>

On Tue, 13 Jan 2009, Hans Hagen wrote:

> Hi,
>
> I uploaded beta zip with a prelude to the new structure related code. I hope 
> that I didn't forget files.
>
>  context --make xp
>
> will generate the experimental format (you really need a luatools --generate 
> because there are many new files).
>
> With
>
>  context --interface=xp yourfile
>
> will use that format. Eventually the xp format will go away but this is a 
> nice intermediate step for those who are willing to help debugging the code.

How do I use the new separator code? Using the hint in strc-sec I tried

\let\spr\separatorlist % this will enable this feature


\setuphead[section]   [separator={?,!,*}]
\setuphead[subsection][separator={??,!!,**}]

\starttext

\chapter{test}
\section{test} \subsection{test} \subsection{test}
\section{test} \subsection{test} \subsection{test}

\stoptext

I get the default separators. I do not see where 
\separatorlist is defined.

Also, it is possible to use different separators in heads and when they 
are referenced. Specifically, I am trying to achieve IEEE formatting 
guidelines which state

In the head only show the current number

Section I.
Subsection B.
Subsubsection 3)
paragraph a)

While refereing to a section, use

Section I
Subsection I-A
subsubsection I-A.1
paragraph I-A.1.a

Can the current implementation of separator sets achieve this?

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      parent reply	other threads:[~2009-01-28  2:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 18:08 Hans Hagen
2009-01-13 18:26 ` Diego Depaoli
2009-01-13 19:27   ` Hans Hagen
2009-01-13 18:29 ` luigi scarso
2009-01-13 18:39   ` Wolfgang Schuster
2009-01-13 18:53     ` luigi scarso
2009-01-13 19:07       ` Mojca Miklavec
2009-01-13 19:14         ` luigi scarso
2009-01-13 19:03 ` Wolfgang Schuster
2009-01-13 19:26 ` Wolfgang Schuster
2009-01-13 19:38 ` Wolfgang Schuster
2009-01-13 20:46 ` Wolfgang Schuster
2009-01-22  4:03 ` Aditya Mahajan
2009-01-22 13:19   ` Wolfgang Schuster
2009-01-28  2:22 ` Aditya Mahajan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.0901272110520.4363@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).