ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Setting structureuservariable
@ 2012-01-16 11:39 Felix Ingram
  2012-01-16 12:19 ` Hans Hagen
  2012-01-16 12:22 ` Wolfgang Schuster
  0 siblings, 2 replies; 6+ messages in thread
From: Felix Ingram @ 2012-01-16 11:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello all,

I've discovered the magic of structureuservariabl and have therefore
converted all my headings to use the start/stop syntax. It's raised a
few quick questions though:

1. Is \startchapter \stopchapter etc the "proper way" to do things
from now on? Or is it really just up to the user?
2. Is there a way to provide a default value for a
structureuservariable? I'd like to set a reference number based on a
global counter if the user doesn't supply their own.
3. In a similar vein - is it possible to define a reference for a
section if the user doesn't provide one. E.g. if they provide

\startchapter[title=My Example Chapter]

instead of:

\startchapter[chap:examplechapter][title=My Example Chapter]

can I set the reference for them? (I will have some sections that
could be usefully auto-referenced).

Many thanks in advance,

Felix
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-21 12:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-16 11:39 Setting structureuservariable Felix Ingram
2012-01-16 12:19 ` Hans Hagen
2012-01-16 13:07   ` Felix Ingram
2013-10-20 22:58   ` Peter Münster
2013-10-21 12:10     ` Hans Hagen
2012-01-16 12:22 ` Wolfgang Schuster

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).