ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>, Taco Hoekwater <taco@elvenkind.com>
Subject: bug with reference ?
Date: Thu, 6 Jan 2011 17:15:08 +0100	[thread overview]
Message-ID: <62DCA992-DEB7-47BE-BD3A-245F00247128@st.estfiles.de> (raw)

Hi,

when the lowest section is defined with "sectionstarter=("
then the entire reference gets "(" instead of only the actual section:


The example below gives ...
 (1. (1) 1. (1)

...but the right way would be
1. (1) 1. (1)



Did I make a mistake or is there a bug?

Steffen
-------

\starttext

\setupreferencestructureprefix[default][prefixsegments=2:100]
\definestructureseparatorset  [default][,,{. (},{) },{. (}][ ]

\setupstructurehead[section]         [sectionstarter=,sectionstopper=.,sectionsegments=3:3]
\setupstructurehead[subsection]      [sectionstarter=(,sectionstopper=),sectionsegments=4:4]
\setupstructurehead[subsubsection]   [sectionstarter=,sectionstopper=.,sectionsegments=5:5]
\setupstructurehead[subsubsubsection][sectionstarter=(,sectionstopper=),sectionsegments=6:6]

\section {One}

\subsection{Two}

\subsubsection[sectest]{Three}

\subsubsubsection[subsectest]{Four}

See in "Three" \in[sectest] and in "Four" \in[subsectest] as well.

\stoptext

___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2011-01-06 16:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06 16:15 Steffen Wolfrum [this message]
2011-01-06 17:34 ` Steffen Wolfrum

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=62DCA992-DEB7-47BE-BD3A-245F00247128@st.estfiles.de \
    --to=context@st.estfiles.de \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    --cc=taco@elvenkind.com \
    /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).